syuntoku14 / fusion2urdf

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

Error while running urdf_exporter #9

Closed leonhartyao closed 5 years ago

leonhartyao commented 5 years ago

could you help: default

nyxaria commented 5 years ago

Did you fully define the joint limits?

syuntoku14 commented 5 years ago

Hi, sorry for the late response.

Can you try to redefine the joint attached to base_link? This error may happen when the relationship between the parent and the child of a joint is the other way around.

The parent links should be set as Component2 when you define the joint not as Component1.

leonhartyao commented 5 years ago

I have combined different components together as base_link and remove all propeller but one left. So the model have only 2 links and 1 revolute joint. The parent link is also component2 while defining the joint. However I got the same error: image I have successfully export the urdf for the robotic arm in your example.

leonhartyao commented 5 years ago

I have delete the model until one propeller and one motor left, the same error occurs. Then I open a new file and import a propeller and a motor, define the joint as before. The urdf exporter has successfully excuted. Interesting...

syuntoku14 commented 5 years ago

Thank you for your feedback.

The error says the "component2" is not defined, but your model looks define the joint properly. I don't have any idea why it occurs...

It can be sometimes solved by just redefining the joint.