AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

GetImages DepthPerspective and DepthPlan in python client return all 1s

Open hturki opened this issue 5 years ago • 2 comments

Bug report

  • AirSim Version/#commit: 1.4.0
  • UE/Unity version: 4.26
  • autopilot version:
  • OS Version:

What's the issue you encountered?

When using the python client, getting DepthPerspective and DepthPlan images using the python GetImages api seems to return an array of all 1s (I'm using compress=False and pixels_as_floats=True). DepthVis gives an array with numbers between 0 and 1 for the same position/camera angle.

Settings

How can the issue be reproduced?

  1. Call getImages via the python API
  2. Inspect result

Include full error message in text form

What's better than filing an issue? Filing a pull request :).

hturki avatar Jan 25 '21 20:01 hturki

I have the same issue when using the CityParkEnvironment map, but when I use LandscapeMountains, it works correctly.

evroon avatar Apr 09 '21 11:04 evroon

This issue has been automatically marked as stale because it has not had activity from the community in the last year. It will be closed if no further activity occurs within 20 days.

stale[bot] avatar Apr 16 '22 11:04 stale[bot]