-
Notifications
You must be signed in to change notification settings - Fork 67
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
ModelExporter: exporting a frame attached to the base link, make that fake link the base link #1201
Comments
The However, if you need to avoid this behaviour, you can set it to export_options.exportFirstBaseLinkAdditionalFrameAsFakeURDFBase = False |
Thanks @traversaro! Do you think it is safe to set it to |
Sure. The only downside is that users loading the created by
from https://github.com/ros/kdl_parser/blob/74d4ee3bc6938de8ae40a700997baef06114ea1b/kdl_parser/src/kdl_parser.cpp#L240-L242 when they will load the URDF in ROS's robot-state-publisher. As the robot-state-publisher does not use dynamics, this is not a big problem, just a minor annoyance. |
@mfussi66 @kaidegast and I noticed this strange behaviour when trying to export frames attached to the link that is passed as
baseLink
to theModelExporterOptions
.Basically what happens is that the frame exported become the new baseLink and the fixed joint between the base link and the frame is reversed (the frame is the parent, the base link is the child).
Here is the python snipped I used for testing this strange behaviour:
And here is the resulting URDF:
cc @traversaro
The text was updated successfully, but these errors were encountered: