Gazebo | Ignition | Community
Ask Your Question
0

How to reduce CPU usage due to large number of models

asked 2018-02-28 20:45:41 -0600

rkeatin3 gravatar image

updated 2018-02-28 20:47:30 -0600

In my gazebo setup, I have two ROS-controlled robots and a large number of smaller models to be manipulated. Having recently increased the number of smaller models to around 75, this has brought my realtime factor down to around 0.3. Most of the time, however, these models can be static. I wrote a plugin that I thought would let me manage their static properties by calling Link::SetStatic(), Link::SetLinkStatic(), and Model::SetStatic(), but that didn't seem to work at all.

Are there any other ways in which I could reduce the CPU usage for simulating these objects? I realize that my only choice may be to have less of them, but that makes the simulation less compelling.

On a related note, is there a recommended way to profile Gazebo?

Edit: I'm using ROS Indigo and whichever version of Gazebo that comes with it.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-03-02 02:10:49 -0600

Brosseau.F gravatar image

There was some advices here :

http://gazebosim.org/blog/newsletter_2

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-02-28 20:45:41 -0600

Seen: 2,259 times

Last updated: Mar 02 '18