Go to file
KristofRobot 312e6c4ddd Merge pull request #320 from bulwahn/master
libpoco: compiling with arm64 architecture
2015-04-08 18:17:43 +02:00
classes catkin: split up catkin in order to reduce runtime dependencies 2015-03-02 13:22:06 +01:00
conf layer.conf: define ROSDISTRO within the meta-ros layer 2014-08-02 23:17:59 -07:00
licenses qhull: initial commit 2013-09-16 09:15:29 +02:00
recipes-core/images core-image-ros-rosworld: additional image to test installation of packagegroup-ros-world 2013-10-31 17:27:17 +01:00
recipes-devtools python-rosdep: adding new dependency due to update 2015-03-30 17:36:12 +02:00
recipes-extended libpoco: compiling with arm64 architecture 2015-04-07 06:47:54 +02:00
recipes-ros genlisp: updating to 0.4.15 2015-03-30 09:26:14 +02:00
recipes-support/boost boost: Use wildcard in version for bbappend 2014-01-23 08:26:23 -08:00
scripts check-patch-files.sh: initial commit 2014-08-18 06:53:41 +02:00
.gitignore adding a minimal .gitignore file 2013-01-04 10:54:33 +01:00
.gitmodules dropping unmaintained test-reports git submodule (resolves #297) 2014-12-02 08:41:55 +01:00
.travis.yml .travis.yml: continuously check the patch files 2014-08-18 06:53:41 +02:00
CONTENTS CONTENTS: adjusted to current state and tuned formatting 2013-08-05 08:12:21 +02:00
COPYING.MIT adding license in preparation of going public 2012-12-20 14:23:02 +01:00
README.md README.md: acknowledge recent contributors 2015-03-30 07:05:23 +02:00

README.md

This is a layer to provide ROS Hydromedusa in an OpenEmbedded Linux system. It provides a stable cross-compilation build system for many common ROS packages. Currently, this layer is still under continuous development.

IMPORTANT RESOURCES

MAINTAINERS

CONTRIBUTORS

HOW TO CONTRIBUTE

We are still working on this development and are interested in other use cases. If you are interested in this project, please contact us via email. The more people are interested, the more we will be pushing this project. If you want to contribute, please contact us and we can discuss open issues and how to join forces.

DEPENDENCIES

This layer depends on:

openembedded-core
URI: git://git.openembedded.org/openembedded-core
subdirectory: meta
branch: master
revision: HEAD

meta-openembedded (meta-oe)
URI: git://git.openembedded.org/meta-openembedded
subdirectory: meta-oe
branch: master
revision: HEAD

meta-python (since a6d7ba92645a112af358efd94ff3aa0c74985a51@meta-openembedded)
URI: git://git.openembedded.org/meta-openembedded
subdirectory: meta-python
branch: master
revision: HEAD

bitbake > 1.20

DEPENDENCIES ON RECENT COMMITS

Here, we list which parts of this layer depend on recent commits in the bitbake, openembedded-core and meta-openembedded repositories. Using git blame on the lines below, you can find the commits in meta-ros that rely on the remote commits. In case of porting to other versions, you must possibly revert some of those commits.

cv-bridge and dependent recipes, e.g., the image-transport recipes, depend on 7568bfdd114597956a1da68746f207ec7f93a48d@openembedded-core.

Some recipes that need the Eigen library, e.g., the pcl-ros recipe, depend on 424e3c1b930c0103c2cedfd4df1671e84a5256d5@meta-openembedded.

Using wildcards in bbappend versions part in name depends on 31bc9af9cd56e7b318924869970e850993fafc5f@bitbake and 991cbeedbde8bd25ce08c669b1bfac8b99e33149@bitbake.

octomap-ros and collada-urdf depend on 43073569cb67d98c11aa71211d77b566b64f9145@openembedded-core and 783fb88f476c94d5d4f4b954f7053464d9a6dff5@openembedded-core.

urdfdom-py depends on the meta-python layer since a6d7ba92645a112af358efd94ff3aa0c74985a51@meta-openembedded.

INSTALLATION

The repository contains a layer for ROS that builds on top of the OpenEmbedded Core layer and the meta-oe layer.

We try our best to keep up with the development of the current HEAD of the layers mentioned above. If you notice any problems with the current HEAD, please report this in our issue tracker.

You can use this layer with earlier versions of the layers mentioned above and their release branches, dora and daisy, with a few minor adjustments. The section "dependencies on recent commits" in this file provides a few pointers to adjust this layer for other versions.

USAGE

Initialize the build environment:

source oe-init-build-env

Add the required layers (see DEPENDENCIES) by modifying ./conf/bblayers.conf (adjust /home/me/devel as necessary):

BBLAYERS ?= " \
/home/me/devel/openembedded-core/meta \
/home/me/devel/meta-openembedded/meta-oe \
/home/me/devel/meta-openembedded/meta-python \
/home/me/devel/meta-ros \
"

Compile package:

bitbake <package-name>

The recipe core-image-ros-roscore provides a minimal Linux system that runs roscore.

You can compile the minimal Linux system with

bitbake core-image-ros-roscore

Then for example, you start this system in the qemu virtual machine with

runqemu <MACHINE> core-image-ros-roscore

On the Linux system, ensure that the own host's name in resolved by adding

127.0.0.1	<HOSTNAME>.localdomain		<HOSTNAME>

to the /etc/hosts file, and set up the environment with

export ROS_ROOT=/opt/ros/hydro
export PATH=$PATH:/opt/ros/hydro/bin
export LD_LIBRARY_PATH=/opt/ros/hydro/lib
export PYTHONPATH=/opt/ros/hydro/lib/python2.7/site-packages
export ROS_MASTER_URI=http://localhost:11311
export CMAKE_PREFIX_PATH=/opt/ros/hydro
touch /opt/ros/hydro/.catkin

Finally, you can start roscore with

roscore

CROSS-COMPILING ALL ROS PACKAGES IN meta-ros

The meta-ros layers only includes a subset of the officially released ROS packages, available from packages.ros.org. The here provided ROS packages are mainly driven by the current users' needs.

For ROS packages that depend on cv-bridge, the commercial license flag must be whitelisted, as cv-bridge depends on opencv, and opencv by default depends on libav that has special terms and conditions when used commercially. This can be done by adding to the local.conf the line:

LICENSE_FLAGS_WHITELIST = "commercial"

Alternatively, the dependency from opencv on libav can be explicit excluded by modifying the PACKAGECONFIG setting.

LICENSE

All metadata is MIT licensed unless otherwise stated. Source code included in tree for individual recipes is under the LICENSE stated in each recipe (.bb file) unless otherwise stated. The descriptions in the recipes of ROS packages have been extracted from the ROS wiki (http://www.ros.org/wiki/) and are licensed under Creative Commons Attribution 3.0 (http://creativecommons.org/licenses/by/3.0/) unless otherwise noted.

This README document is Copyright (C) 2012 BMW Car IT GmbH.

REDISTRIBUTIONS

The log4cxx recipe originated from the recipe in the OpenEmbedded (Classic) Development (cf. http://cgit.openembedded.org/openembedded/tree/recipes/log4cxx) licensed with the MIT License.

The yaml-cpp recipe originated from the recipe in Kartik Mohta's OpenEmbedded layer (cf. https://github.com/kartikmohta/meta-km/blob/master/recipes-devtools/yaml-cpp/yaml-cpp_0.3.0.bb) licensed with the MIT License.

The libpoco recipe originated from the recipe in digitalSTROM's OpenEmbedded layer (cf. https://gitorious.digitalstrom.org/dss-oe/dss-oe/blobs/master/dS/meta-dss11-production/recipes-support/poco/poco_1.3.6p2.bb) licensed with the MIT License.

The core-image-ros-* recipes originated from the core-image-minimal recipe in OpenEmbedded Core (cf. http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/images/core-image-minimal.bb) licensed with the MIT License.

The original or modified files are redistributed here under the same MIT License.