Merge pull request #140 from bulwahn/master

Minor improvement, some cleanup and provide tutorials
This commit is contained in:
herbrechtsmeier 2013-08-05 00:30:26 -07:00
commit a5c5f9aa95
41 changed files with 100 additions and 97 deletions

10
CONTENT
View File

@ -1,10 +0,0 @@
CONTENT of the repository:
* README the README file, which contains all important information
* COPYING.MIT MIT license
* conf/layer.conf configuration file for this layer
* classes/catkin.bbclass class for catkin-based packages
* recipes-core/images recipes of images for native compilation of ROS
* recipes-devtools recipes of system prerequisites of ROS
* recipes-ros recipes for cross-compiling ROS packages

9
CONTENTS Normal file
View File

@ -0,0 +1,9 @@
CONTENTS of the repository:
* README the README file with all important information
* COPYING.MIT MIT license
* conf/layer.conf configuration file for this layer
* classes/catkin.bbclass class for catkin-based packages
* recipes-core/images recipes of images for using ROS
* recipes-devtools recipes of system prerequisites of ROS
* recipes-ros recipes for cross-compiling ROS packages

21
README
View File

@ -1,4 +1,4 @@
This is a layer to provide ROS Groovy Galapagos in an OpenEmbedded Linux system.
This is a layer to provide ROS Hydromedusa in an OpenEmbedded Linux system.
Currently, this layer is still under development and only provides
cross-compilation of the basic ros-comm packages.
@ -58,17 +58,22 @@ USAGE
Look at the meta-ros test reports for the description of the current state.
The recipe core-image-ros-groovy-qemux86-running-roscore provides a minimal
Linux system that runs roscore on the qemu x86 virtual machine.
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-groovy-qemux86-running-roscore
bitbake core-image-ros-roscore
Then, you start this system with
runqemu qemux86 core-image-ros-groovy-qemux86-running-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
In the qemu shell, set up the environment with
export ROS_ROOT=/usr
export ROS_MASTER_URI=http://localhost:11311
export CMAKE_PREFIX_PATH=/usr

View File

@ -1,26 +0,0 @@
DESCRIPTION = "A small image just capable of starting roscore."
IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
IMAGE_LINGUAS = " "
LICENSE = "MIT"
inherit core-image
IMAGE_ROOTFS_SIZE = "8192"
# add own name to hosts
# this is a simplistic setup for the qemu virtual machine with x86 architecture,
# and not a general solution.
augment_hosts_setting_file () {
echo '127.0.0.1\tqemux86.localdomain\t\tqemux86' >> ${IMAGE_ROOTFS}/etc/hosts
}
# remove not needed ipkg informations
# create a custom hosts file
ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; augment_hosts_setting_file ; "
IMAGE_INSTALL += "packagegroup-core-ssh-openssh \
roslaunch \
"

View File

@ -0,0 +1,16 @@
DESCRIPTION = "A small image just capable of starting roscore."
IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
IMAGE_LINGUAS = " "
LICENSE = "MIT"
inherit core-image
IMAGE_ROOTFS_SIZE = "8192"
# remove not needed ipkg informations
ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files"
IMAGE_INSTALL += "roslaunch"

View File

@ -12,6 +12,4 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
DEPENDS += "python"
DEPENDS_class-native += "python-native"
BBCLASSEXTEND = "native"

View File

@ -10,11 +10,6 @@ SRC_URI[sha256sum] = "c625436d03cff8adbbade639d14a2df9bc4c4de99ec3a821ad4d6eeb66
S = "${WORKDIR}/${SRCNAME}-${PV}"
# RDEPENDS = "python-modules"
inherit distutils
DEPENDS += "python"
DEPENDS_class-native += "python-native"
BBCLASSEXTEND = "native"

View File

@ -1 +1 @@
RPROVIDES += "python-xml-native"
RPROVIDES += "python-datetime-native python-netclient-native python-subprocess-native python-xml-native"

View File

@ -11,12 +11,8 @@ SRC_URI[sha256sum] = "e713da45c96ca53a3a8b48140d4120374db622df16ab71759c9ceb5b8d
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
DEPENDS += "python"
DEPENDS_class-native += "python-native"
RDEPENDS_${PN} = "python-datetime"
BBCLASSEXTEND = "native"
inherit distutils
BBCLASSEXTEND = "native"

View File

@ -10,9 +10,8 @@ SRC_URI[sha256sum] = "c3e741db57b7230c8ac2cceca837b98181b4fa6d1488819e615366a858
S = "${WORKDIR}/${SRCNAME}-${PV}"
# install_requires=['catkin_pkg', 'rospkg', 'PyYAML >= 3.1'],
# setup_requires=['nose >= 1.0'],
RDEPENDS_${PN} += "python-catkin-pkg python-rospkg python-pyyaml"
RDEPENDS_${PN} += "python-catkin-pkg python-rospkg python-pyyaml python-netclient"
inherit setuptools
BBCLASSEXTEND += "native"

