Files
gps-denied-onboard/tests
Yuzviak 44f96d6d2d test(mavlink): add GPS_INPUT field encoding unit tests
12 tests verify _eskf_to_gps_input produces MAVLink #232-compliant fields:
- lat/lon: int × 1e7 (degE7)
- ENU→NED velocity conversion
- satellites_visible=10 synthetic (prevents ArduPilot failsafe)
- ConfidenceTier → fix_type mapping (HIGH/MEDIUM=3, LOW/FAILED=0)
- Accuracy from covariance, hdop/vdop floor clamp

Pure unit tests — no SITL/docker dependency.
Ref: docs/superpowers/specs/2026-04-18-oss-stack-tech-audit-design.md §6

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 16:24:38 +03:00
..