feat: update image saving functionality and metadata handling in camera node

This commit is contained in:
ob-yalian
2026-08-19 11:15:08 +08:00
parent afc64cbc70
commit 7e3adade65
4 changed files with 94 additions and 59 deletions
-11
View File
@@ -334,8 +334,6 @@ Launch camera node
source ~/ros2_ws/install/setup.bash
ros2 run orbbec_camera list_devices_node # Check if the camera is connected
ros2 launch orbbec_camera gemini_330_series.launch.py # Or other launch file, see below table
# Optional: publish OrbbecViewer-style colorized depth on /camera/depth/image_raw
ros2 launch orbbec_camera gemini_330_series.launch.py depth_colorizer_mode:=jet
```
- On terminal 2
@@ -369,15 +367,6 @@ ros2 service call /camera/get_sdk_version orbbec_camera_msgs/srv/GetString '{}'
For more usage details, please refer to the official [OrbbecSDK ROS2 documentation](https://orbbec.github.io/OrbbecSDK_ROS2/en/source/camera_devices/4_application_guide/application_guide.html)
`depth_colorizer_mode` is a string render mode:
- `none`: disable colorization and publish the raw `16UC1` depth image;
- `jet`: use the OrbbecViewer-style dynamic histogram, gamma, and Jet mapping;
- `jet_inv`: use the OrbbecViewer-style inverse Jet mapping;
- `gray`: use the OrbbecViewer-style grayscale mapping;
The `jet` and `jet_inv` modes publish `rgb8`; `gray` publishes `mono8` on `depth/image_raw`.
## Supported Devices
Currently, the following devices are supported by the OrbbecSDK ROS2 Wrapper v2-main branch. More devices support will be added in the near future. If you can not find your device in the table below, try the [main](https://github.com/orbbec/OrbbecSDK_ROS2/tree/main) branch.