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:
@@ -102,6 +102,7 @@ class MockFlightControllerLink implements FlightControllerLink {
|
||||
lat: lat,
|
||||
lon: lon,
|
||||
hasFix: true,
|
||||
fixType: 2,
|
||||
numSat: 12,
|
||||
altitudeM: 120,
|
||||
// Leicht abweichend von altitudeM statt identisch (Doku: rohe
|
||||
|
||||
Reference in New Issue
Block a user