Add flight mode and GPS fix type to drone status menu

MSP_RAW_GPS already reports a fixType byte (0=no fix, 1=2D, 2=3D) but
only a collapsed hasFix bool was surfaced past the parser. Thread
fixType through TelemetryFrame and show it as a color-coded field in
the status grid, alongside the already-parsed but previously unshown
flight mode string. Arming/Temperatures/Flight mode is now a 3-column
row, and GPS fix type/GPS satellites/GPS precision (HDOP) another.
This commit is contained in:
Constantin Leue
2026-08-06 22:38:11 +02:00
parent 539a6e4171
commit 0141cdb17d
6 changed files with 112 additions and 68 deletions
@@ -14,6 +14,7 @@ TelemetryFrame _frame({bool hasFix = true, int numSat = 10}) => TelemetryFrame(
lat: 52.5,
lon: 13.4,
hasFix: hasFix,
fixType: hasFix ? 2 : 0,
numSat: numSat,
altitudeM: 100,
gpsAltitudeM: 100,