|
livox_mid360_core
C++ driver library for the Livox Mid-360 LiDAR
|
Debug raw data collection (issue #93): command 0x0303 switches on a diagnostic stream that Livox support asks for ("debug raw data" in the protocol document, "debug point cloud" in Livox-SDK2). More...
#include <array>#include <cstddef>#include <cstdint>#include <expected>#include <span>#include "livox/mid360/export.hpp"#include "livox/mid360/protocol.hpp"#include "livox/mid360/transport.hpp"Go to the source code of this file.
Classes | |
| struct | livox::mid360::DebugDataControlRequest |
| 0x0303 request: start (enable) or stop the stream towards host_ip:host_port. More... | |
| struct | livox::mid360::DebugDataPacket |
| What Device hands to a DebugDataCallback: one datagram of the stream, not interpreted (receive thread; data is valid only during the callback, copy it to keep it). More... | |
Namespaces | |
| namespace | livox |
| Livox LiDAR drivers. | |
| namespace | livox::mid360 |
| The livox_mid360_core library: everything declared by the public headers. | |
Functions | |
| std::array< std::byte, kDebugDataControlSize > | livox::mid360::encode_debug_data_control (const DebugDataControlRequest &req) noexcept |
| 0x0303 payload: {enable u8, host_ip u8[4], host_port u16, reserved u16}, little-endian. | |
| std::expected< DebugDataControlRequest, ParseError > | livox::mid360::parse_debug_data_control (std::span< const std::byte > data) noexcept |
| enable is any non-zero byte; bytes after the ninth are ignored. | |
Variables | |
| constexpr std::size_t | livox::mid360::kDebugDataControlSize = 9 |
| Size of the 0x0303 request payload in bytes. | |
Debug raw data collection (issue #93): command 0x0303 switches on a diagnostic stream that Livox support asks for ("debug raw data" in the protocol document, "debug point cloud" in Livox-SDK2).
The stream itself is opaque to this SDK. The request layout follows the protocol document rev v1.4.12; ports and behaviour were checked on a Mid-360 (firmware 13.18.0244, #106, docs/protocol_notes.md). Unrelated to the firmware log (firmware_log.hpp).