Skip to content

Commit

Permalink
ekf2: temporarily hardcode new quality information to unkown
Browse files Browse the repository at this point in the history
until priseborough's and nicovanduijn's pr #12950
  • Loading branch information
MaEtUgR authored and dagar committed Sep 19, 2019
1 parent c8d0eba commit fa13f63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/ekf2/ekf2_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa13f63

Please sign in to comment.