summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanisław Halik <sthalik@misaki.pl>2016-09-06 02:17:42 +0200
committerGitHub <noreply@github.com>2016-09-06 02:17:42 +0200
commit356ec58ae0d51cc04b2d478fdc21b112f7cafb50 (patch)
treeeb60833689d6844c55854a1e155af236aa733603
parent0e068ef1ced2c1fed4baa3c15334c819018590be (diff)
parentdc60427fb48e971f2be97caebf69db70edf5330e (diff)
Merge pull request #443 from DaMichel/kf-parameter-tuning
filter-kalman parameter tuning
-rw-r--r--filter-kalman/kalman.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter-kalman/kalman.h b/filter-kalman/kalman.h
index d2bfaee5..d60634c4 100644
--- a/filter-kalman/kalman.h
+++ b/filter-kalman/kalman.h
@@ -90,8 +90,8 @@ struct settings : opts {
value<slider_value> noise_rot_slider_value;
value<slider_value> noise_pos_slider_value;
- static constexpr double adaptivity_window_length = 0.5; // seconds
- static constexpr double deadzone_scale = 2;
+ static constexpr double adaptivity_window_length = 0.25; // seconds
+ static constexpr double deadzone_scale = 8;
static constexpr double deadzone_exponent = 2.0;
static constexpr double process_sigma_pos = 0.5;
static constexpr double process_simga_rot = 0.5;