|
depthai-ros repositorycomputer-vision camera robotics cv ros camera-driver depthai depthai-ros depthai_bridge depthai_descriptions depthai_examples depthai_filters depthai_ros_driver depthai_ros_msgs |
|
|
Repository Summary
| Description | Official ROS Driver for DepthAI Sensors. |
| Checkout URI | https://github.com/luxonis/depthai-ros.git |
| VCS Type | git |
| VCS Version | humble |
| Last Updated | 2025-03-18 |
| Dev Status | DEVELOPED |
| CI status | No Continuous Integration |
| Released | RELEASED |
| Tags | computer-vision camera robotics cv ros camera-driver depthai |
| Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
| Name | Version |
|---|---|
| depthai-ros | 2.11.2 |
| depthai_bridge | 2.11.2 |
| depthai_descriptions | 2.11.2 |
| depthai_examples | 2.11.2 |
| depthai_filters | 2.11.2 |
| depthai_ros_driver | 2.11.2 |
| depthai_ros_msgs | 2.11.2 |
README
CONTRIBUTING
|
depthai-ros repositorycomputer-vision camera robotics cv ros camera-driver depthai depthai-ros depthai_bridge depthai_descriptions depthai_examples depthai_filters depthai_ros_driver depthai_ros_msgs |
|
|
Repository Summary
| Description | Official ROS Driver for DepthAI Sensors. |
| Checkout URI | https://github.com/luxonis/depthai-ros.git |
| VCS Type | git |
| VCS Version | jazzy |
| Last Updated | 2025-03-18 |
| Dev Status | DEVELOPED |
| CI status | No Continuous Integration |
| Released | RELEASED |
| Tags | computer-vision camera robotics cv ros camera-driver depthai |
| Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
| Name | Version |
|---|---|
| depthai-ros | 2.11.2 |
| depthai_bridge | 2.11.2 |
| depthai_descriptions | 2.11.2 |
| depthai_examples | 2.11.2 |
| depthai_filters | 2.11.2 |
| depthai_ros_driver | 2.11.2 |
| depthai_ros_msgs | 2.11.2 |
README
CONTRIBUTING
|
depthai-ros repositorycomputer-vision camera robotics cv ros camera-driver depthai depthai-ros depthai_bridge depthai_descriptions depthai_examples depthai_filters depthai_ros_driver depthai_ros_msgs |
|
|
Repository Summary
| Description | Official ROS Driver for DepthAI Sensors. |
| Checkout URI | https://github.com/luxonis/depthai-ros.git |
| VCS Type | git |
| VCS Version | noetic |
| Last Updated | 2025-03-18 |
| Dev Status | DEVELOPED |
| CI status | No Continuous Integration |
| Released | RELEASED |
| Tags | computer-vision camera robotics cv ros camera-driver depthai |
| Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
| Name | Version |
|---|---|
| depthai-ros | 2.11.2 |
| depthai_bridge | 2.11.2 |
| depthai_descriptions | 2.11.2 |
| depthai_examples | 2.11.2 |
| depthai_filters | 2.11.2 |
| depthai_ros_driver | 2.11.2 |
| depthai_ros_msgs | 2.11.2 |
README
CONTRIBUTING
|
depthai-ros repositorycomputer-vision camera robotics cv ros camera-driver depthai depthai-ros depthai_bridge depthai_examples depthai_ros_msgs |
|
|
Repository Summary
| Description | Official ROS Driver for DepthAI Sensors. |
| Checkout URI | https://github.com/luxonis/depthai-ros.git |
| VCS Type | git |
| VCS Version | ros-release |
| Last Updated | 2023-01-10 |
| Dev Status | DEVELOPED |
| CI status | No Continuous Integration |
| Released | RELEASED |
| Tags | computer-vision camera robotics cv ros camera-driver depthai |
| Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
| Name | Version |
|---|---|
| depthai-ros | 2.5.3 |
| depthai_bridge | 2.5.3 |
| depthai_examples | 2.5.3 |
| depthai_ros_msgs | 2.5.3 |
README
depthai-ros
main branch supports ROS Melodic, ROS Noetic, ROS2 Foxy & Galactic. Might also work on kinetic too.
Install from ros binaries
Add USB rules to your system
echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
sudo udevadm control --reload-rules && sudo udevadm trigger
Install depthai-ros. (Available for Noetic, foxy, galactic and humble)
sudo apt install ros-<distro>-depthai-ros
Install from source
Install dependencies
The following script will install depthai-core and update usb rules and install depthai devices
sudo wget -qO- https://raw.githubusercontent.com/luxonis/depthai-ros/main/install_dependencies.sh | sudo bash
if you don’t have opencv installed then try sudo apt install libopencv-dev
if you don’t have rosdep installed and not initialized please execute the following steps:
-
sudo apt install python-rosdep(melodic) orsudo apt install python3-rosdep sudo rosdep initrosdep update
Setting up procedure
The following setup procedure assumes you have cmake version >= 3.10.2 and OpenCV version >= 4.0.0. We selected dai_ws as the name for a new folder, as it will be our depthai ros workspace.
mkdir -p dai_ws/srccd dai_ws/srcgit clone https://github.com/luxonis/depthai-ros.gitcd ../..rosdep install --from-paths src --ignore-src -r -ysource /opt/ros/<ros-distro>/setup.bash-
catkin_make(For ROS1)colcon build(for ROS2) -
source devel/setup.bash(For ROS1) &source install/setup.bash(for ROS2)
Executing an example
ROS1
-
cd dai_ws(Our workspace) source devel/setup.bash-
roslaunch depthai_examples stereo_inertial_node.launch- example node For more examples please check the launch files.
ROS2
-
cd dai_ws(Our workspace) source install/setup.bash-
ros2 launch depthai_examples stereo_inertial_node.launch.py- example node For more examples please check the launch files.
Running Examples
Mobilenet Publisher:
ROS1:
OAK-D
roslaunch depthai_examples mobile_publisher.launch camera_model:=OAK-D
OAK-D-LITE
roslaunch depthai_examples mobile_publisher.launch camera_model:=OAK-D-LITE
With visualizer
roslaunch depthai_examples mobile_publisher.launch | rqt_image_view -t /mobilenet_publisher/color/image
ROS2:
OAK-D
ros2 launch depthai_examples mobile_publisher.launch.py camera_model:=OAK-D
OAK-D-LITE
ros2 launch depthai_examples mobile_publisher.launch.py camera_model:=OAK-D-LITE
Testing results
- ImageConverter - Tested using
roslaunch depthai_examples stereo_inertial_node.launch&&roslaunch depthai_examples rgb_publisher.launch’ - ImgDetectionCnverter - tested using
roslaunch depthai_examples mobile_publisher.launch - SpatialImgDetectionConverter - Ntested using
roslaunch depthai_examples stereo_inertial_node.launch
Users can write Custom converters and plug them in for bridge Publisher.
If there a standard Message or usecase for which we have not provided a ros msg or converter feel free to create a issue or reach out to us on our discord community. We would be happy to add more.
CONTRIBUTING
|
depthai-ros repositorycomputer-vision camera robotics cv ros camera-driver depthai depthai-ros depthai_bridge depthai_descriptions depthai_examples depthai_filters depthai_ros_driver depthai_ros_msgs |
|
|
Repository Summary
| Description | Official ROS Driver for DepthAI Sensors. |
| Checkout URI | https://github.com/luxonis/depthai-ros.git |
| VCS Type | git |
| VCS Version | iron |
| Last Updated | 2024-11-13 |
| Dev Status | DEVELOPED |
| CI status | No Continuous Integration |
| Released | RELEASED |
| Tags | computer-vision camera robotics cv ros camera-driver depthai |
| Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
| Name | Version |
|---|---|
| depthai-ros | 2.10.5 |
| depthai_bridge | 2.10.5 |
| depthai_descriptions | 2.10.5 |
| depthai_examples | 2.10.5 |
| depthai_filters | 2.10.5 |
| depthai_ros_driver | 2.10.5 |
| depthai_ros_msgs | 2.10.5 |