From d809ce51a7b5e8fa3704ae8298dc1795dcca0eba Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 16 Oct 2014 12:54:21 +1100 Subject: [PATCH] Replay: convert to new AP_InertialSensor API --- Tools/Replay/Replay.pde | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tools/Replay/Replay.pde b/Tools/Replay/Replay.pde index 35f5d221b1..19c26871af 100644 --- a/Tools/Replay/Replay.pde +++ b/Tools/Replay/Replay.pde @@ -65,7 +65,7 @@ const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; static Parameters g; -static AP_InertialSensor_HIL ins; +static AP_InertialSensor ins; static AP_Baro_HIL barometer; static AP_GPS gps; static AP_Compass_HIL compass; @@ -207,6 +207,8 @@ void setup() barometer.read(); compass.init(); inertial_nav.init(); + ins.set_hil_mode(); + switch (update_rate) { case 0: case 50: