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

Confusion about TF Odom to Base_footprint

asked 2020-02-09 16:30:20 -0600

zhefan gravatar image

So I have some confusion about transformation between odom and base_footprint. I am using turtlebot_gazebo turtlebot3_house,launch. After I ran this launch file, I checked the TF frame view. I find that the only transform is odom->base_footprint.

My understanding is: odom frame and base_footprint should both be the position of robot. Why this tf exist? Can someone explain this? Thanks in advance!

Below is /odom topic

 zhefan@zhefan-OMEN-by-HP-Laptop-17-an0xx:~$ rostopic echo -n1 odom
    header: 
      seq: 4454
      stamp: 
        secs: 148
        nsecs: 500000000
          frame_id: "odom"
        child_frame_id: "base_footprint"
        pose: 
          pose: 
            position: 
              x: -3.0000338659
              y: 1.00008570224
              z: -0.00100139306072
            orientation: 
              x: -9.64725127562e-06
              y: 0.00385309683028
              z: 0.00067114823324
              w: 0.999992351527

And this is tf:

transforms: 
  - 
    header: 
      seq: 0
      stamp: 
        secs: 38
        nsecs: 700000000
      frame_id: "odom"
    child_frame_id: "base_footprint"
    transform: 
      translation: 
        x: -3.00002305648
        y: 1.00002237871
        z: -0.00100139296313
      rotation: 
        x: -7.72369546136e-06
        y: 0.00385310031639
        z: 0.000171801496723
        w: 0.999992561994
---
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-02-09 19:30:25 -0600

You can think of base_footprint as ; projection of odom frame onto the ground plane, which is mostly used for object collision detection/avoidance algorithms. odom's roll and pitch angles can be changed during the movements of robot, however in base_footprint

With respect to the odom frame, the roll and pitch angles should be zero and the yaw angle should correspond to the base_link yaw angle.

Rationale: base_footprint provides a fairly stable 2D planar representation of the humanoid even while walking and swaying with the base_link.

you can also refer to here for some more details.

also have look at the similar discussion in this topic; here

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-02-09 16:30:20 -0600

Seen: 887 times

Last updated: Feb 09 '20