Giter Site home page Giter Site logo

andycate / flight Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 120 KB

Scheduler/EventQueue based flight code for liquid bipropellant rockets, built with Arduino and PlatformIO.

C++ 94.26% CMake 1.37% Python 4.29% Batchfile 0.08%
flight eventloop comms subsystems hardware

flight's Introduction

flight

This is an experimental codebase with an EventQueue/Scheduler architecture for rocket control. The ideafor using this architecture is the ease of configuring flight hardware on the go.

Overview

All configuration is done in the main.cpp file. First the main EventLoop object is defined. Then, Interfaces and Sensors are defined. Next, Subsystems are defined and added to the EventLoop. Finally, Comms classes are defined and added to the EventLoop.

At the end of the main function, the EventLoop::eloop function is called repeatedly. This runs the program.

There are four general types of classes. The first is Interface classes. Interfaces are physical buses that the code interacts with. The second is Sensor classes. Sensors provide code to interact with multiple interfaces to read data from hardware. The third is Subsystem classes. Subsystems define code that needs to run repeatedly and/or respond to events and received packets. They can also talk to interfaces and sensors. The fourth is Comms classes. Comms classes provide code to read and write packets.

flight's People

Contributors

andycate avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.