Merge branch 'master' of ssh://git.black-mesa.xyz:434/langspielplatte/measurement-scripts
This commit is contained in:
2
measurement_main.py
Executable file → Normal file
2
measurement_main.py
Executable file → Normal file
@@ -251,7 +251,7 @@ def monitor_gps(ser, output_file):
|
||||
while ser.is_open:
|
||||
nmea_sentence = ser.readline() #GPRMC
|
||||
nmea_str = nmea_sentence.decode("utf-8")
|
||||
if nmea_str.startswith("$GPGGA"):
|
||||
if nmea_str.startswith("$GPRMC"):
|
||||
write_to_file(output_file, nmea_str)
|
||||
except:
|
||||
if not ser.is_open:
|
||||
|
||||
Reference in New Issue
Block a user