summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_filter_accela/ftnoir_filter_accela.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_filter_accela/ftnoir_filter_accela.h')
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.h b/ftnoir_filter_accela/ftnoir_filter_accela.h
index e45af03a..4b0d528f 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela.h
+++ b/ftnoir_filter_accela/ftnoir_filter_accela.h
@@ -12,6 +12,11 @@ using namespace options;
struct settings : opts {
value<int> rot_threshold, trans_threshold, ewma, rot_deadzone, trans_deadzone;
+ static constexpr double mult_rot = 10. / 100.;
+ static constexpr double mult_trans = 5. / 100.;
+ static constexpr double mult_rot_dz = 2. / 100.;
+ static constexpr double mult_trans_dz = 1. / 100.;
+ static constexpr double mult_ewma = 2.;
settings() :
opts("Accela"),
rot_threshold(b, "rotation-threshold", 30),