My name is Joel i am new to this site. I am trying to write my owncomplementary filter and I am struggling to understand how exactly youare supposed to put it together.
Does any one know or have a website (or anything) that can help me write this. And any data to help me start testing it??
Preferably in Matlab. I understand that it will have to be converted to C eventually but 1 step at a time.
Any help is much appreciated
Thankyou
Joel
p.s. there are some practical steps that I am hoping this discussion will cover too like. After the data from IMU etc is recieved do I need to fourier transform it into the Frequency Domain or can the filter be represented in the Time Domain? Also i guess there would be practical implications for running this in real time.
You need to be a member of diydrones to add comments!
Replies
Here's an earlier take on my comp filter in pseudo-code with diagrams:
http://www.rcgroups.com/forums/showthread.php?p=12082524&highli...
And here's an updated version, in Python
http://www.rcgroups.com/forums/showpost.php?p=14275057&postcoun...
Here's MITs take on it, for the basics:
http://ocw.mit.edu/NR/rdonlyres/Aeronautics-and-Astronautics/16-333...
- Roy
You don't need to use Fourier transforms - it all works in the time domain.
Of course there's always DCM if you want to get more advanced.
- Roy