Difference between revisions of "ROS Tutorial"

From AIRWiki
Jump to: navigation, search
(Configuration)
m (Installation)
Line 8: Line 8:
  
 
- Add ROS apt repositories and add ROS PGP keys to your system:
 
- Add ROS apt repositories and add ROS PGP keys to your system:
 +
<pre>
 
sudo sh -c 'echo "deb http://code.ros.org/packages/ros/ubuntu lucid main" > /etc/apt/sources.list.d/ros-latest.list'
 
sudo sh -c 'echo "deb http://code.ros.org/packages/ros/ubuntu lucid main" > /etc/apt/sources.list.d/ros-latest.list'
 
wget http://code.ros.org/packages/ros.key -O - | sudo apt-key add -
 
wget http://code.ros.org/packages/ros.key -O - | sudo apt-key add -
 
sudo apt-get update
 
sudo apt-get update
 +
</pre>
  
 
- Install ros-cturtle-base  
 
- Install ros-cturtle-base  
 +
<pre>
 
sudo apt-get install ros-cturtle-base
 
sudo apt-get install ros-cturtle-base
 +
</pre>
  
 
==== Configuration ====
 
==== Configuration ====

Revision as of 11:12, 22 September 2010


Step by step tutorial

Installation

- Install Ubuntu 10.04 (this is the supported ubuntu version at September 2010) as native OS or inside a virtual machine (tested on VirtualBox - http://www.virtualbox.org)

- Add ROS apt repositories and add ROS PGP keys to your system:

sudo sh -c 'echo "deb http://code.ros.org/packages/ros/ubuntu lucid main" > /etc/apt/sources.list.d/ros-latest.list'
wget http://code.ros.org/packages/ros.key -O - | sudo apt-key add -
sudo apt-get update

- Install ros-cturtle-base

sudo apt-get install ros-cturtle-base

Configuration

- In order to automatically add ROS environment variables when opening a termina, add ROS setup.sh script to bash resource file:

echo "source /opt/ros/cturtle/setup.sh" >> ~/.bashrc
. ~/.bashrc

-

Resources

- ROS website: http://www.ros.org

- ROS Cturtle installation instructions: http://www.ros.org/wiki/cturtle/Installation/Ubuntu

- VirtualBox: http://www.virtualbox.org