<?xml version="1.0"?>
<sdf version="1.5">
  <world name="default">
    <gravity>0 0 0</gravity>
    <model name="revolute_model">
      <link name="body1">
        <pose>0 0 0.5 0 0 1.570796</pose>
        <inertial>
          <mass>1.0</mass>
          <inertia>
            <ixx>1</ixx>
            <ixy>0</ixy>
            <ixz>0</ixz>
            <iyy>1</iyy>
            <iyz>0</iyz>
            <izz>1</izz>
          </inertia>
        </inertial>
        <collision name="geom">
          <geometry>
            <box>
              <size>1 1 1</size>
            </box>
          </geometry>
        </collision>
        <visual name="visual">
          <geometry>
            <box>
              <size>1 1 1</size>
            </box>
          </geometry>
          <material>
            <script>Gazebo/WoodPallet</script>
          </material>
        </visual>
      </link>
      <link name="body2">
        <pose>0 0.5 2.0 0 0 0</pose>
        <inertial>
          <inertia>
            <ixx>1</ixx>
            <ixy>0</ixy>
            <ixz>0</ixz>
            <iyy>1</iyy>
            <iyz>0</iyz>
            <izz>1</izz>
          </inertia>
          <mass>1.0</mass>
        </inertial>
        <collision name="geom">
          <geometry>
            <box>
              <size>1 1 1</size>
            </box>
          </geometry>
        </collision>
        <visual name="visual">
          <geometry>
            <box>
              <size>1 1 1</size>
            </box>
          </geometry>
          <material>
            <script>Gazebo/WoodPallet</script>
          </material>
        </visual>
      </link>
      <joint type="revolute" name="revolute_joint">
        <pose>1 0 0 0 0 0</pose>
        <parent>body1</parent>
        <child>body2</child>
        <axis>
          <xyz>1 0 0</xyz>
          <use_parent_model_frame>false</use_parent_model_frame>
        </axis>
      </joint>
    </model>
  </world>
</sdf>
