-
Notifications
You must be signed in to change notification settings - Fork 30
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
Fix the bug regading the iCub fingers calibration #393
Comments
Just an update.... Alongside with @MSECode, we started analyzing the bug. On yarprobotinterface shutdown, the motion controller in the fw put the joint in idle instead of to "clean" everything in order to return to the state before yarprobotinterface has been started. We can discuss whether this behavior is still the desiderata but in another issue. After some tests, it is clear that the problem is related to the joint with the With a joint of another type of encoder, this situation doesn't happen: after the second start and before the calibration, the current position is the last before the shutdown. so this means, that during the shutdown phase or during the next initialization phase, the calibration info related to the We'll continue to dive in this issue. |
📢 Finally, we get the solution.... 🥳 The problem was due to a bug in the FW. This bug was raised after this PR(robotology/icub-main#866), because in this PR the Ethernet parametric calibrator checks the joints in fault and doesn't go further in the calibration if one of them is in fault. So in conclusion the fix on the ethernet calibration lets the FW bug manifests. There is another important thing to bear in mind: when yarprobotinterface sends the "shutdown" command, the fw controller sets the joint in the idle state instead of "not-configured" and doesn't cleans everything in order to come back to the situation. I think this behavior is not correct, so I suggest to discuss a separate meeting. Now we fix the FW bug with a patch. (asap will put here the reference to the PR) We tested on our beach setup. asap we'll test on robot. cc @MSECode |
Another minor bug we noticed: I suggest fixing this also. Does anyone if this is a desired behavior instead? |
I found the answer: |
After flashing a test firmware on the mc4plus boards of the right arm controlling the fingers, i.e. 10.0.1.28 and 10.0.1.29, on iCubGenova11 it was possible to check that the error related to the HW limits does not happen anymore when restarting the yarprobotinterface as shown in the screen of the yarpmotorgui below Basically the fix was done by skipping the riparsing of the calibration parameters given by the configuration files when the yarprobotinterface is just stopped and restarted |
Open the PR for: containing the update firmware for the temporary fix. |
Here there are the details of the bug.
Dod
Bug is fixed and tested
The text was updated successfully, but these errors were encountered: