mdrwiega / depth_nav_tools

A set of tools for mobile robot navigation with the depth sensor
http://wiki.ros.org/depth_nav_tools
Other
56 stars 40 forks source link

Could not perform stairs detection: Depth image has unsupported encoding: 32FC1 #15

Closed charon-cheung closed 3 years ago

charon-cheung commented 4 years ago

when I run cliff_detector, I got this error, it's in function CliffDetectorNode::depthCb line_58, what encoding does this node want ?

rahulmoorthy19 commented 3 years ago

If at all anyone faces the same issue in the future...I had the same issue while running depth_sensor_pose....by reading the code I found out that it needs 16UC1...maybe you can try with that

mdrwiega commented 3 years ago

Now the 32FC1 image encoding is supported by cliff_detector and depth_sensor_pose.