Zed ROS2 wrapper build fail

Hello ,

I’m trying to setup my Zed X camera with the duo zed link , and while following the provided isaac ros setup Isaac ROS ZED Setup — isaac_ros_docs documentation
I followed the tutorial succesfully built the zed docker layer and when i continued i encountered an error while building the zed_ros2_wrapper specifically zed_components package :
After this command:

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

I got this error ( It is long but more of the same stuff so iam only pasting the top part and bottom part):

not found: “/workspaces/isaac_ros-dev/install/zed_components/share/zed_components/local_setup.bash”
Hit:1 Index of /ubuntu-ports jammy InRelease
Hit:2 Index of /ubuntu-ports jammy-updates InRelease
Hit:3 https://repo.download.nvidia.com/jetson/common r36.0 InRelease
Hit:4 Index of /ubuntu-ports jammy-backports InRelease
Hit:5 https://repo.download.nvidia.com/jetson/common r36.3 InRelease
Get:6 Index of /ubuntu-ports jammy-security InRelease [129 kB]
Hit:7 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease
Hit:8 https://repo.download.nvidia.com/jetson/t234 r36.3 InRelease
Hit:9 Index of /mosquitto-dev/mosquitto-ppa/ubuntu jammy InRelease
Hit:10 http://packages.ros.org/ros2/ubuntu jammy InRelease
Fetched 129 kB in 2s (53.2 kB/s)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
169 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://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.
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.
#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.92s]
Starting >>> zed_components

