mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-25 10:08:28 -04:00
Copter: pre-arm check for ACRO_BAL_ROLL and PITCH
This commit is contained in:
parent
9ee308efd5
commit
d003334b75
@ -367,6 +367,14 @@ static void pre_arm_checks(bool display_failure)
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// acro balance parameter check
|
||||||
|
if ((g.acro_balance_roll > g.pi_stabilize_roll.kP()) || (g.acro_balance_pitch > g.pi_stabilize_pitch.kP())) {
|
||||||
|
if (display_failure) {
|
||||||
|
gcs_send_text_P(SEVERITY_HIGH,PSTR("PreArm: ACRO_BAL_ROLL/PITCH"));
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// if we've gotten this far then pre arm checks have completed
|
// if we've gotten this far then pre arm checks have completed
|
||||||
|
Loading…
Reference in New Issue
Block a user