Hello all.
I have been trying to replicate the iSpindle "Tilt" calculation. At this link:https://github.com/universam1/iSpindel
I have an accelerometer at home that I can calculate the "pitch" and "roll" but not sure what methodology is used to get the single "tilt" value.
Something like this link seems like it would work; but I am not sure how iSpindle does it.
https://math.stackexchange.com/ques...otation-from-pitch-and-roll-yaw-is-fixed-to-0
Any help is great; I am planning on ordering parts soon; and would like to use my existing accelerometer instead of buying a new MPU6050 if possible. I have been looking through a lot of the github documentation but can't find the exact calculations.
I have been trying to replicate the iSpindle "Tilt" calculation. At this link:https://github.com/universam1/iSpindel
I have an accelerometer at home that I can calculate the "pitch" and "roll" but not sure what methodology is used to get the single "tilt" value.
Something like this link seems like it would work; but I am not sure how iSpindle does it.
https://math.stackexchange.com/ques...otation-from-pitch-and-roll-yaw-is-fixed-to-0
Any help is great; I am planning on ordering parts soon; and would like to use my existing accelerometer instead of buying a new MPU6050 if possible. I have been looking through a lot of the github documentation but can't find the exact calculations.