From bc8943201949a841fa13e1083ea87f3a7d6070b1 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 9 Feb 2017 21:05:15 +0900 Subject: [PATCH] Replay: fix rangefinder instantiation --- Tools/Replay/Replay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/Replay/Replay.h b/Tools/Replay/Replay.h index 221085d3e4..6dadda22ef 100644 --- a/Tools/Replay/Replay.h +++ b/Tools/Replay/Replay.h @@ -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};