From 359cb2e1de9b0d33f058f4b6c4b66bf881bfa106 Mon Sep 17 00:00:00 2001 From: Gustavo Jose de Sousa Date: Fri, 18 Nov 2016 19:21:32 +0000 Subject: [PATCH] mavros: add packages recipes Use the latest indigo release (0.17.4). Authors: JochiPochi Gustavo Jose de Sousa --- recipes-ros/mavros/libmavconn_0.17.4.bb | 19 +++++++++ recipes-ros/mavros/mavros-msgs_0.17.4.bb | 19 +++++++++ recipes-ros/mavros/mavros.inc | 8 ++++ recipes-ros/mavros/mavros_0.17.4.bb | 49 ++++++++++++++++++++++++ 4 files changed, 95 insertions(+) create mode 100644 recipes-ros/mavros/libmavconn_0.17.4.bb create mode 100644 recipes-ros/mavros/mavros-msgs_0.17.4.bb create mode 100644 recipes-ros/mavros/mavros.inc create mode 100644 recipes-ros/mavros/mavros_0.17.4.bb diff --git a/recipes-ros/mavros/libmavconn_0.17.4.bb b/recipes-ros/mavros/libmavconn_0.17.4.bb new file mode 100644 index 0000000..f4a6c27 --- /dev/null +++ b/recipes-ros/mavros/libmavconn_0.17.4.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "MAVLink communication library" +LICENSE = "BSD | GPLv3 | LGPLv3" +LIC_FILES_CHKSUM = "file://package.xml;beginline=15;endline=17;md5=9b511d4c606b1a23e454d3260818d003" + +DEPENDS = " \ + boost \ + ros-mavlink \ + console-bridge \ +" + +RDEPENDS_${PN} = " \ + boost \ + ros-mavlink \ + console-bridge \ +" + +require mavros.inc + +ROS_PKG_SUBDIR = "libmavconn" diff --git a/recipes-ros/mavros/mavros-msgs_0.17.4.bb b/recipes-ros/mavros/mavros-msgs_0.17.4.bb new file mode 100644 index 0000000..9b1b5db --- /dev/null +++ b/recipes-ros/mavros/mavros-msgs_0.17.4.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "mavros_msgs defines messages for MAVROS" +LICENSE = "BSD | GPLv3 | LGPLv3" +LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=13;md5=9b511d4c606b1a23e454d3260818d003" + +DEPENDS = " \ + message-generation \ + std-msgs \ + geometry-msgs \ +" + +RDEPENDS_${PN} = " \ + message-runtime \ + std-msgs \ + geometry-msgs \ +" + +require mavros.inc + +ROS_PKG_SUBDIR = "mavros_msgs" diff --git a/recipes-ros/mavros/mavros.inc b/recipes-ros/mavros/mavros.inc new file mode 100644 index 0000000..9466afc --- /dev/null +++ b/recipes-ros/mavros/mavros.inc @@ -0,0 +1,8 @@ +SRC_URI = "https://github.com/mavlink/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz" +SRC_URI[md5sum] = "7d8fd22c44a9a5d384cd34c5a329d443" + +S = "${WORKDIR}/${ROS_SP}/${ROS_BPN}" + +inherit catkin + +ROS_SPN = "mavros" diff --git a/recipes-ros/mavros/mavros_0.17.4.bb b/recipes-ros/mavros/mavros_0.17.4.bb new file mode 100644 index 0000000..7f4ba20 --- /dev/null +++ b/recipes-ros/mavros/mavros_0.17.4.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "MAVROS -- MAVLink extendable communication node for ROS with \ +proxy for Ground Control Station." +LICENSE = "BSD | GPLv3 | LGPLv3" +LIC_FILES_CHKSUM = "file://package.xml;beginline=12;endline=14;md5=9b511d4c606b1a23e454d3260818d003" + +# System dependencies + +DEPENDS = " \ + boost \ + libeigen \ + ros-mavlink \ +" + +RDEPENDS_${PN} = " \ + boost \ + ros-mavlink \ +" + +# ROS packages dependencies +MAVROS_RUN_AND_BUILD_DEPENDS = " \ + diagnostic-updater \ + eigen-conversions \ + libmavconn \ + pluginlib \ + rosconsole-bridge \ + roscpp \ + tf2-ros \ + diagnostic-msgs \ + geometry-msgs \ + mavros-msgs \ + nav-msgs \ + sensor-msgs \ + std-msgs \ + std-srvs \ +" + +DEPENDS_append = " \ + angles \ + cmake-modules \ + message-runtime \ + rospy \ + ${MAVROS_RUN_AND_BUILD_DEPENDS} \ +" + +RDEPENDS_${PN}_append = "${MAVROS_RUN_AND_BUILD_DEPENDS}" + +require mavros.inc + +ROS_PKG_SUBDIR = "mavros"