From f88205b28c4b711ec488454b387b40b54d4d256c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 3 Dec 2016 07:13:25 +0100 Subject: filter/accela: describe in dialog, adjust defaults --- filter-accela/accela-settings.hpp | 4 +- filter-accela/ftnoir_accela_filtercontrols.ui | 126 ++++++++++++++++---------- 2 files changed, 82 insertions(+), 48 deletions(-) diff --git a/filter-accela/accela-settings.hpp b/filter-accela/accela-settings.hpp index b012fc07..2ecd8bbc 100644 --- a/filter-accela/accela-settings.hpp +++ b/filter-accela/accela-settings.hpp @@ -50,11 +50,11 @@ struct settings_accela : opts value rot_nonlinearity; settings_accela() : opts("accela-sliders"), - rot_sensitivity(b, "rotation-sensitivity", slider_value(1.8, .05, 5)), + 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.05, 1, 1.5)) + rot_nonlinearity(b, "rotation-nonlinearity", slider_value(1.2, 1, 1.5)) {} }; diff --git a/filter-accela/ftnoir_accela_filtercontrols.ui b/filter-accela/ftnoir_accela_filtercontrols.ui index 4ed91099..4649bcd6 100644 --- a/filter-accela/ftnoir_accela_filtercontrols.ui +++ b/filter-accela/ftnoir_accela_filtercontrols.ui @@ -10,7 +10,7 @@ 0 0 550 - 412 + 435 @@ -308,55 +308,89 @@ Rotation nonlinearity - - - - - - 50 - 0 - - - - - 12 - - - - <html><head/><body><p>x<span style=" vertical-align:super;">2</span></p></body></html> - - - - - + + + - Value + Setting it higher will filter out rotation noise but may cause sudden jumps on very high settings. - - - - 0 - - - 20 - - - 2 - - - 1 - - - Qt::Horizontal - - - QSlider::TicksAbove - - - 3 - + + + + QFrame::NoFrame + + + QFrame::Raised + + + + 6 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Value + + + + + + + + 50 + 0 + + + + + 12 + + + + <html><head/><body><p>x<span style=" vertical-align:super;">2</span></p></body></html> + + + + + + + 0 + + + 20 + + + 2 + + + 1 + + + Qt::Horizontal + + + QSlider::TicksAbove + + + 3 + + + + -- cgit v1.2.3