viam.components.gripper
Submodules
Package Contents
Classes
Gripper represents a physical robotic gripper. |
- class viam.components.gripper.Gripper(name: str)[source]
Gripper represents a physical robotic gripper.
This acts as an abstract base class for any drivers representing specific gripper implementations. This cannot be used on its own. If the
__init__()
function is overridden, it must call thesuper().__init__()
function.- SUBTYPE: Final
- abstract async open(*, extra: Optional[Dict[str, Any]] = None, timeout: Optional[float] = None, **kwargs)[source]
Open the gripper.
- abstract async grab(*, extra: Optional[Dict[str, Any]] = None, timeout: Optional[float] = None, **kwargs) bool [source]
Instruct the gripper to grab.
- Returns:
Indicates if the gripper grabbed something.
- Return type:
bool