You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Robotiq2F140 finger_length and make clearance configurable (#42)
Two changes:
1. Robotiq2F140.FINGER_LENGTH: 55mm → 114mm
finger_length is the distance from the MuJoCo grasp_site to the
fingertip along the approach axis. The previous value (55mm) was the
pad length from the Robotiq datasheet, but the grasp_site sits at
the base_mount origin — 100mm behind the pad base. Measured from
the actual MuJoCo model: the pad tip corner is 114mm from the
grasp_site.
With 55mm, the TSR placed the gripper 55mm above the top face for
the shallowest grasp. The real fingertips were actually at 114mm,
so the gripper housing was 59mm lower than intended — colliding
with the table for any object shorter than ~60mm. Sugar box (48mm)
and gelatin box (28mm) were unpickable.
With 114mm, the shallowest grasp correctly places the fingertips
at the object's top edge, keeping the housing clear of the table.
2. ParallelJawGripper.clearance_fraction: hardcoded 0.3 → configurable
The clearance (safety margin at grasp depth limits) was hardcoded
as 30% of graspable_depth. Now a constructor parameter defaulting
to 0.1 (10%). The old 30% was too conservative with the corrected
finger_length — it rejected valid grasps on objects shorter than
~70mm.
0 commit comments