2013-02-26 18:25:18 +08:00
|
|
|
DESCRIPTION = "roslaunch is a tool for easily launching multiple ROS nodes locally and remotely \
|
|
|
|
via SSH, as well as setting parameters on the Parameter Server."
|
|
|
|
SECTION = "devel"
|
|
|
|
LICENSE = "BSD"
|
|
|
|
LIC_FILES_CHKSUM = "file://package.xml;beginline=16;endline=16;md5=d566ef916e9dedc494f5f793a6690ba5"
|
2013-08-13 22:12:40 +08:00
|
|
|
|
2014-02-18 02:52:00 +08:00
|
|
|
PR = "r1"
|
|
|
|
|
2013-08-13 22:12:40 +08:00
|
|
|
require ros-comm.inc
|
|
|
|
|
2014-02-18 02:52:00 +08:00
|
|
|
SRC_URI += "file://0001-increase-rosmaster-timeout.patch \
|
2014-08-19 15:09:47 +08:00
|
|
|
file://roscore.service \
|
|
|
|
file://roscore-default \
|
2014-02-18 02:52:00 +08:00
|
|
|
"
|
2014-01-15 01:07:40 +08:00
|
|
|
|
2013-08-13 22:12:40 +08:00
|
|
|
ROS_PKG_SUBDIR = "tools"
|
|
|
|
|
2013-04-02 21:02:22 +08:00
|
|
|
RDEPENDS_${PN} = "\
|
2017-04-07 19:54:49 +08:00
|
|
|
${PYTHON_PN}-textutils \
|
|
|
|
${PYTHON_PN}-logging \
|
|
|
|
${PYTHON_PN}-threading \
|
|
|
|
${PYTHON_PN}-rospkg \
|
2014-08-19 15:09:47 +08:00
|
|
|
rosgraph \
|
2017-04-07 19:54:49 +08:00
|
|
|
${PYTHON_PN}-pyyaml \
|
2014-08-19 15:09:47 +08:00
|
|
|
roslib \
|
|
|
|
rosclean \
|
|
|
|
rosmaster \
|
|
|
|
rosgraph-msgs \
|
2013-04-02 21:02:22 +08:00
|
|
|
genpy \
|
|
|
|
std-msgs \
|
2014-08-19 15:09:47 +08:00
|
|
|
rosout \
|
|
|
|
rosparam \
|
2013-04-02 21:02:22 +08:00
|
|
|
"
|
2014-02-18 02:52:00 +08:00
|
|
|
|
|
|
|
do_install_append() {
|
2014-08-19 15:09:47 +08:00
|
|
|
install -d ${D}/${sysconfdir}/default
|
|
|
|
install -m 0644 ${WORKDIR}/roscore-default ${D}/${sysconfdir}/default/roscore
|
2014-02-18 02:52:00 +08:00
|
|
|
|
2014-08-19 15:09:47 +08:00
|
|
|
# Install systemd unit file
|
|
|
|
install -d ${D}${systemd_unitdir}/system/
|
|
|
|
install -m 0644 ${WORKDIR}/roscore.service ${D}${systemd_unitdir}/system/roscore.service
|
2014-02-18 02:52:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
FILES_${PN}-systemd += "${sysconfdir}/default/roscore \
|
|
|
|
"
|
|
|
|
|
|
|
|
CONFFILES_${PN}-systemd += "${sysconfdir}/default/roscore \
|
|
|
|
"
|
|
|
|
|
|
|
|
inherit systemd
|
|
|
|
PACKAGES += "${PN}-systemd"
|
|
|
|
SYSTEMD_PACKAGES = "${PN}-systemd"
|
|
|
|
SYSTEMD_SERVICE = "roscore.service \
|
|
|
|
"
|