Package com.viam.component.gantry.v1
Class GantryServiceGrpc.GantryServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<GantryServiceGrpc.GantryServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<GantryServiceGrpc.GantryServiceBlockingV2Stub>
com.viam.component.gantry.v1.GantryServiceGrpc.GantryServiceBlockingV2Stub
- Enclosing class:
GantryServiceGrpc
public static final class GantryServiceGrpc.GantryServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<GantryServiceGrpc.GantryServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service GantryService.
An GantryService services all gantries 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) getLengths(Gantry.GetLengthsRequest request) GetLengths gets the lengths of a gantry of the underlying robot.getPosition(Gantry.GetPositionRequest request) GetPosition gets the current position of a gantry of the underlying robot.home(Gantry.HomeRequest request) Home runs the homing sequence of a gantry and returns true once it's completed.isMoving(Gantry.IsMovingRequest request) IsMoving reports if a component is in motionMoveToPosition moves a gantry of the underlying robot to the requested position.stop(Gantry.StopRequest request) Stop stops a robot's gantryMethods 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 GantryServiceGrpc.GantryServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GantryServiceGrpc.GantryServiceBlockingV2Stub>
-
getPosition
public Gantry.GetPositionResponse getPosition(Gantry.GetPositionRequest request) throws io.grpc.StatusException GetPosition gets the current position of a gantry of the underlying robot.
- Throws:
io.grpc.StatusException
-
moveToPosition
public Gantry.MoveToPositionResponse moveToPosition(Gantry.MoveToPositionRequest request) throws io.grpc.StatusException MoveToPosition moves a gantry of the underlying robot to the requested position.
- Throws:
io.grpc.StatusException
-
home
Home runs the homing sequence of a gantry and returns true once it's completed.
- Throws:
io.grpc.StatusException
-
getLengths
public Gantry.GetLengthsResponse getLengths(Gantry.GetLengthsRequest request) throws io.grpc.StatusException GetLengths gets the lengths of a gantry of the underlying robot.
- Throws:
io.grpc.StatusException
-
stop
Stop stops a robot's gantry
- Throws:
io.grpc.StatusException
-
isMoving
public Gantry.IsMovingResponse isMoving(Gantry.IsMovingRequest request) throws io.grpc.StatusException IsMoving reports if a component is in motion
- 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
-
getKinematics
public Common.GetKinematicsResponse getKinematics(Common.GetKinematicsRequest request) throws io.grpc.StatusException - 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
-