Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a queue to the watchdog #115

Merged
merged 3 commits into from
Nov 14, 2024
Merged

Added a queue to the watchdog #115

merged 3 commits into from
Nov 14, 2024

Conversation

BruceMcRooster
Copy link
Member

Stores STEERING_INSTRUCTION_MAX_LEN last steering instructions in a deque (which automatically removes excess objects), comparing them with the stepper steering and sending off an error if the minimum difference is too large.
Should smooth over problems related to the out-of-sync-ness of steering and stepper reporting rates.

Stores STEERING_INSTRUCTION_MAX_LEN last steering instructions, comparing them with the stepper steering and sending off an error if the minimum difference is too large
standard import "collections.deque" should be placed before third party imports
@mehulgoel873 mehulgoel873 merged commit 53707a3 into main Nov 14, 2024
3 checks passed
@mehulgoel873 mehulgoel873 deleted the add-watchdog-queue branch November 14, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants