|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
20 #ifndef DW_SENSORS_PLUGINS_LIDAR_DECODER_H_
21 #define DW_SENSORS_PLUGINS_LIDAR_DECODER_H_
31 #include <dw/core/base/Types.h>
32 #include <dw/sensors/lidar/Lidar.h>
89 const uint8_t* buffer,
117 const size_t length);
dwStatus _dwLidarDecoder_decodePacket(dwLidarDecodedPacket *output, const uint8_t *buffer, const size_t length)
Decodes a packet from the lidar, given a raw byte array and a specified decoding format.
dwStatus _dwLidarDecoder_release()
Releases the lidar decoder interface.
Holds constants for a given lidar.
size_t headerSize
Packet header size, in bytes.
float float32_t
Specifies POD types.
size_t maxPayloadSize
Packet max payload size, in bytes.
Defines the structure for a decoded lidar packet.
Defines the properties of the lidar.
dwStatus _dwLidarDecoder_initialize(const float32_t spinFrequency)
Initializes the lidar decoder interface.
dwStatus _dwLidarDecoder_synchronize(const uint8_t *buffer, const size_t length, size_t *remaining)
Determines whether a byte array of packet data has a valid lidar signature.
dwStatus _dwLidarDecoder_validatePacket(const uint8_t *buffer, const size_t length)
Determines whether a byte array of packet data is valid.
dwStatus
Status definition.
dwLidarProperties properties
Radar properties.
dwStatus _dwLidarDecoder_getConstants(_dwLidarDecoder_constants *constants)
Gets constants associated with this lidar sensor.