Complementary filter in Python Implementation of a Complementary Filter using accelerometer and gyro data collected from a smartphone. Refer to the following videos of Brian Douglas for the Control theory: https://www.youtube.com/watch?v=whSw42XddsU https://youtu.be/nkq4WkX7CFU?t=732