syuntoku14 / fusion2urdf

A Fusion 360 Script to export URDF
MIT License
481 stars 163 forks source link

Traceback error while making urdf #65

Open FawaazMoinn opened 2 years ago

FawaazMoinn commented 2 years ago

Im facing this error whenever I'm making a urdf, I'm new to urdf making with fusion 360, help would be appreciated

Failed: Traceback (most recent call last): File "C:/Users/Admin/AppData/Roaming/Autodesk/Autodesk Fusion 360/API/Scripts/URDF_Exporter/URDF_Exporter.py", line 59, in run joints_dict, msg = Joint.make_joints_dict(root, msg) File "C:\Users/Admin/AppData/Roaming/Autodesk/Autodesk Fusion 360/API/Scripts/URDF_Exporter\core\Joint.py", line 172, in make_joints_dict if joint.occurrenceTwo.component.name == 'base_link': AttributeError: 'NoneType' object has no attribute 'component'

image

mefrankli commented 2 years ago

We have to follow specific design practices to get the fusion to URDF plugin working, We should mention at least one component as base_link, setting up the origin and orientation.. as ROS /Gazebo coordinate system is different from the Fusion360's XYZ, You can refer to this link to get more clarity and easy steps for the same