<!--
robotiq-2f-140: robot-profile MJCF in the part frame (SCHEMA2.md 4.3, robotparts 2.7), written by
tools/models/robotiq_hands_mjcf.py in github.com/zacharyyamaoka/robotparts. Never edit by hand: re-run it.

Source: Robotiq's robotiq-ros, grippers/robotiq_description (BSD-3-Clause, package 1.4.0),
https://github.com/robotiq/robotiq-ros
at 49167c4f44a1da2b564715fba3e729c8ce958b63: urdf/robotiq_gripper.urdf.xacro with gripper_model 2f_140, expanded by
xacrodoc 2.0.1
(URDF sha256 c63003f89ed9a902dabe319bec35c9c6c27fa554061aa8e7398edd9d5f3fbcd2) and lowered to MJCF by
bam_robot_descriptions' import_urdf and
to_mjcf_string (bam_ws commit 938944762, the robotdescription.com path). Kept from Robotiq's description: every
link's frame, joint, axis and range, and the moving links' masses and inertias as written.

Changed: removed 22 <mesh> assets. The importer dropped: ros2_control at
robot/ros2_control[RobotiqGripperHardwareInterface]: ros2_control hardware blocks are bound outside the description;
mimic at robot/joint[left_inner_knuckle_joint]/mimic: joint coupling (mimic) is not representable yet; the joint
imports as independent; mimic at robot/joint[left_inner_finger_joint]/mimic: joint coupling (mimic) is not
representable yet; the joint imports as independent; mimic at robot/joint[right_outer_knuckle_joint]/mimic: joint
coupling (mimic) is not representable yet; the joint imports as independent; mimic at
robot/joint[right_inner_knuckle_joint]/mimic: joint coupling (mimic) is not representable yet; the joint imports as
independent; mimic at robot/joint[right_inner_finger_joint]/mimic: joint coupling (mimic) is not representable yet;
the joint imports as independent. Each mimic joint is a joint equality on its leader
(finger_joint), and one position actuator drives the leader: ctrl is the leader's position, 0 0.785. Its gains are
BAM's choice for a stable servo (Robotiq states none).
Each collision mesh is a box bounding it in its own frame (contype 2, conaffinity 1: never the hand, always a
scene); visual meshes are dropped. robotiq-ros's tcp_link frame is the `tcp` site.
The part frame: robotiq-ros's root frame sits on the axis at the end face of the Ø71 spigot, 10.900 mm above the
coupling's robot-side face (tools/measured/robotiq_2f_140_step_frame.json, measured on Robotiq's STEP);
the coupling is a massless cylinder (Robotiq's Fig. 5-5: 75 mm, 16.9 mm thick, 2.9 mm rim).
Mass: the base is 0.536654 kg, the maker's 1.025 kg (Table 5-1, coupling included) less the
moving links' 0.488346 kg; robotiq-ros gives the base 0.22652 kg (ratio 2.3691), and its inertia
is scaled by that ratio. Its centre of mass is moved along the axis to 0.015541 m (robotiq-ros: 0.03145) so the open
hand's is at the maker's 0.0755 m.
Sites: `tcp` at Robotiq's stated TCP z = 244 mm; `jaw_*` on each finger's contact face
(the face of its collision mesh nearest the axis at the open pose).

robotiq-ros LICENSE (BSD-3-Clause):

BSD 3-Clause License

Copyright (c) 2026, Robotiq
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
   contributors may be used to endorse or promote products derived from
   this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<mujoco model="robotiq_2f_140">
  <compiler angle="radian" autolimits="true" inertiafromgeom="false" balanceinertia="false" />
  <worldbody>
    <body name="base">
      <geom name="coupling" type="cylinder" mass="0" pos="0 0 0.00555" size="0.0375 0.00845" group="2" contype="2" conaffinity="1" rgba="0.25 0.25 0.25 1" />
      <site name="tcp" pos="0 0 0.244" size="0.004" group="4" rgba="1 0 0 0.6" />
      <body name="source_frame" pos="0 0 0.0109">
        <body name="robotiq_base_link" quat="0.7071067811865476 0.0 0.0 0.7071067811865475">
          <body name="robotiq_140_base_link">
            <inertial pos="0 0 0.0155410348" mass="0.536654" fullinertia="0.000473943284 0.000422462216 0.000319310551 0 0 0" />
            <geom name="robotiq_140_base_link_col_0_box" type="box" pos="6.19329512e-06 0.000278096646 0.0436487061" quat="1 0 0 0" size="0.0375061948 0.0427298993 0.047004706" group="2" contype="2" conaffinity="1" rgba="0.15 0.15 0.15 1" />
            <body name="left_outer_knuckle" pos="0.0 -0.030601 0.054663">
              <joint name="finger_joint" type="hinge" axis="-1.0 0.0 0.0" range="0.0 0.785" />
              <inertial pos="0.0 -0.022293 -0.001722" mass="0.009163" fullinertia="2.13107e-07 6.73439e-07 7.51601e-07 0.0 0.0 0.0" />
              <geom name="left_outer_knuckle_col_0_box" type="box" pos="0 -0.0210552209 0.000559506938" quat="1 0 0 0" size="0.00469999993 0.016518221 0.0100094927" group="2" contype="2" conaffinity="1" rgba="0.15 0.15 0.15 1" />
              <body name="left_outer_finger" pos="0.0 -0.031425 -0.004533">
                <inertial pos="3e-06 -0.014682 0.034201" mass="0.077064" fullinertia="5.35424e-05 4.52989e-05 1.90862e-05 2.09749e-11 -8.50742e-11 2.17303e-05" />
                <geom name="left_outer_finger_col_0_box" type="box" pos="4.73391265e-06 -0.0137282042 0.0407289602" quat="1 0 0 0" size="0.0136059951 0.0280077951 0.0460141413" group="2" contype="2" conaffinity="1" rgba="0.15 0.15 0.15 1" />
                <body name="left_inner_finger" pos="0.0 -0.03543 0.078899">
                  <joint name="left_inner_finger_joint" type="hinge" axis="-1.0 0.0 0.0" range="-0.785 0.0" />
                  <inertial pos="-1e-06 0.015976 0.031861" mass="0.049834" fullinertia="1.71297e-05 1.83739e-05 3.79156e-06 5.77571e-09 9.85228e-09 -3.36836e-06" />
                  <geom name="left_inner_finger_col_0_box" type="box" pos="-5.42029738e-07 0.0110655716 0.0100612836" quat="1 0 0 0" size="0.0135035096 0.0150153069 0.0139145935" group="2" contype="2" conaffinity="1" rgba="0.15 0.15 0.15 1" />
                  <body name="left_inner_finger_pad" pos="0.0 0.0271685 0.047725" quat="0.7071067811865476 0.7071067811865475 0.0 0.0">
                    <inertial pos="0.0 4.59924e-05 0.00961248" mass="0.04" fullinertia="1.53e-05 3.6e-06 1.65e-05 0.0 0.0 0.0" />
                    <geom name="left_inner_finger_pad_col_0_box" type="box" pos="0.000717226416 0.00100453198 0.00955686884" quat="1 0 0 0" size="0.0122778835 0.0344164073 0.00955713188" group="2" contype="2" conaffinity="1" rgba="0.15 0.15 0.15 1" />
                    <site name="jaw_left" pos="0.00166350846 -0.00489112938 1.82163664e-05" size="0.003" group="4" rgba="0 0.6 1 0.8" />
                  </body>
                </body>
              </body>
            </body>
            <body name="left_inner_knuckle" pos="0.0 -0.0127 0.061178">
              <joint name="left_inner_knuckle_joint" type="hinge" axis="-1.0 0.0 0.0" range="0.0 0.785" />
              <inertial pos="0.0 -0.035558 0.039592" mass="0.068112" fullinertia="4.53847e-05 3.28597e-05 2.55428e-05 -5.08846e-08 -1.15833e-08 2.15828e-05" />
              <geom name="left_inner_knuckle_col_0_box" type="box" pos="-5.00008464e-05 -0.0320617468 0.0377456355" quat="1 0 0 0" size="0.0175000001 0.0388504132 0.0445181918" group="2" contype="2" conaffinity="1" rgba="0.15 0.15 0.15 1" />
            </body>
            <body name="right_outer_knuckle" pos="0.0 0.030601 0.054663">
              <joint name="right_outer_knuckle_joint" type="hinge" axis="1.0 0.0 0.0" range="0.0 0.785" />
              <inertial pos="0.0 0.022293 -0.001722" mass="0.009163" fullinertia="2.13107e-07 6.73439e-07 7.51601e-07 0.0 0.0 0.0" />
              <geom name="right_outer_knuckle_col_0_box" type="box" pos="0 0.0210552209 0.000559506938" quat="1 0 0 0" size="0.00469999993 0.016518221 0.0100094927" group="2" contype="2" conaffinity="1" rgba="0.15 0.15 0.15 1" />
              <body name="right_outer_finger" pos="0.0 0.031425 -0.004533">
                <inertial pos="3e-06 0.014682 0.034201" mass="0.077064" fullinertia="5.35424e-05 4.52989e-05 1.90862e-05 -2.09749e-11 -8.50742e-11 -2.17303e-05" />
                <geom name="right_outer_finger_col_0_box" type="box" pos="1.70432031e-07 0.0137378247 0.0408221767" quat="1 0 0 0" size="0.0136002954 0.0280060982 0.0460479273" group="2" contype="2" conaffinity="1" rgba="0.15 0.15 0.15 1" />
                <body name="right_inner_finger" pos="0.0 0.03543 0.078899">
                  <joint name="right_inner_finger_joint" type="hinge" axis="1.0 0.0 0.0" range="-0.785 0.0" />
                  <inertial pos="-1e-06 -0.015976 0.031861" mass="0.049834" fullinertia="1.71297e-05 1.83739e-05 3.79156e-06 -5.77571e-09 9.85228e-09 3.36836e-06" />
                  <geom name="right_inner_finger_col_0_box" type="box" pos="5.96512109e-07 -0.0106859799 0.00961319823" quat="1 0 0 0" size="0.0135023049 0.0154533614 0.014361904" group="2" contype="2" conaffinity="1" rgba="0.15 0.15 0.15 1" />
                  <body name="right_inner_finger_pad" pos="0.0 -0.0271685 0.047725" quat="4.329780281177467e-17 4.329780281177466e-17 0.7071067811865475 0.7071067811865476">
                    <inertial pos="0.0 4.59924e-05 0.00961248" mass="0.04" fullinertia="1.53e-05 3.6e-06 1.65e-05 0.0 0.0 0.0" />
                    <geom name="right_inner_finger_pad_col_0_box" type="box" pos="0.000873807818 -0.000849813223 0.00985544147" quat="1 0 0 0" size="0.0120501546 0.034556549 0.00985544762" group="2" contype="2" conaffinity="1" rgba="0.15 0.15 0.15 1" />
                    <site name="jaw_right" pos="0.00116755596 0.00483887891 0.000102818476" size="0.003" group="4" rgba="0 0.6 1 0.8" />
                  </body>
                </body>
              </body>
            </body>
            <body name="right_inner_knuckle" pos="0.0 0.0127 0.061178">
              <joint name="right_inner_knuckle_joint" type="hinge" axis="1.0 0.0 0.0" range="0.0 0.785" />
              <inertial pos="0.0 0.035558 0.039592" mass="0.068112" fullinertia="4.53847e-05 3.28597e-05 2.55428e-05 5.08846e-08 -1.15833e-08 -2.15828e-05" />
              <geom name="right_inner_knuckle_col_0_box" type="box" pos="-4.85600904e-05 0.0320505602 0.0382084989" quat="1 0 0 0" size="0.0175014408 0.038897072 0.0439044989" group="2" contype="2" conaffinity="1" rgba="0.15 0.15 0.15 1" />
            </body>
          </body>
        </body>
      </body>
    </body>
  </worldbody>
  <contact>
    <exclude body1="robotiq_base_link" body2="robotiq_140_base_link" />
    <exclude body1="robotiq_140_base_link" body2="left_outer_knuckle" />
    <exclude body1="left_outer_knuckle" body2="left_outer_finger" />
    <exclude body1="robotiq_140_base_link" body2="left_inner_knuckle" />
    <exclude body1="left_outer_finger" body2="left_inner_finger" />
    <exclude body1="left_inner_finger" body2="left_inner_finger_pad" />
    <exclude body1="robotiq_140_base_link" body2="right_outer_knuckle" />
    <exclude body1="right_outer_knuckle" body2="right_outer_finger" />
    <exclude body1="robotiq_140_base_link" body2="right_inner_knuckle" />
    <exclude body1="right_outer_finger" body2="right_inner_finger" />
    <exclude body1="right_inner_finger" body2="right_inner_finger_pad" />
  </contact>
  <equality>
    <joint name="mimic_left_inner_knuckle_joint" joint1="left_inner_knuckle_joint" joint2="finger_joint" polycoef="0 1 0 0 0" />
    <joint name="mimic_left_inner_finger_joint" joint1="left_inner_finger_joint" joint2="finger_joint" polycoef="0 -1 0 0 0" />
    <joint name="mimic_right_outer_knuckle_joint" joint1="right_outer_knuckle_joint" joint2="finger_joint" polycoef="0 1 0 0 0" />
    <joint name="mimic_right_inner_knuckle_joint" joint1="right_inner_knuckle_joint" joint2="finger_joint" polycoef="0 1 0 0 0" />
    <joint name="mimic_right_inner_finger_joint" joint1="right_inner_finger_joint" joint2="finger_joint" polycoef="0 -1 0 0 0" />
  </equality>
  <actuator>
    <position name="fingers" joint="finger_joint" kp="5" kv="0.5" ctrlrange="0 0.785" />
  </actuator>
</mujoco>
