Suspend the calling thread until a specific time.
MU32 WaitTime(MU32 TimeToWait);
The current simulated time.
The WaitTime function suspends the execution of the current thread while the TimeToWait time is not reached.
void TimeTest(ModaCPP::Connection *pConnection)
time=pConnection->WaitTime(time+100); //waits 100ms
//you can replace pRobot->WaitTime(time+100) for pRobot->Wait(100)