-
Notifications
You must be signed in to change notification settings - Fork 31
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
Reset quadrature encoder counter via HW #455
Conversation
please see here for more details about the diagnostic. |
Hi @ale-git ,
Is this correct? If yes, in this way we are much more strict than before, when the |
I think that if the diagnostics is reliable they should be errors and not warnings, at least the index broken. We can make the encoder dirty just a warning, but people should be forced to clean encoders when they are dirty because they spoil the performance of the control. |
After a discussion with @ale-git e @MSECode, We planned to define the |
Tested on ErgoCub2 arm.
Executable here robotology/icub-firmware-build#128 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well done!!! 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, thanks
This PR solves a synchronisation problem in the quadrature encoder conter reset by index.
In the previous version the conter was reset by a interrupt service routine activated by the index, affected by response delay, while now the conter is reset by hardware.