I am trying to configure my robot for navigation,My robot is moving around with the help of keyboard teleop,but when launching move_base.launch it is showing the below mentioned error

asked 2019-11-11 05:34:34 -0600

akshayantony gravatar image

Timed out waiting for transform from base_link to map to become available before running costmap, tf error: canTransform: target_frame map does not exist. canTransform: source_frame base_link does not exist.. canTransform returned after 0.100354 timeout was 0.1. any required file can be uploaded,please ask.

edit retag flag offensive close merge delete


launch everything up as you did previously then type

rosrun rqt_tf_tree rqt_tf_tree

Upload that image.

bob-ROS gravatar imagebob-ROS ( 2019-11-11 06:34:03 -0600 )edit

try setting a higher timeout value and see if this solves your issue.

Choco93 gravatar imageChoco93 ( 2019-11-11 07:18:42 -0600 )edit

https://drive.google.com/file/d/1JolJ... this is the transform tree link

akshayantony gravatar imageakshayantony ( 2019-11-11 07:42:31 -0600 )edit

@bob-ROS THANK you for your reply,i have attached the link of tf tree in the above comment

akshayantony gravatar imageakshayantony ( 2019-11-11 07:44:13 -0600 )edit

you can see from the image that there is no map frame. And no base_link either. What is your current setup? What are you using for publishing odom and map frame?

Choco93 gravatar imageChoco93 ( 2019-11-11 07:56:05 -0600 )edit

Like @Choco93 said, there is neither a base_link or a map. Therefore there can't be a transformation between base_link and map. Rename "frame" to "base_link" in your urdf. But you don't have any map, do you plan to run localization (e.g existing map + AMCL) or create your own map using SLAM?

bob-ROS gravatar imagebob-ROS ( 2019-11-11 08:05:30 -0600 )edit

I currently have a map, and to create one my gmapping is running fine.So now i will change frame to base_link now.

akshayantony gravatar imageakshayantony ( 2019-11-11 09:46:51 -0600 )edit

@Choco93@bob-ROShttps://drive.google.com/open?id=1LNg... this is the link to my urdf files,can you help me a little bit more,any questions are welcome

akshayantony gravatar imageakshayantony ( 2019-11-22 13:56:14 -0600 )edit