README: updating to current state

This commit moves the description of previous uses in a separate file,
adds the typical information for a README of an OpenEmbedded layer and
describes the usage for the roscore image recipe.
This commit is contained in:
Lukas Bulwahn 2013-05-14 07:19:35 +02:00
parent 5faffc409c
commit aa2e233ada
2 changed files with 112 additions and 90 deletions

58
PREVIOUS_USES Normal file
View File

@ -0,0 +1,58 @@
PREVIOUS USE CASES
INSTALLATION:
The repository only contains a layer for ROS that builds on top of the existing OpenEmbedded Core layer.
You can download the yocto poky-danny-8.0 archive, but then you should update the distutils.bbclass,
and maybe also the url of libarchive.
To install, unpack http://downloads.yoctoproject.org/releases/yocto/yocto-1.3/poky-danny-8.0.tar.bz2 into a directory <dir>.
In the directory of the layers, clone this repository into the subdirectory meta-ros.
Add the meta-ros directory to your local bblayers.conf file.
USE for native compilation of ROS-fuerte on the qemu VM:
The commands
source oe-init-build-env
bitbake core-image-ros-fuerte
builds our specifically configured linux image.
With `runqemu qemux86 qemuparams="-m 2048" core-image-ros-fuerte` the linux image runs within a virtual machine with 2048 MB of memory.
We assumed that this is running on and compiled for an x86 architecture. For other architectures, some settings must be adjusted.
On the host system, run fetch-ros-fuerte.sh in a fresh directory, e.g. ~/ros-repos/.
It clones all ros repositories locally.
After starting the virtual machine, copy the installation script from the host system to the home directory with scp.
scp lukas@192.168.7.1:/<location of repository>/install-fuerte.sh .
Adjust configuration in install-fuerte.sh and then run
sh ./install-fuerte.sh
The installation script installs ros and starts roscore.
USE for native compilation of ROS-groovy on the qemu VM:
The commands
source oe-init-build-env
bitbake core-image-ros-groovy
builds our specifically configured linux image.
With `runqemu qemux86 qemuparams="-m 2048" core-image-ros-groovy` the linux image runs within a virtual machine with 2048 MB of memory.
We assumed that this is running on and compiled for an x86 architecture. For other architectures, some settings must be adjusted.
On the host system, run mk_srcarchive.sh in some clean temporary directory.
It copies all ros sources from their URLs and puts them into one src.tar.gz archive.
After starting the virtual machine, copy the installation script from the host system to the home directory with scp.
scp lukas@192.168.7.1:/<location of repository>/install-groovy.sh .
Adjust configuration in install-groovy.sh and then run
sh ./install-groovy.sh
The installation script installs ros and starts roscore.

108
README
View File

