Browse Source
Allow GPS SBAS mode to be configurable.
Allow GPS SBAS mode to be configurable.
It was noticed that GPS startup time increased when the change was made from using EGNOS by default to using AUTO by default. The default is still AUTO but faster GPS startup times may be achieved by telling the GPS receiver what region you are in. This also removes more unfinished MTK gps provider support.master
Dominic Clifton
11 years ago
7 changed files with 67 additions and 28 deletions
-
28docs/Gps.md
-
3src/main/config/config.c
-
3src/main/config/config_master.h
-
25src/main/io/gps.c
-
26src/main/io/gps.h
-
6src/main/io/serial_cli.c
-
4src/main/main.c
@ -0,0 +1,28 @@ |
|||
# GPS |
|||
|
|||
Two GPS protocols are supported. NMEA text and UBLOX Binary. |
|||
|
|||
## GPS Provider |
|||
|
|||
Set the `gps_provider` appropriately. |
|||
|
|||
| Value | Meaning | |
|||
| ----- | -------- | |
|||
| 0 | NMEA | |
|||
| 1 | UBLOX | |
|||
|
|||
## SBAS |
|||
|
|||
When using a UBLOX GPS the SBAS mode can be configured using `gps_sbas_mode`. |
|||
|
|||
The default is AUTO. |
|||
|
|||
| Value | Meaning | Region | |
|||
| ----- | -------- | ------------- | |
|||
| 0 | AUTO | Global | |
|||
| 1 | EGNOS | Europe | |
|||
| 2 | WAAS | North America | |
|||
| 3 | MSAS | Asia | |
|||
| 4 | GAGAN | India | |
|||
|
|||
If you use a regional specific setting you may achieve a faster GPS lock than using AUTO. |
Write
Preview
Loading…
Cancel
Save
Reference in new issue