accellerometer test

Andy Green andy at openmoko.com
Thu Apr 3 10:57:31 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| Hi guys,
|
| just got around to testing one (the 2nd one seems broken or unaccessible
| on my prototypes) of the Neo FreeRunner accellerometers.
|
| Apart from a bit of jitter, I think its pretty accurate -- I'm very
| satisfied with the performance. We can detect lots of different
| orientations, including (the boring) landscape and portrait, but also
| up-side-down (which comes in handy for autosleeping). I'd love to have
| wake-up as well eventually (Andy, Werner?).

We can wake up from one of the accelerometers and not the other -- which
is likely okay for real use -- but there is no driver support or API to
enable or disable it yet.  I guess it can just expose something in /sys.

| The attached python program displays the three axis on the console and
| calls xrandr to mimick the usual (yes, boring) autoswitch from landscape
| to portrait and back.
|
| I'm looking forward to when we start doing gesture recognition (GSoC
| 2008). In the meantime, I'll come up with a simple graphical testing
| program.

Sounds good.  I am curious about what happens if you take that app for a
ride in your car.  What does it show after you accelerated to cruising
speed and just go constantly along with it sat on the passenger seat?
Same as if it was at rest?

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkf0m/sACgkQOjLpvpq7dMpXXgCfaNfCpndOnR21/ireBskGu5tg
8gsAn1V6otjnx66XypsUYCkNCv+K9hOw
=uG4J
-----END PGP SIGNATURE-----



More information about the openmoko-devel mailing list