mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 03:57:46 +08:00
fix: standardize PID naming for Gemini 338 series in constants and service files
This commit is contained in:
@@ -139,8 +139,8 @@ const int32_t GEMINI_435Le_PID = 0x815; // Gemini 435Le
|
||||
const int32_t GEMINI_305_PID = 0x0840; // Gemini 305
|
||||
const int32_t GEMINI_305_PID2 = 0x0841; // Gemini 305
|
||||
const int32_t GEMINI_305G_PID = 0x0842; // Gemini 305g
|
||||
const int32_t GEMINI_338Lg_PID = 0x081A; // Gemini 338Lg
|
||||
const int32_t GEMINI_338Le_PID = 0x081B; // Gemini 338Le
|
||||
const int32_t GEMINI_338LG_PID = 0x081A; // Gemini 338Lg
|
||||
const int32_t GEMINI_338LE_PID = 0x081B; // Gemini 338Le
|
||||
const int32_t GEMINI_338L_PID = 0x081C; // Gemini 338L
|
||||
const int32_t GEMINI_331L_PID = 0x081D; // Gemini 331L
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ bool isGemini330SeriesForDisparity(uint32_t pid) {
|
||||
return pid == GEMINI_335_PID || pid == GEMINI_336_PID || pid == GEMINI_330_PID ||
|
||||
pid == GEMINI_335L_PID || pid == GEMINI_336L_PID || pid == GEMINI_330L_PID ||
|
||||
pid == GEMINI_335LG_PID || pid == GEMINI_335LE_PID || pid == GEMINI_338_PID ||
|
||||
pid == GEMINI_338Lg_PID || pid == GEMINI_338Le_PID || pid == GEMINI_338L_PID ||
|
||||
pid == GEMINI_338LG_PID || pid == GEMINI_338LE_PID || pid == GEMINI_338L_PID ||
|
||||
pid == GEMINI_331L_PID;
|
||||
}
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ class MultiCameraSubscriber : public rclcpp::Node {
|
||||
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 == GEMINI_338Lg_PID || pid == GEMINI_338Le_PID || pid == GEMINI_338L_PID ||
|
||||
pid == GEMINI_338LG_PID || pid == GEMINI_338LE_PID || pid == GEMINI_338L_PID ||
|
||||
pid == GEMINI_331L_PID;
|
||||
}
|
||||
void params_init() {
|
||||
|
||||
Reference in New Issue
Block a user