Skip to content

Commit a5bd9fa

Browse files
committed
Add custom Gemini 336&Gemini 336L product id
1 parent 9994a41 commit a5bd9fa

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

orbbec_camera/include/orbbec_camera/constants.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,10 @@ const int32_t GEMINI_330L_PID = 0x0805; // Gemini 336L
128128
const int32_t GEMINI_336L_PID = 0x0807; // Gemini 335Lg
129129
const int32_t GEMINI_335LG_PID = 0x080B; // Gemini 336Lg
130130
const int32_t GEMINI_336LG_PID = 0x080D;
131-
const int32_t GEMINI_335LE_PID = 0x080E; // Gemini 335Le
132-
const int32_t GEMINI_336LE_PID = 0x0810; // Gemini 335Le
133-
const int32_t DABAI_MAX_PID = 0x069a; // dabai max
131+
const int32_t GEMINI_335LE_PID = 0x080E; // Gemini 335Le
132+
const int32_t GEMINI_336LE_PID = 0x0810; // Gemini 335Le
133+
const int32_t CUSTOM_ADVANTECH_GEMINI_336_PID = 0x0816; // Custom Advantech Gemini 336
134+
const int32_t CUSTOM_ADVANTECH_GEMINI_336L_PID = 0x0817; // Custom Advantech Gemini 336L
135+
const int32_t DABAI_MAX_PID = 0x069a; // dabai max
134136

135137
} // namespace orbbec_camera

orbbec_camera/src/ob_camera_node.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -3369,7 +3369,8 @@ bool OBCameraNode::isGemini335PID(uint32_t pid) {
33693369
return pid == GEMINI_335_PID || pid == GEMINI_330_PID || pid == GEMINI_336_PID ||
33703370
pid == GEMINI_335L_PID || pid == GEMINI_330L_PID || pid == GEMINI_336L_PID ||
33713371
pid == GEMINI_335LG_PID || pid == GEMINI_336LG_PID || pid == GEMINI_335LE_PID ||
3372-
pid == GEMINI_336LE_PID;
3372+
pid == GEMINI_336LE_PID || pid == CUSTOM_ADVANTECH_GEMINI_336_PID ||
3373+
pid == CUSTOM_ADVANTECH_GEMINI_336L_PID;
33733374
}
33743375

33753376
orbbec_camera_msgs::msg::IMUInfo OBCameraNode::createIMUInfo(

0 commit comments

Comments
 (0)