ros-mobile-robots / diffbot

DiffBot is an autonomous 2wd differential drive robot using ROS Noetic on a Raspberry Pi 4 B. With its SLAMTEC Lidar and the ROS Control hardware interface it's capable of navigating in an environment using the ROS Navigation stack and making use of SLAM algorithms to create maps of unknown environments.
https://ros-mobile-robots.com
BSD 3-Clause "New" or "Revised" License
275 stars 82 forks source link

Parametrize sensor description when using standard laser instead of gpu laser #27

Open fjp opened 3 years ago

fjp commented 3 years ago

On some platforms it is necessary to use the standard/cpu gazebo laser plugin instead of the gazebo gpu laser plugin (e.g. without dedicated gpu). Make it possible to switch between gazebo laser plugin and the gazebo gpu laser plugin and adjust the parameters (update rate, samples, ..) to avoid ghost objects:

noise-laser

See the description of turtlebot3 to avoid those issues.

Make sure to set reasonable range values to avoid hitting the robot model itself:

<range>
    <min>0.12</min>
    <max>12.0</max>
    <resolution>0.01</resolution>
  </range>

Update documentation: