Ray plugin (PointCloud2) using gpu

asked 2017-10-03 08:51:13 -0600

Choco gravatar image

Hello everyone!

I am using Gazebo 8 for simulation different environments using custom models. I want to know is there any existing plugin that uses gpu for generating pointcloud2 in the simulation. As currently I am using gazebo's own plugin to get pointcloud2, it is really killing my CPU when I subscribe to it using cartographer or nav_stack, RTF drops to 0.2 with single sensor and I intend to use 2. So if is there anything out there I would really appreciate the help. Thanks

edit retag flag offensive close merge delete


there is a gpu_ray sensor, and a plugin for it. Maybe that's what you're looking for? https://bitbucket.org/osrf/gazebo/src/3ac47b35d6462dea6569b022fe20e6f219ef3794/plugins/GpuRayPlugin.cc

iche033 gravatar imageiche033 ( 2017-10-03 13:40:12 -0600 )edit

Thanks for the reply, but the link seems to be broken. And I think the plugin you are talking about gives laserscan, I want a plugin that uses gpu and outputs pointcloud2.

Choco gravatar imageChoco ( 2017-10-06 01:53:34 -0600 )edit
iche033 gravatar imageiche033 ( 2017-10-06 12:47:08 -0600 )edit

I already looked into this one, it doesn't give me configuration control as there is in velodyne_simulator or ray plugins. I looked into it again and seems like there is nothing out there. Anyways, thanks for the input.

Choco gravatar imageChoco ( 2017-10-06 13:28:40 -0600 )edit

Yo can use the following repo for a GPU plugin. But there is an issue with the vertical rays.

Weasfas gravatar imageWeasfas ( 2019-11-15 06:36:13 -0600 )edit