summaryrefslogtreecommitdiffhomepage
path: root/filter-kalman
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-18 09:05:25 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-18 09:12:55 +0100
commitc2f88ee8bec8cdd0ea573b54aee89a241c7d4deb (patch)
tree3b311ad8bec8c05bf82e4f7ef77ace6468798fb4 /filter-kalman
parent6167effc23b8ca8a3034f1ab465565f92c621187 (diff)
plugins: rename check_status -> initialize
It's a contract for plugin invocation that the particular function fills the role of initialization. Rename accordingly.
Diffstat (limited to 'filter-kalman')
-rw-r--r--filter-kalman/kalman.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/filter-kalman/kalman.h b/filter-kalman/kalman.h
index 8fa9e716..607c8ddf 100644
--- a/filter-kalman/kalman.h
+++ b/filter-kalman/kalman.h
@@ -141,6 +141,7 @@ public:
void reset();
void filter(const double *input, double *output) override;
void center() override { reset(); }
+ module_status initialize() { return status_ok(); }
PoseVector last_input;
Timer timer;
bool first_run;