mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 20:17:47 +08:00
Fix the bug that hot-plugging and reconnecting failed when starting multiple cameras using serial_number
This commit is contained in:
@@ -252,7 +252,6 @@ void OBCameraNodeDriver::resetDevice() {
|
|||||||
device_info_.reset();
|
device_info_.reset();
|
||||||
device_connected_ = false;
|
device_connected_ = false;
|
||||||
device_unique_id_.clear();
|
device_unique_id_.clear();
|
||||||
serial_number_.clear();
|
|
||||||
reset_device_flag_ = false;
|
reset_device_flag_ = false;
|
||||||
}
|
}
|
||||||
RCLCPP_INFO_STREAM(logger_, "Reset device uid: " << device_unique_id_ << " done");
|
RCLCPP_INFO_STREAM(logger_, "Reset device uid: " << device_unique_id_ << " done");
|
||||||
|
|||||||
Reference in New Issue
Block a user