mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Replay: fix rangefinder instantiation
This commit is contained in:
parent
e725ae866b
commit
bc89432019
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user