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:
@@ -137,6 +137,7 @@ class MspTelemetryPoller {
|
||||
lat: gps.lat,
|
||||
lon: gps.lon,
|
||||
hasFix: gps.hasFix,
|
||||
fixType: gps.fixType,
|
||||
numSat: gps.numSat,
|
||||
altitudeM: altitudeM,
|
||||
gpsAltitudeM: gps.altitudeM,
|
||||
|
||||
Reference in New Issue
Block a user