summaryrefslogtreecommitdiffhomepage
path: root/filter-kalman
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-06 02:09:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-06 04:21:42 +0200
commite69e3c4fa5e5ba255537412d4b559e32ff8f1914 (patch)
tree3297d78eef31c74db4695dc3378c40c5bd9d2442 /filter-kalman
parentfacfc0e2444e485d6e14b6b96462ef0acefb42c0 (diff)
logic/tracker: call IFilter::center()
Issue: #540
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;