viam.gen.service.navigation.v1.navigation_pb2
@generated by mypy-protobuf. Do not edit manually! isort:skip_file
Attributes
Classes
MapType represents the various types of maps the navigation service can ingest. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
GetObstacles will return the geopoint location and geometry of all |
|
Abstract base class for protocol messages. |
|
A user provided destination and the set of geopoints that |
|
Returns all the paths known to the navigation service |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
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.global___MapType
- class viam.gen.service.navigation.v1.navigation_pb2.Mode
Bases:
_Mode
- viam.gen.service.navigation.v1.navigation_pb2.global___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
- property extra: google.protobuf.struct_pb2.Struct
Additional arguments to the method
- HasField(field_name: Literal['extra', b'extra']) → 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.
- viam.gen.service.navigation.v1.navigation_pb2.global___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
- viam.gen.service.navigation.v1.navigation_pb2.global___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
- property extra: google.protobuf.struct_pb2.Struct
Additional arguments to the method
- HasField(field_name: Literal['extra', b'extra']) → 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.
- viam.gen.service.navigation.v1.navigation_pb2.global___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.
- viam.gen.service.navigation.v1.navigation_pb2.global___SetModeResponse
- class viam.gen.service.navigation.v1.navigation_pb2.Waypoint(*, id: str = ..., location: viam.gen.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
- property location: viam.gen.common.v1.common_pb2.GeoPoint
- HasField(field_name: Literal['location', b'location']) → 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.
- viam.gen.service.navigation.v1.navigation_pb2.global___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
- property extra: google.protobuf.struct_pb2.Struct
Additional arguments to the method
- HasField(field_name: Literal['extra', b'extra']) → 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.
- viam.gen.service.navigation.v1.navigation_pb2.global___GetLocationRequest
- class viam.gen.service.navigation.v1.navigation_pb2.GetLocationResponse(*, location: viam.gen.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
- property location: viam.gen.common.v1.common_pb2.GeoPoint
- HasField(field_name: Literal['location', b'location']) → 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.
- viam.gen.service.navigation.v1.navigation_pb2.global___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
- property extra: google.protobuf.struct_pb2.Struct
Additional arguments to the method
- HasField(field_name: Literal['extra', b'extra']) → 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.
- viam.gen.service.navigation.v1.navigation_pb2.global___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.
- property waypoints: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Waypoint]
- viam.gen.service.navigation.v1.navigation_pb2.global___GetWaypointsResponse
- class viam.gen.service.navigation.v1.navigation_pb2.AddWaypointRequest(*, name: str = ..., location: viam.gen.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
- property location: viam.gen.common.v1.common_pb2.GeoPoint
- property extra: google.protobuf.struct_pb2.Struct
Additional arguments to the method
- HasField(field_name: Literal['extra', b'extra', 'location', b'location']) → 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.
- viam.gen.service.navigation.v1.navigation_pb2.global___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.
- viam.gen.service.navigation.v1.navigation_pb2.global___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
- property extra: google.protobuf.struct_pb2.Struct
Additional arguments to the method
- HasField(field_name: Literal['extra', b'extra']) → 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.
- viam.gen.service.navigation.v1.navigation_pb2.global___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.
- viam.gen.service.navigation.v1.navigation_pb2.global___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
- property extra: google.protobuf.struct_pb2.Struct
Additional arguments to the method
- HasField(field_name: Literal['extra', b'extra']) → 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.
- viam.gen.service.navigation.v1.navigation_pb2.global___GetObstaclesRequest
- class viam.gen.service.navigation.v1.navigation_pb2.GetObstaclesResponse(*, obstacles: collections.abc.Iterable[viam.gen.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.
- property obstacles: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[viam.gen.common.v1.common_pb2.GeoGeometry]
List of all known geometries
- viam.gen.service.navigation.v1.navigation_pb2.global___GetObstaclesResponse
- class viam.gen.service.navigation.v1.navigation_pb2.Path(*, destination_waypoint_id: str = ..., geopoints: collections.abc.Iterable[viam.gen.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
- property geopoints: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[viam.gen.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
- viam.gen.service.navigation.v1.navigation_pb2.global___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
- property extra: google.protobuf.struct_pb2.Struct
- HasField(field_name: Literal['extra', b'extra']) → 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.
- viam.gen.service.navigation.v1.navigation_pb2.global___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.
- property paths: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Path]
- viam.gen.service.navigation.v1.navigation_pb2.global___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
- viam.gen.service.navigation.v1.navigation_pb2.global___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
- viam.gen.service.navigation.v1.navigation_pb2.global___GetPropertiesResponse