
Help with Export to URDF
Hi all,
Hopefully someone could help me out here. I am building this rotary inverted pendulum and want to use the URDF model in IsaacLab. I have done this through SolidWorks before and the issue with SolidWorks 3rd party URDF exporter is that it will not take overwritten masses into account for calculating CoMs, inertias etc.
To learn OnShape I have remodelled the pendulum and am now working on the URDF export, the issues I'm running into are that the export contains way more links, joints and STL's than I would like. What I ultimately want in the export is 3 links, 1 STL for each, and preferably 3 joints including world joint but 2 joints would be fine.
I have tried making three subassemblies (base, arm and pendulum) and then a global assembly made of subassemblies but this gives all parts as linkages and all mates as joints. Then I tried just a global assembly with groups, then removing the mates within each group. That also gives me way more linkages, joins and STLs than I want.
Example joint that is undesired but autogenerated:
<joint name="hanging_node_to_root_joint_0" type="fixed"><origin xyz="-0.0730897 -0.260671 0.027793" rpy="1.5708 -0 0" /><axis xyz="0 0 1" /><parent link="root" /><child link="90deg_axle_holder" /></joint>
Any help for getting a clean URDF output would be very much appreciated! If it comes without world joint then I'll manually add that, but as it exports now it is way too much effort for preparing it for IsaacLab still.