Understanding accelerometer data

Nelson Castillo arhuaco at freaks-unidos.net
Sun Nov 1 08:45:26 CET 2009

>> I would recommend the python script for easy testing:
>> http://wiki.openmoko.org/wiki/Accelerometer_data_retrieval
> It's certainly possible that I've just written my program wrong.  So
> yes, I'll try that script too.

Here I print a direction vector (ignoring Z).
It goes from 0 to 100 (instead of 0.0 to 1.0) to avoid floating point.
It updates rather fast.


If I only care about this vector I think I'll use a thread to keep
reading from the accels.

I tried something (very fast, not polished) in Python but i feel the
program lags reading the accels.


I think I'll move to C.


More information about the community mailing list