mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
ekf2: temporarily hardcode new quality information to unkown
until priseborough's and nicovanduijn's pr #12950
This commit is contained in:
parent
c8d0eba1d2
commit
fa13f63db6
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user