Merge pull request #32 from a-f-G-U-C/gps-filter-dop-fix

gps solution filtering parameters
pull/34/head
Kevin Hester 2021-10-26 03:17:20 +08:00 zatwierdzone przez GitHub
commit 034eba643b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 17 dodań i 1 usunięć

Wyświetl plik

@ -386,6 +386,23 @@ message RadioConfig {
*/
uint32 gps_attempt_time = 36;
/*
* Shall we accept 2D GPS fixes? By default, only 3D fixes are accepted
* (during a 2D fix, altitude values are unreliable and will be excluded)
*/
bool gps_accept_2d = 45;
/*
* GPS maximum DOP accepted (dilution of precision)
* Set a rejection threshold for GPS readings based on their precision,
* relative to the GPS rated accuracy (which is typically ~3m)
* Solutions above this value will be treated as retryable errors!
*
* Useful range is between 1 - 64 (3m - <~200m)
* By default (if zero), accept all GPS readings
*/
uint32 gps_max_dop = 46;
/*
* This parameter is for advanced users with advanced test equipment, we do not recommend most users use it.
* A frequency offset that is added to to the calculated band center frequency.
@ -530,7 +547,6 @@ message RadioConfig {
* (bitwise OR of PositionFlags)
*/
uint32 position_flags = 150;
}
UserPreferences preferences = 1;