Accelerometers losing values

Andy Green andy at openmoko.com
Wed Feb 11 18:35:31 CET 2009


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

Michael Tansella wrote:
>> The overruns /sys thing is the number of times we came to collect a
>> sample set from the accelerometer, but when we did it told us we were
>> late and missed one or more samples that got lost before this one.
>>
>> -Andy
> Ok, thanks then this shows the values I'm missing sometimes.

Maybe, if it increments each time there is a blackout.

> Does this mean python is too slow for this or doesn't get enough resources? If 
> I execute the script, python takes  approx 22% and Xglamo 50% of CPU.
> 
> Was anybody already able to read really every Acc value when sample_rate is 
> set to 400 Hz?

No it can mean a bunch of things, there is already a big investigation
into why we drop serial traffic sometimes, this can easily be related.

- -Andy



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

iEYEARECAAYFAkmTDGMACgkQOjLpvpq7dMp/aACdFjQh3qK8psVxkRUJ6PLPz2wa
s/QAnjIYiZeloIhFxtGxClGGARJNQ2eK
=I+AT
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list