Skip to content

HC20DTP and HC30PL Update #597

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

Merged
merged 15 commits into from
Apr 10, 2025
Merged

Conversation

EricMarcil
Copy link
Contributor

The HC20 package was updated with the HC20DTP and HC30PL variant. HC20 visual meshes were changed from .stl to .dae format to improve rendering.

EricMarcil and others added 6 commits August 15, 2024 11:38
The HC20 package was updated with the HC20DTP and HC30PL variant. HC20 visual meshes were changed from .stl to .dae format to improve rendering.
@gavanderhoorn
Copy link
Member

High-level comment: could you please use multiple commits in future PRs when changing multiple things and adding support for new variants/series?

@EricMarcil
Copy link
Contributor Author

@gavanderhoorn Yes, I will try do split them up in the future.

Copy link
Member

@gavanderhoorn gavanderhoorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking as requested changes while we discuss my comments.

Added Flange link/joint between the Joint_6_t and the tool0
Added note about HC30PL limitation about the flange needing to point downward which cannot be accounted for by the URDF file. Increase B-axis motion so that compounded angles of the L,U and B axes can keep the flange model with 15 degrees of the ground.
Reverted package version to 0.1.0
@cjue
Copy link
Contributor

cjue commented Mar 26, 2025

In our repo we had added (identical) opw configs for HC20 DT and HC20 DTP:

isys-vision@f2f4c61

We also renamed the hc20 files to hc20dt, which you probably don't want to copy:

isys-vision@f10f3e6

Added opw_parameters files
@EricMarcil
Copy link
Contributor Author

@cjue I've added the opw_parameters files based on your files. Can you please double check the one for the hc30pl that I added. I believe that the -90 offset for the 5th joint is the only change required.

@cjue
Copy link
Contributor

cjue commented Mar 31, 2025

@cjue I've added the opw_parameters files based on your files. Can you please double check the one for the hc30pl that I added. I believe that the -90 offset for the 5th joint is the only change required.

MoveIt accepts the opw config for the HC30 PL, I could move the robot and the OPW correctly corresponds to the URDF file.

About the HC30 urdf file:

The B-axis range probably needs to be reviewed to allow more motion, because the L and U axes are working in the same plane

Can you explain that a bit more? Currently the URDF in the PR allows +/-15° for joint_4_r, matching the datasheet, while allowing +/- 180° for joint_5_b, where the datasheet would also dictate +/-15°.

Won't the controller abort any trajectory that moves outside the +/- 15 ° range for J5?

@EricMarcil
Copy link
Contributor Author

The +/- 15 degrees is relative to the floor.
This is an example where the B-axis is within its 15 degrees limits relative to the floor, but the B-axis position relative to the previous joint is around 217 deg

image

But you are correct, I'll need to correct the B-axis range. I forgot to account for the 90 deg offset. So the range is -90 to 270.

Correct on the HC30PL motion and speed range (R and B axes)
@EricMarcil
Copy link
Contributor Author

I've updated the hc30pl based on the limits from the parameter files. So the new values will be correct.

The user will need to insure that the robot flange remains +/- 15 degrees relative to the ground.

I haven't tested in MotoRos but normally the controller will give an alram 4420 SPECIAL SOFTLIMIT [R1: MAX B] at execution time when the robot is commanded to move outside of the 15 deg position.

@cjue
Copy link
Contributor

cjue commented Apr 3, 2025

Sounds reasonable 👍

It's quite confusing that the datasheet differs this much from the URDF and the parameter files without specifying that the +/- 15° constraint is relative to the floor.

@gavanderhoorn gavanderhoorn force-pushed the HC20DTP_HC30PL_Update branch from 1c4ca70 to c214ddb Compare April 10, 2025 13:07
@gavanderhoorn gavanderhoorn merged commit f951b28 into kinetic-devel Apr 10, 2025
4 checks passed
@gavanderhoorn gavanderhoorn deleted the HC20DTP_HC30PL_Update branch April 10, 2025 18:18
@gavanderhoorn
Copy link
Member

Thank you @EricMarcil for the updates and thanks @cjue for the additional comments and contributions 👍

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.

4 participants