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

Should the origin of base_link and odom be the same?

asked 2020-10-29 13:49:08 -0500

pitosalas gravatar image

There are many variants of this question and I probably have not stated it precisely. But I am tidying up my Urdf. What is the common sense or conventional way? Should my base_link correspond to the "center" of the robot as a whole (I know this is subjective). Or should it be on the floor/surface? Because publish the transform between odom and my robot, should the transform have the same x and y, but a few centimeters above the floor?

I know "it depends" and there are many ways of doing this. But what's the least surprising way?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2020-10-29 15:40:13 -0500

chives_onion gravatar image

There are ROS Enhancement Proposals (REPs) that can be thought of as standards.Check out REP 105 for a description of platform coordinate frames and REP 103 for axis standards. Your base_link should be fixed to your robot, whereas odom is 'fixed' to a point in the real world. As your robot moves, the transformation between the two should change: this is how you determine your position.

I've also seen base_footprint used, but it's a matter of application and preference.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-10-29 13:49:08 -0500

Seen: 195 times

Last updated: Oct 29 '20