// output_disarmed - sends commands to the motors void AP_MotorsHeli::output_disarmed() { if(_rc_throttle->control_in > 0) { // we have pushed up the throttle // remove safety _auto_armed = true; } // for helis - armed or disarmed we allow servos to move output_armed(); }
// output - sends commands to the motors void AP_Motors::output() { // update max throttle update_max_throttle(); // output to motors if (_flags.armed ) { output_armed(); } else { output_disarmed(); } };
// output_disarmed - sends commands to the motors void AP_MotorsHeli::output_disarmed() { // for helis - armed or disarmed we allow servos to move output_armed(); }