Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2015-05-14 15:49:18
Size: 1682
Editor: ?LeopoldPalomo
Comment: Initial input. It's a draft
Revision 4 as of 2015-06-01 13:39:34
Size: 1151
Editor: ?JochenSprickerhof
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
The official ROS page shows that as platform supported are: Ubuntu and Ubuntu (armhf). Also, it's supported from source. Installation instruction to install ROS on Debian.
Line 3: Line 3:
Install ROS is a Debian box is not a trivial thing. OSRF(current ROS maintainer) provides packages for Ubuntu generated using a tool (bloom). They are installed in /opt/ros/$rosversion and doesn't obey FHS. This point has been discussed in the past [ 1,2], but and some efforts has been done to accomplish it, but it's implementation has show some drawbacks hidden in the ROS implementation. [[DebianScience/Robotics/ROS/Motivation|Motivation]]
Line 5: Line 5:
Also, some GNU/Linux distributions are more strict than other, but for example Debian requires that any library installed has defined a SONAME. === Binary repos (containing ROS core and more) ===
Line 7: Line 7:
The initiative of packaging ROS for Debian was initiated by Thomas Moulard for the debian-science group and continued by Jochen Sprickerhof and Leopold Palomo-Avellaneda. The sources of the packages are hosted here. Debian Stretch/Sid (amd64):
{{{deb http://sir.upc.edu/debian-robotics unstable main}}}
Line 9: Line 10:
We have created a set of packages of the core of ROS plus other extras. Currently (May 2015) we have more than half of the packages of desktop_full installation. The packages have been build for: Debian Jessie and Stretch(sid-testing) and Ubuntu Trusty. Debian Jessie (amd64):
{{{deb http://sir.upc.edu/debian-robotics jessie-robotics main}}}
Line 11: Line 13:
All the packages comes from the same sources and we just have recompiled in a clean environment for the selected distros. They are more or less lintian clean, but we are still under development. They obey FHS and have the needed SONAMES. The aim of all this effort is to upload them as official packages in Debian. Ubuntu Trusty:
https://launchpad.net/~deb-rob/+archive/ubuntu/ros-trusty
Line 13: Line 16:
All the installations need the packages created and some part compiled. Also, with a few steps in the environment. With the base of the packages, you can compile almost all the packages created for ROS. To use them try: === Compile the rest of desktop-full ===

Installing the needed packages:

{{{#!highlight bash
$apt-get install ros-full-desktop-depends
}}}
Compile the rest:

{{{#!highlight bash
$ mkdir ~/ros
$ cd ~/ros
$ rosinstall_generator desktop_full --rosdistro indigo --deps --wet-only --tar --exclude RPP \
 ros ros_comm rosnode rosbuild roslang roswtf roslisp roscpp_core common_msgs \
 common_tutorials geometry_tutorials ros_tutorials visualization_tutorials \
 urdf_tutorial > indigo-desktop-full-wet.rosinstall
$ wstool init -j8 src indigo-desktop-full-wet.rosinstall
$ catkin_make_isolated --install
}}}

To use the local ros workspace:
{{{#!highlight bash
source ~/ros/install_isolated/setup.bash
}}}

Installation instruction to install ROS on Debian.

Motivation

Binary repos (containing ROS core and more)

Debian Stretch/Sid (amd64): deb http://sir.upc.edu/debian-robotics unstable main

Debian Jessie (amd64): deb http://sir.upc.edu/debian-robotics jessie-robotics main

Ubuntu Trusty: https://launchpad.net/~deb-rob/+archive/ubuntu/ros-trusty

Compile the rest of desktop-full

Installing the needed packages:

   1 $apt-get install ros-full-desktop-depends

Compile the rest:

   1 $ mkdir ~/ros
   2 $ cd ~/ros
   3 $ rosinstall_generator desktop_full --rosdistro indigo --deps --wet-only --tar --exclude RPP \
   4  ros ros_comm rosnode rosbuild roslang roswtf roslisp roscpp_core common_msgs \
   5  common_tutorials geometry_tutorials ros_tutorials visualization_tutorials \
   6  urdf_tutorial > indigo-desktop-full-wet.rosinstall
   7 $ wstool init -j8 src indigo-desktop-full-wet.rosinstall
   8 $ catkin_make_isolated --install

To use the local ros workspace:

   1 source ~/ros/install_isolated/setup.bash