Replies: 1 comment
-
Using the SDK to build ROS2 packagesThe ROS2 developers are used to sourcing the ROS2
To use the Yocto SDK you must source
Should these exports somehow be added to the SDK To get
Should we meta-ros patch |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Backgroud:
Build ROS package from scratch in yocto takes much time. You can use an SDK to independently develop and test code that is destined to run on some target machine.
There are several github issues related to SDK support. And there's some work done by community members.
#1203
#988
I also did some work on kirkstone/humble, here are some issues/topics to be discussed.
#1215
Topics/issues
How to add SDK support: packagegroup or inc file
Packagegroup
Refer to Enable SDK for ROS2 Rolling #1203. A new image recipe and packagegroup is added for SDK.
inc file
I think SDK should be supported by default. Using a inc file and added in ros2.conf
"nativesdk" in bbappends
Refer to 6670f76, we need some bbappends for adding "nativesdk".
Idea: a mechanism to add "nativesdk" in generated recipes.
Build issues in SDK
HOST path
HOST path is included in cross compile
Similar to {humble}: fix host path is included in cmake files. #1192, if host path is included in xxx-export.cmake makes build failured.
Setup script
No cross copile concept in python/colcon. So HOST path is using in artifacts of SDK output file
Python C library naming
For example:
expected naming:
We can use cmake args to fix this issue.
How to install packages generated by SDK?
ipk/deb packages are not generated by SDK.
How to run packages build by SDK? Similar on Ubuntu platform?
Beta Was this translation helpful? Give feedback.
All reactions