Setting up the Robot Operating System (ROS Hydro)

I followed http://wiki.ros.org/hydro/Installation/Ubuntu to set up the latest Robot Operating System (ROS Hydro) on Ubuntu 12.10 (Quantal).

# Remove existing ROS versions (probably optional):  
sudo apt-get remove ros-*

# Setup your computer to accept software from packages.ros.org. ROS Hydro ONLY supports Precise, Quantal, and Raring for debian packages. If you aren't using Quantal, just replace 'quantal' with 'precise' or 'raring':
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu quantal main" > /etc/apt/sources.list.d/ros-latest.list'

# Set up keys:
wget http://packages.ros.org/ros.key -O - | sudo apt-key add -

# Update Debian package index:
sudo apt-get update

# Install ROS Hydro Full Desktop Installation:
sudo apt-get install ros-hydro-desktop-full

# Initialize rosdep:
sudo rosdep init
rosdep update

# Add rosinstall tool
sudo apt-get install python-rosinstall

At this point, set up your ~/.bashrc file. I have a seperate ~\.ros_setup file that contains these lines, but feel free to put them directly in bashrc.

source /opt/ros/hydro/setup.bash
ROS_PACKAGE_PATH="$ROS_PACKAGE_PATH:~/catkin_ws/src:~/ros_workspace/src"

Now, set up your Catkin workspace for all of your own code and packages:

mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
catkin_init_workspace
cd ~/catkin_ws
catkin_make

You should be up and running with ROS Hydro!

 
27
Kudos
 
27
Kudos

Now read this

Memories of HackMIT 2016

On September 17th and 18th, 1000 college hackers traveled to MIT’s campus for an eagerly anticipated HackMIT 2016 from around the world — from Boston to Jamaica to Guwahati, India. As our team ramps up for our next event, Blueprint, we... Continue →