feat: add support for Gemini 305 series in camera node and related components

This commit is contained in:
ob-yalian
2026-04-03 17:34:55 +08:00
parent 9aa802083d
commit 17c7ceb2b1
5 changed files with 18 additions and 11 deletions
+2 -2
View File
@@ -665,13 +665,13 @@ void OBCameraNode::setAeRoiCallback(const std::shared_ptr<SetArrays ::Request>&
std::shared_ptr<SetArrays::Response>& response,
const stream_index_pair& stream_index) {
auto stream = stream_index.first;
if (device_->getDeviceInfo()->getPid() == GEMINI_305_PID &&
if (isGemini305SeriesPID(device_->getDeviceInfo()->getPid()) &&
(stream != OB_STREAM_COLOR && ae_mode_ == "colorbased")) {
response->success = false;
response->message = "AE MODE is colorbased, other sensors setting is not supported";
return;
}
if (device_->getDeviceInfo()->getPid() == GEMINI_305_PID &&
if (isGemini305SeriesPID(device_->getDeviceInfo()->getPid()) &&
(stream != OB_STREAM_DEPTH && ae_mode_ == "depthbased")) {
response->success = false;
response->message = "AE MODE is depthbased, other sensors sensor setting is not supported";