Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,313 Members 50,025 Now Online
XDA Developers Android and Mobile Development Forum
Announcement from cynorg: Measured, a watchapp for approximating real-world distances on the Pebble smartwatch

[COMPETITION] Measured

Tip us?
 
cynorg
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 2
Join Date: Aug 2014
Location: Raleigh, NC
Default [COMPETITION] Measured

The goal of this watch app is to use the accelerometer of the watch to measure real-world distances between button presses, using a high sample rate during measurement. Additional functionality/methods for measuring is planned if the lack of gyroscope and the error introduced from double integration proves too great for this to be remotely reliable.

Implementation wise, it's will be a watch app (not a face) so we have access to buttons. Instructions will be displayed on screen with minimally an option to calibrate (to a known distance) and an option to perform a measurement. Any manual settings (set and forget) will be available via a configuration/settings screen on the phone and stored in persistent storage on the watch. It is unlikely that the app will work without the phone connection, simply because A) the calculations will be fairly involved, and are likely better handled in JavaScript on the phone, B) it's uncertain how much accelerometer data we'll be able to retain in memory to allow sufficient time for measuring - if we can buffer it on the watch and offload it to javascript for later processing, we can potentially measure longer or with more precision.

The motivation for this is for estimating dimensions - rooms, yards/lawns, camping sites, game fields, etc. without needing to carry anything extra, and to get some familiarity with using the accelerometer (as I'm already familiar with the other pieces, having written a fairly involved watch face, Timely)

As the development period doesn't officially start until tomorrow at 1pm EST, I'm focusing purely on planning/theory/research right now - keeping track of it in Trello here.

Current timeline:
2014-08-15, 1PM EST:
- Create github repository, create compile and upload basic app to appstore with javascript enabled (for IOS bundling), begin actual development.
2014-08-22:
- Sanity check: 1 week in, basic UI and functionality should be done, working on javascript calculations
2014-08-29:
- Add additional methods for measurement (pedometer/counter, etc.) and ensure settings page is in place, then resume algorithm work.
2014-09-05, 5PM EST:
- Publish final code to github and final app to store, sanity check, confirm/test all functionality until the 8PM deadline.

Thoughts/comments/suggestions welcome, especially from anyone who's dared to try to use a single accelerometer with no gyroscope to double integrate and approximate distances

XDA:DevDB Information
Measured, Tool/Utility for the Pebble

Contributors
cynorg

Version Information
Status: Alpha

Created 2014-08-15
Last Updated 2014-08-14
 
cynorg
Old
(Last edited by cynorg; 5th September 2014 at 10:01 PM.) Reason: Status Updates
#2  
Junior Member - OP
Thanks Meter 1
Posts: 2
Join Date: Aug 2014
Location: Raleigh, NC
Default Status Updates

Latest Status:
2014-08-15, 2pm EST
- repository created on GitHub, basic/placeholder assets created for Pebble publication, basic watch app compiled and published for IOS javascript bundling.
2014-08-16, 11pm EST
- integrated basic appmessaging and configuration functionality
2014-09-06, 5pm EST
- Nope! I absolutely didn't get an opportunity to complete this (let alone work on it much) during the contest window, due to various reasons. I'm still committed to making this happen, and will work on it as time permits.

Apologies to those who were looking forward to measuring things from their wrist this weekend!

Git Repository: github.com/cynorg/PebbleMeasured
 
jefferyfinklebottom
Old
#3  
Junior Member
Thanks Meter 2
Posts: 2
Join Date: Dec 2013
Wonderful new idea!
The Following User Says Thank You to jefferyfinklebottom For This Useful Post: [ Click to Expand ]
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes