coloradocube / balloonsat

COTS balloonsat mission to test the RPi 4 with a battery UPS, a quad camarray, a GPS module, a RockBLOCK module, and a small number of Qwiic sensors
0 stars 5 forks source link

GPS should be in its own thread in the telemetry process or a separate process #78

Open ivogeorg opened 2 years ago

ivogeorg commented 2 years ago

Description

The GPSD (agps3) socket reading loop (most likely a generator) does not fit well into the telemetry gathering loop. The GPS reading should therefore be in a separate thread and the latest values should be read through inter-thread communication. It may be easier to make it a separate process. Are Python processes preemptible.