DepthAI ROS
Looking for the older ROS driver?
If you are looking for the older v2 driver documentation, please visit V2 Docs.
- Use the cameras as classic RGBD sensors for your 3D vision needs.
- Load Neural Networks and get the inference results straight from camera!
- Use classes provided in depthai_bridge to construct your own driver (see rgb_publisher example on how to do that)
- Use the default ROS driver package for your distro (see ROS Driver for details):
- Humble / Jazzy:
depthai_ros_driver_v3 - Kilted and newer:
depthai_ros_driver
- Humble / Jazzy:
Supported ROS versions:- Humble
- Jazzy
- Kilted
Package naming
The ROS v3 driver is now available on Humble, Jazzy, and Kilted.
- Humble / Jazzy: use the
_v3package names, for exampledepthai_ros_v3anddepthai_ros_driver_v3. - Kilted and newer: v3 is the default driver, so the package names no longer carry the
_v3suffix, for exampledepthai_ros_driver.
Install from ros binaries
Kilted and newer
Humble/Jazzy
Kilted and newer
Command Line
1sudo apt install ros-$ROS_DISTRO-depthai-rosInstall from source
DepthAI filters
depthai_filters contains small composable node examples that show how to work with data from multiple topics. Available filters:- Detection2DOverlay - subscribes to
/nn/detectionsandnn/passthrough/image_rawtopics. To see it in action, runros2 launch depthai_filters example_det2d_overlay.launch.py. - SegmentationOverlay, overlays semantic segmentation from
nn/image_rawon top of image fromnn/passthrough/image_raw, to see it in action, runros2 launch depthai_filters example_seg_overlay.launch.py - SpatialBB - publishes bounding boxes as 3D line Markers based on spatial detections coming from driver node, to run:
ros2 launch depthai_filters spatial_bb.launch.py - FeatureTrackerOverlay - publishes Tracked Features overlay based on features and images coming from the driver
- Features3D - uses depth image to republish features as 3D pointcloud, to run `ros2 launch depthai_filters example_feature_3d.launch.py
- ThermalTemp - visualizes data from thermal stream on OAK-T, you can use mouse to see what temperature is given part of image, to run
ros2 launch depthai_filters thermal_temp.launch.py