Cannot locate rosdep definition for [zed_interfaces]

Hi,
I am working with ROS2 Foxy on Ubuntu 20 system. Following this link
But I am receiving the below error

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
zed_components: Cannot locate rosdep definition for [zed_interfaces]
zed_ros2: Cannot locate rosdep definition for [zed_interfaces]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully

using CUDA 11.5 and ZED_SDK version 3.7.2

Installation instruction on the Stereolabs website for ROS2 is different than that of ROS2-wrapper on github. the difference I see is cloning repository using --recursive. when I didn’t use recursive while cloning I am getting those build errors. Using recursive solved my problem.

Hi, I came to the same problem in my Jetson Xavier. I am using Jeptack 35.2, Ubuntu 20.04, Ros2 Galactic, CUDA 11.4. I downloaded this * ZED SDK for L4T 35.1 (Jetpack 5.0)3.8.2 (Jetson Xavier, Orin CUDA 11.4). I tried to clone the zed-ros-wrapper using this command:

git clone --recursive https://github.com/stereolabs/zed-ros2-wrapper.git

I also used rosdep as seen in other solution but it still shows this error:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
zed_wrapper: Cannot locate rosdep definition for [xacro]
zed_components: Cannot locate rosdep definition for [diagnostic_updater]
Continuing to install resolvable dependencies…
#All required rosdeps installed successfully

Is this because of the wrong SDK version? Do they already have support for Jetpack 35.2?

Hi @jheanelestrada
Welcome to the Stereolabs community.

You are missing the xacro and the diagnostic_updater packages.
You can easily install all the dependencies automatically by launching this command from the root folder of your colcon workspace:
rosdep install --from-paths src --ignore-src -r -y
or manually by using the command
$ sudo apt install ros-galactic-xacro ros-galactic-diagnostic-updater

Please note that the ZED ROS2 Wrapper has not been tested with Galactic, it has been designed to work with Foxy and Humble, the LTS distributions of ROS2.