mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 12:07:46 +08:00
Fix the issue that the camera could not start normally
This commit is contained in:
@@ -247,9 +247,7 @@ void OBCameraNodeDriver::checkConnectTimer() {
|
||||
RCLCPP_DEBUG_STREAM(logger_,
|
||||
"checkConnectTimer: device " << serial_number_ << " not connected");
|
||||
return;
|
||||
} else if (!ob_camera_node_) {
|
||||
device_connected_.store(false);
|
||||
} else if (!ob_lidar_node_) {
|
||||
} else if (!ob_camera_node_ && !ob_lidar_node_) {
|
||||
device_connected_.store(false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user