Closed ardabbour closed 3 years ago
Thanks for the information @ardabbour. I have checked this package and it seems to be working badly for some gazebo versions. Therefore, until a stable behaviour is provided for most popular gazebo releases, I'm sorry to say that we will have to stay with the CPU model.
Here below you can find what I get when running the example scenario in ROS Kinetic and Gazebo 7.0.0 (the one shipped with ROS Kinetic).
CPU version:
GPU version:
The Velodyne models here do not use GPU acceleration. Using a sensor of type
gpu_ray
instead ofray
and a plugin filename oflibgazebo_ros_velodyne_gpu_laser
instead oflibgazebo_ros_velodyne_laser
allows for much faster performance.This can be made parametric to support only-CPU setups as well if the models are made into xacro format, as in the velodyne_description package. For instance, here is the HDL-32E xacro description.