|
livox_mid360_core
C++ driver library for the Livox Mid-360 LiDAR
|
How a Device cuts the packet stream into Frames (#6). More...
#include <livox/mid360/frame.hpp>
Public Types | |
| enum class | Mode : std::uint8_t { kFrameCounter , kTimeWindow } |
| What closes a frame besides the conditions common to both modes. More... | |
Public Attributes | |
| Mode | mode = Mode::kFrameCounter |
| default: follow the header frame_cnt | |
| std::chrono::nanoseconds | window {std::chrono::milliseconds{100}} |
| kTimeWindow's period. | |
How a Device cuts the packet stream into Frames (#6).
In both modes a change of the header time_type, or a packet window or more before the frame's base time (a clock stepped back, #145), also closes the frame.
|
strong |
What closes a frame besides the conditions common to both modes.
| Enumerator | |
|---|---|
| kFrameCounter | close on a change of header frame_cnt; a jump still closes one frame |
| kTimeWindow | close every window of point time (livox_ros_driver2 publish period) |
| std::chrono::nanoseconds livox::mid360::FramePolicy::window {std::chrono::milliseconds{100}} |
kTimeWindow's period.
Also, in both modes, the step back that closes a frame, the idle close, and half the time kFrameCounter waits for a frame_cnt change before falling back.