Introduction

The goal of this lab is to gain experience using the Python actionlib interface to the ROS navigation system.

Steps

  1. Clone the random_nav github repository into your catkin_ws/src folder:
  2. git clone GITURL random_nav
    
  3. Execute catkin_make in your workspace directory.
  4. Execute:
    roslaunch random_nav simulator.launch
    
  5. Open the file random_nav.py and complete the node according to the included comments.

Going Further

If you finish the steps above, try modifying random_nav.py so that it selects a single random destination, navigates to that goal, then returns to the robots starting location. Accomplishing this will require you to use the tf system to determine the robot's initial location in the map coordinate frame. You can then store this location to use as the final navigation destination.