From 52064772ee84c77b50f2fc8f0963417fd67e7559 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 15 Aug 2012 11:18:41 +1000 Subject: [PATCH] APM: report speed changes via MAVLink --- ArduPlane/commands_logic.pde | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ArduPlane/commands_logic.pde b/ArduPlane/commands_logic.pde index cd87cc4f70..cb6e82cd1e 100644 --- a/ArduPlane/commands_logic.pde +++ b/ArduPlane/commands_logic.pde @@ -520,8 +520,10 @@ static void do_change_speed() switch (next_nonnav_command.p1) { case 0: // Airspeed - if(next_nonnav_command.alt > 0) + if (next_nonnav_command.alt > 0) { g.airspeed_cruise_cm.set(next_nonnav_command.alt * 100); + gcs_send_text_fmt(PSTR("Set airspeed %u m/s"), (unsigned)next_nonnav_command.alt); + } break; case 1: // Ground speed g.min_gndspeed_cm.set(next_nonnav_command.alt * 100);