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