|
|
|
@ -225,7 +225,7 @@ static void auto_spline_run()
@@ -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); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|