mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-06 13:07:47 +08:00
fix: add support for 40Hz scan rate
This commit is contained in:
@@ -372,6 +372,8 @@ OBLiDARScanRate OBScanRateFromInt(const int rate) {
|
||||
return OB_LIDAR_SCAN_25HZ;
|
||||
} else if (rate == 30) {
|
||||
return OB_LIDAR_SCAN_30HZ;
|
||||
} else if (rate == 40) {
|
||||
return OB_LIDAR_SCAN_40HZ;
|
||||
} else {
|
||||
return OB_LIDAR_SCAN_UNKNOWN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user