-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add latest fault state to motor status data structure #52
Conversation
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.
Bumped the version up, hopefully the rebase will not cause issues. |
Hi @marcoaccame @mfussi66 |
Hi @pattacini, I will soon merge this PR as all the issues addressed in robotology/icub-firmware#224 (comment) have been solved. |
This PR aims to complement the work done to address: robotology/community#561 , in which the feature request involved communicating the latest fault to the
yarpmotorgui
. To address it, the free space in themotor_status_t
struct is filled with the error code associated to the most recent fault occurred on the joint, related to the category "motion controller". The data is retrieved byembObjMotionControl
upon periodical request of theyarpmotorgui
.The fault states that can be communicated are the following:
which belong to the
motion controller
category.Here below is a little demo of the
yarpmotorgui
displaying a hardware limit fault:144848405-89251081-02d5-4b19-8fec-f6ed8a2310ff.mp4
Related PRs:
icub-firmware: robotology/icub-firmware#224
icub-main: robotology/icub-main#779