mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-09 22:29:48 +08:00
refactor: rename Gemini 301 series PID helper
This commit is contained in:
@@ -1372,7 +1372,7 @@ void OBCameraNodeDriver::initializeDevice(const std::shared_ptr<ob::Device> &dev
|
||||
}
|
||||
|
||||
const bool should_delay_stream_start = delay_stream_start_after_reconnect_.exchange(false) &&
|
||||
isGemini305SeriesPID(device_info_->getPid());
|
||||
isGemini301SeriesPID(device_info_->getPid());
|
||||
if (should_delay_stream_start) {
|
||||
std::this_thread::sleep_for(kStreamStartDelayAfterReconnect);
|
||||
}
|
||||
@@ -1604,8 +1604,8 @@ void OBCameraNodeDriver::startDevice(const std::shared_ptr<ob::DeviceList> &list
|
||||
if (isGmslCameraPID(pid)) {
|
||||
ob_camera_node_->startGmslTrigger();
|
||||
}
|
||||
// if (isGemini305SeriesPID(pid)) {
|
||||
// // Fixing 305 series hot-swap not outputting power
|
||||
// if (isGemini301SeriesPID(pid)) {
|
||||
// // Fixing 301 series hot-swap not outputting power
|
||||
// ob_camera_node_->startStreams();
|
||||
// }
|
||||
} catch (ob::Error &e) {
|
||||
|
||||
Reference in New Issue
Block a user