AP_Motors: Heli: remove loop rate "RSC control mode change failed" meassage

This commit is contained in:
Iampete1 2023-07-18 21:17:15 +01:00 committed by Randy Mackay
parent c5f3d5a98b
commit 3e246c9d25
3 changed files with 0 additions and 3 deletions

View File

@ -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()) {

View File

@ -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

View File

@ -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