osrf / mbzirc

Simulator for the MBZIRC Maritime Grand Challenge
Apache License 2.0
72 stars 47 forks source link

Lag in coast environment #199

Open shoang22 opened 2 years ago

shoang22 commented 2 years ago

We're experiencing some time delays in the simulation - our models are lagging when we try to execute any kind of motion (some of us are using the source install if that provides any help).

https://user-images.githubusercontent.com/54875725/181793319-6e2fc91a-10ea-4acb-b930-3e5819c8f70e.mp4

ABZ1110 commented 2 years ago

same problem it happens when trying to fly a drone while having a swarm of drones spawned. However, when only working with one drone it works fine.

iche033 commented 2 years ago

What's the CPU / GPU resource usage. Do you have a machine with dedicated GPU? Just to help narrow down the problem, can you try removing the sensor one by one on the UAV and see there is a particular sensor that is causing the issue?