0
$\begingroup$

Rosanswers logo

Can we send simple goal to robot in an unmapped environment (not traversed by robot earlier) using move_base package?


Originally posted by Devasena Inupakutika on ROS Answers with karma: 320 on 2013-04-15

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Unfortunately no. Both the current position of the robot and the goal pose need to be in a region that is marked as unoccupied in the map. You can try this for yourself (instructions are for Fuerte):

  1. start the PR2 in Gazebo: roslaunch pr2_gazebo pr2_wg_world.launch
  2. start move_base + gmapping: roslaunch pr2_2dnav_slam pr2_2dnav.launch
  3. start RViz: rosrun rviz rviz -d $(rospack find pr2_navigation_slam)/rviz/move_base_slam.vcg
  4. start teleop: roslaunch pr2_teleop teleop_keyboard.launch

Now you can try sending move_base commands using the "2D Nav Goal" button in RViz; nothing will happen, because the PR2 itself is still in unexplored space. Use the teleop window to move the PR2 around until it is well in explored space. Now sending goals in explored (and unoccupied) space should work, but sending goals in unexplored space does not.


Originally posted by Martin Günther with karma: 11816 on 2013-04-17

This answer was ACCEPTED on the original site

Post score: 1


Original comments

Comment by Devasena Inupakutika on 2013-04-18:
Ok, Thank you. I tried SLAM and then turtlebot_navigation package by setting up the navigation stack. It doesn't work for unexplored space. And observed results as mentioned above.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.