Ubuntu 14.04 with ROS Indigo.
git clone https://gist.github.com/harmishhk/2e6baec83d696b5f5c212110d1d04dcc $HOME/ros/navigation_setup
cd ~/ros/navigation_setup && ./setup.sh
Script setup.sh runs the following steps.
-
Create a catkin workspace:
export ROS_DISTRO=indigo export NAVIGATION_WS=$HOME/ros/navigation_ws mkdir -p $NAVIGATION_WS/src
-
Install prerequisites:
sudo apt-get install \ ros-$ROS_DISTRO-navigation \ ros-$ROS_DISTRO-gmapping \ python-rosinstall \ python-catkin-tools
-
Download repositories:
sed -i.bak s/ROS_DISTRO/$ROS_DISTRO/g $(pwd)/rosinstall cp rosinstall $NAVIGATION_WS/src/.rosinstall cd $NAVIGATION_WS/src/ && rosws update
-
Build catkin workspace:
source /opt/ros/$ROS_DISTRO/setup.sh catkin build