[launch]Add disparity_range_mode param

This commit is contained in:
jj
2025-01-14 18:48:01 +08:00
parent 640abcb0d1
commit 11c0422bc3
5 changed files with 44 additions and 27 deletions
+1 -1
View File
@@ -481,7 +481,7 @@ void OBCameraNodeDriver::startDevice(const std::shared_ptr<ob::DeviceList> &list
}
std::this_thread::sleep_for(std::chrono::milliseconds(connection_delay_));
int try_lock_count = 0;
int max_try_lock_count = 50;
int max_try_lock_count = 5;
while (try_lock_count < max_try_lock_count) {
int try_lock_result = pthread_mutex_trylock(orb_device_lock_);