mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Rover: move estop pre-arm to AP_Arming and add exception
This commit is contained in:
parent
c86c89f05c
commit
02932275ca
@ -80,10 +80,6 @@ bool AP_Arming_Rover::pre_arm_checks(bool report)
|
|||||||
if (checks_to_perform == 0) {
|
if (checks_to_perform == 0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (SRV_Channels::get_emergency_stop()) {
|
|
||||||
check_failed(report, "Motors Emergency Stopped");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (rover.g2.sailboat.sail_enabled() && !rover.g2.windvane.enabled()) {
|
if (rover.g2.sailboat.sail_enabled() && !rover.g2.windvane.enabled()) {
|
||||||
check_failed(report, "Sailing enabled with no WindVane");
|
check_failed(report, "Sailing enabled with no WindVane");
|
||||||
|
Loading…
Reference in New Issue
Block a user