From 16d2ad97965391182025824a1fe9adcc1b034d62 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 13 Sep 2013 11:44:31 +1000 Subject: [PATCH] AP_TECS: changed to AP_Vehicle.h --- libraries/AP_TECS/AP_TECS.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/AP_TECS/AP_TECS.h b/libraries/AP_TECS/AP_TECS.h index 67751fca1b..74909a39fa 100644 --- a/libraries/AP_TECS/AP_TECS.h +++ b/libraries/AP_TECS/AP_TECS.h @@ -25,12 +25,13 @@ #include #include #include +#include #include #include class AP_TECS : public AP_SpdHgtControl { public: - AP_TECS(AP_AHRS &ahrs, const AP_SpdHgtControl::AircraftParameters &parms) : + AP_TECS(AP_AHRS &ahrs, const AP_Vehicle::FixedWing &parms) : _ahrs(ahrs), aparm(parms) { @@ -97,7 +98,7 @@ private: // reference to the AHRS object AP_AHRS &_ahrs; - const AP_SpdHgtControl::AircraftParameters &aparm; + const AP_Vehicle::FixedWing &aparm; // TECS tuning parameters AP_Float _hgtCompFiltOmega;