summaryrefslogtreecommitdiffhomepage
path: root/filter-kalman
diff options
context:
space:
mode:
Diffstat (limited to 'filter-kalman')
-rw-r--r--filter-kalman/kalman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter-kalman/kalman.cpp b/filter-kalman/kalman.cpp
index 559f1ea5..744c732b 100644
--- a/filter-kalman/kalman.cpp
+++ b/filter-kalman/kalman.cpp
@@ -122,8 +122,8 @@ void kalman::fill_process_noise_cov_matrix(StateMatrix &target, double dt) const
double sigma_angle = s.process_sigma_rot;
double a_pos = sigma_pos * sigma_pos * dt;
double a_ang = sigma_angle * sigma_angle * dt;
- static constexpr double b = 20;
- static constexpr double c = 1.;
+ constexpr double b = 20;
+ constexpr double c = 1.;
for (int i = 0; i < 3; ++i)
{
target(i, i) = a_pos;