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

AMCL map->odom tf-transformation

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

Tirgo gravatar image

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

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

Comments

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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

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

Question Tools

2 followers

Stats

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

Seen: 2,939 times

Last updated: Dec 06 '12