Skip to content

stereolabs/zed-ros2-examples

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
April 20, 2022 11:58
September 19, 2022 18:11
October 18, 2022 12:35
October 30, 2023 16:43
April 13, 2023 18:22
November 3, 2023 16:55
October 30, 2023 18:01
November 21, 2022 19:12
November 18, 2022 20:01

Stereolabs ZED Camera - ROS2 Tutorials and Examples

This package is a collection of examples and tutorials to illustrate how to better use the ZED cameras in the ROS2 framework

More information

Getting started

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

Prerequisites

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 ../
$ rosdep install --from-paths src --ignore-src -r -y
$ colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release
$ source ~/.bashrc

Run the tutorials and examples

Rviz visualization examples

  • Example launch files to start a preconfigured instance of Rviz displaying all the ZED Wrapper node information: zed_display_rviz2
  • ROS2 plugin for ZED2 to visualize the results of the Object Detection module (bounding boxes and skeletons): rviz-plugin-zed-od

Tutorials

Tools

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