ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Inverse of geometry_msgs/pose

asked 2015-03-17 13:48:13 -0600

2ROS0 gravatar image

What's the best way to find the inverse of a geometry_msgs/Pose message?

Or in general to perform any other matrix manipulations. Does ROS provide a library or functions to do so? And if not, which is the default method used by the ROS community?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2015-03-17 15:19:49 -0600

gvdhoorn gravatar image

If with "inverse of pose" you mean something that deals with transforms and their inverses, then you're probably looking for the tf system in ROS.

If you're just starting with this, tf2 might actually be better, as it is the successor to tf.

See the various tutorials for more info on how to use both.

edit flag offensive delete link more

Comments

The "pose" in my case represents a child coordinate frame (frame B) in parent coordinates (frame A). I want to find out the inverse of that (A in coordinates of B).

2ROS0 gravatar image 2ROS0  ( 2015-03-17 15:48:45 -0600 )edit

Pose and Transform are equivalent. And it makes sense to avoid tf when needing the inverse of a pose sometimes.

Mehdi. gravatar image Mehdi.  ( 2022-06-30 03:17:28 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-03-17 13:48:13 -0600

Seen: 1,529 times

Last updated: Mar 17 '15