Giter Club home page Giter Club logo

wiiweight's Introduction

WiiWeight

Short input code which processes the wii balance board input and calculates a bad estimate of weight with the simplest possible kalman filter.

Currently just an upload of old hacky code done over the weekend on a congress.
Calibration was done at one weight point with another scale, so it really isn't calibrated.

Compile with gcc -o wiiweight wiiweight.c.

To use this the wii balance board has to be connected and you need the assigned number by ev.
Use evtest to check which number $X is assigned to the balance board and pass it with ./wiiweight /dev/input/event$X.

The program will show the current measurement and the pseudo kalman filtered measurement in cout.

wiiweight's People

Contributors

keldu avatar

Stargazers

 avatar  avatar cbdev avatar

Watchers

 avatar  avatar

wiiweight's Issues

plugin system

Implement this as a service handling the hotplugged wii balance boards.
If the need arises I may change this to a general input collecting node.

config file

Create a config file so you can specify which device you want to listen to (based on hardware id, etc).

It should be possible to specify calibration splines in the config for each device.

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.