I was very surprized when I searched on the forums for "kalman" and no threads were found.

I bought an Triple Axis Accelerometer with Triple Axis Gyroscope, I managed to read the values in the computer from the device using the comm port.

The problem is that I get ~ 390 frames per second, and the numbers vary a lot. Even when I don't move the device, the numbers still change a lot. I think I need to average the values (or something like that). But searching on the net, I found that this is best done with a Kalman Filter.

The best example of what I need to achive is shown here:
http://www.youtube.com/watch?v=AWAFFZ7rPDc

If you look at the right, that is what I get right now, and what I need is on the left.

I wish I knew how to explain this a little better.

Does anyone have any experience with this ?