38#ifndef DW_SENSORS_PLUGINS_LIDAR_DECODER_H_
39#define DW_SENSORS_PLUGINS_LIDAR_DECODER_H_
107 const uint8_t* buffer,
108 const size_t length);
135 const size_t length);
NVIDIA DriveWorks API: Lidar
NVIDIA DriveWorks API: Core Types
dwStatus
Status definition.
float float32_t
Specifies POD types.
Defines the structure for a decoded lidar packet.
Defines the properties of the lidar.
size_t headerSize
Packet header size, in bytes.
dwLidarProperties properties
Radar properties.
size_t maxPayloadSize
Packet max payload size, in bytes.
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_getConstants(_dwLidarDecoder_constants *constants)
Gets constants associated with this lidar sensor.
dwStatus _dwLidarDecoder_release()
Releases the lidar decoder interface.
dwStatus _dwLidarDecoder_initialize(const float32_t spinFrequency)
Initializes the lidar decoder interface.
dwStatus _dwLidarDecoder_validatePacket(const uint8_t *buffer, const size_t length)
Determines whether a byte array of packet data is valid.
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.
Holds constants for a given lidar.