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

Create a python module that records one line of location data to a csv file #84

Closed ccason1 closed 2 years ago

ccason1 commented 2 years ago

@ivogeorg Let me know if you need me to add or change anything.

ivogeorg commented 2 years ago

@ccason1 Great!

Two questions:

  1. What is actually returned? WGS18? Could you pls include a sample return value in the script as a comment?
  2. What is the overhead of running a subprocess and opening a file to write its output every time we need the current location? Is running a command-line process the only way to get this data?
ccason1 commented 2 years ago

@ivogeorg I overhauled the whole thing so now it's using the actual Python libraries rather than command line arguments. The output is customizable now. I also commented an example output at the top of the code.