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

Shutdown state change fix #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edisimo
Copy link

@edisimo edisimo commented Jun 21, 2024

My implementation of soem_interface approximately half of the times faced a problem during shutdown, which caused the program to stall inside of waitForStateLocked when the program had been terminated. It was always waiting for the full amount of retries and yet the first slave was unable to reach the wanted state. By adding this one line of code (setStateLocked) after each retry, the slave always seemed to reach the desired state after max 1 retry.

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.

1 participant