Coder Social home page Coder Social logo

iosense's Introduction

iOSense

Pebble + iOS sensor logging. Includes pebble accelerometer, phone accelerometer, gyro, magnitometer, location, heading, altitude, and everything else that CoreMotion and CoreLocation give you. Currently just writes to timestamped csvs in the app's documents directory at present, but planning on adding the ability to email data soon.

Also contains a GUI (albeit an ugly one) for attaching an arbitrary set of labels to current readings and starting and stopping data collection. The intent is to allow easy annotation of particular actions or phenomenon. To set what labels are present, just modify the dictionaries in Labels.h.

Another key value add here is that it deals with asynchronous updates to each sensor value and writes out a clean, machine-learning-ready row of "here's what was happening during the last 50ms" at 20Hz, carrying over values from the previou timestamp when replacements are not given.

Where data is unavailable or unreliable, it writes a consistent -999, which can never be a real sensor value. It also logs the times at which each {pebble acceleration, phone motion, location, heading} set of values was updated, so you can undo the aforementioned carrying over of values if you really want.

Hat tip to pebble-accel-analyzer, sensorsaver and pebble-accelerometer-ios-app for being helpful examples.

This is part of a (currently unpublished) research project, so please check back for the citation before using it in your own published work. Also, please fork it if using it for your own research so I can see who's using it and not get scooped. :)

iosense's People

Contributors

dblalock avatar

Stargazers

 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.