support bi-directional mavlink
Signed-off-by: Onur Özkan <work@onurozkan.dev>
This commit is contained in:
1 parent
2d35d935b4
commit
d32d9f4d36
16 files changed
+651
-344
No files matched your search
@@ -7,11 +7,11 @@ use kaptan_time::Timestamp;
|
||||
|
||||
/// A latest-value IMU mailbox.
|
||||
///
|
||||
/// One IMU worker publishes and one telemetry worker consumes. Publishing a
|
||||
/// newer sample intentionally replaces an unread older sample: telemetry is a
|
||||
/// best-effort observer and must never delay acquisition. The sequence counter
|
||||
/// is a seqlock; odd values indicate a writer and even values identify a
|
||||
/// stable snapshot.
|
||||
/// One IMU worker publishes and one output worker consumes. Publishing a newer
|
||||
/// sample intentionally replaces an unread older sample: an output observer is
|
||||
/// best-effort and must never delay acquisition. The sequence counter is a
|
||||
/// seqlock; odd values indicate a writer and even values identify a stable
|
||||
/// snapshot.
|
||||
pub struct LatestImuMailbox {
|
||||
sequence: AtomicU32,
|
||||
timestamp_low: AtomicU32,
|
||||
|
||||
Reference in new issue
Block a user