Re:My Very First Production Bug
by 01HNNWZ0MV43FF on Thursday June 13, 2024 @01:50AM
(#40666332)
That code looks weird to me either way. You end up with a strange float. I represent framerates as rational numbers, e.g. 60/1. It works great for ffmpeg.
[ Parent
| on HN ]
The Kalman filter code does need floats, though. So here we did indeed need a conversion.
Re:My Very First Production Bug
by 01HNNWZ0MV43FF on Sunday June 16, 2024 @01:39PM
(#40698749)
Sure. I haven't looked at the code so I could easily be off base but, even with floats I want to delay that divide for as long as possible