Project Varys is the live telemetry project which will stream real-time flight data from the rocket to the ground station. We are aiming to provide compatibility for 3 transmitters which will be Featherweight, BigRedBee and Telemega.
We use the Featherweight ground station to receive a signal from the featherweight transmitter and when we connect it to a computer, we get access to the packets sent from the receiver through the serial port.
Currently, the grafana and questdb are run locally in docker.
In featherweight_reader.py, we receive the data from the serial port and then filter out the GPS_STAT packets, which can then either be printed out or logged in a file.
In parse_gps_data.py, we retrieve these packets as text form the reader script and then convert these into standardized json objects.
In send_to_questdb.py, we retrieve the json objects and send it into a QuestDB database.
To run varys,
-
Connect the ground station to your computer
-
Run
featherweight_reader.py,parse_gps_data.pyandsend_to_questdb.pyconcurrently on 3 separate terminals(Make sure the that
featherweight_reader.pyis on the right port, for windows: COM3 or COM4.)(DISCLAIMER: 'featherweight_reader' will not work on WSL)
-
Run the docker compose file
-
Set up QuestDB as a datasource on Grafana
-
You're all set to make graphs and visualisations on Grafana!