orbbec_camera sample application enables the Orbbec Gemini camera 335L to work in RGB or depth mode. This application generates the RGB and depth information by topics.
Orbbec-camera is the OrbbecSDK ROS2 Wrapper, which provides seamless integration of Orbbec cameras within the ROS 2 environment.
Pipeline flow for orbbec_camera
The following figure shows the pipeline of orbbec_camera.
Figure : The orbbec-camera pipeline
ROS topics used in the orbbec_camera pipeline
| ROS topic | Message type | Published/Subscribed by | Description |
|---|---|---|---|
/camera/color/camera_info | sensor_msgs::msg::CameraInfo | Published by orbbec_camera | Publishes the color camera information. |
/camera/color/image_raw | sensor_msgs::msg::Image | Published by orbbec_camera | Publishes the color image. |
/camera/depth/camera_info | sensor_msgs::msg::CameraInfo | Published by orbbec_camera | Publishes the depth camera information. |
/camera/depth/image_raw | sensor_msgs::msg::Image | Published by orbbec_camera | Publishes the depth image. |
/camera/depth/points | sensor_msgs::msg::PointCloud2 | Published by orbbec_camera | Publishes the depth point cloud. |
/camera/gyro_accel/sample | sensor_msgs::msg::Imu | Published by orbbec_camera | Publishes the gyroscope and accelerometer data. |
Prerequisites
- You have Set up the device according to Set up the environment for running sample applications.
- Connect the USB port of Orbbec Gemini 335L camera.
A USB 3.0 port is recommended for best performance. When connected using a USB 2.0 port, the Orbbec Gemini 335L camera may not support certain resolutions (for example, 848×480).
Run out-of-the-box orbbec_camera
-
Install the udev rules for the Orbbec camera (one-time prerequisite).
Note
- This step ensures proper device permissions and allows the system to access the camera without requiring root privileges.
- You need to perform this step only once on a newly setup device.
-
Launch Orbbec camera 335L in the following 3 modes:
- To set up QIR SDK and ROS2 environment on the device and start the
orbbec_cameraROS node with theRGBmodule enabled, start a new terminal and run the following commands: - To set up QIR SDK and ROS2 environment on the device and start the
orbbec_cameraROS node with theDepthmodule enabled, start a new terminal and run the following commands: - To set up QIR SDK and ROS2 environment on the device and start the
orbbec_cameraROS node with theIMUmodule enabled, start a new terminal and run the following commands:
- To set up QIR SDK and ROS2 environment on the device and start the

