Tools: rangefinder no longer takes SerialManager in constructor

This commit is contained in:
Peter Barker 2019-07-11 16:57:11 +10:00 committed by Andrew Tridgell
parent c0993509f7
commit 070e9e56b3
1 changed files with 1 additions and 1 deletions

View File

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