hi guys...im trying to figure out what the math should be to calibrate one axis to "level".
lets say the error in the measurement is 2 degrees....andi have a surface that is unknown levelness....
if i take a touch beta measurement on that surface, then rotate the phone 180 degrees and take a second measurement, i get the error shouldwork out to be :
error = (measurement1+measurement2)/2
then subract the error from the touchb.beta and you should have the anglular measurement relative to actual level.
but its not working for some reason and im not sure why
any ideas?
thansk
Dan