Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 89

move_base start position is off the global costmap

$
0
0
Hi all, after following this tutorial http://www.ros.org/wiki/navigation/Tutorials/RobotSetup#Global_Configuration and run rviz when I try to give a 2d nav goal in the map the shell output this error: > The robot's start position is off the> global costmap. Planning will always> fail, are you sure the robot has been> properly localized? someone have any idea what I'm doing wrong? thanks for your attention EDIT 1: thanks @ayush_dewan for your answer, I checked my tf tree typing > rosrun rqt_tf_tree rqt_tf_tree ![image description](/upfiles/1372840507430794.png) and the rqt_graph ![image description](/upfiles/13728411869142232.png) I see that the map server is not connected with the main tree but it is in the tf tree. I don't understand if is a map trouble (type of the map, resolution,...) or a tf issue. Edit 2: Tryed the tf_echo command with the following output: rosrun tf tf_echo /map /base_link At time 1374093690.903 - Translation: [-0.002, 0.006, 0.000] - Rotation: in Quaternion [0.000, 0.000, 0.003, 1.000] in RPY [0.000, -0.000, 0.005] rosrun tf tf_echo /map /odom At time 1374093829.437 - Translation: [-0.224, 0.066, 0.000] rosrun tf tf_echo /odom /base_link At time 1374093875.303 - Translation: [0.224, -0.051, 0.000] - Rotation: in Quaternion [0.000, 0.000, 0.022, 1.000] in RPY [0.000, -0.000, 0.045] - Rotation: in Quaternion [0.000, 0.000, -0.020, 1.000] in RPY [0.000, 0.000, -0.039] it seems to me that all is going well, or better no error is coming out. Could you please specify a little more where the issue could be? Thanks EDIT 3:thanks @ahendrix, this is my map.yalm code image: map01.png resolution: 0.02 origin: [-5.0, -5.0, 0.0] negate: 0 occupied_thresh: 0.65 free_thresh: 0.196 and this the Rviz output ![image description](/upfiles/13741523778351461.png) I hope this could be helpful.

Viewing all articles
Browse latest Browse all 89

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>