syuntoku14 / fusion2urdf

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

There is no base_link. Please set base_link and run again. #64

Open VaibhavMall opened 2 years ago

VaibhavMall commented 2 years ago

I'm trying to export a fusion file to URDF, but it's throwing this error. "There is no base_link. Please set base_link and run again." I'm not able to understand how to troubleshoot this Screenshot (36) .

carpit680 commented 2 years ago

Rename the root link of your cad model to base_link. In your case I assume base_plate needs to be renamed.

FawaazMoinn commented 2 years ago

Im too facing this probelm

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

akashsuthan commented 9 months ago

Rename the root link of your cad model to base_link. In your case I assume base_plate needs to be renamed.

did you find any way to rectify this even I too have this same issue