ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Spawn a blender file in Gazebo

asked 2012-05-29 22:43:22 -0600

Penny gravatar image

I had created a 3D model in Blender and had managed to spawn it in Gazebo, but an error occurred and I had to format my computer. After the format with the same source code I am not able to spawn the model in Gazebo. My urdf is:

<robot name="pool">

<link name="base_link">

 <inertial>
   <mass value="100.0" />
   <origin xyz="0 0 0" />
  <inertia  ixx="1.0" ixy="0.0"  ixz="0.0"  iyy="1.0"  iyz="0.0"  izz="1.0" />

 </inertial>

 <visual>
   <origin xyz="0 0 0" rpy="0 0 0" />
   <geometry>
     <mesh filename="package://gazebo_worlds/Media/models/pinky.3ds" />
   </geometry>
 </visual>

 <collision>
   <origin xyz="0 0 0" rpy="0 0 0" />
   <geometry>
     <mesh filename="package://gazebo_worlds/Media/models/pinky.3ds" />
   </geometry>
 </collision>

</link> </robot>

What is wrong? When I rosrun, no errors occurre but no model appears in Gazebo either.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-05-30 00:23:30 -0600

You try to use a 3D Studio (.3ds) format file. Gazebo only supports the .stl and COLLADA (.dae) formats. You should be able to export your model to .dae (or .stl, for that matter) using Blender and then use that in your URDF.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-05-29 22:43:22 -0600

Seen: 2,720 times

Last updated: May 30 '12