Class MovementSensorRPCService
java.lang.Object
com.viam.component.movementsensor.v1.MovementSensorServiceGrpc.MovementSensorServiceImplBase
com.viam.sdk.core.component.movementsensor.MovementSensorRPCService
- All Implemented Interfaces:
MovementSensorServiceGrpc.AsyncService
,ResourceRPCService<MovementSensor>
,io.grpc.BindableService
public class MovementSensorRPCService
extends MovementSensorServiceGrpc.MovementSensorServiceImplBase
implements ResourceRPCService<MovementSensor>
gRPC Service for a MovementSensor component
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doCommand
(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) void
getAccuracy
(Movementsensor.GetAccuracyRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetAccuracyResponse> responseObserver) void
getAngularVelocity
(Movementsensor.GetAngularVelocityRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetAngularVelocityResponse> responseObserver) void
getCompassHeading
(Movementsensor.GetCompassHeadingRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetCompassHeadingResponse> responseObserver) void
getGeometries
(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configurationvoid
getLinearAcceleration
(Movementsensor.GetLinearAccelerationRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetLinearAccelerationResponse> responseObserver) void
getLinearVelocity
(Movementsensor.GetLinearVelocityRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetLinearVelocityResponse> responseObserver) void
getOrientation
(Movementsensor.GetOrientationRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetOrientationResponse> responseObserver) void
getPosition
(Movementsensor.GetPositionRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetPositionResponse> responseObserver) void
getProperties
(Movementsensor.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetPropertiesResponse> responseObserver) void
getReadings
(Common.GetReadingsRequest request, io.grpc.stub.StreamObserver<Common.GetReadingsResponse> responseObserver) GetReadings returns the readings of a sensor of the underlying robot.Methods inherited from class com.viam.component.movementsensor.v1.MovementSensorServiceGrpc.MovementSensorServiceImplBase
bindService
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.grpc.BindableService
bindService
Methods inherited from interface com.viam.sdk.core.resource.ResourceRPCService
getResource
-
Constructor Details
-
MovementSensorRPCService
-
-
Method Details
-
getLinearVelocity
public void getLinearVelocity(Movementsensor.GetLinearVelocityRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetLinearVelocityResponse> responseObserver) - Specified by:
getLinearVelocity
in interfaceMovementSensorServiceGrpc.AsyncService
-
getAngularVelocity
public void getAngularVelocity(Movementsensor.GetAngularVelocityRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetAngularVelocityResponse> responseObserver) - Specified by:
getAngularVelocity
in interfaceMovementSensorServiceGrpc.AsyncService
-
getCompassHeading
public void getCompassHeading(Movementsensor.GetCompassHeadingRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetCompassHeadingResponse> responseObserver) - Specified by:
getCompassHeading
in interfaceMovementSensorServiceGrpc.AsyncService
-
getOrientation
public void getOrientation(Movementsensor.GetOrientationRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetOrientationResponse> responseObserver) - Specified by:
getOrientation
in interfaceMovementSensorServiceGrpc.AsyncService
-
getPosition
public void getPosition(Movementsensor.GetPositionRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetPositionResponse> responseObserver) - Specified by:
getPosition
in interfaceMovementSensorServiceGrpc.AsyncService
-
getProperties
public void getProperties(Movementsensor.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetPropertiesResponse> responseObserver) - Specified by:
getProperties
in interfaceMovementSensorServiceGrpc.AsyncService
-
getAccuracy
public void getAccuracy(Movementsensor.GetAccuracyRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetAccuracyResponse> responseObserver) - Specified by:
getAccuracy
in interfaceMovementSensorServiceGrpc.AsyncService
-
getLinearAcceleration
public void getLinearAcceleration(Movementsensor.GetLinearAccelerationRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetLinearAccelerationResponse> responseObserver) - Specified by:
getLinearAcceleration
in interfaceMovementSensorServiceGrpc.AsyncService
-
getReadings
public void getReadings(Common.GetReadingsRequest request, io.grpc.stub.StreamObserver<Common.GetReadingsResponse> responseObserver) Description copied from interface:MovementSensorServiceGrpc.AsyncService
GetReadings returns the readings of a sensor of the underlying robot.
- Specified by:
getReadings
in interfaceMovementSensorServiceGrpc.AsyncService
-
doCommand
public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) - Specified by:
doCommand
in interfaceMovementSensorServiceGrpc.AsyncService
-
getGeometries
public void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) Description copied from interface:MovementSensorServiceGrpc.AsyncService
GetGeometries returns the geometries of the component in their current configuration
- Specified by:
getGeometries
in interfaceMovementSensorServiceGrpc.AsyncService
-
getResourceClass
- Specified by:
getResourceClass
in interfaceResourceRPCService<MovementSensor>
-
getManager
- Specified by:
getManager
in interfaceResourceRPCService<MovementSensor>
-