feat: add color_denoising_level launch argument and update handling in OBCameraNode

This commit is contained in:
ob-yalian
2026-04-17 16:53:26 +08:00
parent 3dc25a9be4
commit 5f5ca3ad42
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1155,7 +1155,7 @@ void OBCameraNode::setupDevices() {
RCLCPP_INFO_STREAM(logger_, "Current color backlight compensation: " << device_->getIntProperty(
OB_PROP_COLOR_BACKLIGHT_COMPENSATION_INT));
}
if (isGemini335PID(pid_) && color_denoising_level_ != -1 &&
if (color_denoising_level_ != -1 &&
device_->isPropertySupported(OB_PROP_COLOR_DENOISING_LEVEL_INT, OB_PERMISSION_WRITE)) {
TRY_TO_SET_PROPERTY(setIntProperty, OB_PROP_COLOR_DENOISING_LEVEL_INT, color_denoising_level_);
RCLCPP_INFO_STREAM(logger_, "Current color denoising level: "