Notices


Reply
Thread Tools
Posts: 112 | Thanked: 122 times | Joined on Dec 2009 @ London, United Kingdom
#11
no... it wouldn't be difficult.
(in fact it will be trivial..)
just give me some time.
__________________
Happy n900 owner!
Check my apps: n900fly, accdisplay and the "desktop command execution" widget!
 
Posts: 112 | Thanked: 122 times | Joined on Dec 2009 @ London, United Kingdom
#12
no... it wouldn't be difficult.
(in fact it will be trivial..)
just give me some time.
__________________
Happy n900 owner!
Check my apps: n900fly, accdisplay and the "desktop command execution" widget!
 
Posts: 66 | Thanked: 17 times | Joined on Nov 2009
#13
Missing dependencies in PR1.2, how can I install this app now?
 
Posts: 85 | Thanked: 38 times | Joined on Sep 2010 @ Canada
#14
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.

Last edited by abuelmagd; 2010-09-25 at 20:55. Reason: Give more information
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:08.