Skip to content

Commit

Permalink
config: define ramp for remote inputs
Browse files Browse the repository at this point in the history
Signed-off-by: benoit robert <benoit.robert.dev@gmail.com>
  • Loading branch information
ptibibi committed Nov 1, 2024
1 parent d32464f commit 19ee32e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Software/src/constants/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19ee32e

Please sign in to comment.