Skip to content

How to connect OAK-D camera from Gazebo (PX4 SITL) to RTAB-Map #1579

@SolidSnakeT

Description

@SolidSnakeT

Hello,

I’m a beginner and currently using Gazebo + ROS 2 Humble + PX4 1.15.4.
I launch the simulation with:
make px4_sitl gz_x500_depth

Then I start rtabmap with the command:
rtabmap

As described in the tutorial, I go to File > New database > Start, but I get the following error:
[ERROR] (2025-09-14 18:43:12.389) CameraOpenNI2.cpp:211::init() CameraOpenNI2: No device detected!

According to the PX4 documentation(https://docs.px4.io/main/en/sim_gazebo_gz/vehicles.html#multicopter), the simulation uses an OAK-D camera.

Could you please tell me how to properly connect the OAK-D camera from the Gazebo simulation to RTAB-Map?

Thank you!
(Sorry for the dumb question and for any mistakes caused by translation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions