From 946d80a09181363ea44b33c6b633a6dd9b8a1a0c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 27 Sep 2016 14:59:54 +0200 Subject: filter/accela: adjust some other clamps and defaults --- filter-accela/accela-settings.hpp | 6 +- filter-accela/ftnoir_accela_filtercontrols.ui | 298 +++++++++++++------------- 2 files changed, 152 insertions(+), 152 deletions(-) (limited to 'filter-accela') diff --git a/filter-accela/accela-settings.hpp b/filter-accela/accela-settings.hpp index e132e66a..b012fc07 100644 --- a/filter-accela/accela-settings.hpp +++ b/filter-accela/accela-settings.hpp @@ -51,9 +51,9 @@ struct settings_accela : opts settings_accela() : opts("accela-sliders"), rot_sensitivity(b, "rotation-sensitivity", slider_value(1.8, .05, 5)), - trans_sensitivity(b, "translation-sensitivity", slider_value(1.8, .05, 4)), - rot_deadzone(b, "rotation-deadzone", slider_value(0, 0, 2)), - trans_deadzone(b, "translation-deadzone", slider_value(0, 0, 1)), + 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)) {} diff --git a/filter-accela/ftnoir_accela_filtercontrols.ui b/filter-accela/ftnoir_accela_filtercontrols.ui index eaccf95d..5509bd3f 100644 --- a/filter-accela/ftnoir_accela_filtercontrols.ui +++ b/filter-accela/ftnoir_accela_filtercontrols.ui @@ -30,64 +30,6 @@ 5 - - - - - 0 - 0 - - - - - 7 - - - - QFrame::NoFrame - - - <html><head/><body><p align="right"><br/><span style=" font-size:10pt;">Accela by </span><a href="https://github.com/sthalik"><span style=" font-size:10pt; text-decoration: underline; color:#0057ae;">Stanisław Halik</span></a><span style=" font-size:10pt;"><br/>Thanks to </span><a href="https://github.com/dbaarda"><span style=" font-size:10pt; text-decoration: underline; color:#0057ae;">Donovan Baarda</span></a></p><p align="right"><span style=" font-size:10pt;">2012-2015</span></p><p align="right"><br/><span style=" font-size:8pt;">Visit </span><a href="https://github.com/opentrack/opentrack/wiki/Accela-in-opentrack-2.3"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">our wiki</span></a><span style=" font-size:8pt;"> for description of the settings.</span></p></body></html> - - - Qt::RichText - - - false - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - true - - - 0 - - - 0 - - - true - - - Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - - - - - - - 0 - 0 - - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - @@ -145,12 +87,12 @@ - - + + - Rotation filtering (Yaw, pitch, and roll) + Position filtering (X, Y, Z - translation) - + 4 @@ -164,7 +106,7 @@ 2 - + 0 @@ -177,7 +119,7 @@ - + 50 @@ -185,41 +127,28 @@ - + 0mm - - + + 0 - 495 + 100 - 15 + 5 Qt::Horizontal - - QSlider::TicksAbove - - - 50 - - - - - - - Deadzone - - + 50 @@ -227,35 +156,54 @@ - + 0mm - - + + + + Deadzone + + + + + 0 - 200 + 145 - 5 + 15 Qt::Horizontal + + QSlider::TicksAbove + + + 40 + + trans_dz_slider + translation_slider + trans_dz + label_6 + trans_gain + label - - + + - Position filtering (X, Y, Z - translation) + Rotation filtering (Yaw, pitch, and roll) - + 4 @@ -269,7 +217,7 @@ 2 - + 0 @@ -282,7 +230,7 @@ - + 50 @@ -290,28 +238,41 @@ - 0mm + - - + + 0 - 100 + 495 - 5 + 15 Qt::Horizontal + + QSlider::TicksAbove + + + 50 + + + + + + + Deadzone + - + 50 @@ -319,46 +280,27 @@ - 0mm - - - - - - - Deadzone + - - + + 0 - 395 + 200 - 15 + 5 Qt::Horizontal - - QSlider::TicksAbove - - - 40 - - trans_dz_slider - translation_slider - trans_dz - label_6 - trans_gain - label @@ -367,31 +309,6 @@ Rotation nonlinearity - - - - 0 - - - 20 - - - 2 - - - 1 - - - Qt::Horizontal - - - QSlider::TicksAbove - - - 3 - - - @@ -417,9 +334,92 @@ + + + + 0 + + + 20 + + + 2 + + + 1 + + + Qt::Horizontal + + + QSlider::TicksAbove + + + 3 + + + + + + + + 0 + 0 + + + + + 7 + + + + QFrame::NoFrame + + + <html><head/><body><p align="right"><br/><span style=" font-size:10pt;">Accela by </span><a href="https://github.com/sthalik"><span style=" font-size:10pt; text-decoration: underline; color:#0057ae;">Stanisław Halik</span></a><span style=" font-size:10pt;"><br/>Thanks to </span><a href="https://github.com/dbaarda"><span style=" font-size:10pt; text-decoration: underline; color:#0057ae;">Donovan Baarda</span></a></p><p align="right"><span style=" font-size:10pt;">2012-2015</span></p><p align="right"><br/><span style=" font-size:8pt;">Visit </span><a href="https://github.com/opentrack/opentrack/wiki/Accela-in-opentrack-2.3"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">our wiki</span></a><span style=" font-size:8pt;"> for description of the settings.</span></p></body></html> + + + Qt::RichText + + + false + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + true + + + 0 + + + 0 + + + true + + + Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + + + + + 0 + 0 + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + -- cgit v1.2.3