livox_mid360_core
C++ driver library for the Livox Mid-360 LiDAR
Loading...
Searching...
No Matches
livox::mid360::DataPacketHeader Struct Reference

The 36-byte data packet header as decoded by parse_data_packet(). More...

#include <livox/mid360/protocol.hpp>

Public Attributes

std::uint8_t version = 0
 kProtocolVersion
std::uint16_t length = 0
 whole UDP payload, from version
std::uint16_t time_interval = 0
 unit 0.1 us; last point time - first point time
std::uint16_t dot_num = 0
 number of samples in data
std::uint16_t udp_cnt = 0
 +1 per packet
std::uint8_t frame_cnt = 0
 invalid for non-repetitive scan
DataType data_type = DataType::kCartesian32
 format of the samples in data
TimeType time_type = TimeType::kNoSync
 clock source of timestamp_ns
std::array< std::uint8_t, 12 > reserved {}
 wiki: "reserved"; diagram labels part of it pack_info
std::uint32_t crc32 = 0
 over timestamp + data
std::uint64_t timestamp_ns = 0
 time of the first sample

Detailed Description

The 36-byte data packet header as decoded by parse_data_packet().


The documentation for this struct was generated from the following file: