Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 1.94 KB

README.md

File metadata and controls

40 lines (22 loc) · 1.94 KB

PyGNC

This is the central repository for the PyGNC system and is intended to exist as a large "monorepo" containing many complementary components. The following is a high-level breakdown of the repository.

Flight

Flight

Everything contained in flight/ is intended to run on a raspberry pi operating as a secondary processor in coordination with a PyCubed main processor.

PyCubed Emulator

PyCubed Emulator

This is a julia application that emulates a PyCubed main processor and its interaction with the raspberry pi.

Scenario Generator

Scenario Generator

This is a julia application that uses realistic orbit dynamics simulation to generate "scenarios." Scenarios are binary files containing data in the same format the PyCubed processor would generate it in. Currently each scenario consists of one file, batch_sensor_gps_data.bin which is a batch of sensor and GPS measurements taken over a long time period and then uploaded to the raspberry pi at once.

Scenarios

Scenarios

The scenarios generated by the scenario_generator are stored here.

Test

test

Unit tests and test scripts for code in flight are stored here. Unit tests can be run by running nose2 or runtests.py.

Other contents

The repository also contains convenience scripts for packaging the flight code in a zip file and transferring it to a raspberry pi via scp.

  • package_flight_code.sh zips up the flight code, avoiding README.md and __pycache__ files and adding a file containing git version information
  • update_raspi.sh calls package_flight_code.sh and transfers the result to a raspberry pi located at [email protected].