Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

AIAANortheastern/GroundStation

Repository files navigation

A Python Flask Application for Processing Radio Data

Version: 0.1

This application is designed to put real time radio data into a csv file and display that data graphically in real time graphically.

Currently only the post processing of the data is working!

Real time processing from radio will be released with the next version.

To Run the Application:

  1. If you already have python 3 configured and installed skip to step 4.

  2. Check your python version by running the command

     python -V
    
  3. You should see a version of 3.x.x. If you don't then you can install the latest and greatest version of python HERE

  4. Make sure that you have python 3 Downloaded! If you installed python 2 or if you already have it installed then you are either going to have to do some magic to get them both working side by side or to uninstall python 2.

  5. Clone or download the project using the big green button above

  6. Unzip the folder

  7. Open up a terminal or command prompt and navigate to the installed directory using the cd command Ex:

     cd c:/Users/username/path/to/install/GroundStation
    
  8. Run this command to install the correct packages:

     pip install -r requirements.txt
    
  9. Run the following command to actually run the application:

     python runserver.py
    
  10. Open up your favorite browser and go to the following link (or the provided link from the console):

localhost:8080

  1. Click on "Use Existing Data"

How to use my own data?

  1. In the files you downloaded there is a file called AvionicesData.csv, open it with your favorite csv managing appication Excel works great.

  2. Open up your data file.

  3. Change the headers on each of the columns in your csv file to match the headers listed here, use the existing AvionicsData.csv file as an example:

     timestamp,pressure,altitude,temperature,
     gyrox,gyroy,gyroz,magx,magy,magz,rhall,
     accx,accy,accz
    

    For example: If you have a header called x Acceleration data it should now be labeled accx above the corresponding data.

  4. Rename the existing AvionicsData.csv file to something else.

  5. Rename YOUR datafile to AvionicsData.csv.

  6. Run the groundstation by following the instructions In Running the application.

Features in Development

In order of complexity

  • Add a slider that selectes the range of displayed data
  • Render the graphs in parallel (using async)
  • Make column parsing completely independent of existing buttons
  • Implement the real-time data parser
  • Move server to a Raspberry Pi (3)