Repository navigation
Improved logging and bugfix related control-takeover reliability - #50
Conversation
e5832ca to
2e81958
Compare
|
The auto-reset helped a lot to increase reliability, but ideally there should be a more granular discrimination of error severity. What do you think, @cpr-bar ? |
|
I think it is fine like this. We just don't have enough information to do an automatic discrimination whether an automatic reset should be performed. For example, an encoder error can be caused by a reset but also by a broken or missaligned encoder. An automatic reset will not do any harm. If the error persists it will just raise again. |
cpr-bar
left a comment
There was a problem hiding this comment.
@michaelosthege can you please correct the formatting to pass the ruff-format pre-commit? I can't push to this PR. Thanks
2e81958 to
c341346
Compare
|
@cpr-bar I rebased on latest master and fixed the pre-commit. |
|
Thank you again for your contributions! I will merge the PR now. |
wait_for_kinematics_readytimes outSTATUSmessages too, but to a dedicated logger so it's easier to filter them (out).wait_for_kinematics_readywhich does not returnFalseanymore, but onlyraiseson failure.CRIConnector.control(auto_reset=...)option to reset errors before attempting toenable(). This helps to avoid encoder errors that happen from small movements during the enable/disable action.