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

Key 0x800E, u16 bitfield split into four subsystem levels (issue #55). More...

#include <livox/mid360/keys.hpp>

Public Member Functions

constexpr bool operator== (const DiagStatus &) const noexcept=default
 Field-wise equality.
constexpr DiagLevel worst () const noexcept
 Highest level among the four subsystems.
constexpr bool normal () const noexcept
 worst() == kNormal.

Public Attributes

DiagLevel system = DiagLevel::kNormal
 bit 0-3
DiagLevel scan = DiagLevel::kNormal
 bit 4-7
DiagLevel ranging = DiagLevel::kNormal
 bit 8-11
DiagLevel communication = DiagLevel::kNormal
 bit 12-15

Detailed Description

Key 0x800E, u16 bitfield split into four subsystem levels (issue #55).

Values above 3 in a nibble are rejected by decode_diag_status() with kOutOfRange.


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