def _schedule(self, elapsedTimeInSeconds):
        fpsDelayMilliseconds = int(1000.0 / self.targetFps)
        elapsedMilliseconds = int(elapsedTimeInSeconds*1000.0)
        waitMilliseconds = fpsDelayMilliseconds - elapsedMilliseconds
        self.timer.start(waitMilliseconds if waitMilliseconds > 0 else 1)
This method is given an elapsed time since the start of the last
dataset/ETHPy150Open RobotLocomotion/director/src/python/director/timercallback.py/TimerCallback._schedule