Can't change visual mesh initial position
I have created a simple model for a supermarket using a .dae file and added it to a world, I am trying to change the model initial position but it is not working. If I click to edit the model with gazebo open I can see that the collision mesh is in the right place, only the visual mesh is not. What am I doing wrong?
Model:
<?xml version="1.0" ?>
<sdf version="1.5">
<model name="supermarket">
<link name="link">
<collision name="collision">
<pose>0 0 0 0 0 0</pose>
<geometry>
<mesh>
<uri>model://Supermarket/meshes/supermarket.dae</uri>
</mesh>
</geometry>
</collision>
<visual name="visual">
<pose>0 0 0 0 0 0</pose>
<geometry>
<mesh>
<uri>model://Supermarket/meshes/supermarket.dae</uri>
</mesh>
</geometry>
</visual>
</link>
</model>
</sdf>
World:
<?xml version='1.0'?>
<sdf version='1.5'>
<world name='supermarket'>
<include>
<uri>model://sun</uri>
</include>
<include>
<uri>model://ground_plane</uri>
</include>
<include>
<pose>-10 -10 0 0 0 0</pose>
<uri>model://Supermarket</uri>
</include>
</world>
</sdf>
Asked by rezenders on 2020-11-16 11:57:29 UTC
Comments