@ -1,5 +1,6 @@
This is a layer to provide ROS in an OpenEmbedded Linux system. This is a layer to provide ROS Groovy Galapagos in an OpenEmbedded Linux system.
Currently, this layer is still under development and not fully functional. Currently, this layer is still under development and only provides
cross-compilation of the basic ros-comm packages.
MAINTAINER MAINTAINER
Lukas Bulwahn, BMW Car IT GmbH <lukas.bulwahn@oss.bmw-carit.de> Lukas Bulwahn, BMW Car IT GmbH <lukas.bulwahn@oss.bmw-carit.de>
@ -16,98 +17,61 @@ 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. 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. 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 If you want to contribute, please contact us and we can discuss open issues
and how we could join forces. and how to join forces.
PURPOSE of this document: DEPENDENCIES
This document describes
- the state of the current work This layer depends on:
- the installation and use of the git repository meta_ros
- license information and origin of redistributed files URI: git://git.openembedded.org/openembedded-core
branch: master
revision: HEAD
URI: git://git.openembedded.org/meta-openembedded
layers: meta-oe
branch: master
revision: HEAD
STATE OF THIS WORK: INSTALLATION
This repository provides The repository contains a layer for ROS that builds on top of the
- Native compilation of ROS-fuerte OpenEmbedded Core layer and the meta-oe layer.
- Native compilation of ROS-groovy
- Cross compilation of ROS-groovy (under development)
INSTALLATION/SETUP: We believe it should work with the current HEAD of the layers mentioned above.
The repository only contains a layer for ROS that builds on top of the existing OpenEmbedded Core layer As a further reference, here are the version I currently work with:
and the meta-oe layer.
Currently, I work with
* commit 395b90054eccddc1c9062a9a8657ed4482b7710a of https://github.com/openembedded/oe-core * commit 395b90054eccddc1c9062a9a8657ed4482b7710a of https://github.com/openembedded/oe-core
* commit 2a5dea2399e2be5e5d964eda7465dcaf4c2e152b of https://github.com/openembedded/meta-oe * commit 2a5dea2399e2be5e5d964eda7465dcaf4c2e152b of https://github.com/openembedded/meta-oe
* commit 324ed96e28ec31cff8cef1824d20d40f9a5d46ad of git://git.openembedded.org/bitbake in the bitbake directory * commit 324ed96e28ec31cff8cef1824d20d40f9a5d46ad of git://git.openembedded.org/bitbake in the bitbake directory
USE for cross-compilation of ROS-groovy (in development): USAGE
Currently, we can cross-compile the ROS packages with the commands: Currently, you can cross-compile the ROS packages with the commands:
source oe-init-build-env source oe-init-build-env
bitbake <package-name> bitbake <package-name>
Look at the meta-ros test reports for the description of the current state. Look at the meta-ros test reports for the description of the current state.
PREVIOUS USE CASES The recipe core-image-ros-groovy-qemux86-running-roscore provides a minimal
Linux system that runs roscore on the qemu x86 virtual machine.
You can compile the minimal Linux system with
bitbake core-image-ros-groovy-qemux86-running-roscore
INSTALLATION: Then, you start this system with
runqemu qemux86 core-image-ros-groovy-qemux86-running-roscore
The repository only contains a layer for ROS that builds on top of the existing OpenEmbedded Core layer. In the qemu shell, set up the environment with
You can download the yocto poky-danny-8.0 archive, but then you should update the distutils.bbclass, export ROS_ROOT=/usr
and maybe also the url of libarchive. export ROS_MASTER_URI=http://localhost:11311
To install, unpack http://downloads.yoctoproject.org/releases/yocto/yocto-1.3/poky-danny-8.0.tar.bz2 into a directory <dir>. export CMAKE_PREFIX_PATH=/usr
touch /usr/.catkin
In the directory of the layers, clone this repository into the subdirectory meta-ros. Finally, you can start roscore with
Add the meta-ros directory to your local bblayers.conf file. roscore
USE for native compilation of ROS-fuerte on the qemu VM:
The commands
source oe-init-build-env
bitbake core-image-ros-fuerte
builds our specifically configured linux image.
With `runqemu qemux86 qemuparams="-m 2048" core-image-ros-fuerte` the linux image runs within a virtual machine with 2048 MB of memory.
We assumed that this is running on and compiled for an x86 architecture. For other architectures, some settings must be adjusted.
On the host system, run fetch-ros-fuerte.sh in a fresh directory, e.g. ~/ros-repos/.
It clones all ros repositories locally.
After starting the virtual machine, copy the installation script from the host system to the home directory with scp.
scp lukas@192.168.7.1:/<location of repository>/install-fuerte.sh .
Adjust configuration in install-fuerte.sh and then run
sh ./install-fuerte.sh
The installation script installs ros and starts roscore.
USE for native compilation of ROS-groovy on the qemu VM:
The commands
source oe-init-build-env
bitbake core-image-ros-groovy
builds our specifically configured linux image.
With `runqemu qemux86 qemuparams="-m 2048" core-image-ros-groovy` the linux image runs within a virtual machine with 2048 MB of memory.
We assumed that this is running on and compiled for an x86 architecture. For other architectures, some settings must be adjusted.
On the host system, run mk_srcarchive.sh in some clean temporary directory.
It copies all ros sources from their URLs and puts them into one src.tar.gz archive.
After starting the virtual machine, copy the installation script from the host system to the home directory with scp.
scp lukas@192.168.7.1:/<location of repository>/install-groovy.sh .
Adjust configuration in install-groovy.sh and then run
sh ./install-groovy.sh
The installation script installs ros and starts roscore.
LICENSE LICENSE