mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-06 04:57:45 +08:00
fix: update device PIDs and improve logging messages for Gemini series
This commit is contained in:
@@ -3155,8 +3155,7 @@ void OBCameraNode::setDepthAutoExposureROI() {
|
||||
return;
|
||||
}
|
||||
if (isGemini305SeriesPID(pid_) && ae_reference_stream_ == "color") {
|
||||
RCLCPP_WARN_STREAM(logger_,
|
||||
"Skip setting depth AE ROI because AE Reference Stream is color");
|
||||
RCLCPP_WARN_STREAM(logger_, "Skip setting depth AE ROI because AE Reference Stream is color");
|
||||
depth_roi_has_run = true;
|
||||
return;
|
||||
}
|
||||
@@ -3201,8 +3200,7 @@ void OBCameraNode::setColorAutoExposureROI() {
|
||||
return;
|
||||
}
|
||||
if (isGemini305SeriesPID(pid_) && ae_reference_stream_ == "depth") {
|
||||
RCLCPP_WARN_STREAM(logger_,
|
||||
"Skip setting color AE ROI because AE Reference Stream is depth");
|
||||
RCLCPP_WARN_STREAM(logger_, "Skip setting color AE ROI because AE Reference Stream is depth");
|
||||
color_roi_has_run = true;
|
||||
return;
|
||||
}
|
||||
@@ -4435,7 +4433,8 @@ bool OBCameraNode::isGemini335PID(uint32_t pid) {
|
||||
pid == GEMINI_335L_PID || pid == GEMINI_330L_PID || pid == GEMINI_336L_PID ||
|
||||
pid == GEMINI_335LG_PID || pid == GEMINI_336LG_PID || pid == GEMINI_335LE_PID ||
|
||||
pid == GEMINI_336LE_PID || pid == CUSTOM_ADVANTECH_GEMINI_336_PID ||
|
||||
pid == CUSTOM_ADVANTECH_GEMINI_336L_PID || pid == GEMINI_338_PID;
|
||||
pid == CUSTOM_ADVANTECH_GEMINI_336L_PID || pid == GEMINI_338_PID ||
|
||||
pid == GEMINI_338L_PID || pid == GEMINI_338LE_PID || pid == GEMINI_338LG_PID;
|
||||
}
|
||||
|
||||
bool OBCameraNode::isGemini435LePID(uint32_t pid) { return pid == GEMINI_435Le_PID; }
|
||||
|
||||
Reference in New Issue
Block a user