Commit ba9f8c1a authored by Alexander David Hellwig's avatar Alexander David Hellwig
Browse files

Model: fixed resVel = 0 if no special case

parent 5c191a58
......@@ -13,7 +13,7 @@ component VelocityController(adaptable Q holdTimeIn){
implementation Math{
static Q lastVel = 0;
static Q holdFor = 0;
Q resVel;
Q resVel = lastVel;
if resetVelIn
lastVel = maxVelIn;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment