Skip to content
Snippets Groups Projects
Commit cca7a705 authored by ARMAR-7a User's avatar ARMAR-7a User
Browse files

fix bug when waiting for duration of vel control skill

parent 4ea94db0
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ namespace armarx::control::skills::skills
const Duration sleepTime = Duration::MilliSeconds(50);
auto started = armarx::core::time::DateTime::Now();
while (armarx::core::time::DateTime::Now() - started > dur)
while (armarx::core::time::DateTime::Now() - started < dur)
{
throwIfSkillShouldTerminate();
clock.waitFor(sleepTime);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment