mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 21:35:44 +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
|
@ -1500,7 +1500,7 @@ static bool mspProcessOutCommand(mspDescriptor_t srcDesc, int16_t cmdMSP, sbuf_t
|
|||
sbufWriteU16(dst, gpsSol.groundSpeed);
|
||||
sbufWriteU16(dst, gpsSol.groundCourse);
|
||||
// Added in API version 1.44
|
||||
sbufWriteU16(dst, gpsSol.hdop);
|
||||
sbufWriteU16(dst, gpsSol.dop.hdop);
|
||||
break;
|
||||
|
||||
case MSP_COMP_GPS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue