osrf / gazebo_tutorials

Tutorials for gazebo
http://gazebosim.org/tutorials
149 stars 73 forks source link

Update laser template to include <vertical> tags #149

Open r0gi opened 3 years ago

r0gi commented 3 years ago

The default vertical field of view is high enough that the laser rays have unwanted intersections with the robot's collision faces. gazebo_laser_issue

This causes the laser scan message to report an obstacle at a close distance, which messes with navigation.

gazebo_laser_issue_rviz

After setting the vertical tags as per the commit, the problem is gone and laser plugin behaves as expected.

Screenshot from 2021-06-29 15-01-18