Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROS2 support in standard SDK #1215

Draft
wants to merge 2 commits into
base: kirkstone-next
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ SRC_URI[sha256sum] = "f2d5ee2f90aa28d3f4034c30af7a0561a7e9860e911dba4f35faa440a3

inherit pypi

BBCLASSEXTEND = "native"
BBCLASSEXTEND = "native nativesdk"
49 changes: 49 additions & 0 deletions meta-ros2/conf/distro/include/ros2-sdk.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved

# native packages in SDK
TOOLCHAIN_HOST_TASK:append = " \
nativesdk-ament-package \
nativesdk-python3-colcon-common-extensions \
nativesdk-python3-numpy \
nativesdk-rosidl-adapter \
nativesdk-rosidl-cli \
nativesdk-rosidl-cmake \
nativesdk-rosidl-generator-c \
nativesdk-rosidl-generator-cpp \
nativesdk-rosidl-parser \
nativesdk-rosidl-typesupport-c \
nativesdk-rosidl-typesupport-cpp \
nativesdk-rosidl-typesupport-fastrtps-c \
nativesdk-rosidl-typesupport-fastrtps-cpp \
nativesdk-rosidl-typesupport-introspection-c \
nativesdk-rosidl-typesupport-introspection-cpp \
"

# target packages in SDK
TOOLCHAIN_TARGET_TASK:append = " \
ament-cmake \
ament-cmake-auto \
ament-cmake-core \
ament-cmake-export-definitions \
ament-cmake-export-dependencies \
ament-cmake-export-include-directories \
ament-cmake-export-interfaces \
ament-cmake-export-libraries \
ament-cmake-export-link-flags \
ament-cmake-export-targets \
ament-cmake-gen-version-h \
ament-cmake-gmock \
ament-cmake-google-benchmark \
ament-cmake-gtest \
ament-cmake-include-directories \
ament-cmake-libraries \
ament-cmake-nose \
ament-cmake-pytest \
ament-cmake-python \
ament-cmake-ros \
ament-cmake-target-dependencies \
ament-cmake-test \
ament-cmake-version \
ament-lint-auto \
foonathan-memory-staticdev \
"
2 changes: 2 additions & 0 deletions meta-ros2/conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ LAYERDEPENDS_ros2-layer = " \
LAYERSERIES_COMPAT_ros2-layer = "${ROS_OE_RELEASE_SERIES}"

ROS_OE_DISTRO_NAME ?= "Robot Operating System 2 (ROS 2)"

require conf/distro/include/ros2-sdk.inc