0
$\begingroup$

Rosanswers logo

I have the solidworks stl file of my robot, but how can I convert it into urdf file? I have tried simmechanics_to_urdf, but it seems don't work at all. For example, the stl file is test.stl (asscii), which pkg and node can do this job. Thank you.


Originally posted by igoliao on ROS Answers with karma: 41 on 2012-06-15

Post score: 3


Original comments

Comment by David Lu on 2012-06-15:
dornhenge is right that you can just use it in a URDF directly, but it won't have any flexible joints. What part of simmechanics_to_urdf were you having trouble with?

$\endgroup$

2 Answers 2

0
$\begingroup$

Rosanswers logo

You can use an STL file directly as a mesh in a URDF link. There might be some issues when exporting the STL from SolidWorks. You need to choose the correct units and export as binary IIRC.


Originally posted by dornhege with karma: 31395 on 2012-06-15

This answer was ACCEPTED on the original site

Post score: 2


Original comments

Comment by igoliao on 2012-06-15:
Yeah, it really works, thank you very much!

$\endgroup$
0
$\begingroup$

Rosanswers logo

There is now a solidworks plugin to do this. sw_urdf_exporter


Originally posted by tfoote with karma: 58457 on 2012-10-07

This answer was NOT ACCEPTED on the original site

Post score: 5


Original comments

Comment by phil0stine on 2012-10-07:
Outstanding thanks for the update

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.