Skip to content

Commit

Permalink
correct format string
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlee committed Jul 22, 2023
1 parent de6e160 commit e3210a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rednose/helpers/ekf_sym.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ std::optional<Estimate> EKFSym::predict_and_update_batch(double t, int kind, std
std::deque<Observation> rewound;
if (!std::isnan(this->filter_time) && t < this->filter_time) {
if (this->rewind_t.empty() || t < this->rewind_t.front() || t < this->rewind_t.back() - this->max_rewind_age) {
LOGD("observation too old at %d with filter at %d, ignoring!", t, this->filter_time);
LOGD("observation too old at %f with filter at %f, ignoring!", t, this->filter_time);
return std::nullopt;
}
rewound = this->rewind(t);
Expand Down

0 comments on commit e3210a1

Please sign in to comment.