Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#69 - Fix an issue with the callback iteration timestamp drifting
The callback iteration slowly drifts a few milliseconds per call This is due to inaccuracies of time.sleep and some overhead on the `_run_callback` method This fix the issue by using sched.enterabs instead of sched.enter. This time to enter is always calculated based on the start timestamp of the callback There will still be some milliseconds variation from execution to execution, but it will never drift.
- Loading branch information