Colcon build "zed_ros2_examples" fails

Hey I’m trying to install the examples in the same workspace as the Wrapper but it says it cant locate the “grid_map_msgs”.

Here the build output :

CMake Error at CMakeLists.txt:61 (find_package):
By not providing “Findgrid_map_msgs.cmake” in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
“grid_map_msgs”, but CMake did not find one.

Could not find a package configuration file provided by “grid_map_msgs”
with any of the following names:


Add the installation prefix of “grid_map_msgs” to CMAKE_PREFIX_PATH or set
“grid_map_msgs_DIR” to a directory containing one of the above files. If
“grid_map_msgs” provides a separate development package or SDK, be sure it
has been installed.

Failed <<< zed_nav2 [12.1s, exited with code 1]
Aborted <<< zed_topic_benchmark_component [3.72s]
Aborted <<< zed_tutorial_video [10.6s]
Aborted <<< zed_components [10.3s]
Aborted <<< zed_tutorial_depth [36.2s]
Aborted <<< zed_tutorial_pos_tracking [46.3s]

Summary: 6 packages finished [51.5s]
1 package failed: zed_nav2
5 packages aborted: zed_components zed_topic_benchmark_component zed_tutorial_depth zed_tutorial_pos_tracking zed_tutorial_video
2 packages had stderr output: zed_nav2 zed_topic_benchmark_component
8 packages not processed

Hi @bart
You can run the command
rosdep install --from-paths src --ignore-src -r -y
in the root folder of the ROS2 workspace to install the missing dependencies.

However, zed_nav2 is an experimental package, it should have not been added to the compile list.
We will fix this problem the next week.
Thank you for reporting.

The ZED ROS2 Examples repository has been fixed

Thank you a shall try and rebuild it today.

Op ma 3 apr. 2023 10:39 schreef Walter Lucetti (Stereolabs)