/zed-ros-wrapper

ROS wrapper for the ZED SDK

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Stereolabs ZED Camera - ROS Integration

This package lets you use the ZED stereo camera with ROS. It outputs the camera left and right images, depth map, point cloud, odometry information and supports the use of multiple ZED cameras.

Getting started

Prerequisites

Build the program

The zed_ros_wrapper is a catkin package. It depends on the following ROS packages:

  • tf2_ros
  • tf2_geometry_msgs
  • nav_msgs
  • roscpp
  • rosconsole
  • sensor_msgs
  • opencv
  • image_transport
  • dynamic_reconfigure
  • urdf

Open a terminal and build the package:

cd ~/catkin_ws/src
git clone https://github.com/stereolabs/zed-ros-wrapper.git
cd ../
catkin_make
source ./devel/setup.bash

Run the program

To launch the wrapper along with an Rviz preview, open a terminal and launch:

roslaunch zed_wrapper display.launch # by default open a ZED

or

roslaunch zed_wrapper display_zedm.launch # open a ZED Mini

To launch the wrapper without Rviz, use:

roslaunch zed_wrapper zed.launch

To select the ZED from its serial number

roslaunch zed_wrapper zed.launch serial_number:=1010 #replace 1010 with the actual SN

More