From 098325d668eb2096dcd810bd24b25c81e24500db Mon Sep 17 00:00:00 2001 From: Shankho Boron Ghosh Date: Fri, 13 Aug 2021 18:41:32 +0530 Subject: meta-agl-ros2: Support for ros2 minimal & ydlidar v1 : Added support for ros2 in AGL and ydlidar driver support by creation of recipes for ydlidar driver and sdk and packagegroup-agl-ros2-minimal & packagegroup-agl-ros2-ydlidar. Concurrently, created a feature template to allow for BBLAYERS and local conf dependencies. v2 : Removed ALLOW_EMPTY_${PN} = "1" and trailing whitespaces. Set AGL_META_PYTHON = "${METADIR}/external/meta-openembedded/meta-python" otherwise multiple layers might include meta-python and bitbake will choke if a folder is present twice. v3 : Removed trailing whitespaces. Removed AGL_META_PYTHON, just set it. v4 : Rebased v5 : Converted to new syntax: RDEPENDS:${PN}, do_install:append(), IMAGE_INSTALL:append v6 : Added ${METADIR}/meta-agl-devel/meta-agl-ros2 to bblayers configuration. v7 : Added meta-ros-backports-hardknott layer. v8 : Added packagegroup-agl-ros-native-qt5 to remove dependency to agl-demo. Signed-off-by: Shankho Boron Ghosh Change-Id: If169fde42e3f51571e2776adc574b7f8437a61fa --- .../packagegroup-agl-ros-native-qt5.bb | 27 ++++++++ .../packagegroups/packagegroup-agl-ros2-minimal.bb | 81 ++++++++++++++++++++++ .../packagegroups/packagegroup-agl-ros2-ydlidar.bb | 14 ++++ 3 files changed, 122 insertions(+) create mode 100644 meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros-native-qt5.bb create mode 100644 meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros2-minimal.bb create mode 100644 meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros2-ydlidar.bb (limited to 'meta-agl-ros2/recipes-platform/packagegroups') diff --git a/meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros-native-qt5.bb b/meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros-native-qt5.bb new file mode 100644 index 00000000..28e3976b --- /dev/null +++ b/meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros-native-qt5.bb @@ -0,0 +1,27 @@ +SUMMARY = "Qt5 for native GUI framework of AGL IVI profile" +DESCRIPTION = "A set of Qt5 packages which required by Native App Fw Subsystem" + +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-ros-native-qt5 \ + " + +RDEPENDS:${PN} += "\ + qtbase \ + qtbase-dev \ + qtbase-plugins \ + qtbase-staticdev \ + qtbase-tools \ + qtdeclarative \ + qtdeclarative-qmlplugins \ + qtdeclarative-tools \ + qtcharts \ + qtwayland \ + qtwayland-plugins \ + qtwayland-tools \ + qtgraphicaleffects-qmlplugins \ + qtvirtualkeyboard \ + " \ No newline at end of file diff --git a/meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros2-minimal.bb b/meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros2-minimal.bb new file mode 100644 index 00000000..0644ec5c --- /dev/null +++ b/meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros2-minimal.bb @@ -0,0 +1,81 @@ +DESCRIPTION = "The minimal set of packages required to ROS2" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-ros2-minimal \ + " + +RDEPENDS:${PN} += " \ + action-msgs \ + ament-cmake \ + ament-index-cpp \ + ament-index-python \ + ament-package \ + builtin-interfaces \ + class-loader \ + composition-interfaces \ + console-bridge-vendor \ + fastrtps \ + foonathan-memory-vendor \ + geometry-msgs \ + launch \ + launch-ros \ + libstatistics-collector \ + libyaml-vendor \ + lifecycle-msgs \ + message-filters \ + osrf-pycommon \ + rcl \ + rcl-action \ + rcl-interfaces \ + rcl-logging-spdlog \ + rcl-yaml-param-parser \ + rclcpp \ + rclcpp-action \ + rclcpp-components \ + rclpy \ + rcpputils \ + rcutils \ + rmw \ + rmw-dds-common \ + rmw-fastrtps-cpp \ + rmw-fastrtps-shared-cpp \ + rmw-implementation \ + rmw-implementation-cmake \ + ros-workspace \ + ros2cli \ + ros2launch \ + ros2pkg \ + ros2topic \ + rosgraph-msgs \ + rosidl-adapter \ + rosidl-cmake \ + rosidl-default-runtime \ + rosidl-generator-c \ + rosidl-generator-py \ + rosidl-parser \ + rosidl-runtime-c \ + rosidl-runtime-cpp \ + rosidl-runtime-py \ + rosidl-typesupport-c \ + rosidl-typesupport-cpp \ + rosidl-typesupport-fastrtps-c \ + rosidl-typesupport-fastrtps-cpp \ + rosidl-typesupport-interface \ + rosidl-typesupport-introspection-c \ + rosidl-typesupport-introspection-cpp \ + rpyutils \ + sensor-msgs \ + spdlog-vendor \ + statistics-msgs \ + std-msgs \ + std-srvs \ + tf2 \ + tf2-msgs \ + tf2-py \ + tf2-ros \ + unique-identifier-msgs \ + visualization-msgs \ + " \ No newline at end of file diff --git a/meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros2-ydlidar.bb b/meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros2-ydlidar.bb new file mode 100644 index 00000000..7fcee019 --- /dev/null +++ b/meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros2-ydlidar.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Support of ydlidar with ROS2" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-ros2-ydlidar \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS:${PN} += " \ + ydlidar-ros2-driver \ + " \ No newline at end of file -- cgit 1.2.3-korg