feat: add color_anti_flicker launch argument and update handling in OBCameraNode

This commit is contained in:
ob-yalian
2026-04-17 16:44:49 +08:00
parent 21983b28f4
commit 3dc25a9be4
5 changed files with 5 additions and 4 deletions
+1 -2
View File
@@ -1161,8 +1161,7 @@ void OBCameraNode::setupDevices() {
RCLCPP_INFO_STREAM(logger_, "Current color denoising level: "
<< device_->getIntProperty(OB_PROP_COLOR_DENOISING_LEVEL_INT));
}
if (isGemini335PID(pid_) &&
device_->isPropertySupported(OB_PROP_COLOR_ANTI_FLICKER_BOOL, OB_PERMISSION_WRITE)) {
if (device_->isPropertySupported(OB_PROP_COLOR_ANTI_FLICKER_BOOL, OB_PERMISSION_WRITE)) {
TRY_TO_SET_PROPERTY(setBoolProperty, OB_PROP_COLOR_ANTI_FLICKER_BOOL, color_anti_flicker_);
RCLCPP_INFO_STREAM(
logger_, "Current color anti-flicker to "