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

Update MH5: Add Short & Long Variants (based on pull request #380) #518

Open
wants to merge 9 commits into
base: kinetic-devel
Choose a base branch
from

Conversation

cjue
Copy link
Contributor

@cjue cjue commented Aug 24, 2022

This is an updated version of pull request #380 by @acbuynak.

I rebased everything to current kinetic-devel and made some additions:

  • fix MH5 joint 6 offset: 80mm per datasheet and spec, same as for the MH5L variant
  • add opw configs
  • use materials from resources package
  • use joint_state_publisher_gui for testing

The most important difference is in the definition of joint_6_t for the MH5. According to the specs posted by @EricMarcil in #377 (comment) the offset should be 0.080, not `0.0865´. The old value was already present in the kinetic-devel version of motoman_mh5_support, but to my understanding it has always been wrong.

@acbuynak I could not open a clean pull request with my changes to https://github.com/OSU-AIMS/motoman/tree/kinetic-devel-update-mh5 because there was an extra "merge kinetic-devel" commit in there. Feel free to add my commits to your PR, we can then close this one.

@EricMarcil
Copy link
Contributor

The 0.0865 was the correct value for the original MH5 models on NX100 and DX100: MH00005. They are the models with the upper arm casting being straight.
Then there was an optimization and they made the upper arm taper toward the end and the distance to the flange was reduce to 0.080. Those are the models that normally have a letter after the 5 in the model identification: MH0005S, MH0005F.
Looking back at the package and its history, the package was made for the newer version in 2014 and the current package.xml does identify the correct model that the package supports. However the flange offset in the urdf seems to have been wrong from the beginning, originally at 0.051 and then revised in 2017 to 0.0865 (maybe that person had an old MH5 model).
All that being said, I'm confirming that given the mesh model, this package is for the MH5S or MH5F models and the correct value is 0.080.

@acbuynak
Copy link
Contributor

Thanks for bringing this one back! Happy to see it used. I'll take a closer look at this in the coming week.
@EricMarcil - Thanks for the model verification.

@cjue
Copy link
Contributor Author

cjue commented Mar 27, 2023

Thanks for bringing this one back! Happy to see it used. I'll take a closer look at this in the coming week.

Do you have feedback on the updated support package?

acbuynak and others added 9 commits March 27, 2023 19:57
Meshes were simplified using "Quadric Edge Collapse Decimation" method 
to improve collision planning between L and R links. Attention was made 
to retain a similar number of faces & verticies as the convex hull had 
for comparable performance.
Previous collision meshes were created using the "Convex Hull" method.
Reduced MH5L "L" and "R" link mesh file sizes from ~2MB to suggested < 1 MB.
Mesh files were reduced using "Quadric Edge Collapse Decimation" method
with priority to maintaining boundary location and quality of polygons.
Link meshes for the MH5L matching those of the MH5 were removed.
Effected URDF references redirected to MH5 meshes.
Moved unique "link-s" mesh to dedicated mh5_old_variants directory.
Updated changelog to reflect shared meshes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants