Ros2 doesnt build

Hello
I am working with the the following guideline:
https://nvidia-isaac-ros.github.io/getting_started/hardware_setup/sensors/zed_setup.html

It all worked and i was able to start the container with ./scripts/run_dev.sh
Yesterday I wanted to try something with ros inside the container. There i discovered that the dockerfile.ros2_humble didnt build anything for ros as it should. How is it possible that it didnt gave me an error at the first time when i was build the docker?
When i now run ./scripts/run_dev.sh without anything in the cache, I get the following error:

[stage-0 18/22] RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y ros-humble-moveit-hybrid-planning:
0.383 Hit:1 Index of /ubuntu-ports jammy InRelease
0.402 Get:2 Index of /ubuntu-ports jammy-updates InRelease [128 kB]
0.421 Hit:3 https://repo.download.nvidia.com/jetson/common r36.0 InRelease
0.520 Hit:4 Index of /mosquitto-dev/mosquitto-ppa/ubuntu jammy InRelease
0.553 Hit:5 https://repo.download.nvidia.com/jetson/common r36.3 InRelease
0.563 Hit:6 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease
0.596 Hit:7 Index of /ubuntu-ports jammy-backports InRelease
0.640 Hit:8 https://repo.download.nvidia.com/jetson/t234 r36.3 InRelease
0.641 Get:9 Index of /ubuntu-ports jammy-security InRelease [129 kB]
1.135 Hit:10 http://packages.ros.org/ros2/ubuntu jammy InRelease
2.775 Fetched 257 kB in 3s (99.5 kB/s)
2.775 Reading package listsā€¦
4.022 W: Download is performed unsandboxed as root as file ā€˜/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InReleaseā€™ couldnā€™t be accessed by user ā€˜_aptā€™. - pkgAcquire::Run (13: Permission denied)
4.022 W: https://repo.download.nvidia.com/jetson/common/dists/r36.0/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
4.022 W: Skipping acquire of configured file ā€˜universe/binary-arm64/Packagesā€™ as repository ā€˜https://repo.download.nvidia.com/jetson/common r36.0 InReleaseā€™ doesnā€™t have the component ā€˜universeā€™ (component misspelt in sources.list?)
4.022 W: https://repo.download.nvidia.com/jetson/common/dists/r36.3/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
4.022 W: https://isaac.download.nvidia.com/isaac-ros/release-3/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
4.022 W: https://repo.download.nvidia.com/jetson/t234/dists/r36.3/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
4.108 Reading package listsā€¦
5.269 Building dependency treeā€¦
5.629 Reading state informationā€¦
6.185 The following additional packages will be installed:
6.185 ros-humble-forward-command-controller ros-humble-position-controllers
6.248 The following NEW packages will be installed:
6.248 ros-humble-forward-command-controller ros-humble-moveit-hybrid-planning
6.248 ros-humble-position-controllers
6.292 0 upgraded, 3 newly installed, 0 to remove and 83 not upgraded.
6.292 Need to get 715 kB of archives.
6.292 After this operation, 3,629 kB of additional disk space will be used.
6.292 Ign:1 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-forward-command-controller arm64 2.37.3-1jammy.20241029.133658
6.293 Ign:2 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-position-controllers arm64 2.37.3-1jammy.20241029.134509
6.293 Ign:3 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-moveit-hybrid-planning arm64 2.5.5-1jammy.20241029.134959
7.294 Ign:1 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-forward-command-controller arm64 2.37.3-1jammy.20241029.133658
7.294 Ign:2 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-position-controllers arm64 2.37.3-1jammy.20241029.134509
7.294 Ign:3 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-moveit-hybrid-planning arm64 2.5.5-1jammy.20241029.134959
9.296 Ign:1 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-forward-command-controller arm64 2.37.3-1jammy.20241029.133658
9.296 Ign:2 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-position-controllers arm64 2.37.3-1jammy.20241029.134509
9.296 Ign:3 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-moveit-hybrid-planning arm64 2.5.5-1jammy.20241029.134959
13.30 Err:1 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-forward-command-controller arm64 2.37.3-1jammy.20241029.133658
13.30 Temporary failure resolving ā€˜packages.ros.orgā€™
13.30 Err:2 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-position-controllers arm64 2.37.3-1jammy.20241029.134509
13.30 Temporary failure resolving ā€˜packages.ros.orgā€™
13.30 Err:3 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-moveit-hybrid-planning arm64 2.5.5-1jammy.20241029.134959
13.30 Temporary failure resolving ā€˜packages.ros.orgā€™
13.31 E: Failed to fetch http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-forward-command-controller/ros-humble-forward-command-controller_2.37.3-1jammy.20241029.133658_arm64.deb Temporary failure resolving ā€˜packages.ros.orgā€™
13.31 E: Failed to fetch http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-position-controllers/ros-humble-position-controllers_2.37.3-1jammy.20241029.134509_arm64.deb Temporary failure resolving ā€˜packages.ros.orgā€™
13.31 E: Failed to fetch http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-moveit-hybrid-planning/ros-humble-moveit-hybrid-planning_2.5.5-1jammy.20241029.134959_arm64.deb Temporary failure resolving ā€˜packages.ros.orgā€™
13.31 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


