GithubHelp home page GithubHelp logo

imclab / location Goto Github PK

View Code? Open in Web Editor NEW

This project forked from willyvvu/location

0.0 1.0 0.0 3.41 MB

A Statistics project to visualize accelerometer data and track a relative path based on compass heading and calculated pedometer data.

location's Introduction

Location

A Statistics project to visualize accelerometer data and track a relative path based on compass heading and calculated pedometer data.

##Requirements You will need...

  1. Node.js installed on your computer.
  2. A smartphone connected to the same Wi-Fi network as your computer.
  3. To know the IP address of your computer.

##Setup

  1. Clone this repository so you have a copy on your computer.
  2. Launch server.js using Node. On Windows, this may be as easy as double-clicking on the file itself. On Linux and Mac, you may have to open a Terminal, cd to the folder containing server.js, and run node server.js.
  3. On your computer, launch your favorite browser (tested on Chrome) and type localhost:5000 into the address bar.
  4. On your phone, launch your favorite browser (tested on Chrome for Mobile) and type your computer's IP followed by :5000. For example, 192.168.1.123:5000.
  5. Walk around with the smartphone in your pocket and enjoy the data on the screen of your computer!

Enjoy! I'll leave you to figure out what each graph represents.

Note: to stop the server, click on the terminal window and press Ctrl+C, or for Mac users, Control+C.

##Issues

  • Location tracking assumes with that each movement, you have taken a step of constant length forwards. Walking in place, walking backwards, or even taking steps of different lengths will add error to the calculated path.
  • Location tracking also assumes that the phone stays in the same orientation relative to your body. Putting the phone in another pocket or rotating the phone in-place will add more error to the calculated path.

location's People

Contributors

willyvvu avatar

Watchers

 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.