Re: Accelerometer + Tilt compensation



jdhar wrote:

I actually thought of another issue that I don't think I can solve
easily. I don't know if there is a way I can figure out the YAW angle.
IE: If the sensor is perfectly flat such that X=Y=0 and Z=1, the
sensor can still be rotated around the Z-axis (YAW) and there would be
no way of me knowing, correct? In that case, I wouldn't know the angle
to de-rotate the readings by....

The sensor needs not to be mounted perfectly flat. You can't detect
rotating about the z-axis, regardless of the orientation of the sensor.
This is the reason why I'm currently evaluating this sensor, in addition
with a 3-axis accelerometer:

http://www.global.yamaha.com/news/2006/20060726.html

This is much cheaper than currently available 3-axis gyros and has the
additional advantage to give absolute orientation measurements (if the
earth magnetic field can be measured and is not distorted too much by
external magnets) and you can move it as slowly as you want (some gyros
have lower limits on how slow you can rotate it for good detection).

--
Frank Buss, fb@xxxxxxxxxxxxx
http://www.frank-buss.de, http://www.it4-systems.de
.