mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Replay: pass range finder into ahrs constructor
This commit is contained in:
parent
d5934343d4
commit
1f58cb9980
@ -70,7 +70,8 @@ static AP_InertialSensor ins;
|
||||
static AP_Baro barometer;
|
||||
static AP_GPS gps;
|
||||
static Compass compass;
|
||||
static AP_AHRS_NavEKF ahrs(ins, barometer, gps);
|
||||
static RangeFinder rng;
|
||||
static AP_AHRS_NavEKF ahrs(ins, barometer, gps, rng);
|
||||
static AP_InertialNav_NavEKF inertial_nav(ahrs);
|
||||
static AP_Vehicle::FixedWing aparm;
|
||||
static AP_Airspeed airspeed(aparm);
|
||||
|
Loading…
Reference in New Issue
Block a user