Re: Measure of the file /dev/input/event3 (Accelerometer data)
I think the Accelerometer data retrieval page on the wiki should have all the information you are looking for: http://wiki.openmoko.org/wiki/Accelerometer_data_retrieval along with several projects using the accelerometers that would be good reference points on projects.openmoko.org. Search for accel. Also the Google Summer of Code gestures project: http://wiki.openmoko.org/wiki/Gestures Good luck. On Tue, Sep 23, 2008 at 12:59 PM, daniel103 [EMAIL PROTECTED]wrote: Hello again, in /dev/input/event3 (or /dev/input/event2) you can see something like that: 00030e0 c157 48d7 82df 000c 00030f0 c157 48d7 a770 000c 0002 0012 0003100 c157 48d7 a7ea 000c 0002 0001 0012 the last two columns are the accelerometer values. my question is ¿what is the measure of this values? ¿how i can obtain the decimal value? thanks so much -- View this message in context: http://n2.nabble.com/Measure-of-the-file--dev-input-event3-%28Accelerometer-data%29-tp1112096p1112096.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Measure of the file /dev/input/event3 (Accelerometer data)
Direct source code for reading values: http://code.google.com/p/accelges/source/browse/trunk/accelneo/src/accelneo.c Paul On Tue, Sep 23, 2008 at 2:28 PM, Jacob Peterson [EMAIL PROTECTED] wrote: I think the Accelerometer data retrieval page on the wiki should have all the information you are looking for: http://wiki.openmoko.org/wiki/Accelerometer_data_retrieval along with several projects using the accelerometers that would be good reference points on projects.openmoko.org. Search for accel. Also the Google Summer of Code gestures project: http://wiki.openmoko.org/wiki/Gestures Good luck. On Tue, Sep 23, 2008 at 12:59 PM, daniel103 [EMAIL PROTECTED] wrote: Hello again, in /dev/input/event3 (or /dev/input/event2) you can see something like that: 00030e0 c157 48d7 82df 000c 00030f0 c157 48d7 a770 000c 0002 0012 0003100 c157 48d7 a7ea 000c 0002 0001 0012 the last two columns are the accelerometer values. my question is ¿what is the measure of this values? ¿how i can obtain the decimal value? thanks so much -- View this message in context: http://n2.nabble.com/Measure-of-the-file--dev-input-event3-%28Accelerometer-data%29-tp1112096p1112096.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community -- Paul V. Borza ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Measure of the file /dev/input/event3 (Accelerometer data)
On Tue, 23 Sep 2008 13:28:26 +0200 Jacob Peterson [EMAIL PROTECTED] wrote: I think the Accelerometer data retrieval page on the wiki should have all the information you are looking for: http://wiki.openmoko.org/wiki/Accelerometer_data_retrieval I didn't come across anything about units in my travels. To me, it looks like they're in cm/s/s, i.e. divide by 100 to get the familiar value of 9.8ish pointing downwards. Don't forget that (a) I may be wrong, and (b) The orientation of the accelerometers might need some calibration. Tom -- Thomas White - Downing College - Electron Microscopy Group (PhD Student), Department of Materials Science and Metallurgy University of Cambridge ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Measure of the file /dev/input/event3 (Accelerometer data)
On Tue, 23 Sep 2008 12:34:26 +0100 Thomas White [EMAIL PROTECTED] wrote: I didn't come across anything about units in my travels. To me, it looks like they're in cm/s/s, i.e. divide by 100 to get the familiar value of 9.8ish pointing downwards. Ok, Paul's code says that the number is in units of 1/1000 of 'g' (g=9.8 m/s/s), which also makes sense to me. So, I'll defer to his expertise unless anyone says otherwise :) Tom -- Thomas White - Downing College - Electron Microscopy Group (PhD Student), Department of Materials Science and Metallurgy University of Cambridge ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community