fix: hide cursor natively, keep OSD on top, pin codec extension contract (#3)
This commit is contained in:
@@ -16,6 +16,24 @@
|
||||
// intent only: it constrains what may be requested and is never proof of
|
||||
// applied VTX power, and static configuration is never rendered or serialized
|
||||
// as applied VTX state.
|
||||
//
|
||||
// Extension contract for future domains: the snapshot is an explicit,
|
||||
// extensible foundation of independent domains — operator table identity,
|
||||
// requested level, applied level, observed link, and flight telemetry
|
||||
// (versioned WFB-derived battery/GPS/arm/flight-mode/attitude with source
|
||||
// and freshness, future work). Telemetry domains land as new typed nested
|
||||
// structs with their own explicit pending/unknown states, appended at fixed
|
||||
// offsets before the CRC behind a version bump; the typed fields plus the
|
||||
// versioned all-or-nothing codec are the extension seam, and no runtime
|
||||
// placeholder fields exist before a domain is actually modeled. Domains are
|
||||
// independent by construction: each occupies a disjoint byte range (pinned
|
||||
// by contract tests), decoding is atomic — malformed or damaged records are
|
||||
// rejected whole and can never clear one domain while keeping others — and
|
||||
// the publisher retains its last valid snapshot, republishing it until a
|
||||
// new valid snapshot replaces it. Flight telemetry stays independent of
|
||||
// video and policy; battery, GPS and similar aircraft state must never be
|
||||
// inferred from RC channels, and the only RC-derived flight state remains
|
||||
// the already-defined CH5/AUX1 arm indication.
|
||||
package osd
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user