Summary
ROS
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list' wget http://packages.ros.org/ros.key -O - | sudo apt-key add - sudo apt-get update sudo apt-get install ros-fuerte-desktop sudo apt-get install python-rosinstall python-rosdep
Extra ROS Stacks
cd ~ && mkdir rosstacks && cd rosstacks # orocos_toolchain git clone --recursive http://git.gitorious.org/orocos-toolchain/orocos_toolchain.git apt-get install rubygems1.8 libxslt1-dev rosdep install orocos_toolchain source orocos_toolchain/env.sh rosmake orocos_toolchain # rtt_ros_integration git clone http://git.mech.kuleuven.be/robotics/rtt_ros_integration.git rosmake rtt_ros_integration # rtt_geometry git clone http://git.mech.kuleuven.be/robotics/rtt_geometry.git rosmake rtt_geometry # rtt_common_msgs git clone http://git.mech.kuleuven.be/robotics/rtt_common_msgs.git rosmake rtt_common_msgs # rtt_ros_comm git clone http://git.mech.kuleuven.be/robotics/rtt_ros_comm.git rosmake rtt_ros_comm
Install ROS (currently fuerte)
You can select between pre-compiled packages for your installation or compile directly from source. For Ubuntu, analytic instructions a http://www.ros.org/wiki/fuerte/Installation/Ubuntu
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list' wget http://packages.ros.org/ros.key -O - | sudo apt-key add - sudo apt-get update sudo apt-get install ros-fuerte-desktop
ROS Standalone tools
sudo apt-get install python-rosinstall python-rosdep
ROS Extra stacks
Generally, create a folder on your home directory and install stacks inside
cd ~ mkdir rosstacks cd rosstacks
orocos_toolchain http://www.ros.org/wiki/orocos_toolchain
Get source code from git, no pre-compiled package at the moment:
git clone --recursive http://git.gitorious.org/orocos-toolchain/orocos_toolchain.git
Generic dependencies
apt-get install rubygems1.8 libxslt1-dev
ROS dependencies
rosdep install orocos_toolchain
Build stack
source orocos_toolchain/env.sh rosmake orocos_toolchain
rtt_ros_integration http://www.ros.org/wiki/rtt_ros_integration
From binary package (not available yet for fuerte)
sudo aptitude install ros-electric-rtt-ros-integration
From source code
git clone http://git.mech.kuleuven.be/robotics/rtt_ros_integration.git rosmake rtt_ros_integration
rtt_geometry http://www.ros.org/wiki/rtt_geometry
From binary package (not available yet for fuerte)
sudo aptitude install ros-electric-rtt-geometry
From source code
git clone http://git.mech.kuleuven.be/robotics/rtt_geometry.git rosmake rtt_geometry
rtt_common_msgs http://www.ros.org/wiki/rtt_common_msgs
From binary package (not available yet for fuerte)
sudo aptitude install ros-electric-rtt-common-msgs
From source code
git clone http://git.mech.kuleuven.be/robotics/rtt_common_msgs.git rosmake rtt_common_msgs
rtt_ros_comm http://www.ros.org/wiki/rtt_ros_comm
From binary package (not available yet for fuerte)
sudo aptitude install ros-electric-rtt-ros-comm
From source code
git clone http://git.mech.kuleuven.be/robotics/rtt_ros_comm.git rosmake rtt_ros_comm
BioRob ROS stacks
Depending on you architecture, download adsf or asdf1 and extract in rosstacks
ROS Bash
The ros-bash utility offers auto completion and useful command such as roscd, roscp, ... http://www.ros.org/wiki/rosbash
ROS and Integrated Development Environments (IDEs)
For eclipse, you can generate projects with:
make eclipse-project
in the main folder of the ROS program. If you modify the manifest or the CMakeLists.txt then you have to re-execute the command to update the project files. Note that project specific options set through eclipse will be lost.
For more information and different IDEs visit http://www.ros.org/wiki/IDEs