[BACKPORT 1.17] Include PWM Center PR#26317
Merged
sfuhrer merged 2 commits intorelease/1.17from Jan 22, 2026
Merged
Conversation
Add PWM_*_CENTERx for each servo. Use a bilinear transform to map actuator_servos to PWM signals. This solution only works for PWM based servos. Other types of servos are not affected. * PWM: Add servo trim option * PWM: Improve documentation of PWM trim feature * PWM: cleaner clamping and docs typo * update documentation & safety * add migration formula * rename param from trim to center * docs with center instead of trim * move clamping and reorder values * improve documentation * adress failing range check * improve documentation * CA: add event for setting CENTER with TRIM Signed-off-by: Silvan <silvan@auterion.com> --------- Signed-off-by: Silvan <silvan@auterion.com> Co-authored-by: Silvan <silvan@auterion.com>
* Add Wheel and Gimbal support to PWM center * Document Center feature for PWM Gimbal
|
No flaws found |
🔎 FLASH Analysispx4_fmu-v5x [Total VM Diff: 1256 byte (0.06 %)]px4_fmu-v6x [Total VM Diff: 1120 byte (0.06 %)]Updated: 2026-01-21T08:23:56 |
sfuhrer
approved these changes
Jan 21, 2026
Contributor
sfuhrer
left a comment
There was a problem hiding this comment.
It's definitely a cool new feature and it got quite some testing in the last weeks, I would ok to merge it to the release branch as well.
But strictly speaking it's a feature and not a bug.
What's your take on it @dakejahl ?
dakejahl
approved these changes
Jan 21, 2026
Contributor
dakejahl
left a comment
There was a problem hiding this comment.
I'm cool with it, I took a quick look and it all looks good to me
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Solved Problem
Include Servo PWM feature merged here in the release 1.17
Solution
Changelog Entry
For release notes:
Test coverage
Testing is covered in the original PR