|
livox_mid360_core
C++ driver library for the Livox Mid-360 LiDAR
|
One return, same semantics as livox_ros_driver2's CustomPoint. More...
#include <livox/mid360/frame.hpp>
Public Member Functions | |
| constexpr TagInfo | tag_info () const noexcept |
| All four fields of the tag byte. | |
| constexpr TagConfidence | adjacent_glue () const noexcept |
| Tag bit 0-1: glue points between adjacent objects. | |
| constexpr TagConfidence | particles () const noexcept |
| Tag bit 2-3: rain, fog, dust. | |
| constexpr TagConfidence | other () const noexcept |
| Tag bit 4-5: other properties. | |
| constexpr bool | is_noise (TagConfidence worst_accepted=TagConfidence::kHigh) const noexcept |
| Glue or particle confidence worse than worst_accepted; see is_noise(uint8_t, ...). | |
Public Attributes | |
| float | x = 0 |
| metres, LiDAR frame | |
| float | y = 0 |
| metres, LiDAR frame | |
| float | z = 0 |
| metres, LiDAR frame | |
| std::uint8_t | reflectivity = 0 |
| 0-255 | |
| std::uint8_t | tag = 0 |
| raw tag byte; decoded by the accessors below (#34) | |
| std::uint8_t | line = 0 |
| Mid-360 has no physical lines: sample index % 4. | |
| std::uint32_t | offset_ns = 0 |
| sample time - Frame::base_time_ns | |
One return, same semantics as livox_ros_driver2's CustomPoint.
Spherical packets are converted to Cartesian before they reach a Frame.