Gazebo | Ignition | Community
Ask Your Question

dyupleks's profile - activity

2017-02-17 18:58:47 -0500 received badge  Student (source)
2016-03-28 08:22:01 -0500 received badge  Famous Question (source)
2016-03-28 04:26:02 -0500 received badge  Notable Question (source)
2016-03-28 04:26:02 -0500 received badge  Famous Question (source)
2016-03-28 04:17:40 -0500 received badge  Supporter (source)
2016-03-28 04:17:38 -0500 received badge  Scholar (source)
2016-03-28 04:17:17 -0500 commented answer Model can't be fixed the orientation

Thank you so much! Yes, I wanted to place the shelves in a L-shape. I didnt note that there exists <pose> in include's tag. @chapulina, why do the last 3 numbers need in population's <pose> in case it doesn't fix the orientation? & why cant it be rotated by population's <pose>?

2016-03-27 17:30:56 -0500 received badge  Notable Question (source)
2016-03-26 03:27:20 -0500 commented question Model can't be fixed the orientation

There are two <population> tags. I have a problem with last one (white_shelves_population2). The <pose> 7.313923 1.442630 0.0 0.0 0.0 1.623000 </pose> doesnt fix in the model and the screenshots illustrates it.

2016-03-26 02:50:25 -0500 received badge  Popular Question (source)
2016-03-20 02:54:36 -0500 received badge  Enthusiast
2016-03-19 07:28:44 -0500 received badge  Editor (source)
2016-03-19 07:26:50 -0500 asked a question Model can't be fixed the orientation

Hello, Gazebo community!

I was learning the tutorial about the placing models in some orders and I wanted to implement it in my project. I took some models from 3D google repository and corrected them by following this tutorial.

My problem is the model (white_shelf2) can't be rotated on 90 degrees. I tried differently to fix the numbers of orientation (yaw exactly) in the world file (below it attached), but I cant still understand why the number were not published in Gazebo.

 <?xml version="1.0" ?> 
 <sdf version="1.5"> 
 <world name="default">

<include> 
<uri>model://ground_plane</uri> 
</include>

<include> 
<uri>model://sun</uri> 
</include>

<include> 
<uri>model://market_layout</uri> 
<name>market layout</name> 
<pose>0.107915 -0.228911 0.00 0.00 0.00 0.00</pose> 
</include>

<include> 
<uri>model://kassa</uri> 
<name>kassa</name> 
<pose>-4.712210 0.153002 -0.000002 0.000003 0.00 -1.573301</pose> 
</include>

<population name="white_shelves_population1"> 
<model name="white_shelf1"> 
<include>   
<static>true</static>   
<uri>model://white_shelves</uri> 
</include> 
</model> 
<pose>0.5 -7.4 0 0 0 0</pose> <!--pose of all shelves together -->  
<box>
<size>14 0.5 3</size> <!-- <size> is size of all shelves; all shelves will be in the size together -->
</box> 
<model_count>14</model_count> 
<distribution> 
<type>linear-x</type> <!-- models place along x-axis --> 
</distribution> 
</population>

<population name="white_shelves_population2"> 
<model name="white_shelf2"> 
<include> 
<static>true</static> 
<uri>model://white_shelves</uri> 
</include> 
</model> 
<pose>7.313923 1.442630 0.0 0.0 0.0 1.623000</pose> 
<box> 
<size>0.5 1.0 3.0</size> 
</box> 
<model_count>1</model_count> 
<distribution> 
<type>linear-y</type> 
</distribution> 
</population>
</world> 
</sdf>

This is screenshots:

image description

image description

In GUI, I placed the model in right position for getting the pose coordinates. Because, the "save" function doesn't work there, so I fixed the coordinates in my world file.

Jade, Ubuntu 14.04, Gazebo 5.1.0

Thank you in advance!

2016-03-19 04:58:51 -0500 commented answer Where can get more models?

I was following this video tutorial (https://www.youtube.com/watch?v=aP4sDyrRzpU&list=LLAqXKJ5WnOtSUv1F7_4pIZA&index=2). I dont know exactly Blender's opportunities, in my case I corrected the center of mass..

2016-02-18 08:53:19 -0500 received badge  Popular Question (source)
2016-02-18 05:19:07 -0500 commented question SDF versions - Unable to convert from SDF version 1.5 to 1.4

Thank you for your reply. I will attach the link (http://answers.ros.org/question/226087/sdf-versions/) of another answer from ROS answer. Maybe, it will help to someone

2016-02-09 01:50:34 -0500 asked a question SDF versions - Unable to convert from SDF version 1.5 to 1.4

Gazebo version 2.2.6, Indigo

Hello, Gazebo Community!

I would like to ask you about SDF versions. Nowadays, I am confused what SDF version is appropriate for running .world files. The question is appeared when I got errors following gazebo tutorials. Here , the .world file used SDF version 1.5 and It gave me errors:

Error [Converter.cc:127] Unable to convert from SDF version 1.5 to 1.4
Error [parser.cc:697] XML Element[population], child of element[world] not defined in SDF. Ignoring.[world]
Error [parser.cc:688] Error reading element <world>
Error [parser.cc:348] Unable to read element <sdf>
Error:   Could not find the 'robot' element in the xml file
     at line 81 in /build/buildd/urdfdom-0.2.10+dfsg/urdf_parser/src/model.cpp
Error [parser_urdf.cc:2608] Unable to call parseURDF on robot model
Error [parser.cc:273] parse as old deprecated model file failed.

I looked other .world files that run without any problem.. The files is under SDF version 1.4.

I was surfing ROS answers and gazebo tutorials, I didnt get the right answer.. If you will look at the resource, you will see versions 1.4, 1.5, 1.6 are available. But, there are exist higher version in downloads

What the version can I use in order I will not have any errors in version discrepancy?