ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The ROS laser message format allows you to specify a minimum valid range. Is your driver filling this in right? http://www.ros.org/doc/api/sensor_msgs/html/msg/LaserScan.html Clients that get data bigger than max or less than min should know to discard it.

After having a look to see if you can specify this in the sensor parameters in the costmap2d: http://www.ros.org/wiki/costmap_2d There isn't anything specified about minimum ranges as opposed to maximum ones. However that's somewhat expected, as that information should already be present in the laser scan message. Typically you're only interested in discarding large value ranges as they have the most uncertainty because of robot rotation.

To start, I'd check your laser messages, and see if the minimum range is set correctly by the driver.