Ask Your Question
1

static_transform_publisher base_link base_laser

asked 2014-09-15 09:34:46 -0500

mohammad gravatar image

hi everyone

Is this line enough in order to use tf package for set a fixed relation between base_link and base_laser frames in my launch file?

<node pkg="tf" type="static_transform_publisher" name="base_to_laser_broadcaster" args="0 0 0 0 0 0 base_link base_laser 100" />

and do i need other nodes or scripts to set /map frames or others especially when we want to use packages like gmapping or amcl?? thanks:))))

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-09-15 09:49:33 -0500

paulbovbel gravatar image

Is this line enough in order to use tf package for set a fixed relation between base_link and base_laser frames in my launch file?

Yes, if you want them to have an identity transform inbetween them (0 0 0 0 0 0).

do i need other nodes or scripts to set /map frames or others especially when we want to use packages like gmapping or amcl?

For gmapping and amcl, which both publish the map->odom transform, you want to make sure you already provide an accurate odom->base_link transform, as well as publishing odometry to the odom topic. More info here.

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

1 follower

Stats

Asked: 2014-09-15 09:34:46 -0500

Seen: 1,312 times

Last updated: Sep 15 '14