View File

@ -10,9 +10,7 @@ SRC_URI[sha256sum] = "7163106c93460c8d092c5e74749cefd3fc17295f3a06c4f041fe83a772
S = "${WORKDIR}/${SRCNAME}-${PV}"
# install_requires=['vcstools', 'pyyaml'],
DEPENDS += "python-vcstools python-pyyaml"
RDEPENDS_${PN} = "python-vcstools"
inherit setuptools

View File

@ -14,6 +14,4 @@ RDEPENDS_${PN} += "python-xml"
inherit setuptools
DEPENDS += "python"
BBCLASSEXTEND = "native"

View File

@ -10,8 +10,6 @@ SRC_URI[sha256sum] = "11cae4907609d3524655c7cdba66260821f69fd2ff2330ae93db35111c
S = "${WORKDIR}/${SRCNAME}-${PV}"
# install_requires=['pyyaml','python-dateutil']
RDEPENDS_${PN} += "python-pyyaml python-dateutil"
inherit setuptools

View File

@ -10,7 +10,6 @@ SRC_URI[sha256sum] = "487602f7d5bef1e0b759c60ab4b86db884dd2abfb756e1743ad4ae3754
S = "${WORKDIR}/${SRCNAME}-${PV}"
# install_requires=['vcstools', 'pyyaml', 'rosinstall'],
RDEPENDS_${PN} += "python-vcstools python-pyyaml python-rosinstall"
inherit setuptools

View File

@ -9,7 +9,6 @@ PR = "r0"
S = "${WORKDIR}/${PN}"
SRC_URI = "http://yaml-cpp.googlecode.com/files/yaml-cpp-${PV}.tar.gz"
SRC_URI[md5sum] = "9aa519205a543f9372bf4179071c8ac6"
SRC_URI[sha256sum] = "2cd038b5a1583b6745e949e196fba525f6d0d5fd340566585fde24fc7e117b82"

View File

@ -3,7 +3,7 @@ HOMEPAGE = "http://pocoproject.org"
LICENSE = "BSL-1.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e4224ccaecb14d942c71d31bef20d78c"
DEPENDS = "expat zlib libpcre"
DEPENDS = "expat zlib libpcre openssl"
SRC_URI = "${SOURCEFORGE_MIRROR}/poco/poco-${PV}-all.tar.bz2 \
file://OE \

View File

@ -4,8 +4,8 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=7;endline=7;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "cmake python-empy python-catkin-pkg python-empy-native python-catkin-pkg-native"
RDEPENDS_${PN}_class-native = ""
RDEPENDS_${PN}_class-native = ""
RDEPENDS_${PN} = "cmake make binutils binutils-symlinks gcc gcc-symlinks g++ g++-symlinks \
python-catkin-pkg python-argparse python-misc python-multiprocessing \
python-shell python-subprocess python-xml"
@ -27,5 +27,3 @@ FILES_${PN}-dev += "\
${prefix}/env.sh \
${prefix}/setup.* \
"
BBCLASSEXTEND += "native"

View File

@ -5,4 +5,3 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=12;endline=12;md5=d566ef916e9dedc494f5f793a6690ba5"
require common-msgs.inc

View File

@ -1,4 +1,4 @@
DESCRIPTION = "\This package holds the diagnostic messages which provide the \
DESCRIPTION = "This package holds the diagnostic messages which provide the \
standardized interface for the diagnostic and runtime monitoring systems in ROS."
SECTION = "devel"
LICENSE = "BSD"

View File

@ -0,0 +1,7 @@
SRC_URI = "https://github.com/ros/common_tutorials/archive/${PV}.tar.gz;downloadfilename=common_tutorials-${PV}.tar.gz"
SRC_URI[md5sum] = "0055265f3854afcf4cc0abff06a9f023"
SRC_URI[sha256sum] = "257f45f36463d5ffc04e1d60ac1fc6a2e7c1b11d012daa43b2eb43001383048c"
S = "${WORKDIR}/common_tutorials-${PV}/${ROS_BPN}"
inherit catkin

View File

@ -0,0 +1,8 @@
DESCRIPTION = "nodelet_tutorial_math ROS package"
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "roscpp nodelet std-msgs"
require common-tutorials.inc

View File

@ -0,0 +1,8 @@
DESCRIPTION = "pluginlib_tutorials ROS package"
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "roscpp pluginlib"
require common-tutorials.inc

View File

@ -24,4 +24,3 @@ inherit cmake
FILES_SOLIBSDEV = ""
FILES_${PN} += "${libdir}/lib*${SOLIBSDEV}"

View File

