Kalman filter available?
Hello
Has any one implemented a Kalman filter within a Max patch, either using Max objects, Javascript or some other external code? I'm playing around with 9 degree of freedom IMUs and am starting to get into Kalman filters. If anyone has managed to create a working multivariable Kalman filter they'd be willing to share, I'd be very grateful.
I saw Kalman filters were brought up around four years ago and the thread fizzled out. But now IMUs are so much cheaper and more popular, I'm writing this in the hope that someone has managed to get one working. I know they're quite tricky!
Yours hopefully
Sarah
I too have interest in this!
Well, I've done some digging around and found a great tutorial on IMUs and Kalman filters (from Lauszus, someone who has used both to make a balancing robot). I'm going to try out his Arduino code and adapt it for Max, then compare and contrast. Trying to get a prototype up and running by Monday evening (waiting or a couple of components to arrive). I'll report back!
Here's the tutorial: http://www.instructables.com/id/Guide-to-gyro-and-accelerometer-with-Arduino-inclu/
(there's another, more in depth one by the same person - I think the link is on this page).
Sarah
Yeah that's great, I remember seeing the forum post a while back. I think I implemented some of the initial steps of filtering from that, but the math got real heavy real quick (for my blood anyways).
Would love to see what you come up with.