From 856dfd0ee61c0e8c29f603f7457fe4ce79f8a714 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 16 Feb 2014 18:43:15 +1100 Subject: [PATCH] AC_AttitudeControl: fixed example build --- .../AC_AttitudeControl_test/AC_AttitudeControl_test.pde | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AC_AttitudeControl/examples/AC_AttitudeControl_test/AC_AttitudeControl_test.pde b/libraries/AC_AttitudeControl/examples/AC_AttitudeControl_test/AC_AttitudeControl_test.pde index f05767beb4..16893b967c 100644 --- a/libraries/AC_AttitudeControl/examples/AC_AttitudeControl_test/AC_AttitudeControl_test.pde +++ b/libraries/AC_AttitudeControl/examples/AC_AttitudeControl_test/AC_AttitudeControl_test.pde @@ -68,7 +68,8 @@ AP_InertialNav inertial_nav(ahrs, baro, gps, gps_glitch); AC_P p_angle_roll, p_angle_pitch, p_angle_yaw; AC_PID pid_rate_roll, pid_rate_pitch, pid_rate_yaw; AC_P p_alt_pos, p_pos_xy; -AC_PID pid_alt_rate, pid_alt_accel; +AC_P pid_alt_rate; +AC_PID pid_alt_accel; AC_PID pid_rate_lat, pid_rate_lon; // fake RC inputs