Skip to content

Gripper Mixin

This module contains the GripperMixin class.

ATTRIBUTE DESCRIPTION
GRIPPER_ON_DELAY

delay for gripper on

TYPE: int

GRIPPER_OFF_DELAY

delay for gripper off

TYPE: int

CLASS DESCRIPTION
GripperMixin

Mixin class for gripper control

Documentation last updated: 2025-02-22

GripperMixin

GripperMixin(*args, **kwargs)

Mixin class for vacuum control

METHOD DESCRIPTION
drop

Drop to release object

grab

Grab to secure object

toggleGrip

Toggle grip

drop

drop(wait: float | None = None)

Drop to release object

PARAMETER DESCRIPTION
wait

Time to wait after dropping. Defaults to None.

TYPE: float | None DEFAULT: None

grab

grab(wait: float | None = None)

Grab to secure object

PARAMETER DESCRIPTION
wait

Time to wait after grabbing. Defaults to None

TYPE: float | None DEFAULT: None

toggleGrip

toggleGrip(on: bool)

Toggle grip

PARAMETER DESCRIPTION
on

True to turn on, False to turn off

TYPE: bool