Esempio n. 1
0
// 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();
}
Esempio n. 2
0
// 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();
    }
};
Esempio n. 3
0
// output_disarmed - sends commands to the motors
void AP_MotorsHeli::output_disarmed()
{
    // for helis - armed or disarmed we allow servos to move
    output_armed();
}