Complementary filter demo





This is a demonstration of complementary filters on pitch and roll attitude using 3gyroscopes and 3 accelerometers running on a custom Quadrotor controller board. Filters are coded in Python on the laptop with VPython rendering of spinning 3D cubes. Sensor processing code is running on the ATMega644p-based controller and is written in C. For Python code, see: http://www.rcgroups.com/forums/showpo... For details on the custom Quadrotor sensor board, look here: http://sites.google.com/site/pushpakq...

I know its not as impressive as DCM, but you have to start somewhere :-)

(Inspired by Brian Wolfe's demo- http://www.diydrones.com/video/pic32-autopilot-attitude)

- Roy
E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • One can certainly consider the DCM as implemented here as either an "observer" or as a complementary filter.

    BTW, the "complementary filter" I demo isn't even using proper Euler angles - they are independent linear angles :-)

    - Roy
  • > I know its not as impressive as DCM, but you have to start somewhere :-)

    Bear in mind the DCM filter often used here *is* a complementary filter, albeit one that uses a direction cosine matrix (DCM) representation of the angles rather than plain-old Euler angles.
This reply was deleted.