Ask Your Question

AMCL map->odom tf-transformation

asked 2012-12-06 02:18:02 -0500

Tirgo gravatar image

updated 2014-01-28 17:14:29 -0500

ngrennan gravatar image

Hi everybody

I have a question regarding the tf transformation which is published by amcl. I'm working with a husky so i use the amcl_demo.launch file to start amcl.

image description

I build an tf tree for my lasescanner and the odometry of the robot.

image description

I'm using 2 static broadcaster for the transformations base_footprint->base_link->laser

robot_pose is publishing the transform odom -> base_footprint

My problem is: If i start amcl it is not publishing the transform from map->odom. I'm getting the warning "Waiting on transform from /base_link to /map to become available before running costmap, tf error:" So in my understanding amcl should provide the missing transform map->odom to finish the tf tree. So why is it waiting for a transform between base_link and map?

Hoping for some help

edit retag flag offensive close merge delete


Hey Tirgo, i got the same problem. Would you like to tell how to solve the problem?

Oysster gravatar image Oysster  ( 2020-08-09 06:17:58 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-12-06 03:22:26 -0500

updated 2012-12-06 03:22:48 -0500

It is not obvious from your description how you are loading the prior map into amcl. Are you running a map server in conjunction with it?

Also, could you post the output of amcl? You can modify your launch file to say

 <node pkg=... type=... node=... output="screen">

or find the appropriate log file.

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



Asked: 2012-12-06 02:18:02 -0500

Seen: 2,262 times

Last updated: Dec 06 '12