mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-05 20:47:46 +08:00
fixed multi camera start
This commit is contained in:
@@ -205,4 +205,15 @@ OBFormat OBFormatFromString(const std::string &format) {
|
||||
}
|
||||
}
|
||||
|
||||
std::string ObDeviceTypeToString(const OBDeviceType &type) {
|
||||
switch (type) {
|
||||
case OBDeviceType::OB_STRUCTURED_LIGHT_BINOCULAR_CAMERA:
|
||||
return "structured light binocular camera";
|
||||
case OBDeviceType::OB_STRUCTURED_LIGHT_MONOCULAR_CAMERA:
|
||||
return "structured light monocular camera";
|
||||
case OBDeviceType::OB_TOF_CAMERA:
|
||||
return "tof camera";
|
||||
}
|
||||
return "unknown technology camera";
|
||||
}
|
||||
} // namespace orbbec_camera
|
||||
|
||||
Reference in New Issue
Block a user