Replay: fix rangefinder instantiation

This commit is contained in:
Randy Mackay 2017-02-09 21:05:15 +09:00
parent e725ae866b
commit bc89432019

View File

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