Hello,

I've just started with gazebo and got stuck at the begining: i'm trying to
create simple box following the Model Creation Tutorial (gazebo-svn manual).
This is the model I'm using:

<model:physical name="box_model">
  <xyz>0 1.5 0.5</xyz>
  <rpy>0.0 0.0 0.0</rpy>
  <canonicalBody>box1_body</canonicalBody>
  <static>false</static>

  <body:box name="box_body">
    <xyz>0.0 0.0 0.0</xyz>
    <rpy>0.0 0.0 0.0</rpy>

    <geom:box name="box_geom">
      <xyz>0.0 0.0 0.0</xyz>
      <rpy>0.0 0.0 0.0</rpy>
      <mesh>default</mesh>
      <size>1 1 1</size>
      <density>1.0</density>
      <material>Gazebo/BumpyMetal</material>
    </geom:box>
  </body:box>
</model:physical>

and nothing happens (no box is created). After looking through examples I've
changed section describing box_geom to 

    <geom:box name="box_geom">
      <visual>
      <xyz>0.0 0.0 0.0</xyz>
      <rpy>0.0 0.0 0.0</rpy>
      <mesh>default</mesh>
      <size>1 1 1</size>
      <density>1.0</density>
      <material>Gazebo/BumpyMetal</material>
      </visual>
    </geom:box>
  </body:box>

(i've added <visual> section - not in the manual - where can I read about
it?)

and I get this error:

server/rendering/OgreVisual.cc:95 : Exception: Unable to create a mesh from
default

Can somebody explain me what am I doing wrong?
Do I have to create my own mesh just to get a simple box?

I'm using Ubuntu, latest svn verion of gazebo and ogre 1.4.5.

Regards,
Kamil

-- 
View this message in context: 
http://www.nabble.com/Problems-with-default-mesh-from-Model-Tutorial-tp16721256p16721256.html
Sent from the playerstage-gazebo mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to