Hi,
I am running ros2 wrapper around zed sdk 4.1 and my depth map and confidence colors (shades of grey) are the inverse when displayed in rviz compared with the zed depth explorer.
I am curious if this is normal. I saw in the documentation for the confidence map on this page: Adding Depth Perception in ROS 2 - Stereolabs that “The lighter a pixel, the more reliable its corresponding depth value is.” which seems opposite of what the screenshot next to this phrase depicts, looking for some clarification. Thank you!
Hi @Nicola
the difference is that in ZED Depth Viewer the displayed confidence map comes from the command retrieveImage
with parameter sl::VIEW::CONFIDENCE
, hence it is an image to be displayed.
RVIZ instead displays the “real” Confidence Map, with normalized values that comes from retrieveMeasure
: