Skip to content

GetImages DepthPerspective and DepthPlan in python client return all 1s #3342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hturki opened this issue Jan 25, 2021 · 2 comments
Open
Labels
bug-report for issues filed as bug reports images

Comments

@hturki
Copy link
Contributor

hturki commented Jan 25, 2021

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 :).

@zimmy87 zimmy87 added bug-report for issues filed as bug reports images labels Jan 27, 2021
@evroon
Copy link
Contributor

evroon commented Apr 9, 2021

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

@stale
Copy link

stale bot commented Apr 16, 2022

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 stale bot added the stale label Apr 16, 2022
@jonyMarino jonyMarino removed the stale label May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report for issues filed as bug reports images
Projects
None yet
Development

No branches or pull requests

4 participants