Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In a gazebo plugin, you can

math::Pose initPose(math::Vector3(0, 0, 1.0), math::Quaternion(0, 0, 0));
this->model->SetWorldPose(initPose);

in a python script, you can use this topic /gazebo/set_model_state