Ask Your Question
0

Gazebo Real Time Factor going down

asked 2020-05-19 03:59:04 -0500

manderino gravatar image

Hi, I have a problem with the use of Gazebo I'm running an autonomous car simulator into gazebo and another node that I made for ground removal of the lidar sensor

When I run this node the real time factor of gazebo is dropping down to 0.3 from 1. I understand that this could be because of the load on the CPU but the fact is that none of the CPU cores is on full load and the global cpu utilization is around 20%, I can run other more heavy processes without bringing it down.

Is there a way to keep this up or force the real time factor to 1?

Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-06-09 17:45:04 -0500

Weasfas gravatar image

updated 2020-06-09 17:45:53 -0500

Hi @manderino,

The main problem is not (almost) Gazebo but the bottleneck generated by the pointclouds generation. I am sure you are using a ray plugin instead of a gpu_ray. The ray plugin is forcing Gazebo to generate the pointclouds with the CPU and that is a very slow tasks.

Change the Gazebo plugin to use a gpu_ray and you will maintaint the real time factor near 1.

The velodyne_simulator package contains an implementation of a gpu_ray lidar plugin.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2020-05-19 03:58:20 -0500

Seen: 296 times

Last updated: Jun 09 '20