Gazebo | Ignition | Community
Ask Your Question

What is the Ignition Gazebo equivalent of WorldPose() ?

asked 2020-08-27 09:59:27 -0500

finolex1 gravatar image

How could I get the world pose of a Model in Ignition? The closest I can find is

std::optional<math::Pose3d> WorldPose ( const EntityComponentManager &  _ecm) const

but this function only seems to be for links.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-08-27 22:36:19 -0500

chapulina gravatar image

There's ignition::gazebo::worldPose from Util.hh, which will work for any entity that has a components::Pose. All models will have that component.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-08-27 09:59:27 -0500

Seen: 546 times

Last updated: Aug 27 '20