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

Revision history [back]

My solution is use the libgazebo_ros_laser.so lib , and not use the libgazebo_ros_gpu_laser.so

change gpu_ray to ray, and change libgazebo_ros_gpu_laser.so to libgazebo_ros_laser.so in the mybot.gazebo file( find your file name and change the value in it)

Laser Description: the non-GPU version of GPU Laser, but essentially uses the same code. See GPU Laser for documentation.

To run with RRBot, open rrbot.gazebo and change the following two lines.

replace

<sensor type="gpu_ray" name="head_hokuyo_sensor">

with

<sensor type="ray" name="head_hokuyo_sensor">

and replace

  <plugin name="gazebo_ros_head_hokuyo_controller" filename="libgazebo_ros_gpu_laser.so">

with

  <plugin name="gazebo_ros_head_hokuyo_controller" filename="libgazebo_ros_laser.so">

save, then launch the same launch files as for GPU Laser.