News for hackers. Stuff that matters.
Re:My Very First Production Bug by nj5rq on Wednesday June 12, 2024 @05:42PM (#40663509)
The last code block has a typo:

    #define FRAMERATE = 100.0
Should probably be:

    #define FRAMERATE 100.0
Re:My Very First Production Bug by niborgen on Wednesday June 12, 2024 @05:45PM (#40663541)
Right, sorry! Corrected now.
Re:My Very First Production Bug by sdefinit on Thursday June 13, 2024 @03:30AM (#40666947)
> 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!

Re:My Very First Production Bug by niborgen on Thursday June 13, 2024 @04:26AM (#40667236)
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!