livox_mid360_core
C++ driver library for the Livox Mid-360 LiDAR
Loading...
Searching...
No Matches
tag.hpp File Reference

Point tag byte (issue #34): four 2-bit confidence fields, section "Tag Information". More...

#include <cstdint>
#include <string>
#include <string_view>
#include "livox/mid360/export.hpp"

Go to the source code of this file.

Classes

struct  livox::mid360::TagInfo
 Decoded tag byte: bit 0-1 adjacent glue, 2-3 rain / fog / dust, 4-5 other, 6-7 reserved. More...

Namespaces

namespace  livox
 Livox LiDAR drivers.
namespace  livox::mid360
 The livox_mid360_core library: everything declared by the public headers.

Enumerations

enum class  livox::mid360::TagConfidence : std::uint8_t { kHigh = 0 , kMedium = 1 , kLow = 2 , kReserved = 3 }
 Confidence that a point is a normal return for one tag category; higher = more likely noise.

Functions

std::string_view livox::mid360::to_string (TagConfidence c) noexcept
 Name of the confidence, e.g. "medium".
std::string livox::mid360::to_string (const TagInfo &t)
 One line such as "glue=high particles=low other=high"; reserved is shown only when set.
constexpr TagInfo livox::mid360::decode_tag (std::uint8_t tag) noexcept
 Splits a raw tag byte into its four fields.
constexpr bool livox::mid360::is_noise (std::uint8_t tag, TagConfidence worst_accepted=TagConfidence::kHigh) noexcept
 True when the adjacent-glue or particle confidence is worse than worst_accepted; the other and reserved fields are not consulted.

Detailed Description

Point tag byte (issue #34): four 2-bit confidence fields, section "Tag Information".