Class GripperRPCClient
java.lang.Object
com.viam.sdk.core.resource.Resource
com.viam.sdk.core.component.Component
com.viam.sdk.core.component.gripper.Gripper
com.viam.sdk.core.component.gripper.GripperRPCClient
gRPC Client for a Gripper component
-
Nested Class Summary
Nested classes/interfaces inherited from class com.viam.sdk.core.resource.Resource
Resource.Reconfigurable, Resource.Stoppable -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StructSend/Receive arbitrary commands to the ResourcegetGeometries(Optional<com.google.protobuf.Struct> extra) Get all geometries associated with the Component, in their current configuration, in the frame of the Component.booleanInstruct the gripper to grab.booleanisMoving()Get if the gripper is currently moving.voidOpen the gripper.voidStop the gripper.Methods inherited from class com.viam.sdk.core.component.gripper.Gripper
createStatus, fromRobot, namedMethods inherited from class com.viam.sdk.core.resource.Resource
close, getName, getSubtype, named
-
Constructor Details
-
GripperRPCClient
-
-
Method Details
-
open
Description copied from class:GripperOpen the gripper. -
grab
Description copied from class:GripperInstruct the gripper to grab. -
stop
Description copied from class:GripperStop the gripper. It is assumed the gripper stops immediately. -
isMoving
public boolean isMoving()Description copied from class:GripperGet if the gripper is currently moving. -
doCommand
Description copied from class:ResourceSend/Receive arbitrary commands to the Resource -
getGeometries
Description copied from class:ComponentGet all geometries associated with the Component, in their current configuration, in the frame of the Component.- Overrides:
getGeometriesin classComponent- Returns:
- the geometries associated with the Component
-