This package provides a standalone ROS2 driver for OAK-D cameras that can run on a robot and publish camera data over the network.
- RGB and depth image publishing
- IMU data publishing
- Visual-Inertial Odometry (VIO)
- Configurable camera parameters
- ROS2 Jazzy compatible
# Build the package
colcon build --packages-select oakd_driver
# Source the workspace
source install/setup.bash
# Launch the camera driver
ros2 launch oakd_driver driver.launch.py name:=oakname: Camera node name (default: "oak")params_file: Path to camera configuration fileparent_frame: Parent frame for camera transformsuse_rviz: Whether to launch RViz for visualization
/{name}/rgb/image_raw: RGB camera images/{name}/rgb/camera_info: RGB camera info/{name}/stereo/image_raw: Depth images/{name}/vio/odometry: Visual-inertial odometry
Make sure both the robot and the laptop running map_builder are on the same ROS2 domain and can communicate over the network.
Set the same ROS_DOMAIN_ID on both machines:
export ROS_DOMAIN_ID=42Edit config/rtabmap.yaml to modify camera settings:
- Frame rates
- Image resolution
- VIO parameters
- IMU settings