From 0bd40ea17f12d5b191ea5bb6dde8233e7268f29e Mon Sep 17 00:00:00 2001 From: Datong Sun Date: Thu, 27 Apr 2017 11:52:28 -0700 Subject: [PATCH 1/2] fixed a bug that NEO-M8 will use 1 Hz update rate when Galileo is enabled. Slightly reduced Galileo's maximum tracking channel. --- main/gps.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/gps.go b/main/gps.go index 9092d51e1..3989dcb81 100644 --- a/main/gps.go +++ b/main/gps.go @@ -287,8 +287,8 @@ func initGPSSerial() bool { if (globalStatus.GPS_detected_type == GPS_TYPE_UBX8) || (globalStatus.GPS_detected_type == GPS_TYPE_UART) { // assume that any GPS connected to serial GPIO is ublox8 (RY835/6AI) //log.Printf("UBX8 device detected on USB, or GPS serial connection in use. Attempting GLONASS and Galelio configuration.\n") glonass = []byte{0x06, 0x08, 0x0E, 0x00, 0x01, 0x00, 0x01, 0x01} // this enables GLONASS with 8-14 tracking channels - galileo = []byte{0x02, 0x04, 0x08, 0x00, 0x01, 0x00, 0x01, 0x01} // this enables Galileo with 4-8 tracking channels - updatespeed = []byte{0x06, 0x00, 0xF4, 0x01, 0x01, 0x00} // Nav speed 2Hz + galileo = []byte{0x02, 0x04, 0x05, 0x00, 0x01, 0x00, 0x01, 0x01} // this enables Galileo with 4-5 tracking channels + updatespeed = []byte{0xF4, 0x01, 0x01, 0x00, 0x01, 0x00} // Nav speed 2 Hz for enabling Galileo } cfgGnss = append(cfgGnss, gps...) cfgGnss = append(cfgGnss, sbas...) From eb838fe330d48a66b3ba2c366f4999d6850b35df Mon Sep 17 00:00:00 2001 From: Datong Sun Date: Sat, 13 May 2017 22:09:27 -0700 Subject: [PATCH 2/2] Removed 2Hz configuration for enabling Galileo. --- main/gps.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main/gps.go b/main/gps.go index 3989dcb81..a3ff9d476 100644 --- a/main/gps.go +++ b/main/gps.go @@ -288,7 +288,6 @@ func initGPSSerial() bool { //log.Printf("UBX8 device detected on USB, or GPS serial connection in use. Attempting GLONASS and Galelio configuration.\n") glonass = []byte{0x06, 0x08, 0x0E, 0x00, 0x01, 0x00, 0x01, 0x01} // this enables GLONASS with 8-14 tracking channels galileo = []byte{0x02, 0x04, 0x05, 0x00, 0x01, 0x00, 0x01, 0x01} // this enables Galileo with 4-5 tracking channels - updatespeed = []byte{0xF4, 0x01, 0x01, 0x00, 0x01, 0x00} // Nav speed 2 Hz for enabling Galileo } cfgGnss = append(cfgGnss, gps...) cfgGnss = append(cfgGnss, sbas...)