summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela.cpp2
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.cpp b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
index 62ae9c33..25452219 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela.cpp
+++ b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
@@ -48,7 +48,7 @@ void FTNoIR_Filter::filter(const double* input, double *output)
const double RC = 2 * s.ewma / 1000.; // seconds
const double alpha = dt/(dt+RC);
- const double rot_dz = s.rot_deadzone * 3. / 1000.;
+ const double rot_dz = s.rot_deadzone * 2. / 100.;
const double trans_dz = s.trans_deadzone * 1. / 100.;
for (int i = 0; i < 6; i++)
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp b/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp
index 8e4035be..6bcc249b 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp
+++ b/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp
@@ -71,7 +71,7 @@ void FilterControls::update_ewma_display(int value)
void FilterControls::update_rot_dz_display(int value)
{
- ui.rot_dz->setText(QString::number(value * 3 / 1000.) + "°");
+ ui.rot_dz->setText(QString::number(value * 2 / 100.) + "°");
}
void FilterControls::update_trans_dz_display(int value)