maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   accDisplay - View/Record/Playback accelerometers' data (https://talk.maemo.org/showthread.php?t=37075)

cpscotti 2010-06-29 03:06

Re: accDisplay - View/Record/Playback accelerometers' data
 
no... it wouldn't be difficult.
(in fact it will be trivial..)
just give me some time.

cpscotti 2010-06-29 04:51

Re: accDisplay - View/Record/Playback accelerometers' data
 
no... it wouldn't be difficult.
(in fact it will be trivial..)
just give me some time.

maxppc 2010-07-28 21:04

Re: accDisplay - View/Record/Playback accelerometers' data
 
Missing dependencies in PR1.2, how can I install this app now?

abuelmagd 2010-09-24 02:04

Re: accDisplay - View/Record/Playback accelerometers' data
 
this app is great. i use the live display to calculate the tilt angle of any plain. it helps me at work. i take the y and z component of the 1g that should exist and apply very trivial trignometry which gives me the incline angle of any sloped surface. thank you so much to the developer.

Edit:

In the spirit of sharing and even though the trigonometry is simple I thought I should include it here. Also if the developer would like he can add to the live display the phone's angle based on this equation.

So basically if the phone is laying on angled surface in 2 dimensions (meaning that one dimension is not tilted). In my case I place my N900 on the surface with the screen facing me so I can see the readout. The x-component of the acceleration is close to zero. Usually x=-0.03 or something similar because of the lens cover which tilts the phone a little bit in that direction. Now you should read the y and z components and use them in the following formula:

theta = 90 - atan(z/y)

Make sure though that you calculate the arctan in degrees otherwise you will have to convert from radians to degrees.


All times are GMT. The time now is 11:00.

vBulletin® Version 3.8.8