NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

graspit-py: A Python Interface to GraspIt! for Grasp Planning Under Pose and Friction Uncertainty

Clinton Enwerem, John S. Baras, Calin BeltaarXiv 2026

It’s late, your coffee is cold, and you’re staring at a robot hand that refuses to pick up a simple cube because the simulation didn't account for the fact that, in the real world, things are slippery and sensors are noisy. If you’ve ever wished you could bridge the gap between "perfect" grasp planning and "messy" reality without leaving the comfort of your Python environment, this paper is for you.

TL;DR

The authors introduce graspit-py, a direct Python interface for the venerable GraspIt! simulator. It allows researchers to plan robust grasps by simulating thousands of "what-if" scenarios involving pose and friction uncertainty, then seamlessly exports those plans into MuJoCo for high-fidelity dynamic simulation.

What Problem Does This Paper Address?

Robotic grasping is a game of "close enough." In a perfect simulation, you know exactly where the object is and exactly how much friction its surface provides. In reality, your object detection might be off by a few millimeters (pose uncertainty), and the surface might be unexpectedly slick (friction uncertainty).

The classic tool for analyzing these problems is GraspIt!, a C++ simulator that’s been a staple in the field for two decades. However, GraspIt! has a "Python problem." Existing ways to use it from Python—like ROS 1 service layers—are often slow, clunky, and difficult to integrate with modern machine learning workflows. Furthermore, moving a grasp planned in GraspIt! to a physics engine like MuJoCo is notoriously difficult because tiny differences in how joints and collision geometries are defined can make a "perfect" grasp fail instantly.

Methods

The authors built a bridge. graspit-py provides direct, low-latency access to GraspIt!’s core operations—like closing a hand and calculating "wrench scores" (how well the hand can resist external forces)—directly within Python.

Key technical highlights include:

  • Uncertainty-Aware Planning: Instead of giving you a single score for a grasp, the system generates a "Grasp Record." This includes a distribution of quality scores calculated across various pose perturbations and friction levels.
  • The MuJoCo Exporter: This is the "secret sauce." The tool automatically converts GraspIt! models into MuJoCo-compatible formats. It handles complex "affine joint couplings"—those tricky situations where moving one motor drives multiple finger joints at different ratios—with extreme precision.
  • Numerical Decoupling: By using NumPy and SciPy for the heavy math (like wrench-space analysis), the authors allow researchers to swap out the scoring metrics without having to touch the underlying C++ simulator code.
Figure 1: GraspIt! in a Python Grasping Workflow. (a) Shadow Hand grasp of a 60 mm sphere, with 11 contacts and native Ferrari–Canny quality εGI = 0.423 from collision-based closure. The visual meshes are posed at the closed joint configuration, with palm frame {H} and object frame {O}. (b) Python operations for grasp synthesis, contact-wrench analysis, and pose/friction evaluation. (c) UR10e–Shadow scene rendered in MuJoCo with the object-relative hand pose and joint configuration from (a). The inset provides a palmar view of the grasp. Open green rings mark projected GraspIt! contact positions, including occluded locations. The arrows identify interface operations for model export, grasp commands, closure-contact queries, and reconstruction of palm and joint configurations.

Datasets

While this isn't a "training" paper in the deep learning sense, the authors validated their system using a diverse "zoo" of robotic hardware:

  • Hand Models: Shadow Hand, Barrett Hand, LEAP Hand, Ability Hand, Inspire Hand, and the RealHand L6.
  • Objects: Standard geometric primitives (50mm cube, 60mm sphere, 44mm cylinder) used to benchmark contact mechanics.
  • Validation Suite: 1,920 directional task-wrench capacity calculations were compared against independent mathematical formulations to ensure the simulator wasn't "cheating."

Key Insights and Ideas

  • Direct is Faster: By bypassing the ROS 1 service transport layer, the authors achieved a 10.7% reduction in latency. In the world of large-scale data collection for RL, every millisecond counts.
  • Micrometer Precision Matters: The MuJoCo exporter is so accurate that the discrepancy between the original model and the exported one was just 1.3 µm. For context, a human hair is about 70 µm wide. This level of precision ensures that "sim-to-sim" transfer actually works.
  • The "Grasp Record" Concept: Moving away from a single "success/fail" bit to a rich data structure that captures how a grasp degrades under stress is a much more realistic way to evaluate robot performance.
Figure 2: Wrapper Architecture. Model conversion supplies hand and object geometry and the joint map to native GraspIt!. Candidate commands and their pose perturbations undergo approach and closure, producing contacts for numerical wrench analysis. Grasp records retain the accepted object-relative palm pose, closed independent coordinates, nominal contacts, and sampled scores for subsequent selection or reconstruction.

Key Results

  • Geometric Fidelity: Across 75 different hand configurations, the maximum error in vertex placement was negligible (well under the 100 µm tolerance).
  • Numerical Validation: The system’s wrench analysis perfectly matched independent Cartesian-force linear programs, proving the math is rock-solid.
  • Workflow Efficiency: The paper demonstrates a complete "export–plan–reconstruct" workflow, showing that a grasp planned in Python can be reconstructed in MuJoCo with floating-point precision.
Figure 2: Wrapper Architecture. Model conversion supplies hand and object geometry and the joint map to native GraspIt!. Candidate commands and their pose perturbations undergo approach and closure, producing contacts for numerical wrench analysis. Grasp records retain the accepted object-relative palm pose, closed independent coordinates, nominal contacts, and sampled scores for subsequent selection or reconstruction.

Limitations and Future Work

The authors are honest about where the tool goes next:

  • Visualization: Currently, inspecting the "uncertainty" samples requires a bit of manual effort. They are planning a browser-based viewer to make this more intuitive.
  • Joint Types: The current exporter is optimized for serial revolute joints (the most common type in robot fingers). Expanding this to more exotic joint types is on the roadmap.
  • Dynamic Effects: While the tool is great for planning (kinematics and statics), it doesn't yet capture the high-speed dynamic "bounce" of a finger hitting an object, which is left for the subsequent MuJoCo simulation to handle.

In short, graspit-py takes a powerful but aging tool and gives it a modern, high-speed Python brain, making it a lot easier for the rest of us to build robots that don't drop things.

Summary updated

BibTeX
@misc{enwerem2026graspit,
  author = {Clinton Enwerem and John S. Baras and Calin Belta},
  title = {{graspit-py: A Python Interface to GraspIt! for Grasp Planning Under Pose and Friction Uncertainty}},
  year = {2026},
  eprint = {2611.29011},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29011},
}
Figure