Browse Source

Replay: pass range finder into ahrs constructor

mission-4.1.18
Randy Mackay 10 years ago
parent
commit
1f58cb9980
  1. 3
      Tools/Replay/Replay.pde

3
Tools/Replay/Replay.pde

@ -70,7 +70,8 @@ static AP_InertialSensor ins; @@ -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…
Cancel
Save