Nick 575fa0850b
PWM: Add servo center setting & asymetric deflection (#25897)
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>
2025-11-26 18:12:25 +01:00
..
2025-09-07 17:58:33 -08:00
2025-07-03 14:53:12 +10:00
2025-07-24 10:06:39 +10:00
2025-11-24 09:23:17 -09:00
2025-07-03 14:53:12 +10:00
2025-11-18 19:36:11 -09:00
2025-09-26 10:33:35 +10:00
2025-06-26 11:03:23 -07:00
2025-11-26 15:05:05 +11:00
2025-11-26 15:05:05 +11:00
2025-11-26 15:05:05 +11:00
2025-11-26 15:05:05 +11:00