Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Simple. Use GetPose utility. For eg:

gazebo::math::Pose pose = this->model->gazebo::physics::ModelState::GetPose();

You can convert it into your preferred coordinate system through simple transformation.