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

Parameters of Session::connect(). More...

#include <livox/mid360/session.hpp>

Public Attributes

std::uint16_t host_command_port = kDefaultHostCommandPort
 0 = ephemeral
Ipv4 bind_address {0, 0, 0, 0}
 local address of the command socket
bool verify_serial = true
 On connect, read key 0x8000 and compare with the discovered serial number.
RequestOptions request
 default for calls that pass no RequestOptions
std::chrono::milliseconds state_poll_interval {100}
 wait_for_state() poll period
std::stop_token stop
 Optional stop token checked by every blocking call (like cancel(), but level-triggered and shared by connect() as well).

Detailed Description

Parameters of Session::connect().

Member Data Documentation

◆ stop

std::stop_token livox::mid360::SessionOptions::stop

Optional stop token checked by every blocking call (like cancel(), but level-triggered and shared by connect() as well).

A stop makes the call return kCancelled within about 100 ms.


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