|
livox_mid360_core
C++ driver library for the Livox Mid-360 LiDAR
|
Parameters of discover(). More...
#include <livox/mid360/session.hpp>
Public Attributes | |
| std::vector< Endpoint > | targets |
| Unicast targets (ip:port). | |
| std::chrono::milliseconds | timeout {1000} |
| total time to wait for ACKs | |
| Ipv4 | bind_address {0, 0, 0, 0} |
| Local address to bind the discovery socket to (selects the interface for broadcast). | |
| std::stop_token | stop |
| Optional stop token: when a stop is requested the call returns kCancelled within about 100 ms (issue #8: the Device's reconnect thread must be interruptible). | |
| std::optional< DeviceType > | device_type |
| Keep only the devices of this type (#58); nullopt keeps every answer. | |
Parameters of discover().
| std::vector<Endpoint> livox::mid360::DiscoveryOptions::targets |
Unicast targets (ip:port).
Empty → broadcast to 255.255.255.255:kDiscoveryPort and wait for the whole timeout. With targets, returns as soon as all have answered.
| std::optional<DeviceType> livox::mid360::DiscoveryOptions::device_type |
Keep only the devices of this type (#58); nullopt keeps every answer.
A unicast target whose answer is filtered out still counts as answered.