Waiting on transform from /base_link to /map?
In http://www.ros.org/reps/rep-0105.html
says "map --> odom --> base_link"
and "Although intuition would say that both map and odom should be attached to base_link, this is not allowed because each frame can only have one parent."
In tf src,I have built two connections
tf::Transform(tf::Quaternion(0,0,0, 1), tf::Vector3(0, 0, 0)),
ros::Time::now(),"base_link", "base_laser")
tf::Transform(tf::Quaternion(0,0,0, 1), tf::Vector3(20, 0, 0)),
ros::Time::now(),"base_link", "odom")
If I write map->odom,it will says contain a loop.I don't know why.
tf::Transform(tf::Quaternion(0,0,0, 1), tf::Vector3(0, 0, 0)),
ros::Time::now(),"odom", "map")
My robot.launch says
[ WARN] [1311950065.207360272]: 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.
- What happened to base_link with two parents?
- Why map->odom will contain a loop?
- How to fix all the problems? Thank you~