Skip to content
Snippets Groups Projects
Commit d6a815bb authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Fix wrong parenthesis

not isNullptr(getRobotUnit()) and getRobotUnit()->isRunning();
parent 15198d0f
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ namespace armarx::plugins
}
parent<Component>().usingProxy(_robotUnitName);
while (not(termCond()) and 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));
......@@ -159,7 +159,7 @@ namespace armarx::plugins
// An empty robotUnit can never run
return false;
}
return not(isNullptr(getRobotUnit()) and 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