Fixed wing throttle rate limiter#11664
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
Test firmware build ready — commit Download firmware for PR #11664 238 targets built. Find your board's
|
|
Cool. I would have guessed that to disable, you'd say it should take at least 0 milliseconds. Zero to disable. |
Just down to |
Oh, smart people stuff. I'm not going to remember that if I ever touch this code, and I'm going to break it. To: Would that do the cast just once rather than casting every time the computation is done? Don't forget PG version and maybe consider putting the new field at the end for bonus safety, unless putting it in the middle improves alignment. |
Makes sense, I'll change it. |
Provides a means of limiting the rate of change of throttle output for fixed wing. Works in both directions, decreasing as well as increasing throttle.
Uses a single setting to define the minimum time in milliseconds for the throttle to change by 1000us, min to max throttle. Setting range = 100 to 10,000. A setting of 100, the default, disables the function.
Testing shows it to work as expected.
Could possibly be used for other platforms but not tested as of yet.