From 3753550a727f0c077e1d1d5c3e8f3bf1a882fb0d Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sun, 23 Mar 2014 20:16:24 +0900 Subject: [PATCH] Copter: integrate get_spline_yaw --- ArduCopter/control_auto.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/control_auto.pde b/ArduCopter/control_auto.pde index ec7006be5d..f4c3ed2c0f 100644 --- a/ArduCopter/control_auto.pde +++ b/ArduCopter/control_auto.pde @@ -225,7 +225,7 @@ static void auto_spline_run() attitude_control.angle_ef_roll_pitch_rate_ef_yaw(wp_nav.get_roll(), wp_nav.get_pitch(), target_yaw_rate); }else{ // roll, pitch from waypoint controller, yaw heading from auto_heading() - attitude_control.angle_ef_roll_pitch_yaw(wp_nav.get_roll(), wp_nav.get_pitch(), get_auto_heading(),true); + attitude_control.angle_ef_roll_pitch_yaw(wp_nav.get_roll(), wp_nav.get_pitch(), wp_nav.get_spline_yaw(),true); } }