Sub: Remove unnecessary failsafe from motor test.

This commit is contained in:
Rustom Jehangir 2016-08-01 16:38:16 -07:00 committed by Andrew Tridgell
parent 69cd30fd8e
commit a6a1004ff9
1 changed files with 0 additions and 6 deletions

View File

@ -78,12 +78,6 @@ bool Sub::mavlink_motor_test_check(mavlink_channel_t chan, bool check_rc)
return false;
}
// ensure we are landed
if (!ap.land_complete) {
gcs[chan-MAVLINK_COMM_0].send_text(MAV_SEVERITY_CRITICAL,"Motor Test: vehicle not landed");
return false;
}
// check if safety switch has been pushed
if (hal.util->safety_switch_state() == AP_HAL::Util::SAFETY_DISARMED) {
gcs[chan-MAVLINK_COMM_0].send_text(MAV_SEVERITY_CRITICAL,"Motor Test: Safety switch");