viam.services.navigation.service

Classes

NavigationRPCService

gRPC Service for a Navigation service

Module Contents

class viam.services.navigation.service.NavigationRPCService(manager: viam.resource.manager.ResourceManager)[source]

Bases: viam.proto.service.navigation.NavigationServiceBase, viam.resource.rpc_service_base.ResourceRPCServiceBase

gRPC Service for a Navigation service

RESOURCE_TYPE
async GetPaths(stream: grpclib.server.Stream[viam.proto.service.navigation.GetPathsRequest, viam.proto.service.navigation.GetPathsResponse]) None[source]
async GetLocation(stream: grpclib.server.Stream[viam.proto.service.navigation.GetLocationRequest, viam.proto.service.navigation.GetLocationResponse]) None[source]
async GetObstacles(stream: grpclib.server.Stream[viam.proto.service.navigation.GetObstaclesRequest, viam.proto.service.navigation.GetObstaclesResponse]) None[source]
async GetWaypoints(stream: grpclib.server.Stream[viam.proto.service.navigation.GetWaypointsRequest, viam.proto.service.navigation.GetWaypointsResponse]) None[source]
async AddWaypoint(stream: grpclib.server.Stream[viam.proto.service.navigation.AddWaypointRequest, viam.proto.service.navigation.AddWaypointResponse]) None[source]
async RemoveWaypoint(stream: grpclib.server.Stream[viam.proto.service.navigation.RemoveWaypointRequest, viam.proto.service.navigation.RemoveWaypointResponse]) None[source]
async GetMode(stream: grpclib.server.Stream[viam.proto.service.navigation.GetModeRequest, viam.proto.service.navigation.GetModeResponse]) None[source]
async SetMode(stream: grpclib.server.Stream[viam.proto.service.navigation.SetModeRequest, viam.proto.service.navigation.SetModeResponse]) None[source]
async GetProperties(stream: grpclib.server.Stream[viam.proto.service.navigation.GetPropertiesRequest, viam.proto.service.navigation.GetPropertiesResponse]) None[source]
async DoCommand(stream: grpclib.server.Stream[viam.proto.common.DoCommandRequest, viam.proto.common.DoCommandResponse]) None[source]