We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4368788 commit 1a0e24aCopy full SHA for 1a0e24a
libraries/AP_Arming/AP_Arming.cpp
@@ -1777,6 +1777,13 @@ bool AP_Arming::arm_checks(AP_Arming::Method method)
1777
}
1778
#endif
1779
1780
+ // Run estop check again, here in the arm checks there is no need
1781
+ // bypass the check if arm emergency stop aux function is setup
1782
+ if (SRV_Channels::get_emergency_stop()) {
1783
+ check_failed(true, "Motors Emergency Stopped");
1784
+ return false;
1785
+ }
1786
+
1787
// ensure the GPS drivers are ready on any final changes
1788
if (check_enabled(Check::GPS_CONFIG)) {
1789
if (!AP::gps().prepare_for_arming()) {
0 commit comments