Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

Daniel Benoy daniel at benoy.name
Thu Aug 14 23:31:53 CEST 2008


Looks good :)

Here's my experiences, don't know if these are planned for future releases:

I don't know if something is wrong for me though because it's really sensitive.  Handling my phone ordinarally and gently results in a lot of 'shake shake'.  Would it be possible to require a constant shaking motion for 2 seconds or something before it registers? Also it doesn't seem to factor out gravity (I don't know if that is possible?)  For example, if I turn my phone upside down, the screen orientation goes with it (Which works great by the way!).  If I jerk my phone to the right, up comes 'left'.  That's not right.  (Hahaha punny!)  And if I hold my screen purpendicular to the ground, and jerk the phone upwards and then downwards it detects 'forward, backward' etc etc etc.  You're the expert so correct me if I'm wrong, but can we not detect a reasonably consistant 1G force, and then apply a rotation matrix or something to every input value so that things are relative to that direction (And only change the known gravity direction if 1G is sustained in one direction for a long enough period of time) ?

These training files, how advanced are they?  Would I be able to write one that says something like 'If the accelerometer detects between three and five sudden changes in direction over #Gs that occur over a period that's no less than 2 seconds but no more than 4 seconds?', or stuff that advanced?

Thanks for the great work so far :)

On Thursday 14 August 2008 13:01:35 Paul-Valentin Borza wrote:
> I'm proud to announce that the new release of accelerometer-based
> gestures, and screen orientation is now available for download.
> What you've seen in the video from
> http://www.youtube.com/watch?v=K2S2rQUETwc is now available.
> 
> This release includes:
> An application with user interface that allows the user to train the
> gestures for himself/herself;
> A listener daemon that sends a notification on the screen of the
> recognized gesture;
> Automatically switch of screen orientation for the four possible modes
> (2xportrait, and 2xlandscape).
> 
> Here's the direct link for the release:
> http://accelges.googlecode.com/files/accelges_0.1.0-svnr204-r2_armv4t.ipk
> You can find documentation, installation instructions, screenshots
> etc. on the Wiki: http://wiki.openmoko.org/wiki/Gestures
> There's a quick way to install it, and a more detailed way... Read
> http://wiki.openmoko.org/wiki/Gestures
> 
> I would suggest carefully reading the instructions, and running the
> gesture listener as soon as you install the package (i.e. before
> training).
> Of course, the gestures were not trained for you (unfortunately I had
> a limited set of training data - only myself), so you'll have to train
> them for yourself.
> 
> Have fun with it!
> 
> Thanks,
> Paul
> --
> http://www.borza.ro
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 



-- 
Daniel Benoy
http://daniel.benoy.name
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part.
Url : http://lists.openmoko.org/pipermail/community/attachments/20080814/90748681/attachment.pgp 


More information about the community mailing list