0
$\begingroup$

Rosanswers logo

I am new to gazebo and I am going through the tutorials. I want to model a house in gazebo and spawn TurtleBot in it. I downloaded some furniture models in .obj format from http://www.sweethome3d.com/importModels.jsp. Using "Whoola Collada Converter" I converted .obj files to .dae. Now, How to use these .dae file and spawn the furnitures in gazebo ?


Originally posted by prasanna.kumar on ROS Answers with karma: 1363 on 2012-06-06

Post score: 3


Original comments

Comment by prasanna.kumar on 2012-06-06:
@DimitriProsser: Minutes after posting this question, I myself saw that page. I changed the file name to what I had and ran the urdf file in gazebo and rviz. Gazebo said "Model spawned Succesfully" but nothing actually appeared on the window. It was as empty as before. What could be the problem ?

Comment by DimitriProsser on 2012-06-06:
Did you include both the <visual> and <collision> tags? Are you spawning the model such that it's in collision with the ground or another object? (This could cause it to sink below the ground)

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

You're going to have to build a URDF of your building by following these tutorials. In order to use your .dae files, you will need to set them as the mesh for <geometry>.

<link name="left_gripper">
  <visual>
    <geometry>
      <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger.dae"/>
    </geometry>
  </visual>
</link>

Originally posted by DimitriProsser with karma: 11163 on 2012-06-06

This answer was ACCEPTED on the original site

Post score: 3

$\endgroup$

Your Answer

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