Skip to content

Root option does not work when exportedFrames are rigidly connected to it #140

@FabioBergonti

Description

@FabioBergonti

Hi!
I'm exporting an assembly with two exportedFrames (l_ankle_spherical_parent_1 and l_ankle_spherical_parent_2) that are rigidly connected to the intended root link (l_lower_leg). However, when the URDF is generated, the first link is unexpectedly set to one of the exported frames (l_ankle_spherical_parent_1), instead of the one I selected in the yaml (l_lower_leg).

Here is an excerpt of the generated URDF:

<?xml version="1.0"?>
<robot name="test">
  <link name="l_ankle_spherical_parent_1"/>
  <joint name="l_ankle_spherical_parent_1_fixed_joint" type="fixed">
    <origin xyz="0 -0.043000000000000003 1.1389215232070394e-17" rpy="0 -0 0"/>
    <parent link="l_ankle_spherical_parent_1"/>
    <child link="l_lower_leg"/>
  </joint>

If I remove the exportedFrames, the selected root link (l_lower_leg) is correctly used as the root in the URDF, as expected.

I've attached the files used for both tests for your reference.

Tested with:

Let me know if I can provide more details to help reproduce the issue.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions