From 19ee32e77df01a9a9e5a994d9c5a3193f489b819 Mon Sep 17 00:00:00 2001 From: ptibibi Date: Thu, 31 Oct 2024 01:02:58 +0100 Subject: [PATCH] config: define ramp for remote inputs Signed-off-by: benoit robert --- Software/src/constants/Config.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Software/src/constants/Config.h b/Software/src/constants/Config.h index 988ae749..95fc8b9e 100644 --- a/Software/src/constants/Config.h +++ b/Software/src/constants/Config.h @@ -105,6 +105,33 @@ namespace Config { } + + /** + Remote Config +*/ + namespace Remote { + + // Speed ramp of speed for SinglePenetration and StrokeEngine mode + // Time cycle is approximately 100-200ms in fact system load + constexpr float speedUpPercentPerCycle = 5.0f; + constexpr float speedDownPercentPerCycle = 100.0f; + + // Speed ramp of stroke for StrokeEngine mode + // Time cycle is approximately 100-200ms in fact system load + constexpr float strokeUpPercentPerCycle = 5.0f; + constexpr float strokeDownPercentPerCycle = 10.0f; + + // Speed ramp of depth for StrokeEngine mode + // Time cycle is approximately 100-200ms in fact system load + constexpr float depthUpPercentPerCycle = 5.0f; + constexpr float depthDownPercentPerCycle = 10.0f; + + // Speed ramp of sensation for StrokeEngine mode + // Time cycle is approximately 100-200ms in fact system load + constexpr float sensationUpPercentPerCycle = 5.0f; + constexpr float sensationDownPercentPerCycle = 10.0f; + } + } // Alias for "_mm" operator