Class MovementSensorServiceGrpc.MovementSensorServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<MovementSensorServiceGrpc.MovementSensorServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<MovementSensorServiceGrpc.MovementSensorServiceBlockingV2Stub>
com.viam.component.movementsensor.v1.MovementSensorServiceGrpc.MovementSensorServiceBlockingV2Stub
- Enclosing class:
MovementSensorServiceGrpc
public static final class MovementSensorServiceGrpc.MovementSensorServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<MovementSensorServiceGrpc.MovementSensorServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service MovementSensorService.
-
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) getGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationgetReadings(Common.GetReadingsRequest request) GetReadings returns the readings of a sensor of the underlying robot.getStatus(Common.GetStatusRequest request) GetStatus returns the status of the resourceMethods 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 MovementSensorServiceGrpc.MovementSensorServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MovementSensorServiceGrpc.MovementSensorServiceBlockingV2Stub>
-
getLinearVelocity
public Movementsensor.GetLinearVelocityResponse getLinearVelocity(Movementsensor.GetLinearVelocityRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
getAngularVelocity
public Movementsensor.GetAngularVelocityResponse getAngularVelocity(Movementsensor.GetAngularVelocityRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
getCompassHeading
public Movementsensor.GetCompassHeadingResponse getCompassHeading(Movementsensor.GetCompassHeadingRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
getOrientation
public Movementsensor.GetOrientationResponse getOrientation(Movementsensor.GetOrientationRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
getPosition
public Movementsensor.GetPositionResponse getPosition(Movementsensor.GetPositionRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
getProperties
public Movementsensor.GetPropertiesResponse getProperties(Movementsensor.GetPropertiesRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
getAccuracy
public Movementsensor.GetAccuracyResponse getAccuracy(Movementsensor.GetAccuracyRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
getLinearAcceleration
public Movementsensor.GetLinearAccelerationResponse getLinearAcceleration(Movementsensor.GetLinearAccelerationRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
doCommand
public Common.DoCommandResponse doCommand(Common.DoCommandRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
getStatus
public Common.GetStatusResponse getStatus(Common.GetStatusRequest request) throws io.grpc.StatusException GetStatus returns the status of the resource
- 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
-
getReadings
public Common.GetReadingsResponse getReadings(Common.GetReadingsRequest request) throws io.grpc.StatusException GetReadings returns the readings of a sensor of the underlying robot.
- Throws:
io.grpc.StatusException
-