From b8c0bdb66fad5bd871fa116dcd8848d4aeddf378 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Tue, 3 Jan 2012 10:28:46 -0800 Subject: [PATCH] removed airspeed --- ArduCopter/GCS_Mavlink copy.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/GCS_Mavlink copy.txt b/ArduCopter/GCS_Mavlink copy.txt index 129e04f356..a03dac3d60 100644 --- a/ArduCopter/GCS_Mavlink copy.txt +++ b/ArduCopter/GCS_Mavlink copy.txt @@ -367,7 +367,7 @@ static void NOINLINE send_vfr_hud(mavlink_channel_t chan) { mavlink_msg_vfr_hud_send( chan, - (float)airspeed / 100.0, + (float)g_gps->ground_speed / 100.0, (float)g_gps->ground_speed / 100.0, (dcm.yaw_sensor / 100) % 360, g.rc_3.servo_out / 10, @@ -1766,7 +1766,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg) mavlink_msg_vfr_hud_decode(msg, &packet); // set airspeed - airspeed = 100 * packet.airspeed; + //airspeed = 100 * packet.airspeed; break; } #ifdef MAVLINK10