viam.gen.service.navigation.v1.navigation_pb2

@generated by mypy-protobuf. Do not edit manually! isort:skip_file

Attributes

DESCRIPTOR

MAP_TYPE_UNSPECIFIED

MAP_TYPE_NONE

MAP_TYPE_GPS

Global___MapType

MODE_UNSPECIFIED

MODE_MANUAL

MODE_WAYPOINT

MODE_EXPLORE

Global___Mode

Global___GetModeRequest

Global___GetModeResponse

Global___SetModeRequest

Global___SetModeResponse

Global___Waypoint

Global___GetLocationRequest

Global___GetLocationResponse

Global___GetWaypointsRequest

Global___GetWaypointsResponse

Global___AddWaypointRequest

Global___AddWaypointResponse

Global___RemoveWaypointRequest

Global___RemoveWaypointResponse

Global___GetObstaclesRequest

Global___GetObstaclesResponse

Global___Path

Global___GetPathsRequest

Global___GetPathsResponse

Global___GetPropertiesRequest

Global___GetPropertiesResponse

Classes

MapType

MapType represents the various types of maps the navigation service can ingest.

Mode

GetModeRequest

Abstract base class for protocol messages.

GetModeResponse

Abstract base class for protocol messages.

SetModeRequest

Abstract base class for protocol messages.

SetModeResponse

Abstract base class for protocol messages.

Waypoint

Abstract base class for protocol messages.

GetLocationRequest

Abstract base class for protocol messages.

GetLocationResponse

Abstract base class for protocol messages.

GetWaypointsRequest

Abstract base class for protocol messages.

GetWaypointsResponse

Abstract base class for protocol messages.

AddWaypointRequest

Abstract base class for protocol messages.

AddWaypointResponse

Abstract base class for protocol messages.

RemoveWaypointRequest

Abstract base class for protocol messages.

RemoveWaypointResponse

Abstract base class for protocol messages.

GetObstaclesRequest

GetObstacles will return the geopoint location and geometry of all

GetObstaclesResponse

Abstract base class for protocol messages.

Path

A user provided destination and the set of geopoints that

GetPathsRequest

Returns all the paths known to the navigation service

GetPathsResponse

Abstract base class for protocol messages.

GetPropertiesRequest

Abstract base class for protocol messages.

GetPropertiesResponse

Returns properties information for the named navigation service

Module Contents

viam.gen.service.navigation.v1.navigation_pb2.DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class viam.gen.service.navigation.v1.navigation_pb2.MapType

Bases: _MapType

MapType represents the various types of maps the navigation service can ingest.

viam.gen.service.navigation.v1.navigation_pb2.MAP_TYPE_UNSPECIFIED: MapType
viam.gen.service.navigation.v1.navigation_pb2.MAP_TYPE_NONE: MapType
viam.gen.service.navigation.v1.navigation_pb2.MAP_TYPE_GPS: MapType
type viam.gen.service.navigation.v1.navigation_pb2.Global___MapType = MapType
class viam.gen.service.navigation.v1.navigation_pb2.Mode

Bases: _Mode

