aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorShankho Boron Ghosh <shankhoghosh123@gmail.com>2021-08-13 18:41:32 +0530
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-10-18 10:53:46 +0000
commit098325d668eb2096dcd810bd24b25c81e24500db (patch)
tree582d634c6826ebab4e00b310cdeb2fa251818fa0 /templates
parent8310c09541833f8a5d7f580830f63989a9789257 (diff)
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 <shankhoghosh123@gmail.com> Change-Id: If169fde42e3f51571e2776adc574b7f8437a61fa
Diffstat (limited to 'templates')
-rw-r--r--templates/feature/agl-ros2/50_bblayers.conf.inc19
-rw-r--r--templates/feature/agl-ros2/50_local.conf.inc9
-rw-r--r--templates/feature/agl-ros2/README_feature_agl-ros2.md8
3 files changed, 30 insertions, 6 deletions
diff --git a/templates/feature/agl-ros2/50_bblayers.conf.inc b/templates/feature/agl-ros2/50_bblayers.conf.inc
index 4c9d7ff5..4f011f86 100644
--- a/templates/feature/agl-ros2/50_bblayers.conf.inc
+++ b/templates/feature/agl-ros2/50_bblayers.conf.inc
@@ -1,6 +1,17 @@
# agl-ros2
-BBLAYERS =+ " \
- ${METADIR}/meta-agl-devel/meta-agl-ros2 \
-"
-# PLACEHOLDER
+# Layer dependencies for meta-ros2
+# Add meta-ros layers : https://growupboron.github.io/blog/gsoc-weekly-update-week-2/
+# Add ydlidar-drivers : https://growupboron.github.io/blog/gsoc-weekly-update-week-4/
+
+AGL_META_PYTHON = "${METADIR}/external/meta-openembedded/meta-python"
+
+BBLAYERS =+ " \
+ ${METADIR}/external/meta-ros/meta-ros-common \
+ ${METADIR}/external/meta-ros/meta-ros-backports-gatesgarth \
+ ${METADIR}/external/meta-ros/meta-ros-backports-hardknott \
+ ${METADIR}/external/meta-ros/meta-ros2 \
+ ${METADIR}/external/meta-ros/meta-ros2-foxy \
+ ${METADIR}/external/meta-qt5 \
+ ${METADIR}/meta-agl-devel/meta-agl-ros2 \
+ " \ No newline at end of file
diff --git a/templates/feature/agl-ros2/50_local.conf.inc b/templates/feature/agl-ros2/50_local.conf.inc
index dedf7217..4ffa2cd1 100644
--- a/templates/feature/agl-ros2/50_local.conf.inc
+++ b/templates/feature/agl-ros2/50_local.conf.inc
@@ -1,3 +1,8 @@
# agl-ros2
-#
-# PLACEHOLDER
+
+# Contains minimal ros2 feature that is neccesary to run YDLIDAR drivers.
+IMAGE_INSTALL:append = " packagegroup-agl-ros2-minimal"
+IMAGE_INSTALL:append = " packagegroup-agl-ros2-ydlidar"
+
+# Adds Qt support to the built image
+IMAGE_INSTALL:append = " packagegroup-agl-ros-native-qt5" \ No newline at end of file
diff --git a/templates/feature/agl-ros2/README_feature_agl-ros2.md b/templates/feature/agl-ros2/README_feature_agl-ros2.md
new file mode 100644
index 00000000..8c7eccd5
--- /dev/null
+++ b/templates/feature/agl-ros2/README_feature_agl-ros2.md
@@ -0,0 +1,8 @@
+---
+description: Feature agl-ros2
+authors: Shankho Boron Ghosh <shankhoghosh123@gmail.com>
+---
+
+### Feature agl-ros2
+
+Enables building of meta-ros2-foxy layer with additional support for YDLIDAR drivers. \ No newline at end of file