Would it be possible to estimate tilt (pitch, roll, theta) using a 3-axis accelerometer in MDX?
I'd be very interested in displaying a graph in MDX showing pitch and roll.
I'm currently not much more than a novice in MDX and as of yet haven't got my hands really dirty...
Does MDX support the trigonometric and power functions required to calculate the pitch roll and theta values? (Basic equations in a static context can be found in this PDF:
http://www.freescale.com/files/senso...ote/AN3461.pdf)
As an aside, would it be possible to use a button to calibrate the accelerometer based on a given position. i.e. I guess it would need to set three offset variables based on the current X, Y and Z values, these offset variables would then be used in a (root?) function to set the values of calibrated X, Y and Z variables? Had a quick look in the MDX UI and can't see if its possible to set a variable based on another variable, or if its possible to set more than one.
Thanks