Skip to Content
Build a sceneAdd parallel gripper

Add parallel gripper

Parallel gripper (Schunk Coact)

Configure a parallel gripper in a scene. This guide demonstrates how to manually build a gripper using prismatic joints and physics drives.

The workflow covers geometry setup, physics configuration, and control via an action graph.

Create gripper geometry

  1. Drag and drop the Gripper_Body.usd into the scene.
  2. Create a cube via CreateMeshCube.
  3. Adjust the transform to form the first finger segment:
XYZ
Translate0.00.040.16
Orient0.00.00.0
Scale0.050.010.05
  1. Create a second cube and apply:
XYZ
Translate0.00.0250.13
Orient90.00.00.0
Scale0.050.010.04
  1. Group both cubes into an Xform named Finger_R.
  2. Duplicate it to create Finger_L and rotate it 180° on Z.

Configure rigid bodies and friction

  1. Add rigid bodies with colliders to:

    • Gripper_Body
    • Finger_R
    • Finger_L
  2. Create a physics material via CreatePhysicsPhysics Material.

  3. Configure friction:

    • Dynamic friction: 0.8
    • Static friction: 0.8
    • Combine mode: Max
  4. Assign the material to both fingers.

Proper friction settings prevent objects from slipping during gripping.

Create prismatic joints

  1. Create a prismatic joint for each finger via CreatePhysicsJointPrismatic Joint.

  2. Configure the joint connections:

JointBody 0Body 1
Left fingerGripper_BodyFinger_L
Right fingerGripper_BodyFinger_R

These joints allow linear motion of the fingers.

Configure linear drives

  1. Add a linear drive to each prismatic joint via AddPhysicsLinear Drive.

  2. Configure both drives:

ParameterValue
AxisY
Lower Limit-0.005
Upper Limit0.005
Max Force100
Damping100
Stiffness3000

The drives act as motors controlling finger movement.

Create action graph

  1. Create an action graph via CreateVisual ScriptingAction Graph.

  2. Add the following nodes:

    • On IO Change (Wandelbots)
    • Branch
    • Write Prim Attribute (4×)
    • Constant Float (2×)
  3. Connect the logic:

    • IO Change → Branch (trigger + condition)
    • True → closing motion
    • False → opening motion
  4. Define velocities:

    • Opening: 0.5
    • Closing: -0.5
  5. Configure all Write Prim Attribute nodes:

StateTarget PrimAttribute
OpenPrismaticJoint_Finger_Rdrive:linear:physics:targetVelocity
OpenPrismaticJoint_Finger_Ldrive:linear:physics:targetVelocity
ClosePrismaticJoint_Finger_Rdrive:linear:physics:targetVelocity
ClosePrismaticJoint_Finger_Ldrive:linear:physics:targetVelocity

The action graph enables IO-based control of opening and closing.

Test parallel gripper

Test the gripper by triggering the IO signal defined in the action graph. Verify that both fingers move symmetrically and grip objects securely.

Last updated on