viam.components.movement_sensor.service

Classes

MovementSensorRPCService

gRPC Service for a MovementSensor

Module Contents

class viam.components.movement_sensor.service.MovementSensorRPCService(manager: viam.resource.manager.ResourceManager)[source]

Bases: viam.proto.component.movementsensor.MovementSensorServiceBase, viam.resource.rpc_service_base.ResourceRPCServiceBase[viam.components.movement_sensor.movement_sensor.MovementSensor]

gRPC Service for a MovementSensor

RESOURCE_TYPE
async GetLinearVelocity(stream: grpclib.server.Stream[viam.proto.component.movementsensor.GetLinearVelocityRequest, viam.proto.component.movementsensor.GetLinearVelocityResponse]) None[source]
async GetAngularVelocity(stream: grpclib.server.Stream[viam.proto.component.movementsensor.GetAngularVelocityRequest, viam.proto.component.movementsensor.GetAngularVelocityResponse]) None[source]
async GetLinearAcceleration(stream: grpclib.server.Stream[viam.proto.component.movementsensor.GetLinearAccelerationRequest, viam.proto.component.movementsensor.GetLinearAccelerationResponse]) None[source]
async GetCompassHeading(stream: grpclib.server.Stream[viam.proto.component.movementsensor.GetCompassHeadingRequest, viam.proto.component.movementsensor.GetCompassHeadingResponse]) None[source]
async GetOrientation(stream: grpclib.server.Stream[viam.proto.component.movementsensor.GetOrientationRequest, viam.proto.component.movementsensor.GetOrientationResponse]) None[source]
async GetPosition(stream: grpclib.server.Stream[viam.proto.component.movementsensor.GetPositionRequest, viam.proto.component.movementsensor.GetPositionResponse]) None[source]
async GetProperties(stream: grpclib.server.Stream[viam.proto.component.movementsensor.GetPropertiesRequest, viam.proto.component.movementsensor.GetPropertiesResponse]) None[source]
async GetAccuracy(stream: grpclib.server.Stream[viam.proto.component.movementsensor.GetAccuracyRequest, viam.proto.component.movementsensor.GetAccuracyResponse]) None[source]
async DoCommand(stream: grpclib.server.Stream[viam.proto.common.DoCommandRequest, viam.proto.common.DoCommandResponse]) None[source]
async GetGeometries(stream: grpclib.server.Stream[viam.proto.common.GetGeometriesRequest, viam.proto.common.GetGeometriesResponse]) None[source]
async GetReadings(stream: grpclib.server.Stream[viam.proto.common.GetReadingsRequest, viam.proto.common.GetReadingsResponse]) None[source]