Skip to content
Snippets Groups Projects
Commit 1e52d679 authored by Fabian Tërnava's avatar Fabian Tërnava
Browse files

fixed error with rsm

parent a917be86
No related branches found
No related tags found
No related merge requests found
......@@ -143,8 +143,9 @@ namespace armarx::plugins
}
parent<Component>().usingProxy(_robotUnitName);
while (not(termCond() or not robotUnitIsRunning()))
while (not(termCond()) and not(robotUnitIsRunning()))
{
ARMARX_INFO << deactivateSpam() << "Still waiting for robot unit to start...";
std::this_thread::sleep_for(std::chrono::milliseconds(100));
}
......@@ -158,7 +159,7 @@ namespace armarx::plugins
// An empty robotUnit can never run
return false;
}
return not(isNullptr(getRobotUnit()) or not getRobotUnit()->isRunning());
return not(isNullptr(getRobotUnit()) and getRobotUnit()->isRunning());
}
......
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