From 889ee1bfeff1ad9959e01f90e7f7826958b000b7 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 14 Feb 2014 16:28:12 +0900 Subject: [PATCH] AC_Sprayer: fix example sketch --- .../AC_Sprayer/examples/AC_Sprayer_test/AC_Sprayer_test.pde | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AC_Sprayer/examples/AC_Sprayer_test/AC_Sprayer_test.pde b/libraries/AC_Sprayer/examples/AC_Sprayer_test/AC_Sprayer_test.pde index f22b22c34b..cc67e49c65 100644 --- a/libraries/AC_Sprayer/examples/AC_Sprayer_test/AC_Sprayer_test.pde +++ b/libraries/AC_Sprayer/examples/AC_Sprayer_test/AC_Sprayer_test.pde @@ -23,7 +23,7 @@ #include #include #include // PID library -#include // PID library +#include // P library #include // ArduPilot general purpose FIFO buffer #include // Inertial Navigation library #include @@ -53,10 +53,10 @@ AP_GPS_Auto auto_gps(&gps); GPS_Glitch gps_glitch(gps); AP_Compass_HMC5843 compass; -AP_AHRS_DCM ahrs(ins, gps); +AP_AHRS_DCM ahrs(ins, baro, gps); // Inertial Nav declaration -AP_InertialNav inertial_nav(&ahrs, &baro, gps, gps_glitch); +AP_InertialNav inertial_nav(ahrs, baro, gps, gps_glitch); // Sprayer AC_Sprayer sprayer(&inertial_nav);