From ee8ab89f6e2d7a2a706dcde162630df207974dfe Mon Sep 17 00:00:00 2001 From: Jason Short Date: Tue, 8 Nov 2011 23:44:14 -0800 Subject: [PATCH] Added MAV_CMD YAW parsing --- ArduCopter/GCS_Mavlink.pde | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ArduCopter/GCS_Mavlink.pde b/ArduCopter/GCS_Mavlink.pde index 3dffeb2194..ede9ae1dc3 100644 --- a/ArduCopter/GCS_Mavlink.pde +++ b/ArduCopter/GCS_Mavlink.pde @@ -1014,6 +1014,13 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg) param1 = tell_command.p1; break; + case MAV_CMD_CONDITION_YAW: + param3 = tell_command.p1; + param1 = tell_command.alt; + param2 = tell_command.lat; + param4 = tell_command.lng; + break; + case MAV_CMD_NAV_TAKEOFF: param1 = 0; break;