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
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Struct
Send/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.boolean
Instruct the gripper to grab.boolean
isMoving()
Get if the gripper is currently moving.void
Open the gripper.void
Stop the gripper.Methods inherited from class com.viam.sdk.core.component.gripper.Gripper
createStatus, fromRobot, named
Methods inherited from class com.viam.sdk.core.resource.Resource
close, getName, getSubtype, named
-
Constructor Details
-
GripperRPCClient
-
-
Method Details
-
open
Description copied from class:Gripper
Open the gripper. -
grab
Description copied from class:Gripper
Instruct the gripper to grab. -
stop
Description copied from class:Gripper
Stop the gripper. It is assumed the gripper stops immediately. -
isMoving
public boolean isMoving()Description copied from class:Gripper
Get if the gripper is currently moving. -
doCommand
Description copied from class:Resource
Send/Receive arbitrary commands to the Resource -
getGeometries
Description copied from class:Component
Get all geometries associated with the Component, in their current configuration, in the frame of the Component.- Overrides:
getGeometries
in classComponent
- Returns:
- the geometries associated with the Component
-