The fact that it flips is probably due to your representation of the angle. Imagine you getting to 360 degrees and then going slightly further... you will go back to 0 degrees. The kalman filter will probably see this as not very probable and will assume you have rotated.
What you can do about it is change the representation of your angle, using a quaternion or taking the sine or so of the angle. Something that doesn't jump from max to min.
It's probably your covariance matrices. They are really influential in Kalman algorithm. Try to find the best covariances.
alquiora 7 months ago
This has been flagged as spam show
Could you tell us how can you acquire the angle, I mean, the formula that you use to convert the ADC in an angle??? thanks.
anfedres 1 year ago
This has been flagged as spam show
Could you tell us how can you acquire the angle, I mean, the formula that you use to convert the ADC in an angle??? thanks.
anfedres 1 year ago
The fact that it flips is probably due to your representation of the angle. Imagine you getting to 360 degrees and then going slightly further... you will go back to 0 degrees. The kalman filter will probably see this as not very probable and will assume you have rotated.
What you can do about it is change the representation of your angle, using a quaternion or taking the sine or so of the angle. Something that doesn't jump from max to min.
roelesch 2 years ago
sorry I cant see you this as its not mine :D
superballistic 2 years ago
Hi, I am interested to buy the "black rectangle" that you have in your hands. Are you interested?
geppo2654 2 years ago