mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-06 13:07:47 +08:00
feat: add color_denoising_level launch argument and update handling in OBCameraNode
This commit is contained in:
@@ -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: "
|
||||
|
||||
Reference in New Issue
Block a user