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

No longer check mailbox counter #130

Merged
merged 2 commits into from
Nov 10, 2023
Merged

Conversation

jamwaffles
Copy link
Collaborator

The spec seems a little vague on what to actually do with the counter, and as far as I can read into SOEM's rather dence C it doesn't seem to check the value either. Based on this, I've removed the check in EtherCrab.

Closes #128

@jamwaffles
Copy link
Collaborator Author

Tested as working with the failing hardware by a kind user on Matrix.

@jamwaffles jamwaffles enabled auto-merge (squash) November 10, 2023 13:00
@jamwaffles jamwaffles merged commit 4b7bafa into master Nov 10, 2023
7 checks passed
@jamwaffles jamwaffles deleted the stop-checking-mbox-counter branch November 10, 2023 13:07
jamwaffles added a commit that referenced this pull request Nov 18, 2023
jamwaffles added a commit that referenced this pull request Nov 20, 2023
Previously the counter was global to the `Client` instance, meaning
individual devices would get confused when the counter wrapped back
round to 1 due to a different device's mailbox comms.

Closes #131

* Remove `Clone` and `PartialEq` derives on `Slave`

* Revert "No longer check mailbox counter (#130)"

The underlying cause of this issue is now fixed by #132.
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.

Invalid SDO response error
1 participant