Gazebo first model & version confusion [closed]

asked 2012-04-08 14:53:15 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am new to the community. Please, excuse this couple of newbie questions (I promise I have used google and answers.ros.org search):

1- I want to learn how to use Gazebo. I use Gazebo 0.9 under ubuntu 10.4 due to my project/tutor requirement (which I got along with JDErobot here:http://jde.gsyc.es/index.php/Downloads). I have read this tutorials:

http://www.d.umn.edu/~cprince/PubRes/Gazebo/index.php?page=main

http://gazebosim.org/wiki/tutorials

But I cannot get the examples to work. I thought they refer to different versions of Gazebo, so I came to this web: http://gazebosim.org/wiki/tutorials/plugins/converting_old_plugins

The first question is: does the new plugin API affect only 1.00 version of Gazebo, or do I have to consider the changes in 0.9 version?

2- I am trying to create a very basic plugin from scratch, with only a box with a texture, or a .dae mesh. I have tried the tutorials above, but I cannot compile the examples because I get a lot of errors which I doesn't even understand (because I am fairly new to all this).

I want to be able to compile something very simple so I can learn by adding complexity to the model.

Since the tutorials above didn't work for me, could you please point me to a VERY basic tutorial to create and compile a very basic plugin in gazebo 0.9 with a box and a texture, or a mesh file? Because right now, I am confused and frustrated :-/

Thank you very much in advance, please be patient, I am trying hard but need a little help.

EDIT--------------------------------------------------------------

Another example: I have been reading this manual http://playerstage.sourceforge.net/doc/Gazebo-manual-svn-html/tutorial_model.html

It is great and simple, but I cannot get gazebo 0.9 to represent even a single box like:

<geom:box name="geom_name">
  <xyz>1 2 3</xyz>
  <rpy>0 0 30</rpy>
  <size>0.1 0.2 0.3</size>
  <mesh>default</mesh>
  <mass>0.5</mass>
  <material>Gazebo/Red</material>
  <laserFiducialId>1</laserFiducialId>
  <laserRetro>0.5</laserRetro>
</geom:box>

It is like if gazebo didn't recognize <geom:box> and again, I think the version might be the problem. If not, what else? What am I doing wrong? This is what I get:

image description

Please, could anyone share some knowledge? I am really lost. Thank you again :-)

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by tfoote
close date 2014-09-30 19:42:09.580801

Comments

your picture failed to show. You can try similar : http://imgur.com/

sam gravatar image sam  ( 2012-04-10 05:04:26 -0500 )edit

thank you, I have just edited it.

Arael gravatar image Arael  ( 2012-04-10 12:32:18 -0500 )edit

Can you use the latest release on gazebosim.org? Is there a functionality in 0.9 that is missing in 1.0-rc? If you have to use gazebo 0.9, do not refer to documentations on gazebosim.org, as it is only written for gazebo 1.0 and 1.0-rc.

hsu gravatar image hsu  ( 2012-04-11 15:57:05 -0500 )edit

I'll ask to my supervisor, because changing to Gazebo 1.0 might be a solution. Anyway, the version confusion is still there: I have different works and tutorials (like stated above) which are not working, and I wonder whether it is because they are obsolete or just wrong :-( Thanks for the comment.

Arael gravatar image Arael  ( 2012-04-11 21:21:17 -0500 )edit

Please ask gazebo questions at: http://answers.gazebosim.org/questions/

tfoote gravatar image tfoote  ( 2014-09-30 19:42:04 -0500 )edit