viam.components.base.service
Classes
gRPC service for a robotic Base |
Module Contents
- class viam.components.base.service.BaseRPCService(manager: viam.resource.manager.ResourceManager)[source]
Bases:
viam.proto.component.base.BaseServiceBase
,viam.resource.rpc_service_base.ResourceRPCServiceBase
[viam.components.base.base.Base
]gRPC service for a robotic Base
- RESOURCE_TYPE
- async MoveStraight(stream: grpclib.server.Stream[viam.proto.component.base.MoveStraightRequest, viam.proto.component.base.MoveStraightResponse]) None [source]
- async Spin(stream: grpclib.server.Stream[viam.proto.component.base.SpinRequest, viam.proto.component.base.SpinResponse]) None [source]
- async SetPower(stream: grpclib.server.Stream[viam.proto.component.base.SetPowerRequest, viam.proto.component.base.SetPowerResponse]) None [source]
- async SetVelocity(stream: grpclib.server.Stream[viam.proto.component.base.SetVelocityRequest, viam.proto.component.base.SetVelocityResponse]) None [source]
- async Stop(stream: grpclib.server.Stream[viam.proto.component.base.StopRequest, viam.proto.component.base.StopResponse]) None [source]
- async IsMoving(stream: grpclib.server.Stream[viam.proto.component.base.IsMovingRequest, viam.proto.component.base.IsMovingResponse]) None [source]
- async GetProperties(stream: grpclib.server.Stream[viam.proto.component.base.GetPropertiesRequest, viam.proto.component.base.GetPropertiesResponse]) 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]