Coder Social home page Coder Social logo

space-enterprise-at-berkeley / client-side Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 170 KB

All the client side code for sensors, valves, IMUs and the rest of the fun stuff.

License: GNU General Public License v3.0

C++ 92.70% Shell 1.06% C 6.23%

client-side's Introduction

Client-Side

All the client side code for sensors, valves, IMUs and the rest of the fun stuff.

Setup:

Download the Arduino IDE.

We use the Teensy 4.0 board in addition to vanilla arduino boards. Setup the environment according to the instructions here.

Copy all of the contents of the libraries directory into your Arduino IDE libraries directory. If your Arduino is installed to the default directory you can use the following install scripts to do this. On linux and mac navigate to the libraries folder and run the following commands: chmod +x install.sh ./install.sh On windows, please figure it out. (I'll add a script eventually).

If your Arduino is not installed to the default location, you'll need to find the path by clicking on File -> Preferences in the Arduino IDE.

Contribution

Client Boards

Duplicate the Template folder for a new client board.

Sensors

The template code houses the client side communications protocol for our systems.

Each sensor has its own .h file which can be included in any version of a client code. The only requirement is that you provide a function of the form read_data() that returns a struct with the current time and the sensor reading.

When you submit a pull request, include the average time your function takes in microseconds.

NOTE: This architecture is borrowed from McGill Rocket Team. See here for their documentation.

Submitting

Do all of your development on a feature branch named along the lines of <your-name>_<sensor-name>. Try to commit frequently with descriptive messages. When you're done, push your code to your branch, submit a pull request into master and request a review from at least one other person on the team.

client-side's People

Contributors

fazerlicourice7 avatar lumepall avatar sqmah avatar vainaviv avatar

Watchers

James Cloos 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.