Git Product home page Git Product logo

android-pedometer's Introduction

android-pedometer

Requirements:

  1. Count steps in 2 orthogonal directions
  2. Button to reset steps
  3. Calibration
  4. Low error rate

Components/Checklist:

  • Pedometer: steps taken - Pierre
  • Orientation: direction of steps
    • Get acc + mag sensor combo working together to produce an azimuth - Tian
    • Calculate the North and East components of each step taken - Tian
    • Smooth the sensors - Pierre
  • Map - Tian
  • Reset button - Nelson
  • Calibration button/popup - disables steps - Nelson
  • (Optional) Pause step counting when a high angular velocity is detected to reduce false postives.

Implementation:

  • Step detection code will be carried over from previous lab
  • Each time step is updated a method will be called to update the North and East components of the step, from sin(theta) and cos(theta), theta value obtained from orientation sensor

Buttons:

  • reset: changes all steps to 0
  • calibration: disables step registering, show popup dialog to rotate phone

android-pedometer's People

Contributors

tianyouw avatar nelson-wu avatar pierreeid avatar

Stargazers

okuzawats avatar  avatar Teddy Zugana avatar  avatar

Watchers

Patrick Camargo avatar

Forkers

kevinmel2000

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.