Merge branch 'master' of ssh://git.black-mesa.xyz:434/langspielplatte/measurement-scripts

This commit is contained in:
Lukas Prause
2022-11-08 15:14:05 +01:00

2
measurement_main.py Executable file → Normal file
View 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: