|
livox_mid360_core
C++ driver library for the Livox Mid-360 LiDAR
|
Counters of one Device, snapshot via Device::stats(). Monotonic since open(). More...
#include <livox/mid360/event.hpp>
Public Attributes | |
| std::uint64_t | packets = 0 |
| data packets accepted (point cloud + IMU) | |
| std::uint64_t | points = 0 |
| samples delivered in Frames | |
| std::uint64_t | frames = 0 |
| Frames delivered. | |
| std::uint64_t | imu_samples = 0 |
| ImuSamples delivered. | |
| std::uint64_t | bad_packets = 0 |
| parse_data_packet failures | |
| std::uint64_t | dropped_packets = 0 |
| udp_cnt gaps (per source port) | |
| std::uint64_t | reordered = 0 |
| udp_cnt went backwards (duplicate / reordered) | |
| std::uint64_t | queue_drops = 0 |
| reserved for internal queues | |
| std::uint64_t | frame_cnt_fallback = 0 |
| times frame_cnt mode fell back to the time window | |
| std::uint64_t | type_switch_gaps = 0 |
| Point cloud udp_cnt gaps of exactly one packet at a pcl_data_type change. | |
| std::uint64_t | last_packet_time_ns = 0 |
| host receive time of the last packet, 0 = none | |
| std::uint64_t | pushes = 0 |
| 0x0102 pushes accepted. | |
| std::uint64_t | last_push_time_ns = 0 |
| host receive time of the last push, 0 = none | |
| std::uint64_t | disconnects = 0 |
| kDisconnected events raised | |
| std::uint64_t | reconnects = 0 |
| kReconnected events raised | |
| std::int64_t | time_offset_ns |
| kHostOffsetOnce: host - LiDAR, measured once (again after a sync loss) | |
| bool | time_offset_valid = false |
| time_offset_ns holds a measured offset | |
Firmware log | |
Firmware log (#44), see Device::on_firmware_log. | |
| std::uint64_t | log_chunks = 0 |
| 0x0300 pushes delivered (begin / end included) | |
| std::uint64_t | log_bytes = 0 |
| log payload bytes delivered | |
| std::uint64_t | log_gaps = 0 |
| kFirmwareLogGap events raised | |
| std::uint64_t | log_acks_sent = 0 |
| pushes that asked for an ACK and got one | |
| std::uint64_t | bad_log_packets = 0 |
| log-port datagrams that failed to parse | |
| std::uint64_t | last_log_time_ns = 0 |
| host receive time of the last push, 0 = none | |
Debug raw data | |
Debug raw data (#93), see Device::on_debug_data. | |
| std::uint64_t | debug_data_packets = 0 |
| datagrams received on the debug data socket | |
| std::uint64_t | debug_data_bytes = 0 |
| their payload bytes | |
| std::uint64_t | last_debug_data_time_ns = 0 |
| host receive time of the last one, 0 = none | |
Counters of one Device, snapshot via Device::stats(). Monotonic since open().
| std::uint64_t livox::mid360::DeviceStats::type_switch_gaps = 0 |
Point cloud udp_cnt gaps of exactly one packet at a pcl_data_type change.
A Mid-360 skips one udp_cnt at every switch without losing a packet, so these are not in dropped_packets (#271).
| std::uint64_t livox::mid360::DeviceStats::pushes = 0 |
0x0102 pushes accepted.
A push is counted once it has been applied: whoever reads the new count also sees the work_state() / pushed_status() it established and the effects of the callbacks it ran.
| std::int64_t livox::mid360::DeviceStats::time_offset_ns |
kHostOffsetOnce: host - LiDAR, measured once (again after a sync loss)