Dockerfile.ros2_humble:262

261 | # MoveIt 2ā€™s hybrid planning package depends on moveit_resources_panda_moveit_config, installed from source above.
262 | >>> RUN --mount=type=cache,target=/var/cache/apt
263 | >>> apt-get update && apt-get install -y
264 | >>> ros-humble-moveit-hybrid-planning

265
ERROR: failed to solve: process ā€œ/bin/bash -c apt-get update && apt-get install -y ros-humble-moveit-hybrid-planningā€ did not complete successfully: exit code: 100

Thanks for any tips that solve the problem!

Hi @Zwiback21

Please verify that you have built the Isaac ROS docker correctly for your setup. Your post suggests that something has changed in your setup after the first use.

clean your workspace and clone again all repository and follow the installation:

Please, let me know.
Raffaello

Hi @Raffaello,
I am pretty sure that i followed all the instructions correctly.
The only step where I am not sure if i did it correctly is the step 6 in this instruction:
https://nvidia-isaac-ros.github.io/getting_started/hardware_setup/sensors/zed_setup.html
should I run this inside the container or on the host machine?
As soon is a know that, I will rebuild everything and let you know if it works.

Thanks a lot for your help!

Thank you @Zwiback21

I saw this bug, and it looks to me like something went wrong with the installation.
Iā€™ll try on my machine to follow the same setup (I donā€™t have a zed with me to try if the software work)

Hi @Zwiback21,

Please run the step6 inside the container, thank you.

Hi @jolin
Thanks for the tip.
I have completely reinstalled everything and the docker is now starting, The only warning I get is:

  • InvalidDefaultArgInFrom: Default value for ARG ${BASE_IMAGE} results in empty or invalid base image name (line 10) ā†’ I get this for every Dockerfile, should i add ARG BASE_IMAGE=ubuntu:22.04?

After running the step 6 inside the container i get following error:
admin@ubuntu:/workspaces/isaac_ros-dev$ cd ${ISAAC_ROS_WS} &&
sudo apt update &&
rosdep install --from-paths src/zed-ros2-wrapper --ignore-src -r -y &&
colcon build --symlink-install --packages-up-to zed_wrapper

