ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Sending simple goal in an unmapped environment

asked 2013-04-15 12:25:11 -0600

Devasena Inupakutika gravatar image

updated 2013-04-15 14:59:16 -0600

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

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2013-04-17 00:58:49 -0600

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.

edit flag offensive delete link more

Comments

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.

Devasena Inupakutika gravatar image Devasena Inupakutika  ( 2013-04-18 03:27:21 -0600 )edit

Question Tools

Stats

Asked: 2013-04-15 12:25:11 -0600

Seen: 428 times

Last updated: Apr 17 '13