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

l_foot_rear_ft, l_foot_front_ft,, r_foot_rear_ft, and r_foot_front_ft, FT sensor frame have a ~2cm offset in Z direction w.r.t. to the corresponding link frame #146

Closed
traversaro opened this issue Jul 12, 2023 · 4 comments · Fixed by #158
Assignees
Labels
domain-software Related to Software prj-ergocub Related to ErgoCub Project team-fix Related to Team Fix

Comments

@traversaro
Copy link
Member

Yesterday discussing with @GiulioRomualdi and @G-Cervettini I noticed something unexpected in a URDF, i.e. a translational offset in the <pose> part of the FT sensor: https://github.com/icub-tech-iit/ergocub-software/blob/v0.3.3/urdf/ergoCub/robots/ergoCubSN000/model.urdf#L3204 .

This was unexpected as, due to a limitation of the SDF format used in Gazebo, the FT sensor frame origin must coincide with the origin of the child link frame of the joint to which the FT sensor is attached. See gazebosim/sdformat#130 . Fortunatly we do not have this limitation in iDynTree, so wholeBodyDynamics was loading the FT sensor position without problems.

Not only the ergocub models are affected by this, but several other related models:

  • iCubGazeboV3
  • iCubGenova09
  • iRonCub-Mk3 (I would need to double check)

Fortunatly the offset is not big and in the Z direction, that is a direction parallel to the direction of the force that the feet experience, anyhow it would be nice to fix the problem.

Possible (alternative) solutions are:

It seems to me that S1 is the easiest solution, even because it is the reason why the simulation of all non-foot FT sensor works fine.

@Nicogene
Copy link
Member

cc @Lawproto @fiorisi since you are working on the simulation model cad of ergocub

@traversaro
Copy link
Member Author

cc @Lawproto @fiorisi since you are working on the simulation model cad of ergocub

I can quickly explain the change necessary in front of a coffee as it is much simpler than all the details contained in this issue.

@Lawproto
Copy link
Member

Lawproto commented Jul 13, 2023

cc @Lawproto @fiorisi since you are working on the simulation model cad of ergocub

@Nicogene I am surely available for help if needed, but I personally dealt with the forearm + hand sections. The mentioned-in-description SCSYS's are new to me, maybe @Mick3Lozzo could provide more help here.

@traversaro traversaro changed the title l_foot_rear_ft, l_foot_front_ft,, r_foot_rear_ft, and r_foot_front_ft, FT sensor frame have a ~2cm offset in Z direction w.r.t. to the corresponding link frameto l_foot_rear_ft, l_foot_front_ft,, r_foot_rear_ft, and r_foot_front_ft, FT sensor frame have a ~2cm offset in Z direction w.r.t. to the corresponding link frame Jul 13, 2023
@traversaro
Copy link
Member Author

We have discussed this with @Lawproto @Mick3Lozzo @Nicogene @fiorisi @traversaro, there we decided:

  • For ergoCub 1.0 and iCub3 models, we fix the issue manually with software workarounds. The presence of tests ensures that for some reason workarounds are broken we detect this.
  • For ergoCub 1.1 models the problem will be fixed on the CAD a some point in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain-software Related to Software prj-ergocub Related to ErgoCub Project team-fix Related to Team Fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants