stereolabs / zed-ros-wrapper

ROS wrapper for the ZED SDK
https://www.stereolabs.com/docs/ros/
MIT License
447 stars 391 forks source link

[Question] try to find the depth value but it returns 'NAN',how to fixed #573

Closed Zhangeaky closed 4 years ago

Myzhar commented 4 years ago

Hi @Zhangeaky , if it return "NaN" it means that no depth info are available for that pixel of the depth map. This is expected. Not all the points of a RGB image can have a depth due to occlusions (shadows), environment lights, reflections, uniform textures and many other factors.

Zhangeaky commented 4 years ago

Few days ago I learned from google that camera ZED can estimate the depth value(if a pixel point returns 'NAN') by modify a parameter in launch file of the ros package,and I want to know , can camera ZED2 do that ? because I don't find that paramter in zed2's launch file. Thank you all the way!

Myzhar commented 4 years ago

That parameter is used in VR but it's not available anymore for robotics applications because it introduces depth values that do not exist in the real world. It is SENSING_MODE::FILL You can read more here: https://www.stereolabs.com/docs/api/group__Depth__group.html#ga391147e2eab8e101a7ff3a06cbed22da