I implemented Kalman filter for accelerometer and gyro data fusion to get precise pitch and roll angles. But for this Kalman filter need time delta between two measurements, so I use timer interrupt running at 187200 Hz to increment the count and then later calculate the delta time using formula:
Code: Select all
dt = INTT/INT_FREQ; /*where INTT is the incremented count in the interrupt service routine, INT_FREQ is 187200 and dt is the float variable for delta time */
INTT = 0;So my question is: when is that magical update finally coming?
Best regards,
Mantas