I'd like to use the Pixhawk with the PX4 flight stack to control two relays on the AUX ports with two of the switches on the Taranis transmitter. The relays are on a Parallax Dual Relay board, which simply require a HIGH/LOW signal to operate and are compatible with 3.3V signals.
I see that with the current releases of the PX4 flight stack and QGroundControl, I can assign AUX1, AUX2 and AUX3 to specific channels. However, it appears that this only allows for a PWM signal to those ports. Am I missing something or is it not possible to set the switches to control the AUX ports in a GPIO mode?
If it's not currently possibility, I assume I could write a module like gpio_led that will take RC transmitter inputs and send the correct GPIO signals?
I apologize if this is already documented elsewhere. I've found lots of information for relays/camera triggers for the APM flight stack, but very little regarding the PX4 flight stack.