From 3f45ddac8ea5959a750f2ab24fd60ceaf960aebc Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 27 Oct 2017 13:49:06 +0200 Subject: filter/accela: allow for double the deadzone value --- filter-accela/accela-settings.hpp | 10 +++++----- filter-accela/ftnoir_accela_filtercontrols.ui | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'filter-accela') diff --git a/filter-accela/accela-settings.hpp b/filter-accela/accela-settings.hpp index 2dfc965c..8cf684d1 100644 --- a/filter-accela/accela-settings.hpp +++ b/filter-accela/accela-settings.hpp @@ -21,11 +21,11 @@ struct settings_accela : opts static constexpr gains rot_gains[16] = { - { 11, 500 }, { 9, 300 }, - { 6, 150 }, - { 2.66, 35 }, - { 1.66, 8 }, + { 8, 200 }, + { 5, 100 }, + { 2.5, 35 }, + { 1.5, 8 }, { 1, 1.5 }, { .5, .4 }, }; @@ -54,7 +54,7 @@ struct settings_accela : opts opts("accela-sliders"), rot_sensitivity(b, "rotation-sensitivity", slider_value(1.5, .05, 2.5)), pos_sensitivity(b, "translation-sensitivity", slider_value(1., .05, 1.5)), - rot_deadzone(b, "rotation-deadzone", slider_value(.03, 0, .1)), + rot_deadzone(b, "rotation-deadzone", slider_value(.03, 0, .2)), pos_deadzone(b, "translation-deadzone", slider_value(.1, 0, 1)), ewma(b, "ewma", slider_value(0, 0, 200)) {} diff --git a/filter-accela/ftnoir_accela_filtercontrols.ui b/filter-accela/ftnoir_accela_filtercontrols.ui index f390c329..dc3a81e9 100644 --- a/filter-accela/ftnoir_accela_filtercontrols.ui +++ b/filter-accela/ftnoir_accela_filtercontrols.ui @@ -321,7 +321,7 @@ 0 - 10 + 20 1 -- cgit v1.2.3