Skip to main content

Intel - RealSense D400 Series

The RealSense D400 series cameras by Intel are compact distance measuring devices primarily designed for short-range analysis, spanning up to 6 meters. Utilizing advanced deep vision technology and compact form factors, these cameras find applications across various domains including computer vision, augmented reality, robotics, and beyond.

realsense

Getting started

To run the device, you must meet certain requirements listed below:

Software

Hardware

  • Connectivity: USB 3.0*

* USB 2.0 is possible, but significantly limits performance.

Demo

In this demo, we'll walk you through using the RealSense camera with ROS 2 via a Docker image. You'll also learn how to visualize data, including image previews and point clouds, using RViz. Demo based on realsense-ros repository.

Tested on

Start guide

1. Plugin the device

For the best performance please use USB 3.0 port, depend of the camera model. Then use lsusb command to check if the device is visible.

2. Clone repository

git clone --branch ros2 https://github.com/husarion/realsense-docker.git
cd realsense-docker/demo

3. Run compose.yaml

xhost local:root
docker compose up

Result

The RGBD (Red, Green, Blue, Depth) image is visible in the RViz2 tool.

realsense-result

ROS API

The full API of the robot can be found in the official documentation of the device.

Summary

Depth cameras are essential for modern robotics, and RealSense cameras, known for their compact size, are an excellent choice for short-range tasks. They are also officially compatible with ROS 2 and continue to enhance their solutions for even better performance. Now you can use the acquired knowledge by creating a Tracker using the OpenCV library.


Do you need any support with completing this project or have any difficulties with software or hardware? Feel free to describe your thoughts on our community forum: https://community.husarion.com/ or to contact with our support: support@husarion.com