Replies: 1 comment
-
|
You'll have to use 2 different cameras to fetch the images from, example API call - responses = client.simGetImages([
airsim.ImageRequest("zed-left", airsim.ImageType.Scene),
airsim.ImageRequest("zed-right", airsim.ImageType.Scene)])Settings seems fine, similar to #1790 (comment). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I am very new in stereo imaging and AirSim, thus I need some guidance regarding stereo image simulations.
The documentation says, the
simGetImagescall is more complex and "you can get left camera view, right camera view and depth image from left camera in a single API call" (see Image APIs). Also the baseline for the stereo camera is fixed at 25 cm (afaik).Now my question is:
Can I retrieve left and right images separetly with a single camera? Or do I specifically declare two cameras in
settings.jsonand ask the API to get me the images from both cameras?Background is, that I am trying to simulate a ZED camera with a baseline of 12 cm. I created a
zed-leftcamera to get Scene and DepthPerspective images andzed-rightfor Scene only. The camera's are separated by 12 cm as per camera settings. Does the internal 25 cm baseline have any effect on my ZED simulation?For reference, a partial of my
settings.json:Beta Was this translation helpful? Give feedback.
All reactions