Hi everyone,
I’m trying to configure a single auxiliary PWM output (specifically, one I’d assign to PWM_AUX_FUNC5
) to serve two different purposes:
-
Manual Control: I want to be able to control a device manually using a switch or dial on my remote controller (RC transmitter).
-
Mission Control: I also want this same output to be controlled automatically by the flight controller as part of a mission (e.g., using a
DO_SET_SERVO
command).
Is it possible to set up a single PWM output to have this dual functionality, where its behavior changes depending on whether I’m in a manual flight mode or running an autonomous mission? If so, what is the best way to configure this?
I’m looking for a way to seamlessly switch between manual RC control and automated mission control for the same peripheral. Any guidance, parameter suggestions, or examples would be greatly appreciated.
Thanks in advance!