Gazebo | Ignition | Community
Ask Your Question

Slow real_time_factor with 6 arcucopters SITL

asked 2018-10-19 03:27:46 -0500

dve_bonx gravatar image


I am trying to simulate the behavior of a fleet of 6 drones by using ArduCopter SITL and gazebo 8.6. Each SITL is linked to a drone model using libArduCopterPlugin and libLiftDraftPlugin. My problem is the simulation is extremely slow : a real_time_factor of 0.23 in average, while my machine isn't doing much work : CPU at 10%, GPU at 40% and RAM at 25%. Is there a way to speed things up to achieve a real time simulation ?

My work is based on the example.

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-10-19 08:57:38 -0500

nkoenig gravatar image

If your CPU percentage is that low, then the plugins you're using might be blocking the simulation update cycle.

How did you measure the CPU, GPU, and memory usage?

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-10-19 03:27:46 -0500

Seen: 414 times

Last updated: Oct 19 '18