Code Monkey home page Code Monkey logo

fc-test's Introduction

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.

Install Steps:

Get dependencies

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.

Build links

Edit the Makefile to change FCBIN and TELEM variables to point towards the location where you cloned the above on your machine.

$ make setup

Build test app

Generate javascript for the test control panel. Make sure you have coffeescript

$ sudo apt-get install nodejs npm
$ sudo npm install coffee
$ make build

Python environment

Make a virtual env and install the requirements

$ mkvirtualenv fctest
(fctest)$ pip install -r requirements.txt

Run

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

(fctest)$ ./run

Usage

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 deactivate.

To resume the environment, navigate back to this directory and run workon fctest.

fc-test's People

Contributors

jameysharp avatar natronics avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fc-test's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.