ros2msg,ros2topic: move msg files to the main package + add ros2-topic

* web-bridge needs msg to generate js bindings on the fly

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Andrey Kozhanov 2018-06-01 18:39:49 -07:00 committed by Martin Jansa
parent df0187f255
commit 3f4b9ff102
5 changed files with 23 additions and 2 deletions

View File

@ -120,6 +120,10 @@ resolved in the past.
is enough to resolve this if you're using old pyro unsupported is enough to resolve this if you're using old pyro unsupported
release. release.
ros2topic (and few more recipes when ROS_USE_PYTHON3 is set to yes)
depends on python3-pyyaml which was added in
1161ab8f8dda272eb5d09917446cc5b971be1335@meta-openembedded.
cv-bridge and dependent recipes, e.g., the image-transport recipes, depend on cv-bridge and dependent recipes, e.g., the image-transport recipes, depend on
7568bfdd114597956a1da68746f207ec7f93a48d@openembedded-core. 7568bfdd114597956a1da68746f207ec7f93a48d@openembedded-core.
For native python-numpy support, these recipes also depend on For native python-numpy support, these recipes also depend on

View File

@ -44,6 +44,8 @@ do_install_append() {
FILES_${PN} = " \ FILES_${PN} = " \
${datadir}/${ROS_BPN}/package.xml \ ${datadir}/${ROS_BPN}/package.xml \
${datadir}/${ROS_BPN}/resource/* \ ${datadir}/${ROS_BPN}/resource/* \
${datadir}/${ROS_BPN}/msg/* \
${datadir}/${ROS_BPN}/srv/* \
${datadir}/ament_index/* \ ${datadir}/ament_index/* \
${libdir}/${PYTHON_DIR}/* \ ${libdir}/${PYTHON_DIR}/* \
${libdir}/${ROS_BPN}/* \ ${libdir}/${ROS_BPN}/* \
@ -52,7 +54,5 @@ FILES_${PN} = " \
FILES_${PN}-dev = " \ FILES_${PN}-dev = " \
${datadir}/${ROS_BPN}/cmake/* \ ${datadir}/${ROS_BPN}/cmake/* \
${datadir}/${ROS_BPN}/msg/* \
${datadir}/${ROS_BPN}/srv/* \
${includedir} \ ${includedir} \
" "

View File

@ -8,4 +8,5 @@ PACKAGES = "${PN}"
RDEPENDS_${PN} = "\ RDEPENDS_${PN} = "\
ros2-demo-nodes-cpp \ ros2-demo-nodes-cpp \
ros2run \ ros2run \
ros2topic \
" "

View File

@ -0,0 +1,7 @@
SUMMARY = "The run command for ROS 2 command line tools."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=12c26a18c7f493fdc7e8a93b16b7c04f"
include ros2cli.inc
inherit setuptools3

View File

@ -0,0 +1,9 @@
SUMMARY = "The run command for ROS 2 command line tools."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=12c26a18c7f493fdc7e8a93b16b7c04f"
include ros2cli.inc
inherit setuptools3
RDEPENDS_${PN} += "ros2msg ${PYTHON_PN}-pyyaml"