Get:1 Index of /ubuntu-ports jammy InRelease [270 kB]
Get:2 https://repo.download.nvidia.com/jetson/common r36.0 InRelease [2,519 B]
Get:3 https://repo.download.nvidia.com/jetson/common r36.3 InRelease [2,558 B]
Get:4 https://repo.download.nvidia.com/jetson/t234 r36.3 InRelease [2,550 B]
Get:5 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease [6,327 B]
Get:6 Index of /mosquitto-dev/mosquitto-ppa/ubuntu jammy InRelease [24.6 kB]
Get:7 Index of /ubuntu-ports jammy-updates InRelease [128 kB]
Get:8 Index of /ubuntu-ports jammy-backports InRelease [127 kB]
Get:9 Index of /ubuntu-ports jammy-security InRelease [129 kB]
Get:10 https://repo.download.nvidia.com/jetson/common r36.3/main arm64 Packages [28.0 kB]
Get:11 https://repo.download.nvidia.com/jetson/t234 r36.3/main arm64 Packages [15.9 kB]
Get:12 http://packages.ros.org/ros2/ubuntu jammy InRelease [4,682 B]
Get:13 Index of /mosquitto-dev/mosquitto-ppa/ubuntu jammy/main arm64 Packages [2,013 B]
Ign:14 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy/release-3.0 arm64 Packages
Get:14 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy/release-3.0 arm64 Packages [27.6 kB]
Get:15 Index of /ubuntu-ports jammy/restricted arm64 Packages [24.2 kB]
Get:16 Index of /ubuntu-ports jammy/main arm64 Packages [1,758 kB]
Get:17 Index of /ubuntu-ports jammy/universe arm64 Packages [17.2 MB]
Get:18 http://packages.ros.org/ros2/ubuntu jammy/main arm64 Packages [1,587 kB]
Get:19 Index of /ubuntu-ports jammy/multiverse arm64 Packages [224 kB]
Get:20 Index of /ubuntu-ports jammy-updates/universe arm64 Packages [1,402 kB]
Get:21 Index of /ubuntu-ports jammy-updates/multiverse arm64 Packages [29.5 kB]
Get:22 Index of /ubuntu-ports jammy-updates/restricted arm64 Packages [2,624 kB]
Get:23 Index of /ubuntu-ports jammy-updates/main arm64 Packages [2,364 kB]
Get:24 Index of /ubuntu-ports jammy-backports/main arm64 Packages [80.9 kB]
Get:25 Index of /ubuntu-ports jammy-backports/universe arm64 Packages [31.8 kB]
Get:26 Index of /ubuntu-ports jammy-security/universe arm64 Packages [1,118 kB]
Get:27 Index of /ubuntu-ports jammy-security/main arm64 Packages [2,077 kB]
Get:28 Index of /ubuntu-ports jammy-security/restricted arm64 Packages [2,528 kB]
Get:29 Index of /ubuntu-ports jammy-security/multiverse arm64 Packages [24.2 kB]
Fetched 33.9 MB in 13s (2,612 kB/s)
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
83 packages can be upgraded. Run ā€˜apt list --upgradableā€™ to see them.
W: https://repo.download.nvidia.com/jetson/common/dists/r36.0/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: Skipping acquire of configured file ā€˜universe/binary-arm64/Packagesā€™ as repository ā€˜https://repo.download.nvidia.com/jetson/common r36.0 InReleaseā€™ doesnā€™t have the component ā€˜universeā€™ (component misspelt in sources.list?)
W: https://repo.download.nvidia.com/jetson/common/dists/r36.3/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://repo.download.nvidia.com/jetson/t234/dists/r36.3/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://isaac.download.nvidia.com/isaac-ros/release-3/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
executing command [sudo -H apt-get install -y ros-humble-point-cloud-transport-plugins]
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
The following additional packages will be installed:
ros-humble-draco-point-cloud-transport ros-humble-point-cloud-interfaces ros-humble-point-cloud-transport ros-humble-zlib-point-cloud-transport ros-humble-zstd-point-cloud-transport
The following NEW packages will be installed:
ros-humble-draco-point-cloud-transport ros-humble-point-cloud-interfaces ros-humble-point-cloud-transport ros-humble-point-cloud-transport-plugins ros-humble-zlib-point-cloud-transport
ros-humble-zstd-point-cloud-transport
0 upgraded, 6 newly installed, 0 to remove and 83 not upgraded.
Need to get 741 kB of archives.
After this operation, 4,440 kB of additional disk space will be used.
Get:1 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-point-cloud-interfaces arm64 1.0.11-1jammy.20240730.203230 [51.3 kB]
Get:2 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-point-cloud-transport arm64 1.0.18-1jammy.20240820.161232 [313 kB]
Get:3 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-draco-point-cloud-transport arm64 1.0.11-1jammy.20240820.163530 [142 kB]
Get:4 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-zlib-point-cloud-transport arm64 1.0.11-1jammy.20240820.163716 [116 kB]
Get:5 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-zstd-point-cloud-transport arm64 1.0.11-1jammy.20240820.163855 [114 kB]
Get:6 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-point-cloud-transport-plugins arm64 1.0.11-1jammy.20240820.173715 [5,370 B]
Fetched 741 kB in 1s (631 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 6.)
debconf: falling back to frontend: Readline
Selecting previously unselected package ros-humble-point-cloud-interfaces.
(Reading database ā€¦ 162183 files and directories currently installed.)
Preparing to unpack ā€¦/0-ros-humble-point-cloud-interfaces_1.0.11-1jammy.20240730.203230_arm64.deb ā€¦
Unpacking ros-humble-point-cloud-interfaces (1.0.11-1jammy.20240730.203230) ā€¦
Selecting previously unselected package ros-humble-point-cloud-transport.
Preparing to unpack ā€¦/1-ros-humble-point-cloud-transport_1.0.18-1jammy.20240820.161232_arm64.deb ā€¦
Unpacking ros-humble-point-cloud-transport (1.0.18-1jammy.20240820.161232) ā€¦
Selecting previously unselected package ros-humble-draco-point-cloud-transport.
Preparing to unpack ā€¦/2-ros-humble-draco-point-cloud-transport_1.0.11-1jammy.20240820.163530_arm64.deb ā€¦
Unpacking ros-humble-draco-point-cloud-transport (1.0.11-1jammy.20240820.163530) ā€¦
Selecting previously unselected package ros-humble-zlib-point-cloud-transport.
Preparing to unpack ā€¦/3-ros-humble-zlib-point-cloud-transport_1.0.11-1jammy.20240820.163716_arm64.deb ā€¦
Unpacking ros-humble-zlib-point-cloud-transport (1.0.11-1jammy.20240820.163716) ā€¦
Selecting previously unselected package ros-humble-zstd-point-cloud-transport.
Preparing to unpack ā€¦/4-ros-humble-zstd-point-cloud-transport_1.0.11-1jammy.20240820.163855_arm64.deb ā€¦
Unpacking ros-humble-zstd-point-cloud-transport (1.0.11-1jammy.20240820.163855) ā€¦
Selecting previously unselected package ros-humble-point-cloud-transport-plugins.
Preparing to unpack ā€¦/5-ros-humble-point-cloud-transport-plugins_1.0.11-1jammy.20240820.173715_arm64.deb ā€¦
Unpacking ros-humble-point-cloud-transport-plugins (1.0.11-1jammy.20240820.173715) ā€¦
Setting up ros-humble-point-cloud-transport (1.0.18-1jammy.20240820.161232) ā€¦
Setting up ros-humble-point-cloud-interfaces (1.0.11-1jammy.20240730.203230) ā€¦
Setting up ros-humble-zlib-point-cloud-transport (1.0.11-1jammy.20240820.163716) ā€¦
Setting up ros-humble-draco-point-cloud-transport (1.0.11-1jammy.20240820.163530) ā€¦
Setting up ros-humble-zstd-point-cloud-transport (1.0.11-1jammy.20240820.163855) ā€¦
Setting up ros-humble-point-cloud-transport-plugins (1.0.11-1jammy.20240820.173715) ā€¦
Processing triggers for libc-bin (2.35-0ubuntu3.4) ā€¦
executing command [sudo -H apt-get install -y ros-humble-draco-point-cloud-transport]
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
ros-humble-draco-point-cloud-transport is already the newest version (1.0.11-1jammy.20240820.163530).
ros-humble-draco-point-cloud-transport set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 83 not upgraded.
executing command [sudo -H apt-get install -y ros-humble-zlib-point-cloud-transport]
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
ros-humble-zlib-point-cloud-transport is already the newest version (1.0.11-1jammy.20240820.163716).
ros-humble-zlib-point-cloud-transport set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 83 not upgraded.
executing command [sudo -H apt-get install -y ros-humble-zstd-point-cloud-transport]
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
ros-humble-zstd-point-cloud-transport is already the newest version (1.0.11-1jammy.20240820.163855).
ros-humble-zstd-point-cloud-transport set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 83 not upgraded.
executing command [sudo -H apt-get install -y ros-humble-point-cloud-transport]
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
ros-humble-point-cloud-transport is already the newest version (1.0.18-1jammy.20240820.161232).
ros-humble-point-cloud-transport set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 83 not upgraded.
executing command [sudo -H apt-get install -y ros-humble-ffmpeg-image-transport]
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
The following additional packages will be installed:
libavdevice-dev libavfilter-dev libpostproc-dev ros-humble-ffmpeg-image-transport-msgs
The following NEW packages will be installed:
libavdevice-dev libavfilter-dev libpostproc-dev ros-humble-ffmpeg-image-transport ros-humble-ffmpeg-image-transport-msgs
0 upgraded, 5 newly installed, 0 to remove and 83 not upgraded.
Need to get 2,008 kB of archives.
After this operation, 9,072 kB of additional disk space will be used.
Get:1 Index of /ubuntu-ports jammy-updates/universe arm64 libpostproc-dev arm64 7:4.4.2-0ubuntu0.22.04.1 [40.1 kB]
Get:2 Index of /ubuntu-ports jammy-updates/universe arm64 libavfilter-dev arm64 7:4.4.2-0ubuntu0.22.04.1 [1,677 kB]
Get:3 Index of /ubuntu-ports jammy-updates/universe arm64 libavdevice-dev arm64 7:4.4.2-0ubuntu0.22.04.1 [99.8 kB]
Get:4 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-ffmpeg-image-transport-msgs arm64 1.1.2-1jammy.20240730.195251 [46.1 kB]
Get:5 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-ffmpeg-image-transport arm64 1.1.2-1jammy.20240820.163212 [145 kB]
Fetched 2,008 kB in 2s (1,310 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 5.)
debconf: falling back to frontend: Readline
Selecting previously unselected package libpostproc-dev:arm64.
(Reading database ā€¦ 162465 files and directories currently installed.)
Preparing to unpack ā€¦/libpostproc-dev_7%3a4.4.2-0ubuntu0.22.04.1_arm64.deb ā€¦
Unpacking libpostproc-dev:arm64 (7:4.4.2-0ubuntu0.22.04.1) ā€¦
Selecting previously unselected package libavfilter-dev:arm64.
Preparing to unpack ā€¦/libavfilter-dev_7%3a4.4.2-0ubuntu0.22.04.1_arm64.deb ā€¦
Unpacking libavfilter-dev:arm64 (7:4.4.2-0ubuntu0.22.04.1) ā€¦
Selecting previously unselected package libavdevice-dev:arm64.
Preparing to unpack ā€¦/libavdevice-dev_7%3a4.4.2-0ubuntu0.22.04.1_arm64.deb ā€¦
Unpacking libavdevice-dev:arm64 (7:4.4.2-0ubuntu0.22.04.1) ā€¦
Selecting previously unselected package ros-humble-ffmpeg-image-transport-msgs.
Preparing to unpack ā€¦/ros-humble-ffmpeg-image-transport-msgs_1.1.2-1jammy.20240730.195251_arm64.deb ā€¦
Unpacking ros-humble-ffmpeg-image-transport-msgs (1.1.2-1jammy.20240730.195251) ā€¦
Selecting previously unselected package ros-humble-ffmpeg-image-transport.
Preparing to unpack ā€¦/ros-humble-ffmpeg-image-transport_1.1.2-1jammy.20240820.163212_arm64.deb ā€¦
Unpacking ros-humble-ffmpeg-image-transport (1.1.2-1jammy.20240820.163212) ā€¦
Setting up ros-humble-ffmpeg-image-transport-msgs (1.1.2-1jammy.20240730.195251) ā€¦
Setting up libpostproc-dev:arm64 (7:4.4.2-0ubuntu0.22.04.1) ā€¦
Setting up libavfilter-dev:arm64 (7:4.4.2-0ubuntu0.22.04.1) ā€¦
Setting up libavdevice-dev:arm64 (7:4.4.2-0ubuntu0.22.04.1) ā€¦
Setting up ros-humble-ffmpeg-image-transport (1.1.2-1jammy.20240820.163212) ā€¦
Processing triggers for libc-bin (2.35-0ubuntu3.4) ā€¦
executing command [sudo -H apt-get install -y ros-humble-ffmpeg-encoder-decoder]
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
The following NEW packages will be installed:
ros-humble-ffmpeg-encoder-decoder
0 upgraded, 1 newly installed, 0 to remove and 83 not upgraded.
Need to get 45.1 kB of archives.
After this operation, 179 kB of additional disk space will be used.
Get:1 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-ffmpeg-encoder-decoder arm64 1.0.1-2jammy.20240904.203933 [45.1 kB]
Fetched 45.1 kB in 1s (54.2 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 1.)
debconf: falling back to frontend: Readline
Selecting previously unselected package ros-humble-ffmpeg-encoder-decoder.
(Reading database ā€¦ 162642 files and directories currently installed.)
Preparing to unpack ā€¦/ros-humble-ffmpeg-encoder-decoder_1.0.1-2jammy.20240904.203933_arm64.deb ā€¦
Unpacking ros-humble-ffmpeg-encoder-decoder (1.0.1-2jammy.20240904.203933) ā€¦
Setting up ros-humble-ffmpeg-encoder-decoder (1.0.1-2jammy.20240904.203933) ā€¦
#All required rosdeps installed successfully
Starting >>> zed_interfaces
ā€” stderr: zed_interfaces

