mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 15:53:34 +08:00
ekf2: temporarily hardcode new quality information to unkown
until priseborough's and nicovanduijn's pr #12950
This commit is contained in:
committed by
Daniel Agar
parent
c8d0eba1d2
commit
fa13f63db6
@@ -1137,7 +1137,8 @@ void Ekf2::run()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (range_finder_updated) {
|
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
|
// Save sensor limits reported by the rangefinder
|
||||||
|
|||||||
Reference in New Issue
Block a user