diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-29 09:21:41 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-29 09:41:23 +0100 |
commit | 33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 (patch) | |
tree | 7deb1be34f9d7ecfca3bd22da6bf722ee19b5f4f /filter-kalman | |
parent | 29bf7f94eab413e25914c3939d7ff19ef0cd4c48 (diff) |
static constexpr -> constexpr
Diffstat (limited to 'filter-kalman')
-rw-r--r-- | filter-kalman/kalman.cpp | 4 |
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; |