Skip to content

Conversation

@PonomarevDA
Copy link
Contributor

@PonomarevDA PonomarevDA commented Dec 12, 2025

This PR refactors the PWM output stack into a new RCOUT module with a protocol-agnostic command router:

  • Params: add new pwm.output_type (always 0 at the moment)
  • Rename modules/pwm -> modules/rcout
  • Introduce PwmRouter and ActuatorCommand
  • Move channel table initialization from Driver::RCPWM to platform-specific

This should simplify adding new control devices like Gimbal, Gripper and LEDs.

Test coverage

  • In SITL
  • With real device...

@PonomarevDA PonomarevDA force-pushed the pr-refactor-pwm branch 4 times, most recently from e2fa045 to e69c069 Compare December 12, 2025 18:34
@PonomarevDA PonomarevDA marked this pull request as ready for review December 12, 2025 18:44
@sonarqubecloud
Copy link

@PonomarevDA PonomarevDA merged commit f2e9b07 into main Dec 12, 2025
9 of 10 checks passed
@PonomarevDA PonomarevDA deleted the pr-refactor-pwm branch December 12, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants