stereolabs / zed-ros2-examples

A collection of examples and tutorials to illustrate how to better use the ZED cameras in the ROS2 framework
https://www.stereolabs.com/docs/ros2/
Apache License 2.0
34 stars 29 forks source link
examples ros2 rviz-plugins tutorials zed

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

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

:pushpin: Note: If you encounter an error during the linking process due to missing libnvinfer and nvonnxparser, you need to install TensorRT. Alternatively, if this example is not required, you can build the repository while ignoring it:

colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release --packages-ignore zed_custom_od_example

Tutorials and examples

Rviz visualization examples

Tutorials

Examples