Changed GPS DOP display to bars, added satellites display and compass rose

This commit is contained in:
Professr
2020-07-03 02:53:56 -07:00
parent 20a669029b
commit cda423acab
5 changed files with 116 additions and 66 deletions

View File

@@ -36,6 +36,8 @@ class GPS : public Observable<void *>
int32_t latitude = 0, longitude = 0; // as an int mult by 1e-7 to get value as double
int32_t altitude = 0;
uint32_t dop = 0; // Diminution of position; PDOP where possible (UBlox), HDOP otherwise (TinyGPS) in 10^2 units (needs scaling before use)
uint32_t heading = 0; // Heading of motion, in degrees * 10^-5
uint32_t numSatellites = 0;
bool isConnected = false; // Do we have a GPS we are talking to