I have a Navio2 running PX4 driving 3 ESCs and 2 servos on a drone (tricopter with 2 tilting rotors). When disarmed, all PWM outputs are set to
PWM_DISARMED (e.g. 900) by
linux_pwm_out. This moves the two servos to their extreme end position which is not ideal. I needed them to be centered (e.g. 1500).
I managed to fork/clone and modify linux_pwm_out.cpp to support individual disarmed values with PWM_MAIN_DIS* parameters similar to what NuttX based FC have via
How should I go about committing this to the master branch? Should I open an issue then do a pull request. I’ve read the guidelines but wanted to see if anyone has experience adding a feature that can help me out.
The commit to my forked repo is here: https://github.com/eddyanm/Firmware/commit/759f59252bf20907f56dfd2771cca695fa4f666b