|Author:||Tully Foote <tfoote at willowgarage.com>, Ken Conley <kwc at willowgarage.com>|
This REP defines target platforms for each ROS Distribution Release. We define platforms to include both operating system releases (e.g. Ubuntu Lucid (10.04 LTS)) as well as major language releases (e.g. Python 2.6). The target platforms represent the set on which all core stacks are expected to work. Exceptions can be made for stacks that are intentionally platform-specific.
If planned support for a target platform is changed, notice will be sent to ros-developers to enable discussion of this issue.
This document is provided to help plan future development for libraries. The primary platforms for ROS are Canonical's Ubuntu releases, and our intent is to track these releases as best as possible while also allowing for current, thirdparty libraries to be used.
Target platforms for future releases are speculative and are based on consulting Ubuntu's release and end-of-life schedule .
The following rules are used for choosing the target platforms. They aim to limit the number of supported Ubuntu version for each ROS distribution to a small number (<= 3) as well as provide a reasonable upgrade path for users as well as maintainers of packages.
Any "formula" requires making assumptions about future Ubuntu library choices and other crystal-ball projections. While we will do our best to follow the assumed target schedule, we reserve the right to change support targets based on Ubuntu library choices or other considerations. For example, the formula above assumes that a ROS distribution release can be made compatible with future Ubuntu releases. In the event that forward integration cannot be done without introducing destabilizing changes, preference will always be given to maintaining stability of the existing release.
We generally expect to use the ROS Distribution release prior to an Ubuntu LTS release to transition to newer libraries and drop support for older platforms. Our past experience with Ubuntu releases is that the release prior to an LTS release (e.g. Karmic (9.10)) incorporates major jumps in library versions; also, this release is generally very similar to the LTS release. Requiring that all stacks be compatible across a wide spread of Ubuntu releases can be very difficult, especially for libraries like Boost that do not provide for backwards compatibility.
We use the C++03 (ISO/IEC 14882:2003) standard, and are compiler-agnostic. While we mainly develop with gcc, no use of compiler-specific features is allowed without proper use of macros to allow use on other platforms.
Use of C++[0|1]x or tr1 features are only allowed if support for that feature is checked at compile time, and equivalent functionality exists without requiring C++[0|1]x code. A wholesale jump to C++[0|1]x will not happen until all commonly used OS platforms fully support it.
For a given release we allow use of Boost libraries that match the version provided in our low-water-mark Ubuntu version.
We use Steel Bank Common Lisp as our ANSI Common Lisp implementation. We are currently tracking SBCL 1.0.38 and will track future updates in the 1.0.x series as appropriate.
Our intent with Python is to track the minimum version provided in the supported Ubuntu platforms, as well as survey other commonly used OS platforms that support ROS to determine a reasonable minimum target.
Ubuntu has announced plans to release 14.04 in April 2014 with Python 3 as its default interpreter. Some ROS infrastructure and core scripts already work with Python 3 since Groovy. But, it remains difficult to set up a test environment so ROS package developers can also port to Python 3.
The preferred migration strategy is to support both Python 2.7 and Python >= 3.2 in each source script. Supporting any version earlier than 2.6 makes that task harder. Python 3.0 and 3.1 will probably never be supported explicitly, although some things may work.
Core stacks are required to comply with the target platforms listed here, though exceptions can be granted for core stacks that are inherently platform-specific. The set of core stacks is currently defined by variants included with each ROS distribution release.
This REP applies to stacks in the base variant for C Turtle.
And thirdly, the code is more what you'd call "guidelines" than actual rules...
We hope that ROS stack maintainers will make every effort to comply with the target platforms within this REP, but we recognize that ROS stacks represent a spectrum of development, from research prototypes to hardened libraries. There are also cases where supporting target platforms may incur unnecessary effort, such as a set of drivers for a specific robot platform.
|||Ubuntu Releases with End-of-Life Dates (https://wiki.ubuntu.com/Releases)|
|||REP 108, ROS Diamondback Variants (http://www.ros.org/reps/rep-0108.html)|
This document has been placed in the public domain.