Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

As detailed on the Migration guide From Gazebo 7 to Gazebo 8, function

gazebo::math::Pose worldPose

was replaced with

ignition::math::Pose3d worldPose

When looking through the API documentation, be sure to go check if the documentation's version matches your Gazebo version. For Gazebo 7, this is the page you should be looking at.


As for converting between gazebo::math and ignition::math

ignition::math::Something ignSmth = gzSmth.Ign();
gazebo::math::Something gzSmth(ignSmth);

As detailed on the Migration guide From Gazebo 7 to Gazebo 8, function

gazebo::math::Pose worldPoseinline virtual const math::Pose Entity::GetWorldPose() const

was replaced with

inline virtual const ignition::math::Pose3d worldPose&Entity::WorldPose() const

When looking through the API documentation, be sure to go check if the documentation's version matches your Gazebo version. For Gazebo 7, this is the page you should be looking at.


As for converting between gazebo::math and ignition::math

ignition::math::Something ignSmth = gzSmth.Ign();
gazebo::math::Something gzSmth(ignSmth);