From 31fd9a22a3346f48a74224f9937c839f9d0a3a19 Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Wed, 12 Dec 2012 23:27:45 +0900 Subject: [PATCH] ArduCopter: restore YAW to default AUTO_YAW mode instead of YAW_LOOK_AT_NEXT_WP mode --- ArduCopter/commands_logic.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/commands_logic.pde b/ArduCopter/commands_logic.pde index 49bbcfa532..078cec4bf0 100644 --- a/ArduCopter/commands_logic.pde +++ b/ArduCopter/commands_logic.pde @@ -285,9 +285,9 @@ static void do_nav_wp() wp_verify_byte |= NAV_ALTITUDE; } - // reset control of yaw + // reset control of yaw to default if( g.yaw_override_behaviour == YAW_OVERRIDE_BEHAVIOUR_AT_NEXT_WAYPOINT ) { - set_yaw_mode(YAW_LOOK_AT_NEXT_WP); + set_yaw_mode(AUTO_YAW); } }