From 849e60366596154a786875280b80cbdc73f1c743 Mon Sep 17 00:00:00 2001 From: Lachlan Conn Date: Mon, 20 Nov 2023 12:38:28 +1100 Subject: [PATCH] Plane: QAssist speed warning added Also updated the severity of other QAssist messages --- ArduPlane/quadplane.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArduPlane/quadplane.cpp b/ArduPlane/quadplane.cpp index 0a5c724fc82b6..e14f95ed41596 100644 --- a/ArduPlane/quadplane.cpp +++ b/ArduPlane/quadplane.cpp @@ -1496,7 +1496,7 @@ bool QuadPlane::should_assist(float aspeed, bool have_airspeed) // we've been below assistant alt for Q_ASSIST_DELAY seconds if (!in_alt_assist) { in_alt_assist = true; - gcs().send_text(MAV_SEVERITY_INFO, "Alt assist %.1fm", height_above_ground); + gcs().send_text(MAV_SEVERITY_WARNING, "Alt assist %.1fm", height_above_ground); } return true; } @@ -1541,7 +1541,7 @@ bool QuadPlane::should_assist(float aspeed, bool have_airspeed) bool ret = (now - angle_error_start_ms) >= assist_delay*1000; if (ret && !in_angle_assist) { in_angle_assist = true; - gcs().send_text(MAV_SEVERITY_INFO, "Angle assist r=%d p=%d", + gcs().send_text(MAV_SEVERITY_WARNING, "Angle assist r=%d p=%d", (int)(ahrs.roll_sensor/100), (int)(ahrs.pitch_sensor/100)); } @@ -1573,7 +1573,7 @@ void SLT_Transition::update() if (!in_forced_transition) { const bool show_message = transition_state != TRANSITION_AIRSPEED_WAIT || transition_start_ms == 0; if (show_message) { - gcs().send_text(MAV_SEVERITY_INFO, "Transition started airspeed %.1f", (double)aspeed); + gcs().send_text(MAV_SEVERITY_WARNING, "QAssist: Transition started airspeed %.1f", (double)aspeed); } transition_state = TRANSITION_AIRSPEED_WAIT; if (transition_start_ms == 0) {