Skip to content

cjsquires/Xenia1-flight-Computer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

10K-flight-Computer

Style

  • Class names: starting with capital then camel
  • method: camel starting with lowercase
  • vars: lower snake
  • private methods: __ for private methods

Please document your code in the following format:

for classes:

  """
  Discription of class
  
  ...
  
  Attributes
  ----------
  an_attribute(varaible)
    Description:
      write description
     
  Methods
  -------
    Description:
      write description
     Parm:
      parm_name: write point of parameter
      
  """

File structure

The Project is broken into two folders a source folder (src) and a tests folder.

> Xenia1-flight-computer
  > src 
    > airbrakes.py
    > dataHandler.py
    > gpioReader.py
    > main.py
    > rocketData.py

  > tests (currently empty)
    > 
  1. src/airbrakes.py

    Computes a the next value to set the airbrakes to position to. It does this through a kalman filter algorithm. Please look at the kalman filter algorithm connected to the issue X1-AV-6

  2. src/dataHandler.py

    This file deals with redirecting the data to the to where is suppose to go. There are methods for each sensor to send there data to either, ground, air brakes, or blackbox. In order send data they are formatted according to the protocol.

  3. src/gpioReader.py

    This file reads all the data from the sensor and updates rocketData.

  4. src/main.py

    Connects everything together.

  5. src/rocketData.py

    This class holds all the data of the rocket and has functions to manipulate the data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%