<mujoco model="pr2_model">
    <worldbody name="base">
        <body name="pr2" pos="0 0 0.5">
            <body name="link1" pos="0 0 0">
                <joint axis="0 0 1" name="joint1" type="hinge" pos="0 0 0" limited="false"/>
                <geom name="armgeom1" type="capsule" size="0.1" fromto="0 0 0 0 2 0" mass="1" rgba="0 0 0 1" conaffinity="0"/>
                <site name="link1_1" pos="0.105 0.5 0" zaxis="1 0 0" />
                <site name="link1_2" pos="-0.105 0.5 0" zaxis="-1 0 0" />
                <site name="link1_3" pos="0.105 1. 0" zaxis="1 0 0" />
                <site name="link1_4" pos="-0.105 1. 0" zaxis="-1 0 0" />
                <site name="link1_5" pos="-0.105 0.25 0" zaxis="-1 0 0" />
                <site name="link1_6" pos="-0.105 0.75 0" zaxis="-1 0 0" />
                <site name="link1_7" pos="0.105 0.25 0" zaxis="1 0 0" />
                <site name="link1_8" pos="0.105 0.75 0" zaxis="1 0 0" />

                <body name="link2" pos="0 2. 0.">
                    <joint axis="0 0 1" name="joint2" type="hinge" pos="0 0 0" limited="true" range="-3. 3."/>
                    <geom name="armgeom2" type="capsule" size="0.1" fromto="0 0 0 0 2 0"  mass="1" rgba="0 0 0 1" conaffinity="0"/>
                    <site name="link2_1" pos="0.105 0.5 0" zaxis="1 0 0" />
                    <site name="link2_2" pos="-0.105 0.5 0" zaxis="-1 0 0" />
                    <site name="link2_3" pos="0.105 0.25 0" zaxis="1 0 0" />
                    <site name="link2_4" pos="-0.105 0.25 0" zaxis="-1 0 0" />
                    <site name="link2_5" pos="0.105 0.75 0" zaxis="1 0 0" />
                    <site name="link2_6" pos="-0.105 0.75 0" zaxis="-1 0 0" />
                    <body name="ee_base" pos="0 2. 0.">
                        <geom name="ee_geom" type="sphere" size="0.2" mass="0.5" rgba="0 0 0 1" conaffinity="0" pos="0 0 0"/>
                        <body name="ee" pos=" 0 0.51 0">
                        </body>
                        <joint axis="0 0 1" name="wrist" type="hinge" pos="0 0 0" limited="true" range="-3 3"/>
                        <site name="ee_1" pos="0.21 0. 0" zaxis="1 0 0" />
                        <site name="ee_2" pos="-0.21 0. 0" zaxis="-1 0 0" />
                        <site name="ee_3" pos="0 0.205 0" zaxis="0 1 0" />
                        <site name="ee_4" pos="0 0.75 0" zaxis="0 1 0" />
                        <site name="ee_5" pos="0 1. 0" zaxis="0 1 0" />
                        <body name="right_finger" pos="-0.4 0 0" euler="0 0 0">
                            <site name="rf_1" pos="-0.25 0.4 0" zaxis="-1 0 0"/>
                            <site name="rf_2" pos="-0.1 0.2 0" zaxis="-1.5 -1 0"/>
                            <site name="rf_6" pos="-0.15 0.4 0" zaxis="1 0 0"/>
                            <joint name="right_finger_joint" axis="1 0 0" limited="true" range="-0.3 0.1" type="slide" solreflimit="0.02 0.25" solimplimit="0.99 1. 0.0001" pos="0 -0.2 0.3" margin="0.02" />
                            <geom pos="0 0 0" size="0.2" type="capsule" fromto="0 0 0 0 0.8 0" mass="1" friction="1.9 0.95 0.0005" rgba="0 0 0 1" conaffinity="0"/>
                        </body>
                        <body name="left_finger" pos="0.4 0. 0" euler="0 0 0.0">
                            <site name="lf_1" pos="0.25 0.4 0" zaxis="1 0 0"/>
                            <site name="lf_2" pos="0.1 0.2 0" zaxis="1.5 -1 0"/>
                            <site name="lf_6" pos="0.15 0.4 0" zaxis="-1 0 0"/>
                            <joint name="left_finger_joint" axis="-1 0 0" limited="true" range="-0.3 0.1" type="slide" solreflimit="0.02 0.25" solimplimit="0.99 1. 0.0001" pos="0 0.2 0.3" margin="0.02" />
                            <geom pos="0 0 0"  type="capsule" size="0.2" fromto="0 0 0 0 0.8 0" mass="1" friction="1.9 0.95 0.0005" rgba="0 0 0 1" conaffinity="0"/>
                        </body>
                    </body>
                </body>
            </body>
        </body>
    </worldbody>

    <actuator>
        <velocity gear="2" kv="30" joint="joint1" name="joint1" ctrllimited="true" ctrlrange="-25 25" />
        <velocity gear="2" kv="25" joint="joint2" name="joint2" ctrllimited="true" ctrlrange="-25 25" />
        <velocity kv="50" joint="wrist" name="wrist" ctrllimited="true" ctrlrange="-10 10" />
        <motor gear="50" joint="left_finger_joint" name="left_grip" ctrllimited="true" ctrlrange="-50 50" />
        <motor gear="50" joint="right_finger_joint" name="right_grip" ctrllimited="true" ctrlrange="-50 50" />
    </actuator>

</mujoco>