In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | define DEBUG_SIM(…) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’
9554 | DEBUG_SIM(“Received an updated ‘/clock’ message.”);
| ^~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | define DEBUG_SIM(…) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’
9554 | DEBUG_SIM(“Received an updated ‘/clock’ message.”);
| ^~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | define DEBUG_SIM(…) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’
9554 | DEBUG_SIM(“Received an updated ‘/clock’ message.”);
| ^~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9556:7: error: ‘mClockAvailable’ was not declared in this scope
9556 | mClockAvailable = false;
| ^~~~~~~~~~~~~~~
In file included from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:23:
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: error: ‘mDebugSim’ was not declared in this scope
27 | define DEBUG_SIM(…) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: note: in definition of macro ‘DEBUG_SIM’
27 | define DEBUG_SIM(…) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:52: error: ‘get_logger’ was not declared in this scope; did you mean ‘rclcpp::get_logger’?
27 | define DEBUG_SIM(…) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’
9557 | DEBUG_SIM(“Received a NOT updated ‘/clock’ message.”);
| ^~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:23,
from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/opt/ros/humble/include/rclcpp/rclcpp/logger.hpp:106:17: note: ‘rclcpp::get_logger’ declared here
106 | friend Logger rclcpp::get_logger(const std::string & name);
| ^~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | define DEBUG_SIM(…) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’
9557 | DEBUG_SIM(“Received a NOT updated ‘/clock’ message.”);
| ^~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | define DEBUG_SIM(…) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’
9557 | DEBUG_SIM(“Received a NOT updated ‘/clock’ message.”);
| ^~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | define DEBUG_SIM(…) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’
9557 | DEBUG_SIM(“Received a NOT updated ‘/clock’ message.”);
| ^~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9559:5: error: ‘mLastClock’ was not declared in this scope
9559 | mLastClock = msg_time;
| ^~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9562:7: error: ‘get_logger’ was not declared in this scope; did you mean ‘rclcpp::get_logger’?
9562 | get_logger(), "Error comparing clock messages: " <<
| ^~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:23,
from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/opt/ros/humble/include/rclcpp/rclcpp/logger.hpp:106:17: note: ‘rclcpp::get_logger’ declared here
106 | friend Logger rclcpp::get_logger(const std::string & name);
| ^~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: template argument 1 is invalid
9561 | RCLCPP_WARN_STREAM(
| ^~~~~~~~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: template argument 1 is invalid
9561 | RCLCPP_WARN_STREAM(
| ^~~~~~~~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: template argument 1 is invalid
9561 | RCLCPP_WARN_STREAM(
| ^~~~~~~~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9564:26: error: ‘mLastClock’ was not declared in this scope
9564 | static_cast(mLastClock.get_clock_type()));
| ^~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9566:5: error: ‘mClockAvailable’ was not declared in this scope
9566 | mClockAvailable = false;
| ^~~~~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: At global scope:
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9571:1: error: expected declaration before ‘}’ token
9571 | } // namespace stereolabs
| ^
gmake[2]: *** [CMakeFiles/zed_camera_component.dir/build.make:104: 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 [43.9s, exited with code 2]

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

After that failed i tried launching the zed explorer via /usr/local/zed/tools/ZED_Explorer anyway ,and that showed the camera working , however i tried rebuilding it again which failed the same way but i then wasnt even able to get the zed explorer working giving me this error:

admin@jetson-desktop:/workspaces/isaac_ros-dev$ /usr/local/zed/tools/ZED_Explorer
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-admin’
** [SVO] Hardware compression (NVENC) available **
[ZED-X][Warning] Failed to connect to zed_x_daemon.
[ZED-X][Warning] Failed to verify the match between the L4T version of the host and the container. If you are indeed in a container, be sure to run the same L4T version on both.

Im not sure what may be the cause of all of this , but I do also want to ask if it was neccesary to checkout the humble-v4.0.8 branch even for the zed-ros2-interfaces package inside the zed-ros2-wrapper or not?

Thanks very much in advance for any help !!

hi @flavionzambi

I think this error can be related to a wrong ZED initialization. Please look the ZED troubleshooting: How to use ZED X with Docker - Stereolabs

Let me know if this issue is fixed

Raffaello

Hi , I reinstalled I updated the docker launch settings , which made it so I can reliably open the zed x camera inside the docker+ I also noticed i was incorrectly switching the branches for the zed-ros2-wrapper as I am on a Jetson Orin Nano not x86 , however i am running into another similar error of build the package now shorter but still present , Im not sure what could be the cause

#All required rosdeps installed successfully
Starting >>> zed_msgs
[Processing: zed_msgs]
— stderr: zed_msgs
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren’t any

Finished <<< zed_msgs [59.7s]
Starting >>> zed_components
[Processing: zed_components]
— stderr: zed_components
In file included from /workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_one_component.cpp:15:
/workspaces/isaac_ros-dev/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_one_component.hpp:19:10: fatal error: sl/CameraOne.hpp: No such file or directory
19 | include <sl/CameraOne.hpp>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/zed_camera_one_component.dir/build.make:118: CMakeFiles/zed_camera_one_component.dir/src/zed_camera/src/zed_camera_one_component.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs…
gmake[1]: *** [CMakeFiles/Makefile2:192: CMakeFiles/zed_camera_one_component.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs…
/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:1614:51: error: ‘CUSTOM_YOLOLIKE_BOX_OBJECTS’ is not a member of ‘sl::OBJECT_DETECTION_MODEL’; did you mean ‘CUSTOM_BOX_OBJECTS’?
1614 | 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: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: 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:4851:14: error: ‘struct sl::PositionalTrackingParameters’ has no member named ‘encode’
4851 | 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:5135:51: error: ‘CUSTOM_YOLOLIKE_BOX_OBJECTS’ is not a member of ‘sl::OBJECT_DETECTION_MODEL’; did you mean ‘CUSTOM_BOX_OBJECTS’?
5135 | 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:5137:10: error: ‘struct sl::ObjectDetectionParameters’ has no member named ‘custom_onnx_file’
5137 | 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:5138:10: error: ‘struct sl::ObjectDetectionParameters’ has no member named ‘custom_onnx_dynamic_input_shape’
5138 | 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:8287:53: error: ‘CUSTOM_YOLOLIKE_BOX_OBJECTS’ is not a member of ‘sl::OBJECT_DETECTION_MODEL’; did you mean ‘CUSTOM_BOX_OBJECTS’?
8287 | 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:166: CMakeFiles/zed_camera_component.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

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

Summary: 1 package finished [1min 49s]
1 package failed: zed_components
2 packages had stderr output: zed_components zed_msgs
1 package not processed
admin@jetson-desktop:/workspaces/isaac_ros-dev$

So the issue with the zed ros2 wrapper remains , but i need to ask which version of the wrapper is supported for isaac ros 3.1 the humble-v4.0.8 or older/newer? Also the zed sdk version should be which the Zed SDK 4.2 Or other?
Thanks

After some looking i found out that the zed sdk installed for the docker is Zed SDK 4.1.3 which would make the humble-v4.1.4 zed ros2 wrapper the one to be compatible (correct me if Iam wrong) , however i cant seem to build it no matter what

Hi i managed to get it to work after manually changing the zed sdk version from 4.1.3 to 4.2.2 in the script that install the sdk and that allowed me to build it , I believe this may have been cause by the zed wrapper being recently updated and now requiring the 4.2 zed sdk ? If you find out please let me know .
Thanks for the help !

Hi @flavionzambi

I believe you may have found the cause of this issue. I will report it to engineering for further troubleshooting.

Thank you!

Raffaello