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

Per-Device settings, passed to Device::open(). More...

#include <livox/mid360/device.hpp>

Public Attributes

HostSetup host_setup
 Ports, data type and IMU enable.
TimestampPolicy timestamp_policy = TimestampPolicy::kHostOffsetOnce
 point / IMU time base
FramePolicy frame_policy
 how packets are cut into Frames; see set_frame_policy()
SessionOptions session
 command socket; bind_address defaults to the Context's
bool verify_crc = true
 Verify the CRC32 of every data packet; failures count in DeviceStats::bad_packets.
std::chrono::milliseconds stats_interval {1000}
 Period of Event::Kind::kStats; 0 disables it.
ReconnectOptions reconnect
 disconnect detection and automatic recovery
std::uint16_t lidar_log_port = kLogPort
 LiDAR-side port that 0x0301 is sent to (#44). Tests point it at the simulator.
std::uint16_t lidar_debug_data_port = kLogPort
 LiDAR-side port that 0x0303 is sent to (#93): the log port; the command port does not answer.

Detailed Description

Per-Device settings, passed to Device::open().

Member Data Documentation

◆ host_setup

HostSetup livox::mid360::DeviceOptions::host_setup

Ports, data type and IMU enable.

ip and the ports are taken from the Context; work_tgt_mode is ignored (use start_sampling()).


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