Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to set a model's position using /gazebo/set_model_state service in python

I want to set a model's position to origin after each measure loop, so that I can make automatically several measurements in the same conditions.

The /gazebo/set_model_state service enables us to transport the model to set position. How do I use it in python node?