I've tried it.
Adding and subtracting the value: event.values[0], which is actually
my Azimuth in degrees returned by the sensor.
But the orientation is off! ..
The algorithm gives the Correct value, but it doesn't move because
there's not sensor variables involved.. so if I subtract the error it
points in the wrong direction
On Sep 22, 2010, at 10:08 AM, Christian Buchner wrote:
this sounds trivial to me.
Just compensate the error that is introduced by not actually
pointing the device north by subtracting that error from your
arrow's pointing angle. No need to change any algorithm, just
compensate for the "dude, you're holding it wrong"
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
Pedro Teixeira
www.pedroteixeira.org
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en