Coder Social home page Coder Social logo

goose-sensors-wio's Introduction

Goose Sensors

This repository contains code for all the sensors used on Waterloop's Goose Hyperloop pods.

Sensor code is for AVR platform and is written using Cosa SDK. All of the sensors in this repo are wio packages. This allows for each sensor to be included as a dependendency in another wio projects.

Contributing

Development of sensor code requires:

  • cmake
  • avr-gcc (linux and macOS) or Arduino SDK (Windows)
  • wio

To learn more about wio, visit it's github page. There is a detailed tutorial on how to get the tool and all the toolchain files to get started with AVR development.

master branch is protected by default and will not accept any commits. You will have to fork the repo and make Pull Request to the master branch. This will then be reviewed and handled accordingly.

Create a wio package inside the repository and put all the code for that specific sensor there. include directory will contain all the public headers and src directory will contain rest of the code. You are required to write a test in tests directory. Your package is automatically included by wio as a dependency when you are testing and you can call the package just how others will call it when they will include this sensor as a dependency.

goose-sensors-wio's People

Contributors

dshynkev avatar mogball avatar vishesh-gupta avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

dshynkev

goose-sensors-wio's Issues

Update the code base for wio 2.0

Sensor class names

Right now sensor header names are very generic. Example:

#include <TemperatureSensor.h>

We should rename the sensor header names with more specific names. Example:

#include <TMP36.h>

The reason for this is that we could have multiple types of temperature sensors and the include paths will clash.

We should also consider having a directory inside include directory with the name sensor or something else (we can choose). All the headers will go inside that directory. This way when including headers, it will look like:

#include <sensor/TMP36.h>

or even something like:

#include <temperature/TMP36.h>

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.