summaryrefslogtreecommitdiffhomepage
path: root/filter-kalman
diff options
context:
space:
mode:
Diffstat (limited to 'filter-kalman')
-rw-r--r--filter-kalman/kalman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/filter-kalman/kalman.h b/filter-kalman/kalman.h
index a788cab9..607580dd 100644
--- a/filter-kalman/kalman.h
+++ b/filter-kalman/kalman.h
@@ -139,7 +139,8 @@ class kalman : public IFilter
public:
kalman();
void reset();
- void filter(const double *input, double *output);
+ void filter(const double *input, double *output) override;
+ void center() override { reset(); }
PoseVector last_input;
Timer timer;
bool first_run;