From 57e4e76ecf2e52084026aed3932e4d5040e5921b Mon Sep 17 00:00:00 2001 From: Federico Lolli <federico123579@gmail.com> Date: Mon, 20 Nov 2023 10:50:53 +0100 Subject: [PATCH] updated pressureSFD parameters --- src/shared/sensors/SFD/PressureSFD.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/shared/sensors/SFD/PressureSFD.h b/src/shared/sensors/SFD/PressureSFD.h index 98a7d3c4b..68bb1aca4 100644 --- a/src/shared/sensors/SFD/PressureSFD.h +++ b/src/shared/sensors/SFD/PressureSFD.h @@ -52,12 +52,12 @@ public: static constexpr int WIN_LEN = LEN_CHUNK; // TODO: set these values - static constexpr int MED_FILTER_WIN_LEN = 25; - static constexpr float K_ACTIVE_ASCENT = 0; - static constexpr float K_PASSIVE_ASCENT = 0; - static constexpr float K_APOGEE_PROXIMITY = 0; - static constexpr float K_DESCENT = 0; - static constexpr float MAX_WEIGHT = 1; + static constexpr int MED_FILTER_WIN_LEN = 21; + static constexpr float K_ACTIVE_ASCENT = 1; + static constexpr float K_PASSIVE_ASCENT = 1; + static constexpr float K_APOGEE_PROXIMITY = 1; + static constexpr float K_DESCENT = 1; + static constexpr float MAX_WEIGHT = 50; static constexpr float MIN_WEIGHT = 0; using SVMAscVec = Eigen::Vector<float, SFDAscent::NUM_FEATURES>; -- GitLab