AP_AHRS: fixed example build

This commit is contained in:
Andrew Tridgell 2016-12-10 18:16:19 +11:00
parent 29bc07f410
commit 0870e02584
1 changed files with 2 additions and 2 deletions

View File

@ -21,10 +21,10 @@ AP_SerialManager serial_manager;
class DummyVehicle {
public:
RangeFinder sonar {serial_manager};
AP_AHRS_NavEKF ahrs{ins, barometer, gps, sonar, EKF, EKF2,
AP_AHRS_NavEKF ahrs{ins, barometer, gps, sonar, EKF2, EKF3,
AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
NavEKF EKF{&ahrs, barometer, sonar};
NavEKF2 EKF2{&ahrs, barometer, sonar};
NavEKF3 EKF3{&ahrs, barometer, sonar};
};
static DummyVehicle vehicle;