|
You can also look at using an accelerometer that measures acceleration due to gravity. So it measures 1G when straight up in the axis it's measuring and changes by the cosine of the angle as it rotates. Since it's an absolute measurement, there's no drift.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
|