|
livox_mid360_core
C++ driver library for the Livox Mid-360 LiDAR
|
Error of a Session call or of discover(). Only the fields named by kind are meaningful. More...
#include <livox/mid360/session.hpp>
Public Attributes | |
| SessionErrorKind | kind = SessionErrorKind::kTransport |
| what went wrong | |
| std::uint16_t | cmd_id = 0 |
| command in flight, 0 when not applicable | |
| std::uint32_t | attempts = 0 |
| datagrams sent for this request | |
| std::optional< TransportError > | transport |
| kTransport only | |
| std::optional< ParseError > | parse |
| kBadResponse when the ACK payload did not parse | |
| RetCode | ret_code = RetCode::kSuccess |
| kLidarRejected only | |
| std::uint16_t | error_key = 0 |
| kLidarRejected on 0x0100 (from the ACK) and 0x0101 (for kParamNotSupport the first requested key the ACK leaves out), kInvalidArgument | |
| std::optional< WorkState > | work_state |
| kUnexpectedState only | |
Error of a Session call or of discover(). Only the fields named by kind are meaningful.