Problems with “Getting Started with ROS 2 on Jetson Orin” article

Hi there. Hoping to use my ZED camera with my new Orin Nano, I was following along with this article and ran into this:

$ colcon build --symlink-install
Starting >>> image_transport
Starting >>> zed_interfaces
Starting >>> camera_calibration_parsers
Starting >>> zed_topic_benchmark_interfaces
Starting >>> zed_tutorial_depth
Starting >>> zed_tutorial_pos_tracking
[Processing: camera_calibration_parsers, image_transport, zed_interfaces, zed_topic_benchmark_interfaces, zed_tutorial_depth, zed_tutorial_pos_tracking]                                                                     
Finished <<< zed_topic_benchmark_interfaces [33.7s]                                                                                                                                                            
Starting >>> zed_topic_benchmark_component
Finished <<< camera_calibration_parsers [35.3s]                                                                                                                                                   
Starting >>> camera_info_manager
[38.725s] not run installation step for package 'zed_topic_benchmark_component' because it has no 'install' target                               
--- stderr: zed_topic_benchmark_component                                                                                                                                                        
*** WARNING *** ROS2 foxy is not supported. This package will not be installed.
CMake Warning:
  Manually-specified variables were not used by the project:


Finished <<< zed_topic_benchmark_component [4.21s]
Starting >>> zed_tutorial_video
Finished <<< zed_tutorial_depth [38.5s]                                                                                                                                                          
Starting >>> zed_topic_benchmark
[41.935s] not run installation step for package 'zed_topic_benchmark' because it has no 'install' target                                        
--- stderr: camera_info_manager                                                                                                                                                                    
/home/rmann/ros2_ws/src/image_common/camera_info_manager/src/camera_info_manager.cpp:46:10: fatal error: rcpputils/env.hpp: No such file or directory
   46 | #include "rcpputils/env.hpp"
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/camera_info_manager.dir/build.make:63: CMakeFiles/camera_info_manager.dir/src/camera_info_manager.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/camera_info_manager.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Failed   <<< camera_info_manager [5.77s, exited with code 2]
Aborted  <<< zed_topic_benchmark [2.49s]
Aborted  <<< zed_tutorial_video [3.94s]                                                                                                                                                              
Aborted  <<< zed_tutorial_pos_tracking [44.6s]                                                                                                                      
Aborted  <<< image_transport [1min 2s]                                                                                           
Aborted  <<< zed_interfaces [1min 8s]                                         
Summary: 4 packages finished [1min 8s]
  1 package failed: camera_info_manager
  5 packages aborted: image_transport zed_interfaces zed_topic_benchmark zed_tutorial_pos_tracking zed_tutorial_video
  4 packages had stderr output: camera_info_manager image_transport zed_topic_benchmark zed_topic_benchmark_component
  8 packages not processed

JetPack 5.1.1r1 on 20.04.6 on a brand-new Jetson Orin Nano Dev Kit.

Hi @JetForMe
Welcome to the Stereolabs community.

It seems that you have a wrong installation of the image_common package.

Have you followed the guide in Known Issues in the README of the ZED ROS2 Wrapper repository?

1 Like

I did look at the “Known Issues” section, but it only talks about image_transport, not camera_info_manager, and it talks about what appear to be runtime issues, not build issues. Nevertheless, I checked out the 3.0.0 branch, and it was able to get past those issues, thank you.