From 3e246c9d257b96bb98d55df5124f3c984db592ed Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Tue, 18 Jul 2023 21:17:15 +0100 Subject: [PATCH] AP_Motors: Heli: remove loop rate "RSC control mode change failed" meassage --- libraries/AP_Motors/AP_MotorsHeli_Dual.cpp | 1 - libraries/AP_Motors/AP_MotorsHeli_Quad.cpp | 1 - libraries/AP_Motors/AP_MotorsHeli_Single.cpp | 1 - 3 files changed, 3 deletions(-) diff --git a/libraries/AP_Motors/AP_MotorsHeli_Dual.cpp b/libraries/AP_Motors/AP_MotorsHeli_Dual.cpp index 036d4085d4..290a3f9a2e 100644 --- a/libraries/AP_Motors/AP_MotorsHeli_Dual.cpp +++ b/libraries/AP_Motors/AP_MotorsHeli_Dual.cpp @@ -242,7 +242,6 @@ void AP_MotorsHeli_Dual::calculate_armed_scalars() if (_main_rotor._rsc_mode.get() != _main_rotor.get_control_mode()) { _main_rotor.reset_rsc_mode_param(); _heliflags.save_rsc_mode = true; - gcs().send_text(MAV_SEVERITY_CRITICAL, "RSC control mode change failed"); } // saves rsc mode parameter when disarmed if it had been reset while armed if (_heliflags.save_rsc_mode && !armed()) { diff --git a/libraries/AP_Motors/AP_MotorsHeli_Quad.cpp b/libraries/AP_Motors/AP_MotorsHeli_Quad.cpp index f545b4c3e8..2b0fd53083 100644 --- a/libraries/AP_Motors/AP_MotorsHeli_Quad.cpp +++ b/libraries/AP_Motors/AP_MotorsHeli_Quad.cpp @@ -73,7 +73,6 @@ void AP_MotorsHeli_Quad::calculate_armed_scalars() // keeps user from changing RSC mode while armed if (_main_rotor._rsc_mode.get() != _main_rotor.get_control_mode()) { _main_rotor.reset_rsc_mode_param(); - gcs().send_text(MAV_SEVERITY_CRITICAL, "RSC control mode change failed"); _heliflags.save_rsc_mode = true; } // saves rsc mode parameter when disarmed if it had been reset while armed diff --git a/libraries/AP_Motors/AP_MotorsHeli_Single.cpp b/libraries/AP_Motors/AP_MotorsHeli_Single.cpp index 147ea2ee94..8d0ff929ce 100644 --- a/libraries/AP_Motors/AP_MotorsHeli_Single.cpp +++ b/libraries/AP_Motors/AP_MotorsHeli_Single.cpp @@ -243,7 +243,6 @@ void AP_MotorsHeli_Single::calculate_armed_scalars() // keeps user from changing RSC mode while armed if (_main_rotor._rsc_mode.get() != _main_rotor.get_control_mode()) { _main_rotor.reset_rsc_mode_param(); - gcs().send_text(MAV_SEVERITY_CRITICAL, "RSC control mode change failed"); _heliflags.save_rsc_mode = true; } // saves rsc mode parameter when disarmed if it had been reset while armed