Hello,
I was wondering if there is a function in VREp to estimate the duration of a task performed by a serial robot.
Cheers
Task duration
Re: Task duration
Hello,
you can use following inside of a child script:
Cheers
you can use following inside of a child script:
Code: Select all
startTime=sim.getSystemTimeInMs(-1)
-- do your calculations here
timeDiff=sim.getSystemTimeInMs(startTime)
print("Duration in seconds: "..timeDiff/1000)