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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) voidgetAccuracy(Movementsensor.GetAccuracyRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetAccuracyResponse> responseObserver) voidgetAngularVelocity(Movementsensor.GetAngularVelocityRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetAngularVelocityResponse> responseObserver) voidgetCompassHeading(Movementsensor.GetCompassHeadingRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetCompassHeadingResponse> responseObserver) voidgetGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configurationvoidgetLinearAcceleration(Movementsensor.GetLinearAccelerationRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetLinearAccelerationResponse> responseObserver) voidgetLinearVelocity(Movementsensor.GetLinearVelocityRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetLinearVelocityResponse> responseObserver) voidgetOrientation(Movementsensor.GetOrientationRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetOrientationResponse> responseObserver) voidgetPosition(Movementsensor.GetPositionRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetPositionResponse> responseObserver) voidgetProperties(Movementsensor.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetPropertiesResponse> responseObserver) voidgetReadings(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
bindServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.grpc.BindableService
bindServiceMethods 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:
getLinearVelocityin interfaceMovementSensorServiceGrpc.AsyncService
-
getAngularVelocity
public void getAngularVelocity(Movementsensor.GetAngularVelocityRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetAngularVelocityResponse> responseObserver) - Specified by:
getAngularVelocityin interfaceMovementSensorServiceGrpc.AsyncService
-
getCompassHeading
public void getCompassHeading(Movementsensor.GetCompassHeadingRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetCompassHeadingResponse> responseObserver) - Specified by:
getCompassHeadingin interfaceMovementSensorServiceGrpc.AsyncService
-
getOrientation
public void getOrientation(Movementsensor.GetOrientationRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetOrientationResponse> responseObserver) - Specified by:
getOrientationin interfaceMovementSensorServiceGrpc.AsyncService
-
getPosition
public void getPosition(Movementsensor.GetPositionRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetPositionResponse> responseObserver) - Specified by:
getPositionin interfaceMovementSensorServiceGrpc.AsyncService
-
getProperties
public void getProperties(Movementsensor.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetPropertiesResponse> responseObserver) - Specified by:
getPropertiesin interfaceMovementSensorServiceGrpc.AsyncService
-
getAccuracy
public void getAccuracy(Movementsensor.GetAccuracyRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetAccuracyResponse> responseObserver) - Specified by:
getAccuracyin interfaceMovementSensorServiceGrpc.AsyncService
-
getLinearAcceleration
public void getLinearAcceleration(Movementsensor.GetLinearAccelerationRequest request, io.grpc.stub.StreamObserver<Movementsensor.GetLinearAccelerationResponse> responseObserver) - Specified by:
getLinearAccelerationin interfaceMovementSensorServiceGrpc.AsyncService
-
getReadings
public void getReadings(Common.GetReadingsRequest request, io.grpc.stub.StreamObserver<Common.GetReadingsResponse> responseObserver) Description copied from interface:MovementSensorServiceGrpc.AsyncServiceGetReadings returns the readings of a sensor of the underlying robot.
- Specified by:
getReadingsin interfaceMovementSensorServiceGrpc.AsyncService
-
doCommand
public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) - Specified by:
doCommandin interfaceMovementSensorServiceGrpc.AsyncService
-
getGeometries
public void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) Description copied from interface:MovementSensorServiceGrpc.AsyncServiceGetGeometries returns the geometries of the component in their current configuration
- Specified by:
getGeometriesin interfaceMovementSensorServiceGrpc.AsyncService
-
getResourceClass
- Specified by:
getResourceClassin interfaceResourceRPCService<MovementSensor>
-
getManager
- Specified by:
getManagerin interfaceResourceRPCService<MovementSensor>
-