DiamondLightSource / DiamondLightSource/fastcs

Scan tasks can drift

Open
#334 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.