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

One package (packet) of a frame as read from a file. More...

#include <livox/mid360/lvx2.hpp>

Public Member Functions

DataPacketView to_data_packet_view () const noexcept
 A DataPacketView over points (dot_num from the length, time_interval 0, no CRC).

Public Attributes

std::uint64_t frame_index = 0
 index of the file frame that holds the package
std::uint32_t lidar_id = 0
 Lvx2DeviceInfo::lidar_id of the recording device.
std::uint8_t lidar_type = 0
 reserved in the spec
std::uint8_t timestamp_type = 0
 TimeType value of the recorded packet.
std::uint64_t timestamp_ns = 0
 timestamp of the recorded packet
std::uint16_t udp_counter = 0
 udp_cnt of the recorded packet
DataType data_type = DataType::kCartesian32
 kCartesian32 / kCartesian16 only
std::uint8_t frame_counter = 0
 frame_cnt of the recorded packet
std::span< const std::byte > points
 the packed point samples

Detailed Description

One package (packet) of a frame as read from a file.

points aliases the reader's frame buffer and is valid until the next next_packet() / open() call.


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