1.2 KiB
1.2 KiB
GPS
Two GPS protocols are supported. NMEA text and UBLOX Binary.
Configuration
Enable the GPS from the CLI as follows:
- first enable the
feature GPS
- set the
gps_provider
- if required, set your GPS baud rate using
gps_baudrate
- connect your GPS to a serial port that supports GPS and set an approprate
serial_port_x_scenario
to2
. wherex
is a serial port number. save
.
For the last step check the Board documentation for pins and port numbers and check the Serial documentation for details on serial port scenarios where you will also find some example configurations.
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.