ERROR setuptools_scm._file_finders.git listing git files failed - pretending there arenā€™t any

Finished <<< zed_interfaces [3.64s]
Starting >>> zed_components
ā€” stderr: zed_components
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: In member function ā€˜void stereolabs::ZedCamera::getOdParams()ā€™:
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:1656:51: error: ā€˜CUSTOM_YOLOLIKE_BOX_OBJECTSā€™ is not a member of ā€˜sl::OBJECT_DETECTION_MODELā€™; did you mean ā€˜CUSTOM_BOX_OBJECTSā€™?
1656 | if (mObjDetModel == sl::OBJECT_DETECTION_MODEL::CUSTOM_YOLOLIKE_BOX_OBJECTS) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| CUSTOM_BOX_OBJECTS
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:1698:51: error: ā€˜CUSTOM_YOLOLIKE_BOX_OBJECTSā€™ is not a member of ā€˜sl::OBJECT_DETECTION_MODELā€™; did you mean ā€˜CUSTOM_BOX_OBJECTSā€™?
1698 | if (mObjDetModel != sl::OBJECT_DETECTION_MODEL::CUSTOM_YOLOLIKE_BOX_OBJECTS) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| CUSTOM_BOX_OBJECTS
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: In member function ā€˜bool stereolabs::ZedCamera::startPosTracking()ā€™:
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:4904:14: error: ā€˜struct sl::PositionalTrackingParametersā€™ has no member named ā€˜encodeā€™
4904 | ptParams.encode(json);
| ^~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: In member function ā€˜bool stereolabs::ZedCamera::startObjDetect()ā€™:
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:5188:51: error: ā€˜CUSTOM_YOLOLIKE_BOX_OBJECTSā€™ is not a member of ā€˜sl::OBJECT_DETECTION_MODELā€™; did you mean ā€˜CUSTOM_BOX_OBJECTSā€™?
5188 | if (mObjDetModel == sl::OBJECT_DETECTION_MODEL::CUSTOM_YOLOLIKE_BOX_OBJECTS) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| CUSTOM_BOX_OBJECTS
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:5190:10: error: ā€˜struct sl::ObjectDetectionParametersā€™ has no member named ā€˜custom_onnx_fileā€™
5190 | od_p.custom_onnx_file = sl::String(mYoloOnnxPath.c_str());
| ^~~~~~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:5191:10: error: ā€˜struct sl::ObjectDetectionParametersā€™ has no member named ā€˜custom_onnx_dynamic_input_shapeā€™
5191 | od_p.custom_onnx_dynamic_input_shape = sl::Resolution(mYoloOnnxSize, mYoloOnnxSize);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: In member function ā€˜void stereolabs::ZedCamera::processDetectedObjects(rclcpp::Time)ā€™:
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:8343:53: error: ā€˜CUSTOM_YOLOLIKE_BOX_OBJECTSā€™ is not a member of ā€˜sl::OBJECT_DETECTION_MODELā€™; did you mean ā€˜CUSTOM_BOX_OBJECTSā€™?
8343 | if (mObjDetModel != sl::OBJECT_DETECTION_MODEL::CUSTOM_YOLOLIKE_BOX_OBJECTS) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| CUSTOM_BOX_OBJECTS
gmake[2]: *** [CMakeFiles/zed_camera_component.dir/build.make:118: CMakeFiles/zed_camera_component.dir/src/zed_camera/src/zed_camera_component.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:164: CMakeFiles/zed_camera_component.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

Failed <<< zed_components [24.8s, exited with code 2]

Summary: 1 package finished [29.1s]
1 package failed: zed_components
2 packages had stderr output: zed_components zed_interfaces
1 package not processed

Have you ever seen this problem before? Or have an idea how to fix that?

Thanks

Hey @Raffaello,
I now have reinstalled everything without an error, but i still think that the dockerfiles didnt made their job. Because i still cant find the ros directory. Does it build a directory on your setup and where is it located?

Thank you very much!

May we know what is your ZED camera model?
Please run ā€œsudo apt install ros-humble-point-cloud-transportā€ inside the container and try colcon build again, thanks.

I am using the ZED x mini.
The output of the command you told me is:
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
E: Unable to locate package ros-humble-point-cloud-transport

I have changed the version of the zed sdk in the install-zed-aarch64.sh:
wget -q --no-check-certificate -O ZED_SDK_Linux.run +wget -q --no-check-certificate -O ZED_SDK_Linux.run https://stereolabs.sfo2.cdn.digitaloceanspaces.com/zedsdk/4.2/ZED_SDK_Tegra_L4T36.3_v4.2.1.zstd.run

Now the i just get an error, that the zed_interface isnt installed, but the rest at least works.

Thanks for your help!

Hi @Zwiback21

You can find the zed-ros2-interfaces in this repo: GitHub - stereolabs/zed-ros2-interfaces: ROS2 interfaces for the ZED ROS2 Wrapper

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.