Package com.viam.component.gripper.v1
Class GripperServiceGrpc.GripperServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<GripperServiceGrpc.GripperServiceBlockingStub>
io.grpc.stub.AbstractBlockingStub<GripperServiceGrpc.GripperServiceBlockingStub>
com.viam.component.gripper.v1.GripperServiceGrpc.GripperServiceBlockingStub
- Enclosing class:
GripperServiceGrpc
public static final class GripperServiceGrpc.GripperServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<GripperServiceGrpc.GripperServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service GripperService.
An GripperService services all grippers associated with a robot
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandsGetCurrentInputs returns the current input values of a grippergetGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationgetKinematics(Common.GetKinematicsRequest request) GetKinematics returns the kinematics file for the componentgetStatus(Common.GetStatusRequest request) GetStatus returns the status of the resourcegoToInputs(Gripper.GoToInputsRequest request) GoToInputs moves the gripper to the given input values.grab(Gripper.GrabRequest request) Grab requests a gripper of the underlying robot to grab.IsHoldingSomething returns whether the gripper is currently holding onto an objectisMoving(Gripper.IsMovingRequest request) IsMoving reports if a component is in motionopen(Gripper.OpenRequest request) Open opens a gripper of the underlying robot.stop(Gripper.StopRequest request) Stop stops a robot's gripperMethods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected GripperServiceGrpc.GripperServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GripperServiceGrpc.GripperServiceBlockingStub>
-
open
Open opens a gripper of the underlying robot.
-
grab
Grab requests a gripper of the underlying robot to grab.
-
stop
Stop stops a robot's gripper
-
isMoving
IsMoving reports if a component is in motion
-
isHoldingSomething
public Gripper.IsHoldingSomethingResponse isHoldingSomething(Gripper.IsHoldingSomethingRequest request) IsHoldingSomething returns whether the gripper is currently holding onto an object
-
getCurrentInputs
GetCurrentInputs returns the current input values of a gripper
-
goToInputs
GoToInputs moves the gripper to the given input values.
-
doCommand
DoCommand sends/receives arbitrary commands
-
getStatus
GetStatus returns the status of the resource
-
getGeometries
GetGeometries returns the geometries of the component in their current configuration
-
getKinematics
GetKinematics returns the kinematics file for the component
-