@ -6,4 +6,3 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=14;endline=14;md5=d566ef916e9de
DEPENDS = "message-filters pluginlib rosconsole roscpp roslib sensor-msgs"
require image-common.inc

View File

@ -0,0 +1,7 @@
SRC_URI = "https://github.com/ros/ros_tutorials/archive/${PV}.tar.gz;downloadfilename=ros_tutorials-${PV}.tar.gz;name=archive"
SRC_URI[archive.md5sum] = "e1763e2ccc91976ac98b07d3f423478d"
SRC_URI[archive.sha256sum] = "827622a42eb14119c3303665c91635fd4c1eb401e1585a9f1fde819f7651bdbf"
S = "${WORKDIR}/ros_tutorials-${PV}/${ROS_BPN}"
inherit catkin

View File

@ -0,0 +1,8 @@
DESCRIPTION = "This package contains step-by-step tutorials written in C++ for learning ROS."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "message-generation roscpp rosconsole roscpp-serialization rostime std-msgs"
require ros-tutorials.inc

View File

@ -0,0 +1,12 @@
DESCRIPTION = "This package contains step-by-step tutorials written python for learning ROS"
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "message-generation rostest std-msgs cpp-common roscpp-serialization"
require ros-tutorials.inc
SRC_URI += "https://github.com/ros/ros_tutorials/commit/1e559b3f811a6cf3daac59088d6d86ca1d31b261.patch;striplevel=2;name=patch"
SRC_URI[patch.md5sum] = "c9e4af54266205ad233acc064a456840"
SRC_URI[patch.sha256sum] = "838ad3cbe2da1c625a44af80c4351f1187478e6ec52adc1c535942337252a719"

View File

@ -3,8 +3,6 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = ""
require ros.inc
S = "${WORKDIR}/ros-${PV}/core/${BPN}"

View File

@ -8,4 +8,3 @@ require ros.inc
RDEPENDS_${PN} = "bash findutils"
S = "${WORKDIR}/ros-${PV}/tools/${BPN}"

View File

@ -6,4 +6,3 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=d566ef916e9dedc
require ros.inc
S = "${WORKDIR}/ros-${PV}/tools/${ROS_BPN}"

View File

@ -3,8 +3,6 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = ""
require ros.inc
S = "${WORKDIR}/ros-${PV}/core/${BPN}"

View File

@ -6,4 +6,3 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=d566ef916e9dedc
require ros.inc
S = "${WORKDIR}/ros-${PV}/tools/${BPN}"

View File

@ -6,4 +6,3 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=d566ef916e9de
require ros.inc
S = "${WORKDIR}/ros-${PV}/tools/${BPN}"

View File

@ -6,4 +6,3 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=9;md5=d566ef916e9dedc
require ros.inc
S = "${WORKDIR}/ros-${PV}/tools/${BPN}"

View File

@ -8,5 +8,3 @@ require ros.inc
SRC_URI += "file://0001-rosunit-extras.cmake.em-remove-NO_CMAKE_FIND_ROOT_PA.patch;striplevel=3"
S = "${WORKDIR}/ros-${PV}/tools/${BPN}"
BBCLASSEXTEND += "native"

View File

@ -4,5 +4,3 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=13;endline=13;md5=d566ef916e9dedc494f5f793a6690ba5"
require roscpp-core.inc
S = "${WORKDIR}/roscpp_core-${PV}/${ROS_BPN}"

View File

@ -2,6 +2,6 @@ SRC_URI = "https://github.com/ros/roscpp_core/archive/${PV}.tar.gz;downloadfilen
SRC_URI[md5sum] = "d02c9d1270d1f68487944fb0e76adcb7"
SRC_URI[sha256sum] = "805b08c5b7044dd93bfaf4a0dd5807b391d1d86db9f6d143f9946b5528500eda"
S = "${WORKDIR}/roscpp_core-${PV}/${BPN}"
S = "${WORKDIR}/roscpp_core-${PV}/${ROS_BPN}"
inherit catkin

View File

@ -6,5 +6,3 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=d566ef916e9de
DEPENDS = "cpp-common roscpp-traits rostime"
require roscpp-core.inc
S = "${WORKDIR}/roscpp_core-${PV}/${ROS_BPN}"

View File

@ -4,5 +4,3 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=d566ef916e9dedc494f5f793a6690ba5"
require roscpp-core.inc
S = "${WORKDIR}/roscpp_core-${PV}/${ROS_BPN}"

View File

@ -4,6 +4,7 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=6;endline=6;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "boost python-rospkg-native libtinyxml"
RDEPENDS_${PN} = "python-rosdep python-subprocess"
SRC_URI = "https://github.com/ros/${BPN}/archive/${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
SRC_URI[md5sum] = "0bb1d12a115b7902d5b1f8546d63cdf8"