Poses update slowly in the Gazebo Client when using the SetModelState service

asked 2019-08-04 18:51:48 -0600

marian gravatar image

I have a simulation with boxes that are being moved with a python script. The positions are updated using the /gazebo/set_model_state service.

It works well, however, the boxes stutter in Gazebo. Here is a video that demonstrates the problem.

This seems to be limited to the Gazebo client window, as the boxes move smoothly in virtual cameras and laser scans. Collisions are also calculated correctly based on the current poses (not the outdated ones shown in Gazebo). This doesn't seem to be a performance problem, since the car, which is physically simulated, moves smoothly as well.

Is there a way to make the boxes move smoothly in the Gazebo window?

Thank you!

edit retag flag offensive close merge delete