launch a .stl file
Hi Ros Users:
I have a .stl file and I just would like to launch in a gazebo empty world with a .launch. How con I do that?
Thanks a lot !
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi Ros Users:
I have a .stl file and I just would like to launch in a gazebo empty world with a .launch. How con I do that?
Thanks a lot !
You can either make your stl part of a SDF (Gazebo) model or of a URDF model. The first method is fully independent of ROS and described here on gazebosim.org.
An example for spawning a stl via a URDF model is here. The urdf
folder contains the model (which is referencing a stl file in the Media
folder) and the launch
folder contains launch files for spawning the model into a Gazebo scene.
Thanks a lot @Stefan Kohlbrecher ! I have fixed it! But now I have another problem... please have a look at http://answers.ros.org/question/21946... because maybe you can help me. Thanks a lot again
Open the file in SolidWorks and export to URDF using this plug-in. This URDF file can be read in Gazebo. You can find the details and procedure in following links Solidworks teacher blog, Design for gazebo, Willow Garage.
Asked: 2015-10-19 06:13:17 -0500
Seen: 1,917 times
Last updated: Oct 19 '15
gazebo model dynamically modified by programming
Why import complicated stl file will caused problem on gazebo?
retrieve the bounding box of a mesh
How to programmatically reset Gazebo
gazebo crashes when calling delete_model service call
where do I get a gazebo diff drive plugin?
Material-dependent transparency in Gazebo