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

how to find an inverted transformation of a frame

asked 2020-07-02 11:44:52 -0500

mateusguilherme gravatar image

updated 2020-07-02 13:07:34 -0500

Hi

let's say I have a transformation "map->odom" in the topic /TF as the following example, how do I calculate an inverse transformation of odom -> map, mathematically speaking. What is the pose of the map frame in the odom frame?

 transforms: 
  - 
    header: 
      seq: 0
      stamp: 
        secs: 248
        nsecs: 135000000
      frame_id: "map"
    child_frame_id: "odom"
    transform: 
      translation: 
        x: -0.0035306278666
        y: -0.793366162427
        z: -4.52458409831e-05
      rotation: 
        x: -2.09344237192e-05
        y: 3.72782153808e-06
        z: 0.00294061514174
        w: 0.999995676156

thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-02 17:24:26 -0500

mateusguilherme gravatar image

updated 2020-07-02 17:25:53 -0500

use an inverse transformation matrix:

image description

where R is the rotation matrix and P is the translation

https://www.slideshare.net/JoaquimSal...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-07-02 11:44:52 -0500

Seen: 496 times

Last updated: Jul 02 '20