Gazebo | Ignition | Community
Ask Your Question

Is there a way how to transfer a model inside simulation from ROS node?

asked 2019-01-10 09:36:24 -0500

kumpakri gravatar image

I'm writing some automatic simulation testing and it would be helpful if I could just move the robot at it's initial position after each test instead of running the whole simulation again. How can I do that?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-01-10 12:37:30 -0500

Carlos Agüero gravatar image

You can send a Gazebo message to the "/gazebo/default/model/modify" topic. See the message definition here.

In the gazebo/gui/ you have an example of how to publish some data towards that topic. See here.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-01-10 09:36:24 -0500

Seen: 270 times

Last updated: Jan 10 '19