transform from /base_link to /map
Hi,
I was following the navigation tutorials. I have a map already, now I'm starting map_server and amcl as described in the tutorials but I'm getting following message:
Waiting on transform from /base_link to /map to become available before
running costmap, tf error: Could not find a connection between '/map' and
'/base_link' because they are not part of the same tree.Tf has two or more
unconnected trees.
The robot is being displayed in the corner of the map and setting pose estimation does not work (I get a message e.g. "Setting pose: 4.996 2.068 -2.645 [frame=/map]
" but nothing happens).
tftree looks like this (I have a kinect mounted on a car-like robot):
so obviously map -> odom are not connected. Is that the reason pose-estimation does not work? How/where should I connect them? For testing I've tried static_transform_publisher (map to odom) but it did not change anything.
I'll be grateful for any help.