mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Parse GPS DOP values (#11912)
This is part 2 of a series to prepare for altitude estimations (and later on full 3-dimensional estimations) with a new sensor fusion model. This is a PR to get access to relevant dilution of precision values of the GPS signal. - `pDOP`: positional (3D) - for positional dilution in space - `hDOP`: horizontal (2D) - for positional dilution above ground - `vDOP`: vertical (1D) - for dilution of altitude
This commit is contained in:
parent
4b6da37da1
commit
6ed96f9adb
9 changed files with 74 additions and 21 deletions
|
@ -1066,7 +1066,7 @@ static void osdElementGpsSats(osdElementParms_t *element)
|
|||
int pos = tfp_sprintf(element->buff, "%c%c%2d", SYM_SAT_L, SYM_SAT_R, gpsSol.numSat);
|
||||
if (osdConfig()->gps_sats_show_hdop) { // add on the GPS module HDOP estimate
|
||||
element->buff[pos++] = ' ';
|
||||
osdPrintFloat(element->buff + pos, SYM_NONE, gpsSol.hdop / 100.0f, "", 1, true, SYM_NONE);
|
||||
osdPrintFloat(element->buff + pos, SYM_NONE, gpsSol.dop.hdop / 100.0f, "", 1, true, SYM_NONE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue