Ask Your Question
0

While building tf map for gmapping, how to set tf tree?

asked 2018-03-29 21:37:01 -0500

Mingdyong gravatar image

While building tf map for gmapping, how to set tf tree?

Following document, http://wiki.ros.org/gmapping


Subscribed Topics tf (tf/tfMessage)Transforms necessary to relate frames for laser, base, and odometry (see below) scan (sensor_msgs/LaserScan)Laser scans to create the map from


I understood like as follow.

subscribe topie as tf made it from laser , base, odom topic,  and publish map topic. to transform tf using [ laser , base, odom ]

And in the document say like below to for making tf tree


Required tf Transforms <the frame="" attached="" to="" incoming="" scans=""> → base_linkusually a fixed value, broadcast periodically by a robot_state_publisher, or a tf static_transform_publisher. base_link → odomusually provided by the odometry system (e.g., the driver for the mobile base)

Provided tf Transforms map → odomthe current estimate of the robot's pose within the map frame


Document say, [ map → odom ] [ base_link → odom ]

but, the project I run gmapping & built map show the tf tree like below [ map -> odom -> base_footprint -> base_link -> base_scan ]

I can not understand what does document saying. As I guess,

[ <the frame="" attached="" to="" incoming="" scans=""> → base_link ] this could be changed as

[  base link -> base scan  ] [  odom -> base link ] like that.

please understand me.

Thankyou.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-07-01 09:34:17 -0500

bfdmetu gravatar image

It should be map>odom>base_footprint>base_link>laser

from bottom to top

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-03-29 21:37:01 -0500

Seen: 548 times

Last updated: Jul 01 '20