Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Experimental biquad RC fitler instead of RC interpolation #3740
Current predictive approach to RC interpolation doesn't account for variable RX update frequency and in certain scenarios (end of rapid stick movement) can amplify rcCommand irregularity instead of smoothing it.
Biquad filter gives much better results and effectively eliminates effect known as D-term kick, thus allowing much higher than usual Dterm setpoint weights. This is especially noticeable on low-rate links (like CRSF at the egde of range - 5Hz mode).