From fa13f63db6dc7b0131426aae90dbb99593ff2014 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Wed, 18 Sep 2019 09:25:39 +0200 Subject: [PATCH] ekf2: temporarily hardcode new quality information to unkown until priseborough's and nicovanduijn's pr #12950 --- src/modules/ekf2/ekf2_main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/ekf2/ekf2_main.cpp b/src/modules/ekf2/ekf2_main.cpp index 2523c8e3ea..4eb742c262 100644 --- a/src/modules/ekf2/ekf2_main.cpp +++ b/src/modules/ekf2/ekf2_main.cpp @@ -1137,7 +1137,8 @@ void Ekf2::run() } if (range_finder_updated) { - _ekf.setRangeData(range_finder.timestamp, range_finder.current_distance); + // TODO: Nico's pr will add proper quality handling, for now we put it to unkown + _ekf.setRangeData(range_finder.timestamp, range_finder.current_distance, -1.f); } // Save sensor limits reported by the rangefinder