-
Notifications
You must be signed in to change notification settings - Fork 3
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
Impossible to generate URDF of three links model with "Element [...] is not found in configuration file" #100
Comments
Hi @DavideBarbone! Thanks for reporting, this behaviour is strange because the conf files used in the 2bars are similar to the ones you are using, which version of Could you please post the (The warnings should be fine) |
Kind of OT: Looking at the code in creo2urdf/src/creo2urdf/src/Creo2Urdf.cpp Line 821 in 8ee8549
rename is provided, the warning is printed. However, the docs does not mention at all that rename should be provided for all elements. Probably if this is not a problem we should not print a warning? If we want to have some kind of "trace" output that is always printed (even if it is not a warning) it could make sense to have it, but I would leave it to some kind of debug output file, not to a warning message.
|
Hi @Nicogene! Thanks for the help, I downloaded creo2urdf from https://github.com/icub-tech-iit/creo2urdf/releases/tag/v0.5.0. The traceback.log file is the following:
|
@Nicogene if useful @DavideBarbone can share the model to you (we can't share it here as it is from a commercial project). Something that I noticed that it may be problematic (and untested) is that it is a three link/parts assembly, but in which two links/parts are actually the same .prt, that is included two times in the assembly. |
Yes sure! The strange thing is that that traceback does not contain any information, and |
Today I tried to export the urdf and Creo is not crashing, I am just getting this error from idyntree:
Probably the creo2urdf version I am using (the latest master) contains some fixes that allow it to fail gently instead of crash when 2 links have the same name. @DavideBarbone please try to use a different name for the two parts, it should solve your problem |
Hi @Nicogene, I renamed the two parts, the plugin still doesn't work, and creo crashes with the same mode, but now the error is different: The yaml file that I am using is the following:
Traceback file
|
Probably your crash is due to a limitation that creo2urdf had, when different parts are using link frames with the same name ( I haven't produced a new release/binary yet but if you send me an updated version of the asm I can check it, and then I can release it. Moreover,
(Note that for each link not present in the the resulting joints will probably not be defined as expected. See: |
By using this new And fixing the yaml used by @DavideBarbone, we managed to export the assembly correctly. Idyntree failed to export the urdf because the Closing! |
Hello, thanks a lot for the work on this repo. I am trying to export the URDF of a three link Creo model, starting from the 2bars example. The 2bars example is working fine, but when I try to export my model (that I can share inside IIT) with this configuration file:
and .csv:
The export creates an error:
and then Creo crashes. I am not sure why this is happening, as the 2bars example is working fine on my machine (I am using Creo 9.0.4.0). However, investigating in the code I noticed that the errors seems related to the
rename
option, and so by modifying the file adding:I get a different error:
The text was updated successfully, but these errors were encountered: