Skip to content

Shutdown state change fix#10

Open
edisimo wants to merge 1 commit intoleggedrobotics:masterfrom
edisimo:shutdown_state_change_fix
Open

Shutdown state change fix#10
edisimo wants to merge 1 commit intoleggedrobotics:masterfrom
edisimo:shutdown_state_change_fix

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