-
Notifications
You must be signed in to change notification settings - Fork 1
simutils: timer
Bryce George edited this page May 15, 2021
·
2 revisions
Author: ancient-sentinel - Last Updated: 5/6/2021
A module which contains an asynchronous timer helper method.
-
async_timer(seconds: float) -> qi.Future- A method which creates an asynchronous timer which finishes after the specified number of seconds. It is recommended to use this timer instead of putting threads to sleep, particularly for processes running directly on the robot. Putting threads to sleep incurs a significant performance hit on the robot's processor and should be avoided whenever possible.