Skip to content
Snippets Groups Projects
Commit 22c22370 authored by Mirko Wächter's avatar Mirko Wächter
Browse files

added more usefull check in robotstate

parent c8d66ec5
No related branches found
No related tags found
No related merge requests found
......@@ -489,11 +489,8 @@ namespace armarx
bool RemoteRobot::synchronizeLocalCloneToTimestamp(RobotPtr robot, RobotStateComponentInterfacePrx robotStatePrx, Ice::Long timestamp)
{
if (!robotStatePrx || !robot)
{
ARMARX_ERROR_S << "NULL data. Aborting..." << endl;
return false;
}
ARMARX_CHECK_EXPRESSION(robotStatePrx);
ARMARX_CHECK_EXPRESSION(robot);
RobotConfigPtr c(new RobotConfig(robot, "synchronizeLocalClone"));
RobotStateConfig config = robotStatePrx->getRobotStateAtTimestamp(timestamp);
......
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