From 1f58cb9980284df90967fb9c7cbabc8001e68957 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 24 Apr 2015 11:27:27 +0900 Subject: [PATCH] Replay: pass range finder into ahrs constructor --- Tools/Replay/Replay.pde | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/Replay/Replay.pde b/Tools/Replay/Replay.pde index 802351322a..0d21be61ff 100644 --- a/Tools/Replay/Replay.pde +++ b/Tools/Replay/Replay.pde @@ -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);