Browse Source

AP_Arming: move arm status statustext messages back into vehicles

Not all vehicle maintainers like having these emitted as part of normal
operations.
master
Peter Barker 6 years ago committed by Randy Mackay
parent
commit
1c4b5b0d73
  1. 4
      libraries/AP_Arming/AP_Arming.cpp

4
libraries/AP_Arming/AP_Arming.cpp

@ -796,8 +796,6 @@ bool AP_Arming::arm(AP_Arming::Method method, const bool do_arming_checks) @@ -796,8 +796,6 @@ bool AP_Arming::arm(AP_Arming::Method method, const bool do_arming_checks)
if (!do_arming_checks || (pre_arm_checks(true) && arm_checks(method))) {
armed = true;
gcs().send_text(MAV_SEVERITY_INFO, "Throttle armed");
//TODO: Log motor arming
//Can't do this from this class until there is a unified logging library
@ -816,8 +814,6 @@ bool AP_Arming::disarm() @@ -816,8 +814,6 @@ bool AP_Arming::disarm()
}
armed = false;
gcs().send_text(MAV_SEVERITY_INFO, "Throttle disarmed");
#if HAL_HAVE_SAFETY_SWITCH
AP_BoardConfig *board_cfg = AP_BoardConfig::get_singleton();
if ((board_cfg != nullptr) &&

Loading…
Cancel
Save