Replay: Fix rangefinder constructor

This commit is contained in:
Michael du Breuil 2019-04-05 02:53:42 -07:00 committed by Peter Barker
parent 02b4379b6c
commit 3a25897ab4

View File

@ -60,7 +60,7 @@ public:
AP_GPS gps;
Compass compass;
AP_SerialManager serial_manager;
RangeFinder rng{serial_manager, ROTATION_PITCH_270};
RangeFinder rng{serial_manager};
NavEKF2 EKF2{&ahrs, rng};
NavEKF3 EKF3{&ahrs, rng};
AP_AHRS_NavEKF ahrs{EKF2, EKF3};