예제 #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();
}
예제 #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();
    }
};
예제 #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();
}