From be47b9ef9b527d775769ef1a668e548716c719fa Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Mar 2017 00:24:48 +0200 Subject: filter/accela: don't allow for very high values on the slider I already backed off a similar change months ago. But after giving it some thought, if you need an absurd amount of filtering then something must be wrong with your tracker setup. --- filter-accela/accela-settings.hpp | 16 ++++++++-------- filter-accela/ftnoir_accela_filtercontrols.ui | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/filter-accela/accela-settings.hpp b/filter-accela/accela-settings.hpp index 2ecd8bbc..ea1b125c 100644 --- a/filter-accela/accela-settings.hpp +++ b/filter-accela/accela-settings.hpp @@ -44,17 +44,17 @@ struct settings_accela : opts static void make_splines(spline& rot, spline& trans); - value rot_sensitivity, trans_sensitivity; - value rot_deadzone, trans_deadzone; + value rot_sensitivity, pos_sensitivity; + value rot_deadzone, pos_deadzone; value ewma; value rot_nonlinearity; settings_accela() : opts("accela-sliders"), - rot_sensitivity(b, "rotation-sensitivity", slider_value(1.5, .05, 5)), - trans_sensitivity(b, "translation-sensitivity", slider_value(1., .05, 1.5)), - rot_deadzone(b, "rotation-deadzone", slider_value(.03, 0, 2)), - trans_deadzone(b, "translation-deadzone", slider_value(.1, 0, 1)), - ewma(b, "ewma", slider_value(0, 0, 30)), - rot_nonlinearity(b, "rotation-nonlinearity", slider_value(1.2, 1, 1.5)) + rot_sensitivity(b, "rotation-sensitivity", slider_value(1.5, .1, 2)), + pos_sensitivity(b, "translation-sensitivity", slider_value(1., .05, 1.5)), + rot_deadzone(b, "rotation-deadzone", slider_value(.03, 0, .1)), + pos_deadzone(b, "translation-deadzone", slider_value(.1, 0, 1)), + ewma(b, "ewma", slider_value(0, 0, 15)), + rot_nonlinearity(b, "rotation-nonlinearity", slider_value(1.2, 1, 1.3)) {} }; diff --git a/filter-accela/ftnoir_accela_filtercontrols.ui b/filter-accela/ftnoir_accela_filtercontrols.ui index 66cc967f..621d32f7 100644 --- a/filter-accela/ftnoir_accela_filtercontrols.ui +++ b/filter-accela/ftnoir_accela_filtercontrols.ui @@ -80,7 +80,7 @@ 0 - 60 + 15 3 @@ -155,7 +155,7 @@ 0 - 100 + 20 5 @@ -197,7 +197,7 @@ 0 - 145 + 29 15 @@ -278,10 +278,10 @@ 0 - 495 + 38 - 15 + 5 Qt::Horizontal @@ -326,7 +326,7 @@ 0 - 200 + 10 5 @@ -416,7 +416,7 @@ 0 - 20 + 12 2 -- cgit v1.2.3