- move the control code out of FrameInfo and into View itself. FrameInfo now just gathers information about the frames instead of also doing part of the control. - the control code has been refactored into a more formal PIDController. - a few bugs were fixed in the control loop and default parameters tuned. The control loop itself now outputs a relative scale factor instead of an absolute one. The relative scale factor seems easier to control and is less jittery, and doesn't have to rely on the "integral" term of the PID. It's possible that more tuning is needed, but the scaling is now more stable.
29 KiB
29 KiB