As some people might know there is a team hard at work on OpenPilot and we are making some progress, like every complex project things don't go as fast as you like but progress is happening. One of the things we are working on now is the low level infrastructure for the AHRS, this makes it so our EKF developers can just drop their code in without messing with the low level side of things.
On of the issues we needed to resolve was filtering the inputs, we were a bit unsure on which way to go. I sent an email to Caleb from CHR to ask his advice, he not only helped a lot but also gave us permission to use parts of his gyro filtering code such as his FIR filter as long as we credited him. Naturally he will be credited in the code and the credit file but I wanted to say a public thank you for this as well.
What I love about OpenPilot is the community, this side was mentioned on the podcast where we announced the project. Caleb is a perfect example of this community spirit.
Additionally, I don't see the CHR-6dm AHRS mentioned much here, so if you are looking for a well priced, powerful AHRS with a complete EKF have a look at http://www.chrobotics.com/ - Caleb rocks :-)
A small update on OpenPilot as well. Things are moving along, we have our issue tracker running now which can be found at bugs.openpilot.org there are still tasks to be added as not everything being is done is in there yet but it will be. There is a burn down chart which shows how far away we are from the version 1.0 release and a list of outstanding tasks that we need help with if people want to get involved.
Comments
It seems reasonable, then, that when using these settings, your angle estimate in a coordinated turn wouldn't be skewed by more than a few degrees after ten seconds. Depending on what your aircraft needs to do, ten seconds could be time enough.
It may be that the filter on the unit Ryan used simply didn't allow the gains to be tuned in a manner to make it work. It may also be that I am completely wrong - I haven't tried it.
Ah, you are the voice of experience, then. :-) What were you trying to use the closed AHRS for? Were you wrapping angle hold control loops around the state estimate outputs? If so, how were you able to decouple the control and state estimation problems? (ie. how did you determine that the problem was related to poor state outputs, and not the interplay between your controller and observer, or simply the controller itself?) I guess if you spent a year on it, a forum post might not be the best place to talk about it...
It is funny how even the slightest help from gps even though it is slow and laggy helps out so much!
Thanks for the shout out!
@Ryan
An orientation sensor without something to subtract out centripetal acceleration isn't necessarily useless. I'd say it has a lot to do with, say, how long you expect to remain in a coordinated turn compared with how long you can trust your rate gyros. For many low-budget hobbyist UAV projects, I would think that a sensor similar to the CHR-6dm should work just fine... although I could be wrong.