Aufgrund einer Wartung wird GitLab am 19.10. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 19.10. between 8:00 and 9:00 am.

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){ ...@@ -13,7 +13,7 @@ component VelocityController(adaptable Q holdTimeIn){
implementation Math{ implementation Math{
static Q lastVel = 0; static Q lastVel = 0;
static Q holdFor = 0; static Q holdFor = 0;
Q resVel; Q resVel = lastVel;
if resetVelIn if resetVelIn
lastVel = maxVelIn; 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