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

Problems exporting r_knee and wrist from CREO to Simmechanics #28

Closed
pattacini opened this issue Jan 13, 2023 · 9 comments
Closed

Problems exporting r_knee and wrist from CREO to Simmechanics #28

pattacini opened this issue Jan 13, 2023 · 9 comments
Assignees
Labels
domain-mechanics Related to Mechanics domain-software Related to Software prj-ergocub Related to ErgoCub Project team-dev Related to Team Dev team-fix Related to Team Fix

Comments

@pattacini
Copy link
Member

pattacini commented Jan 13, 2023

Right now I had to manually fix the simmechanics XML for the r_knee exported as weld, and the missing stl for l_wrist_1 link

Shall we keep track in a separate issue of these glitches in the exportation from creo?

@Lawproto @mfussi66 @Mick3Lozzo @pattacini @salvi-mattia @fiorisi

Originally posted by @Nicogene in #27 (comment)

@pattacini pattacini added team-fix Related to Team Fix domain-mechanics Related to Mechanics domain-software Related to Software labels Jan 13, 2023
@pattacini pattacini added the prj-ergocub Related to ErgoCub Project label Jan 13, 2023
@mfussi66
Copy link
Member

To add a bit of details:

  • Regarding the left wrist STL, we get the following error:
Unable to triangulate part SIM_ECUB_L_WRIST_1.  Aborting output.
Warning: The stl file for SIM_ECUB_L_WRIST_1 could not be created.

The options in the Simscape Plugin do not seem to be able to fix the issue, maybe we can try to lower the shrinkwrap quality or play around with the stl export options? (cc @Lawproto)

  • Regarding the right knee, there is no warning or error at all during the export process

@pattacini pattacini changed the title Wrong exportation of r_knee from CREO to Simmechanics Problems exportating r_knee and wrist from CREO to Simmechanics Jan 13, 2023
@fiorisi
Copy link
Member

fiorisi commented Jan 13, 2023

The options in the Simscape Plugin do not seem to be able to fix the issue, maybe we can try to lower the shrinkwrap quality or play around with the stl export options? (cc @Lawproto)

Yes, usually changing the shrinkwrap quality solves the problem.

@salvi-mattia
Copy link
Member

salvi-mattia commented Jan 13, 2023

there is a span in the quality level in the guidelines [it seems me 7-9]
it is better to use the lowest that give the result rather than go straight for the highest

edit: its' 6 to 9

@Lawproto
Copy link
Member

it is better to use the lowest that give the result rather than go straight for the highest

Did not know this prior to tackling the pre-URDF sim model experience, I went for the highest whenever possible instead. Thanks for the suggestion.

FYI I noticed that the same quality number seem to give pretty different mesh result for very similar or even equal links. Felt kinda odd, to be honest. This is a copmarison between l_wrist_1 and r_wrist_1.
.
immagine

Guess which is on the left and which is on the right of the image 😃

@salvi-mattia
Copy link
Member

Did not know this prior to tackling the pre-URDF sim model experience, I went for the highest whenever possible instead. Thanks for the suggestion.

you live, you learn

FYI I noticed that the same quality number seem to give pretty different mesh result for very similar or even equal links. Felt kinda odd, to be honest. This is a copmarison between l_wrist_1 and r_wrist_1. . immagine
Guess which is on the left and which is on the right of the image

yes, it happens

@Lawproto
Copy link
Member

With the commit above, I did all the necessary steps to recreate a new l_wrist_1 model for the Creo 7 ecub sim model. I chose quality 6, which is the lowest contemplated by our guidelines.
@mfussi66 please let me know if this solves your problem.

@pattacini pattacini added the team-dev Related to Team Dev label Jan 13, 2023
@mfussi66
Copy link
Member

The wrist seems fine now! See the meshlab screenshot of the opened STL:
image

The knee issue is persisting.

@pattacini pattacini changed the title Problems exportating r_knee and wrist from CREO to Simmechanics Problems exporting r_knee and wrist from CREO to Simmechanics Jan 20, 2023
@pattacini
Copy link
Member Author

Let's put this in the Icebox as we will first focus on developing CREO2URDF.

@Nicogene
Copy link
Member

Nicogene commented Aug 7, 2023

Since we decided to not generate anymore ergoCub 1.0 urdf using simmechanic_to_urdf and since it seems to not happen when using creo2urdf we can close this issue.

@Nicogene Nicogene closed this as completed Aug 7, 2023
@Nicogene Nicogene closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain-mechanics Related to Mechanics domain-software Related to Software prj-ergocub Related to ErgoCub Project team-dev Related to Team Dev team-fix Related to Team Fix
Projects
None yet
Development

No branches or pull requests

7 participants