#include <stdint.h>
Go to the source code of this file.
|
| enum | DeviceType { kDeviceTypeHub = 0,
kDeviceTypeLidarMid40 = 1,
kDeviceTypeLidarTele = 2,
kDeviceTypeLidarHorizon = 3
} |
| |
| enum | LidarState {
kLidarStateInit = 0,
kLidarStateNormal = 1,
kLidarStatePowerSaving = 2,
kLidarStateStandBy = 3,
kLidarStateError = 4,
kLidarStateUnknown = 5
} |
| |
| enum | LidarMode { kLidarModeNormal = 1,
kLidarModePowerSaving = 2,
kLidarModeStandby = 3
} |
| |
| enum | LidarFeature { kLidarFeatureNone = 0,
kLidarFeatureRainFog = 1
} |
| |
| enum | LidarIpMode { kLidarDynamicIpMode = 0,
kLidarStaticIpMode = 1
} |
| |
| enum | LivoxStatus {
kStatusSendFailed = -9,
kStatusHandlerImplNotExist = -8,
kStatusInvalidHandle = -7,
kStatusChannelNotExist = -6,
kStatusNotEnoughMemory = -5,
kStatusTimeout = -4,
kStatusNotSupported = -3,
kStatusNotConnected = -2,
kStatusFailure = -1,
kStatusSuccess = 0
} |
| |
| enum | DeviceEvent { kEventConnect = 0,
kEventDisconnect = 1,
kEventStateChange = 2,
kEventHubConnectionChange = 3
} |
| |
| enum | TimestampType {
kTimestampTypeNoSync = 0,
kTimestampTypePtp = 1,
kTimestampTypeRsvd = 2,
kTimestampTypePpsGps = 3,
kTimestampTypePps = 4,
kTimestampTypeUnknown = 5
} |
| |
| enum | PointDataType {
kCartesian,
kSpherical,
kExtendCartesian,
kExtendSpherical,
kDualExtendCartesian,
kDualExtendSpherical,
kImu,
kMaxPointDataType
} |
| |
| enum | PointCloudReturnMode { kFirstReturn,
kStrongestReturn,
kDualReturn
} |
| |
| enum | ImuFreq { kImuFreq0Hz,
kImuFreq200Hz
} |
| |
◆ kBroadcastCodeSize
| #define kBroadcastCodeSize 16 |
◆ kMaxLidarCount
| #define kMaxLidarCount 32 |
◆ LIVOX_SDK_MAJOR_VERSION
| #define LIVOX_SDK_MAJOR_VERSION 2 |
◆ LIVOX_SDK_MINOR_VERSION
| #define LIVOX_SDK_MINOR_VERSION 0 |
◆ LIVOX_SDK_PATCH_VERSION
| #define LIVOX_SDK_PATCH_VERSION 0 |
◆ livox_status
◆ DeviceEvent
Device update type, indicating the change of device connection or working state.
| Enumerator |
|---|
| kEventConnect | Device is connected.
|
| kEventDisconnect | Device is removed.
|
| kEventStateChange | Device working state changes or an error occurs.
|
| kEventHubConnectionChange | Hub is connected or LiDAR unit(s) is/are removed.
|
Definition at line 87 of file livox_def.h.
◆ DeviceType
Device type.
| Enumerator |
|---|
| kDeviceTypeHub | Livox Hub.
|
| kDeviceTypeLidarMid40 | Mid-40.
|
| kDeviceTypeLidarTele | Tele.
|
| kDeviceTypeLidarHorizon | Horizon.
|
Definition at line 33 of file livox_def.h.
◆ ImuFreq
IMU push frequency.
| Enumerator |
|---|
| kImuFreq0Hz | IMU push closed.
|
| kImuFreq200Hz | IMU push frequency 200Hz.
|
Definition at line 124 of file livox_def.h.
◆ LidarFeature
Lidar feature.
| Enumerator |
|---|
| kLidarFeatureNone | No feature.
|
| kLidarFeatureRainFog | Rain and fog feature.
|
Definition at line 58 of file livox_def.h.
◆ LidarIpMode
Lidar IP mode.
| Enumerator |
|---|
| kLidarDynamicIpMode | Dynamic IP.
|
| kLidarStaticIpMode | Static IP.
|
Definition at line 64 of file livox_def.h.
◆ LidarMode
Lidar mode.
| Enumerator |
|---|
| kLidarModeNormal | Normal mode.
|
| kLidarModePowerSaving | Power-saving mode.
|
| kLidarModeStandby | Standby mode.
|
Definition at line 51 of file livox_def.h.
◆ LidarState
Lidar state.
| Enumerator |
|---|
| kLidarStateInit | Initialization state.
|
| kLidarStateNormal | Normal work state.
|
| kLidarStatePowerSaving | Power-saving state.
|
| kLidarStateStandBy | Standby state.
|
| kLidarStateError | Error state.
|
| kLidarStateUnknown | Unknown state.
|
Definition at line 41 of file livox_def.h.
◆ LivoxStatus
Function return value definition.
| Enumerator |
|---|
| kStatusSendFailed | Command send failed.
|
| kStatusHandlerImplNotExist | Handler implementation not exist.
|
| kStatusInvalidHandle | Device handle invalid.
|
| kStatusChannelNotExist | Command channel not exist.
|
| kStatusNotEnoughMemory | No enough memory.
|
| kStatusTimeout | Operation timeouts.
|
| kStatusNotSupported | Operation is not supported on this device.
|
| kStatusNotConnected | Requested device is not connected.
|
| kStatusFailure | Failure.
|
| kStatusSuccess | Success.
|
Definition at line 70 of file livox_def.h.
◆ PointCloudReturnMode
Point cloud return mode.
| Enumerator |
|---|
| kFirstReturn | First single return mode .
|
| kStrongestReturn | Strongest single return mode.
|
| kDualReturn | Dual return mode.
|
Definition at line 117 of file livox_def.h.
◆ PointDataType
Point data type.
| Enumerator |
|---|
| kCartesian | Cartesian coordinate point cloud.
|
| kSpherical | Spherical coordinate point cloud.
|
| kExtendCartesian | Extend cartesian coordinate point cloud.
|
| kExtendSpherical | Extend spherical coordinate point cloud.
|
| kDualExtendCartesian | Dual extend cartesian coordinate point cloud.
|
| kDualExtendSpherical | Dual extend spherical coordinate point cloud.
|
| kImu | IMU data.
|
| kMaxPointDataType | Max Point Data Type.
|
Definition at line 105 of file livox_def.h.
◆ TimestampType
Timestamp sync mode define.
| Enumerator |
|---|
| kTimestampTypeNoSync | No sync signal mode.
|
| kTimestampTypePtp | 1588v2.0 PTP sync mode.
|
| kTimestampTypeRsvd | Reserved use.
|
| kTimestampTypePpsGps | pps+gps sync mode.
|
| kTimestampTypePps | pps only sync mode.
|
| kTimestampTypeUnknown | Unknown mode.
|
Definition at line 95 of file livox_def.h.