From 42e6b27e1afda7fcd8beddd9676ba7edb6363a34 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 14 Jan 2019 16:21:56 +0100 Subject: modernize only - replace `static constexpr inline' with `static constexpr'. `inline' is implied. - use braced initializer lists where applicable - still missing `override' usages --- filter-kalman/kalman.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'filter-kalman') diff --git a/filter-kalman/kalman.h b/filter-kalman/kalman.h index ad5e3e20..2d8db86e 100644 --- a/filter-kalman/kalman.h +++ b/filter-kalman/kalman.h @@ -26,8 +26,8 @@ using namespace options; #include #include -static constexpr inline int NUM_STATE_DOF = 12; -static constexpr inline int NUM_MEASUREMENT_DOF = 6; +static constexpr int NUM_STATE_DOF = 12; +static constexpr int NUM_MEASUREMENT_DOF = 6; // These vectors are compile time fixed size, stack allocated using StateToMeasureMatrix = Eigen::Matrix; using StateMatrix = Eigen::Matrix; @@ -86,11 +86,11 @@ struct settings : opts { value noise_rot_slider_value { b, "noise-rotation-slider", { .5, 0, 1 } }; value noise_pos_slider_value { b, "noise-position-slider", { .5, 0, 1 } }; - static constexpr inline double adaptivity_window_length = 0.25; // seconds - static constexpr inline double deadzone_scale = 8; - static constexpr inline double deadzone_exponent = 2.0; - static constexpr inline double process_sigma_pos = 0.5; - static constexpr inline double process_sigma_rot = 0.5; + 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_sigma_rot = 0.5; static double map_slider_value(const slider_value &v); -- cgit v1.2.3