This page describes how to run the ROS navigation stack with USARSim.
You must have the following ROS packages installed (replace <ros_version> with either fuerte or electric)
$ sudo apt-get install ros-<ros_version>-common-msgs
This package is available from the brown_remotelab stack. To install the package:
$ sudo apt-get install ros-<ros_version>-brown-remotelab
This package is available from the slam_gmapping stack. To install the package:
$ sudo apt-get install ros-<ros_version>-slam-gmapping
This package is available from the control stack control. To install the package:
$ sudo apt-get install ros-<ros_version>-control
This package is available from the control stack control. To install the package:
$ sudo apt-get install ros-<ros_version>-arm-navigation
Please follow the directions on the [USARSimROS] page to get the basic USARSimROS interface up and running. Note that you must make sure that the line \<param name="usarsim/odomSensor" value="InsTest" /> from the usarsim.launch file points to a valid sensor. This means that InsTest must be specified in the .ini file of usarsim on the PC. If unsure if this sensor exists, leave it out. The ROS node will attempt to auto-configure it. If this parameter was ever in your file when you ran the node, then you must restart roscore.
~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ rosrun teleop_twist_keyboard teleop_twist_keyboard.py
5. Run the gmapping software:
$ rosrun gmapping slam_gmapping scan:=lms200 _odom_frame:=odom
~~~~~~~~~
$ rosrun map_server map_saver