Skip to content

Please Help #104

@Barstemel

Description

@Barstemel

URDF_Exporter

Failed:
Traceback (most recent call last):
File "C:/Users/barst/OneDrive/Masaüstü/Fusion/fusion2urdf/URDF_Exporter/URDF_Exporter.py", line 78, in run
Write.write_urdf(joints_dict, links_xyz_dict, inertial_dict, package_name, robot_name, save_dir)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/barst/OneDrive/Masaüstü/Fusion/fusion2urdf/URDF_Exporter\core\Write.py", line 138, in write_urdf
write_link_urdf(joints_dict, repo, links_xyz_dict, file_name, inertial_dict)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/barst/OneDrive/Masaüstü/Fusion/fusion2urdf/URDF_Exporter\core\Write.py", line 52, in write_link_urdf
[ i-j for i, j in zip(inertial_dict[name]['center_of_mass'], joints_dict[joint]['xyz'])]
~~~~~~~~~~~~~^^^^^^
KeyError: 'FL_1'

FL is a basic wheel and has a physical material

Image

But ı kept getting this error how do ı fix this?

Image

All the components and parts has a diffrent name and has no space in therir names

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions