The Math of the Cordic Object
SamMishal
Posts: 468
Hi All,
I am trying to figure out the math being performed in the Cordic Object by Beau Schwabe
In the object for the H48C Tri-Axis accelerometer Beau uses the Cordic calculations
to calculate ThetaA,B,C from the g-forces on the X-Y-Z axis.
This is the address for the object http://obex.parallax.com/objects/178/
I am trying to figure out what is the math being used .....
1- What does the Cordic object do?
2- How is the ThetaA/B/C being calculated from the z/x/y g-force readings? What
are the math formulas?
Can anyone please point me to the right place for the formulas?
Cheers
I am trying to figure out the math being performed in the Cordic Object by Beau Schwabe
In the object for the H48C Tri-Axis accelerometer Beau uses the Cordic calculations
to calculate ThetaA,B,C from the g-forces on the X-Y-Z axis.
This is the address for the object http://obex.parallax.com/objects/178/
I am trying to figure out what is the math being used .....
1- What does the Cordic object do?
2- How is the ThetaA/B/C being calculated from the z/x/y g-force readings? What
are the math formulas?
Can anyone please point me to the right place for the formulas?
Cheers
Comments
It is a good start, has links to examples and other documentation.
Otherwise here: http://www.jacques-laporte.org/HP%2035%20Saga.htm
Searching the forum you'll find other stuff, and also a spin only atan2 version.
Massimo