Skip to content

simutils: timer

Bryce George edited this page May 15, 2021 · 2 revisions

Author: ancient-sentinel - Last Updated: 5/6/2021

timer Module

A module which contains an asynchronous timer helper method.

Helper Methods

  • 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.
Clone this wiki locally