Skip to content

Installation Instructions

ianloefgren edited this page Jun 16, 2016 · 11 revisions

To install ROS Indigo open a terminal window and run the commands

sudo apt-get update
sudo apt-get install ros-indigo-desktop-full

Note: if you already have another full version of ROS installed, the full desktop indigo install will require the removal of multiple existing packages in order resolve dependencies. This includes your current version of Gazebo and related packages.

Next, we need to create a directory for a catkin workspace in order to build any new packages, initialize it as a catkin workspace, and build the workspace.

mkdir -p pomdp_experiment_ws/src
cd pomdp_experiment_ws/src/
catkin_init_workspace
cd ..
catkin_build

The workspace can now be sourced to append the proper paths to ROS environment variables.

source devel/setup.bash
set_indigo () {
    export ROBOT=$HOSTNAME
    source /opt/ros/indigo/setup.bash
    source ~/catkin_ws/devel/setup.bash
    export ROS_PACKAGE_PATH=/home/ian/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks:/home/ian/rosbuild_ws/vicon/ros

Clone this wiki locally