pylabrobot.opentrons.flex.flex_gripper.FlexGripper.grip#

async FlexGripper.grip(force: float | None = None) → None#

Close the gripper jaw around whatever sits between its paddles.

Parameters:

force (float | None) – Grip force in Newtons, between 2.0 and 30.0. The robot applies its own default when None. There is no jaw-width parameter; the jaw closes until it grips.

Raises:

OpentronsError – If force is outside the accepted range – raised before any wire command is sent.

Return type:

None