Package com.viam.component.gripper.v1
Class GripperServiceGrpc.GripperServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<GripperServiceGrpc.GripperServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<GripperServiceGrpc.GripperServiceBlockingV2Stub>
com.viam.component.gripper.v1.GripperServiceGrpc.GripperServiceBlockingV2Stub
- Enclosing class:
GripperServiceGrpc
public static final class GripperServiceGrpc.GripperServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<GripperServiceGrpc.GripperServiceBlockingV2Stub>
A stub to allow clients to do 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 commandsgetGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationgetKinematics(Common.GetKinematicsRequest request) GetKinematics returns the kinematics file for the componentgrab(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.GripperServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GripperServiceGrpc.GripperServiceBlockingV2Stub>
-
open
Open opens a gripper of the underlying robot.
- Throws:
io.grpc.StatusException
-
grab
Grab requests a gripper of the underlying robot to grab.
- Throws:
io.grpc.StatusException
-
stop
Stop stops a robot's gripper
- Throws:
io.grpc.StatusException
-
isMoving
public Gripper.IsMovingResponse isMoving(Gripper.IsMovingRequest request) throws io.grpc.StatusException IsMoving reports if a component is in motion
- Throws:
io.grpc.StatusException
-
isHoldingSomething
public Gripper.IsHoldingSomethingResponse isHoldingSomething(Gripper.IsHoldingSomethingRequest request) throws io.grpc.StatusException IsHoldingSomething returns whether the gripper is currently holding onto an object
- Throws:
io.grpc.StatusException
-
doCommand
public Common.DoCommandResponse doCommand(Common.DoCommandRequest request) throws io.grpc.StatusException DoCommand sends/receives arbitrary commands
- Throws:
io.grpc.StatusException
-
getGeometries
public Common.GetGeometriesResponse getGeometries(Common.GetGeometriesRequest request) throws io.grpc.StatusException GetGeometries returns the geometries of the component in their current configuration
- Throws:
io.grpc.StatusException
-
getKinematics
public Common.GetKinematicsResponse getKinematics(Common.GetKinematicsRequest request) throws io.grpc.StatusException GetKinematics returns the kinematics file for the component
- Throws:
io.grpc.StatusException
-