Tools: Replay: AP_AHRS no longer requires GPS in constructor

This commit is contained in:
Peter Barker 2017-12-02 16:53:47 +11:00 committed by Francisco Ferreira
parent a35e86c2fd
commit e76865eb9c

View File

@ -66,7 +66,7 @@ public:
RangeFinder rng{serial_manager, ROTATION_PITCH_270}; RangeFinder rng{serial_manager, ROTATION_PITCH_270};
NavEKF2 EKF2{&ahrs, barometer, rng}; NavEKF2 EKF2{&ahrs, barometer, rng};
NavEKF3 EKF3{&ahrs, barometer, rng}; NavEKF3 EKF3{&ahrs, barometer, rng};
AP_AHRS_NavEKF ahrs{ins, barometer, gps, EKF2, EKF3}; AP_AHRS_NavEKF ahrs{ins, barometer, EKF2, EKF3};
AP_InertialNav_NavEKF inertial_nav{ahrs}; AP_InertialNav_NavEKF inertial_nav{ahrs};
AP_Vehicle::FixedWing aparm; AP_Vehicle::FixedWing aparm;
AP_Airspeed airspeed; AP_Airspeed airspeed;