Commit Graph

2 Commits

Author SHA1 Message Date
Yuzviak 84e2f048e3 fix(lint): ruff --fix import ordering in new test files
CI lint job flagged I001 (un-sorted imports) in:
- tests/test_gps_input_encoding.py (top-level)
- tests/test_vo.py (2 inline imports in new mono_depth tests)

Applied ruff --fix: stdlib / third-party / first-party blocks with correct
blank-line separators.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 16:41:41 +03:00
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