You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kirkstone (l4t-r32.7.x) Flashed image ROS 2 underlay installation does not have packages listed in "IMAGE_INSTALL:append" (possible export issue to underlay)
#1276
Open
dirksavage88 opened this issue
Dec 30, 2024
· 3 comments
Describe the bug
I'm still really new to yocto, and the meta-ros recipes look a bit different from what I have seen with generic yocto recipes. However in my meta layer with the image_install:append list, I have a ton of ROS 2 packages (e.g. python3 colcon, ament_cmake*, examples*, rosidl_*)
On the flashed image looks like only the python3 colcon, rpyutils sensor_msgs, std_msgs, examples, and a handful of other ros base packages get installed to "/opt/ros/humble" underlay, which is enough to run ros2 cli commands and colcon build, but not enough to create or build custom packages with dependencies on rosidl generators for example.
The underlay doesn't seem to have these packages groups specified in the image install append list:
There are two distros if you include tegra-demo distro layer, one is "tegrademo" another is "ros2".
if you use tegra-demo distro, DISTRO would be set by "tegrademo" not "ros2". it would affect to build and install ros package correctly because all build configuration for ros2 is defined "ros2" distro.
So, I recommend you to exclude tegra-demo distro layer and you can add ros packages to local.conf in prompt.
Describe the bug
I'm still really new to yocto, and the meta-ros recipes look a bit different from what I have seen with generic yocto recipes. However in my meta layer with the image_install:append list, I have a ton of ROS 2 packages (e.g. python3 colcon, ament_cmake*, examples*, rosidl_*)
On the flashed image looks like only the python3 colcon, rpyutils sensor_msgs, std_msgs, examples, and a handful of other ros base packages get installed to "/opt/ros/humble" underlay, which is enough to run ros2 cli commands and colcon build, but not enough to create or build custom packages with dependencies on rosidl generators for example.
The underlay doesn't seem to have these packages groups specified in the image install append list:
To Reproduce
Layers:
Building for a jetson-xavier-nx-devkit-tx2-nx on ubuntu 24.04 native host
No bitbake errors seen, only the missing ros 2 underlay packages
Effectively I have to install the missing packages in an overlay as shown below, but somehow std_msgs and sensor_msgs can be traced to the underlay:
Expected behavior
The image install appends should export ros packages to the underlay in "/opt/ros/humble/"
I'm attaching my image bitbake file for reference (with txt extension only for github attachment compatibility)
demo-image-ros2.txt
The text was updated successfully, but these errors were encountered: