ekf2: temporarily hardcode new quality information to unkown

until priseborough's and nicovanduijn's pr #12950
This commit is contained in:
Matthias Grob 2019-09-18 09:25:39 +02:00 committed by Daniel Agar
parent c8d0eba1d2
commit fa13f63db6

View File

@ -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