I created a new flight mode and am trying to directly send a PWM command to the throttle and aileron channels using the lines:
but it doesn’t seem to be doing anything.
I am testing this on the ground, and I know that the code is entering the
::update() function of the new flight mode because I’ve added a
hal.console->printf("updating") for debugging purposes and am watching the serial monitor.
FWIW, I have all arming checks disabled, and also one thing I can’t figure out is that when I’m in this new mode, I can’t seem to move the throttle to spin up the motors but my control surfaces can move (throttle not working with both
plane.throttle_allows_nudging = false and