FC Test Framework
This contains a Procfile other setup info that can bring up the entire flight computer in a test environment in one command.
Make sure you have the flight computer code and the telemetry viewer
Make sure you can build and run the FC and telemetry framework on their own.
Edit the Makefile to change
TELEM variables to point towards the location where you cloned the above on your machine.
$ make setup
Build test app
$ sudo apt-get install nodejs npm $ sudo npm install coffee $ make build
Make a virtual env and install the requirements
$ mkvirtualenv fctest (fctest)$ pip install -r requirements.txt
Once you have everything set up continue to develop back as normal. When you need to run the FC as a full test simply come here and run
Open browser pages to:
- localhost:5000 (the control panel)
- localhost:8080 (telemetry)
Finish and Resume
When you're finished, kill the script with Ctrl+C and get out of the virtualenv with
To resume the environment, navigate back to this directory and run