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

iCubGenova11 - Problem with r_thumb_proximal #1571

Closed
fedeceola opened this issue May 30, 2023 · 28 comments
Closed

iCubGenova11 - Problem with r_thumb_proximal #1571

fedeceola opened this issue May 30, 2023 · 28 comments
Assignees
Labels
iCubGenova11 S/N:050 iCub2.7 S/N:050

Comments

@fedeceola
Copy link

fedeceola commented May 30, 2023

Device name 🤖

iCubGenova11

Request/Failure description

During an experiment, the r_thumb_proximal stopped working. After this, when the yarprobotinterface is launched, the calibration of the right hand is not completed.

Detailed context

I guess that this may be the problem.

MicrosoftTeams-image (10)

Additional context

No response

How does it affect you?

I cannot run my experiments. I have an upcoming deadline on the 8th of June and I'd need help as soon as possible. Thank you.

@sgiraz
Copy link
Contributor

sgiraz commented May 30, 2023

Hi @fedeceola,

Do you need to use the right hand for your experiment? Especially the r_thumb_proximal...

If this is not the case, you may try to remove the joint from calibration xml or start the yarpmotorgui with the --calib option.

If needed we may drop below some
guidelines to achieve these tasks.

Cc @Fabrizio69 @AntonioConsilvio

@fbiggi
Copy link

fbiggi commented May 31, 2023

@fedeceola the tendon was restored and the sheaths were also replaced as they were damaged
I await your feedback
Thank you

20230531_075224
20230530_161754

@fedeceola
Copy link
Author

Hi @fbiggi, thanks for repairing the tendon!
Unfortunately, the right hand cannot complete the calibration when launching the yarprobotinterface. This is what can be seen from the yarpmotorgui.
image
Please note that, while being in run mode both the r_thumb_oppose and the r_thumb_proximal, they do not perform any movement during the calibration.
I attach here also the log file from the yarplogger.
yarprunlog_31_05_2023_09_55_13.log
Thanks!

@sgiraz
Copy link
Contributor

sgiraz commented May 31, 2023

Hi @fedeceola,

From the log posted above we cannot see any diagnostic error.
You may try to copy the log from the yarprobotinterface instead of export the one from the yarplogger.

Furthermore, you may try to launch the FirmwareUpdater -a from the robot configuration files robot's folder and take note for the number of the ETH and CAN boards you can see. Remember that in order to see the CAN boards you have to put the the ETH one in maintenace mode.

Maybe @davidetome and/or @marcoaccame may help you with this taks.

cc @AntonioConsilvio @Fabrizio69

@fedeceola
Copy link
Author

Hi @sgiraz, I managed to complete the calibration by manually pushing the r_thumb_distal. However, after completing it, if the joint is perturbed while running, it goes in hardware fault because it reaches the hard limit. The encoder reads a value of -13 deg.

In the log of the yarprobotinterface there are no errors until the joint reaches the hard limit.

@fbiggi
Copy link

fbiggi commented May 31, 2023

@Fabrizio69 @fedeceola the proximal thumb tendon was replaced
the 2 sheaths have also been replaced

@valegagge
Copy link
Member

Hi,
@MSECode and I gave a look at the log file. As @sgiraz said, it is not complete or clear, It would be better to have the log of yarprobotinterface.

We suggest retaking the calibration values and using them.

@fedeceola: What do you mean by

if the joint is perturbed while running

?

@MSECode
Copy link

MSECode commented May 31, 2023

Whenever you'll try to re-run the calibration please ping me that I would like to come and see the procedure and so I can see the exact behaviour of the robots if any error happens

@fedeceola
Copy link
Author

Hi @valegagge, here you can find the log of the yarprobotinterface.
log_robotinterface.log

By perturbing the joint, I mean this:

VID_20230531_141527.mp4

@MSECode, I can re-run the calibration now!

Thank you for the support!

@MSECode
Copy link

MSECode commented May 31, 2023