viam.gen.service.navigation.v1.navigation_pb2.MODE_UNSPECIFIED: Mode
viam.gen.service.navigation.v1.navigation_pb2.MODE_MANUAL: Mode
viam.gen.service.navigation.v1.navigation_pb2.MODE_WAYPOINT: Mode
viam.gen.service.navigation.v1.navigation_pb2.MODE_EXPLORE: Mode
type viam.gen.service.navigation.v1.navigation_pb2.Global___Mode = Mode
class viam.gen.service.navigation.v1.navigation_pb2.GetModeRequest(*, name: str = ..., extra: google.protobuf.struct_pb2.Struct | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

name: str
extra() google.protobuf.struct_pb2.Struct

Additional arguments to the method

HasField(field_name: _HasFieldArgType) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

type viam.gen.service.navigation.v1.navigation_pb2.Global___GetModeRequest = GetModeRequest
class viam.gen.service.navigation.v1.navigation_pb2.GetModeResponse(*, mode: Global___Mode = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

mode: Global___Mode
type viam.gen.service.navigation.v1.navigation_pb2.Global___GetModeResponse = GetModeResponse
class viam.gen.service.navigation.v1.navigation_pb2.SetModeRequest(*, name: str = ..., mode: Global___Mode = ..., extra: google.protobuf.struct_pb2.Struct | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

name: str
mode: Global___Mode
extra() google.protobuf.struct_pb2.Struct

Additional arguments to the method

HasField(field_name: _HasFieldArgType) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

type viam.gen.service.navigation.v1.navigation_pb2.Global___SetModeRequest = SetModeRequest
class viam.gen.service.navigation.v1.navigation_pb2.SetModeResponse

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

type viam.gen.service.navigation.v1.navigation_pb2.Global___SetModeResponse = SetModeResponse
class viam.gen.service.navigation.v1.navigation_pb2.Waypoint(*, id: str = ..., location: common.v1.common_pb2.GeoPoint | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

id: str
location() common.v1.common_pb2.GeoPoint
HasField(field_name: _HasFieldArgType) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

type viam.gen.service.navigation.v1.navigation_pb2.Global___Waypoint = Waypoint
class viam.gen.service.navigation.v1.navigation_pb2.GetLocationRequest(*, name: str = ..., extra: google.protobuf.struct_pb2.Struct | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

name: str
extra() google.protobuf.struct_pb2.Struct

Additional arguments to the method

HasField(field_name: _HasFieldArgType) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

type viam.gen.service.navigation.v1.navigation_pb2.Global___GetLocationRequest = GetLocationRequest
class viam.gen.service.navigation.v1.navigation_pb2.GetLocationResponse(*, location: common.v1.common_pb2.GeoPoint | None = ..., compass_heading: float = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

compass_heading: float

A number from [0-360) where 0 is north 90 is east, 180 is south, 270 is west

location() common.v1.common_pb2.GeoPoint
HasField(field_name: _HasFieldArgType) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

type viam.gen.service.navigation.v1.navigation_pb2.Global___GetLocationResponse = GetLocationResponse
class viam.gen.service.navigation.v1.navigation_pb2.GetWaypointsRequest(*, name: str = ..., extra: google.protobuf.struct_pb2.Struct | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

name: str
extra() google.protobuf.struct_pb2.Struct

Additional arguments to the method

HasField(field_name: _HasFieldArgType) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

type viam.gen.service.navigation.v1.navigation_pb2.Global___GetWaypointsRequest = GetWaypointsRequest
class viam.gen.service.navigation.v1.navigation_pb2.GetWaypointsResponse(*, waypoints: collections.abc.Iterable[Global___Waypoint] | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

waypoints() google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___Waypoint]
type viam.gen.service.navigation.v1.navigation_pb2.Global___GetWaypointsResponse = GetWaypointsResponse
class viam.gen.service.navigation.v1.navigation_pb2.AddWaypointRequest(*, name: str = ..., location: common.v1.common_pb2.GeoPoint | None = ..., extra: google.protobuf.struct_pb2.Struct | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

name: str
location() common.v1.common_pb2.GeoPoint
extra() google.protobuf.struct_pb2.Struct

Additional arguments to the method

HasField(field_name: _HasFieldArgType) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

type viam.gen.service.navigation.v1.navigation_pb2.Global___AddWaypointRequest = AddWaypointRequest
class viam.gen.service.navigation.v1.navigation_pb2.AddWaypointResponse

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

type viam.gen.service.navigation.v1.navigation_pb2.Global___AddWaypointResponse = AddWaypointResponse
class viam.gen.service.navigation.v1.navigation_pb2.RemoveWaypointRequest(*, name: str = ..., id: str = ..., extra: google.protobuf.struct_pb2.Struct | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

name: str
id: str
extra() google.protobuf.struct_pb2.Struct

Additional arguments to the method

HasField(field_name: _HasFieldArgType) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

type viam.gen.service.navigation.v1.navigation_pb2.Global___RemoveWaypointRequest = RemoveWaypointRequest
class viam.gen.service.navigation.v1.navigation_pb2.RemoveWaypointResponse

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

type viam.gen.service.navigation.v1.navigation_pb2.Global___RemoveWaypointResponse = RemoveWaypointResponse
class viam.gen.service.navigation.v1.navigation_pb2.GetObstaclesRequest(*, name: str = ..., extra: google.protobuf.struct_pb2.Struct | None = ...)

Bases: google.protobuf.message.Message

GetObstacles will return the geopoint location and geometry of all known obstacles on the navigation map. Obstacles that are detected through the vision service will only be returned if this endpoint is called when the robot is sensing the obstacle

name: str
extra() google.protobuf.struct_pb2.Struct

Additional arguments to the method

HasField(field_name: _HasFieldArgType) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

type viam.gen.service.navigation.v1.navigation_pb2.Global___GetObstaclesRequest = GetObstaclesRequest
class viam.gen.service.navigation.v1.navigation_pb2.GetObstaclesResponse(*, obstacles: collections.abc.Iterable[common.v1.common_pb2.GeoGeometry] | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

obstacles() google.protobuf.internal.containers.RepeatedCompositeFieldContainer[common.v1.common_pb2.GeoGeometry]

List of all known geometries

type viam.gen.service.navigation.v1.navigation_pb2.Global___GetObstaclesResponse = GetObstaclesResponse
class viam.gen.service.navigation.v1.navigation_pb2.Path(*, destination_waypoint_id: str = ..., geopoints: collections.abc.Iterable[common.v1.common_pb2.GeoPoint] | None = ...)

Bases: google.protobuf.message.Message

A user provided destination and the set of geopoints that the robot is expected to take to get there

destination_waypoint_id: str

The id of the user specified waypoint

geopoints() google.protobuf.internal.containers.RepeatedCompositeFieldContainer[common.v1.common_pb2.GeoPoint]

List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path

type viam.gen.service.navigation.v1.navigation_pb2.Global___Path = Path
class viam.gen.service.navigation.v1.navigation_pb2.GetPathsRequest(*, name: str = ..., extra: google.protobuf.struct_pb2.Struct | None = ...)

Bases: google.protobuf.message.Message

Returns all the paths known to the navigation service

name: str

Name of the navigation service

extra() google.protobuf.struct_pb2.Struct
HasField(field_name: _HasFieldArgType) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

type viam.gen.service.navigation.v1.navigation_pb2.Global___GetPathsRequest = GetPathsRequest
class viam.gen.service.navigation.v1.navigation_pb2.GetPathsResponse(*, paths: collections.abc.Iterable[Global___Path] | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

paths() google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___Path]
type viam.gen.service.navigation.v1.navigation_pb2.Global___GetPathsResponse = GetPathsResponse
class viam.gen.service.navigation.v1.navigation_pb2.GetPropertiesRequest(*, name: str = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

name: str

Name of the navigation service

type viam.gen.service.navigation.v1.navigation_pb2.Global___GetPropertiesRequest = GetPropertiesRequest
class viam.gen.service.navigation.v1.navigation_pb2.GetPropertiesResponse(*, map_type: Global___MapType = ...)

Bases: google.protobuf.message.Message

Returns properties information for the named navigation service

map_type: Global___MapType
type viam.gen.service.navigation.v1.navigation_pb2.Global___GetPropertiesResponse = GetPropertiesResponse