Skip to content

Commit

Permalink
fixed switch ldp
Browse files Browse the repository at this point in the history
  • Loading branch information
jian-dong committed Nov 28, 2024
1 parent f2203ec commit e57ae2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbbec_camera/src/ob_camera_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ void OBCameraNode::setupDevices() {
std::string d2d_mode = is_hardware_d2d ? "HW D2D" : "SW D2D";
RCLCPP_INFO_STREAM(logger_, "Depth process is " << d2d_mode);
}
if (device_->isPropertySupported(OB_PROP_LDP_BOOL, OB_PERMISSION_READ_WRITE)) {
if (device_->isPropertySupported(OB_PROP_LDP_BOOL, OB_PERMISSION_WRITE)) {
RCLCPP_INFO_STREAM(logger_, "Setting LDP to " << (enable_ldp_ ? "ON" : "OFF"));
TRY_TO_SET_PROPERTY(setBoolProperty, OB_PROP_LDP_BOOL, enable_ldp_);
}
Expand Down

0 comments on commit e57ae2a

Please sign in to comment.