Hacker News new | ask | show | jobs
by nj5rq 742 days ago
The last code block has a typo:

    #define FRAMERATE = 100.0
Should probably be:

    #define FRAMERATE 100.0
1 comments

Right, sorry! Corrected now.
> Turns out, all the ‘update’ quantities were zero, resulting in the sluggish behavior of the filter.

I think you also meant the predict quantities were zero, not the update!

The prediction quantities were indeed zero, as they get discretized by multiplying with the sampling time. You're right that some discretized part of the update quantities were also zero, resulting in an identity 'A' matrix. I'll correct it, thanks!