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

Revision history [back]

You might want to try sonar instead- I believe the laser samples are infinitely thin rays, while the sonar is modeled as a cone. (gazebo ros doesn't support sonar yet though?)

Otherwise you could use the laser sensor type, generate multiple samples that spread out as desired, but then have another node take the minimum of all the rays to output a single range value (The gazebo SonarSensor is doing a collision with a cone, which is less likely to miss anything). From the documentation it looks like setting resolution to 1/samples would accomplish averaging.

Also check out http://answers.gazebosim.org .