Skip to content
Snippets Groups Projects
Commit d003334b authored by Randy Mackay's avatar Randy Mackay
Browse files

Copter: pre-arm check for ACRO_BAL_ROLL and PITCH

parent 9ee308ef
No related branches found
No related tags found
No related merge requests found
......@@ -367,6 +367,14 @@ static void pre_arm_checks(bool display_failure)
}
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment