Forward numSV data from serial-connected GPS

pull/38/head
Mark Jessop 2021-07-17 23:02:02 +09:30
rodzic fe7412d4e4
commit bd88a3ad13
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -213,6 +213,8 @@ class SerialGPS(object):
gpgga_lon = self.dm_to_sd(gpgga[4])
gpgga_lonew = gpgga[5]
gpgga_fixstatus = int(gpgga[6])
gpgga_numSV = int(gpgga[7])
self.gps_state["numSV"] = gpgga_numSV
self.gps_state["fix_status"] = gpgga_fixstatus
self.gps_state["altitude"] = float(gpgga[9])