syuntoku14 / fusion2urdf

A Fusion 360 Script to export URDF
MIT License
453 stars 151 forks source link

Traceback error while making urdf #65

Open FawaazMoinn opened 1 year ago

FawaazMoinn commented 1 year 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 1 year 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