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

What is the pose topic move_base subscribes to?

asked 2015-12-29 00:04:30 -0500

Shams gravatar image

move_base extracts the current position from tf. what is the name of the frame it subscribes to relative to /map frame?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-01-07 07:21:59 -0500

mgruhler gravatar image

move_base actually gets the current position from the costmap (see here).

Thus, you specify the the frame_id in the costmap config file via the ~<name>/robot_base_frame parameter, which defaults to base_link.

As you write correctly, it uses tf to get the current position, so it does not subscribe to a topic other than tf for this.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-12-29 00:04:30 -0500

Seen: 174 times

Last updated: Jan 07 '16