From 5d963b74daacb76b6d3e363c021ae4a1b38b882e Mon Sep 17 00:00:00 2001
From: Rainer Kartmann <rainer.kartmann@kit.edu>
Date: Mon, 16 Sep 2019 13:58:42 +0200
Subject: [PATCH] Missing update

---
 .../components/RobotState/test/RobotStateTest.cpp         | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/source/RobotAPI/components/RobotState/test/RobotStateTest.cpp b/source/RobotAPI/components/RobotState/test/RobotStateTest.cpp
index 592802e39..28ed7f7c6 100644
--- a/source/RobotAPI/components/RobotState/test/RobotStateTest.cpp
+++ b/source/RobotAPI/components/RobotState/test/RobotStateTest.cpp
@@ -81,17 +81,17 @@ BOOST_AUTO_TEST_CASE(RobotStateComponentHistoryTest)
         usleep(100000);
     }
 
-    const IceUtil::Time t1In = IceUtil::Time::seconds(1);
-    const IceUtil::Time t2In = t1In + IceUtil::Time::milliSeconds(110);
+    const IceUtil::Time inT1 = IceUtil::Time::seconds(1);
+    const IceUtil::Time inT2 = inT1 + IceUtil::Time::milliSeconds(110);
 
     NameValueMap joints;
 
     joints["Elbow L"] = 0;
-    env._rsc->reportJointAngles(joints, t1In, true);
+    env._rsc->reportJointAngles(joints, inT1.toMicroSeconds(), true);
     auto t1 = env._rsc->getSynchronizedRobot()->getTimestamp()->timestamp;
 
     joints["Elbow L"] = 1;
-    env._rsc->reportJointAngles(joints, t2In, true);
+    env._rsc->reportJointAngles(joints, inT2.toMicroSeconds(), true);
     auto t2 = env._rsc->getSynchronizedRobot()->getTimestamp()->timestamp;
     BOOST_CHECK(t2 > t1);
 
-- 
GitLab