Skip to content

Repository files navigation

Stereolabs
ROS 2 Tutorials and Examples

This package contains examples and tutorials for effectively using ZED cameras within the ROS 2 framework.

More information

Getting started

  • First, be sure to have installed the main ROS 2 package to integrate the ZED cameras in the ROS 2 framework: zed-ros2-wrapper
  • Install the Tutorials package
  • Read the online documentation for More information

Prerequisites

Supported ROS 2 distributions

  • All the current LTS distributions are officially supported: ROS 2 Humble Hawksbill (Ubuntu 22.04), Jazzy Jalisco (Ubuntu 24.04), and Lyrical (Ubuntu 26.04).
  • ⚠️ Foxy Fitzroy (Ubuntu 20.04) is still supported for backward compatibility, with limitations when newer packages are not available for it (Foxy reached its End Of Life).
  • 🛠️ Rolling Ridley is supported for developers, but we cannot always guarantee that breaking changes introduced in Rolling are supported immediately.
  • Non-LTS distributions (e.g. Iron, Kilted) are not officially tested, but they could work.

Build the package

The zed-ros-examples repository is a collection of colcon packages.

Open a terminal, clone the repository, update the dependencies, and build the packages:

cd ~/ros2_ws/src/ #use your current ros2 workspace folder
git clone https://github.com/stereolabs/zed-ros2-examples.git
cd ../
sudo apt update
rosdep update
rosdep install --from-paths src --ignore-src -r -y --skip-keys scout_description
colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release
source ~/.bashrc

Tutorials and examples

Data Visualization Examples

  • Example launch files to start a preconfigured instance of RViz2 displaying all the ZED Wrapper node information: zed_display_rviz2
  • ROS 2 plugin for RViz2 to visualize the results of the Object Detection module (bounding boxes and skeletons): rviz-plugin-zed-od
  • Example layouts to display ZED Wrapper data in Foxglove Studio zed_display_foxglove

Tutorials

Examples

Tools

  • ZED Benchmark tool: used to test topics and get statistics on frequency and bandwidth to be plotted.

About

A collection of examples and tutorials to illustrate how to better use the ZED cameras in the ROS2 framework

Topics

Resources

Contributing

Stars

65 stars

Watchers

4 watching

Forks

Releases

Contributors

Languages