DiamondLightSource / DiamondLightSource/fastcs
Scan tasks can drift
Open
- Dominant language
- Python
- Stars
- 6
- Forks
- 8
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 3
Description
Currently scan tasks are made periodic by gathering them alongside a sleep(period). Any delays in the callback being fired will add up over time.
Update this logic to store the actual and then adjust the sleep duration relative to that time to account for delays between callbacks.
Contributor guide
Assessment
This issue has not been assessed yet.