So, to share an update:

  • Main problems were on right_arm joints number 8 and 10 (i.e. thumb oppose and thumb distal ). There were problems with the reaching of joint limits during the calibration procedure
  • Following actions have been performed:
    • set the parameters skipCalibration to true and useRawEncoderValues to true so that we could re-check the raw values at the encoder when the joint is full open and full closed
    • raw values have been updated for those joints on the calibrator file
      calibration parameters 4 and 5 of the thumb oppose joint (number 8)
      calibration parameters 4 and 5 of the thumb distal joint (number 10)
    • re-set values in general to false
    • calibration procedure restarted
  • Now fingers calibrate successfully and joints moves correctly
  • Following actions:
    • check if the updated values (obtained by bringing the joints in idle to the extremal positions) are good

cc: @fedeceola @valegagge @fbiggi @sgiraz

@fedeceola
Copy link
Author

Thanks @MSECode, I will run some experiments (probably on Friday) and provide feedback.

@MSECode
Copy link

MSECode commented Jun 1, 2023

Just one thing @fedeceola.
Whenever you'll do the tests on the robot can you please add here the following files, before and after then modification on the vmin and vmax that I'd like to check a couple of things regarding the calibration procedure of the MAIS:

  • iCubGenova11/hardware/mechanicals/right_arm-eb28-j8_11-mec.xml
  • iCubGenova11/calibrators/right_arm-calib.xml

@sgiraz
Copy link
Contributor

sgiraz commented Jun 1, 2023

Well done guys!

I'll put the issue in review waiting for feebacks

@fedeceola
Copy link
Author

Hi @MSECode, here you can find the requested files.
files_issue.zip

@fedeceola
Copy link
Author

Hi, unfortunately there are still problems with the thumb_oppose and the thumb_proximal. When moving only one of the two joints, everything is ok. When moving the thumb_oppose to 90 deg and closing a few the thumb_proximal, this is the configuration reached by the thumb.
MicrosoftTeams-image (13)

Moreover, from the yarpmotorgui, the value of the r_thumb_oppose is 85, while it should be at least 100, and therefore the joint is not in hardware fault.

@MSECode
Copy link

MSECode commented Jun 2, 2023

Oks, I'll check that out on Monday
Anyway I would expect the thumb_oppose to move between 10 and 90 degree because those are the limits defined on both motion control and mechanical configuration files. So it should go further than 85 but never reach 100. Then we can check the calibration vmin and vmax for the proximal, which we did not modify on Wednesday.

@fedeceola
Copy link
Author

I set the calibration parameters for the thumb_oppose as they were before the modifications. We modified them because before the calibration the encoder of this joint was reading a value of 330 deg and the calibration was not starting. Now this problem doesn't occur anymore, and the joint behaves as expected (as before the tendon broke). I will do some tests with this configuration.

@fedeceola
Copy link
Author

Yesterday I talked with @sgiraz and we agreed to wait running my experiments with the configuration mentioned in the last comment to avoid possible side effects. Is there somebody that can help me to check if everything is ok today? Thanks!

@valegagge
Copy link
Member

valegagge commented Jun 5, 2023

Hi @fedeceola, both me and @MSECode are in Cris. If you want we can help you.

@fedeceola
Copy link
Author

Thanks, if you are available, we can check it now!

@fedeceola
Copy link
Author

@valegagge, @MSECode and me just checked the parameters and agreed to proceed with some experiments with this configuration.

@fedeceola
Copy link
Author

The tendon has just broken again.

MicrosoftTeams-image (15)

Would it be possible to fix it tomorrow?

@AntonioConsilvio
Copy link
Contributor

Hi @fedeceola, I replaced the cable and the sheath:

Work.mp4

cc @sgiraz @Fabrizio69

@sgiraz
Copy link
Contributor

sgiraz commented Jun 6, 2023

Well done guys!
Closing.

@sgiraz sgiraz closed this as completed Jun 6, 2023
@xEnVrE
Copy link

xEnVrE commented Jun 6, 2023

Was a re-calibration required to fix that? Are we supposed to open a PR in robots-configuration for that? @sgiraz

@fedeceola
Copy link
Author

Thank you all for the support!

@xEnVrE we modified the calibration parameters for the r_thumb_distal. I can help with the PR on friday.

@xEnVrE
Copy link

xEnVrE commented Jun 7, 2023

PR opened robotology/robots-configuration#528

@sgiraz
Copy link
Contributor

sgiraz commented Jun 7, 2023

PR merged!

cc @MSECode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iCubGenova11 S/N:050 iCub2.7 S/N:050
Projects
Status: Done
Development

No branches or pull requests

7 participants