libgazebo_ros_openni_kinect set near clip

asked 2018-05-24 11:00:38 -0500

siyan gravatar image

Look for help. I use libgazebo_ros_openni_kinect plugin to simulate kinect in Gazebo. The depth image cant get valid value when the distance is smaller than 400mm. Can I set near clip of kinect to 0? I tried to set the camera<clip><near>0</near></clip> but not work. Thanks in advance!

edit retag flag offensive close merge delete

Comments

How about trying a really small value like 0.001? That's 1mm

Raskkii gravatar imageRaskkii ( 2018-05-25 02:15:45 -0500 )edit