Gazebo not setting pose offset provided by world file
Hello,
I have exported some models from Blender to Collada. They had a certain pose offset from the origin.
In the world file I set an pose offset
I have started gazebo in verbose mode, but could find any errors or warnings other than for some material warnings
[Wrn] [ColladaLoader.cc:1747] Unable to add material[Color_243_6103-material]
The example world file:
<?xml version="1.0" ?>
<sdf version="1.4">
<world name="default">
<include>
<uri>model://ground_plane</uri>
</include>
<include>
<uri>model://sun</uri>
</include>
<model name="myWorld">
<<pose>300 300 -20 0 0 0</pose>
<static>true</static>
<link name="my_ground">
<visual name="visual">
<geometry>
<mesh><uri>model://my_ground.dae</uri></mesh>
</geometry>
</visual>
<collision name="collision">
<geometry>
<mesh><uri>model://my_ground.dae</uri></mesh>
</geometry>
</collision>
</link>
<link name="my_model">
<visual name="visual">
<geometry>
<mesh><uri>model://my_model.dae</uri></mesh>
</geometry>
</visual>
<collision name="collision">
<geometry>
<mesh><uri>model://my_model.dae</uri></mesh>
</geometry>
</collision>
</link>
</model>
</world>
</sdf>
BR & thanks for any help
Asked by Eisenhorn on 2018-12-03 05:23:19 UTC
Answers
There could be issues with your DAE file. For example, the collada file could have units set. For example, take a look at the top of your DAE file and look for:
<unit name="inch" meter="0.0254"/>
The units could cause the DAE file to be scaled in an unexpected manner.
Asked by nkoenig on 2018-12-06 11:49:06 UTC
Comments