Gazebo | Ignition | Community
Ask Your Question
0

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
1

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
Login/Signup to Answer

Question Tools

1 follower

Stats

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

Seen: 121 times

Last updated: Aug 27 '20