Create a pool in Gazebo
<?xml version="1.0" ?>
<robot name="my_robot">
<link name="base_link">
<inertial>
<origin xyz="0 0 0" rpy="0 0 0" />
<mass value="100.0" />
<inertia ixx="1.0" ixy="0.0" ixz="0.0" iyy="100.0" iyz="0.0" izz="1.0" />
</inertial>
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<box size="-4.8 3 0.1" />
</geometry>
<material name="white">
<color rgba="1 1 1 1"/>
</material>
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<box size="-4.8 3 0.1" />
</ geometry>
</collision>
</link>
<link name="child_link">
<inertial>
<origin xyz="2.45 0 0.75" />
<mass value="10.0" />
<inertia ixx="1.0" ixy="0.0" ixz="0.0" iyy="100.0" iyz="0.0" izz="1.0" />
</inertial>
<visual>
<geometry>
<box size="0.1 3 1.5"/>
</geometry>
<origin xyz="2.45 0.75" />
<material name="white">
<color rgba="1 1 1 1"/>
</material>
</visual>
<collision>
<origin xyz="2.45 0 0.75" />
<geometry>
<box size="0.1 3 1.5" />
</ geometry>
</collision>
</link>
<joint name="base_link_to_child_link" type="fixed">
<parent link="base_link" />
<child link="child_link" />
<axis="0 1 0" />
<calibration rising="0.0" />
</joint>
</robot>
Hello.
I am new in ros. This is my urdf, I want to create a pool, and i tried to make a rectangular for a base and with joints to unite each other rectangular which will represent one of the four frames. In this urdf i wrote the base which is the first link and the left frame which is the second link, and i unite them with a joint. When i run this urdf, only the base (the first link) is showed in gazebo, what is the problem??? Is there any other way to create a pool without joints, only with one link?