Robotics StackExchange | Archived questions

Set two model states simultaneously

Hello, I use ros with gazebo and I want to animate the movement of two models in an empty world I have created. I change the position of the models using:

rosservice call /gazebo/set_model_state ...

But it moves one model at a time. Is there a way to move the two models simultaneously so I can have a smoother animation?

Asked by pap-x on 2016-02-05 04:40:16 UTC

Comments

Did you think about setting it programmatically like https://answers.gazebosim.org//question/22125/how-to-set-a-models-position-using-gazeboset_model_state-service-in-python/

Asked by vonunwerth on 2021-04-14 08:35:35 UTC

Answers