Ask Your Question

Revision history [back]

Seems as if gmapping is not installed and/or not on your ROS_PACKAGE_PATH.

Install via sudo apt-get install ros-indigo-slam-gmapping. If you want to build it from source, you need to put it in your ROS workspace (I'm guessing in /home/sri/jackal_navigation/src and build the workspace.

About your strange paths in the ROS_PACKAGE_PATH:

Maybe try to build again with the following commands in a new terminal (make sure you don't source anything in the bashrc).

source /opt/ros/indigo/setup.bash
echo $ROS_PACKAGE_PATH
cd /home/sri/jackal_navigation
catkin_make
source /home/sri/jackal_navigation/devel/setup.bash
echo $ROS_PACKAGE_PATH

And check the output. The output should be (approximately ;-) ):

  1. /opt/ros/indigo/share:/opt/ros/indigo/stacks
  2. /home/sri/jackal_navigation/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks