uzh-rpg / agile_flight

Developing and Comparing Vision-based Algorithms for Vision-based Agile Flight
MIT License
137 stars 52 forks source link

Units of depth map #77

Closed Lu-tju closed 2 months ago

Lu-tju commented 2 years ago

Hi, I get the depth image in RL environment by depth = env.getDepthImage(). The data of depth image is all between 0 - 1. I don't know what the unit of the distance is, but obviously not meters. As shown in the figure below, many locations should be farther than 1 meter. Screenshot from 2022-05-16 21-44-58 I noticed that in your another awesome work agile_autonomy, the unit of depth map is millimeter. However, the data I get from Python seems to have been normalized. I looked at unity_bridge, but I didn't find any tips. Forgive my poor English. Thank you !