Closed astumpf closed 1 year ago
The RemoveDummyLinksAndStaticBaseFlag function doesn't check if a link has sensors, as they haven't been parsed at that point. Additionally a preserveFixedJoint or preserveLink tag would be needed in case some frames are needed in ros applications.
This issue is currently a major blocker when working with Webots. Any hint or ideas to fix it?
Solved with #189
Unfortunately, I found out about this problem only recently. But latest version of the converter is pruning important (static/fixed) links from the URDF where sensors are attached. In this specific case, the optical frames of cameras are truncated.
Current behavior:
Camera frame is supposed to be the optical link that is truncated by the converter. I suspect that Webot has a fallback to attach them to the root link as seen in the following screenshot.
Expected behavior:
Cheated by changing the URDF to set the camera frame to the last non-truncated link.