plexus-msgs-python 1.0.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- plexus/msgs/__init__.py +6 -0
- plexus/msgs/__main__.py +40 -0
- plexus/msgs/control/plexus_msgs_control_control_command_pb2.py +39 -0
- plexus/msgs/control/plexus_msgs_control_control_command_pb2.pyi +33 -0
- plexus/msgs/control/plexus_msgs_control_dbw_command_pb2.py +41 -0
- plexus/msgs/control/plexus_msgs_control_dbw_command_pb2.pyi +42 -0
- plexus/msgs/descriptor.pb +0 -0
- plexus/msgs/localization/plexus_msgs_localization_odometry_pb2.py +38 -0
- plexus/msgs/localization/plexus_msgs_localization_odometry_pb2.pyi +15 -0
- plexus/msgs/localization/plexus_msgs_localization_positioning_pb2.py +39 -0
- plexus/msgs/localization/plexus_msgs_localization_positioning_pb2.pyi +18 -0
- plexus/msgs/mapping/plexus_msgs_mapping_map_region_pb2.py +54 -0
- plexus/msgs/mapping/plexus_msgs_mapping_map_region_pb2.pyi +104 -0
- plexus/msgs/perception/plexus_msgs_perception_lane_detection_pb2.py +53 -0
- plexus/msgs/perception/plexus_msgs_perception_lane_detection_pb2.pyi +97 -0
- plexus/msgs/perception/plexus_msgs_perception_obstacle_detection_pb2.py +51 -0
- plexus/msgs/perception/plexus_msgs_perception_obstacle_detection_pb2.pyi +82 -0
- plexus/msgs/planning/plexus_msgs_planning_driving_trajectory_pb2.py +40 -0
- plexus/msgs/planning/plexus_msgs_planning_driving_trajectory_pb2.pyi +18 -0
- plexus/msgs/planning/plexus_msgs_planning_obstacle_threat_pb2.py +41 -0
- plexus/msgs/planning/plexus_msgs_planning_obstacle_threat_pb2.pyi +61 -0
- plexus/msgs/plexus_common_carto_pb2.py +40 -0
- plexus/msgs/plexus_common_carto_pb2.pyi +26 -0
- plexus/msgs/plexus_common_entity_pb2.py +47 -0
- plexus/msgs/plexus_common_entity_pb2.pyi +96 -0
- plexus/msgs/plexus_common_geom_pb2.py +64 -0
- plexus/msgs/plexus_common_geom_pb2.pyi +120 -0
- plexus/msgs/plexus_common_message_pb2.py +40 -0
- plexus/msgs/plexus_common_message_pb2.pyi +29 -0
- plexus/msgs/plexus_common_pb2.py +63 -0
- plexus/msgs/plexus_common_pb2.pyi +171 -0
- plexus/msgs/plexus_pb2.py +38 -0
- plexus/msgs/plexus_pb2.pyi +27 -0
- plexus/msgs/routing/plexus_msgs_routing_navigation_info_pb2.py +52 -0
- plexus/msgs/routing/plexus_msgs_routing_navigation_info_pb2.pyi +117 -0
- plexus/msgs/testing/plexus_msgs_testing_dummy_pb2.py +141 -0
- plexus/msgs/testing/plexus_msgs_testing_dummy_pb2.pyi +276 -0
- plexus/msgs/utils.py +530 -0
- plexus/msgs/vehicle/plexus_msgs_vehicle_can_messages_pb2.py +39 -0
- plexus/msgs/vehicle/plexus_msgs_vehicle_can_messages_pb2.pyi +20 -0
- plexus_msgs_python-1.0.4.dist-info/METADATA +20 -0
- plexus_msgs_python-1.0.4.dist-info/RECORD +45 -0
- plexus_msgs_python-1.0.4.dist-info/WHEEL +5 -0
- plexus_msgs_python-1.0.4.dist-info/entry_points.txt +2 -0
- plexus_msgs_python-1.0.4.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: plexus/msgs/plexus_common_geom.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'plexus/msgs/plexus_common_geom.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from plexus.msgs import plexus_common_pb2 as plexus_dot_msgs_dot_plexus__common__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$plexus/msgs/plexus_common_geom.proto\x12\x0bplexus.msgs\x1a\x1fplexus/msgs/plexus_common.proto\"\x86\x01\n\nTransform2\x12.\n\x0btranslation\x18\x01 \x01(\x0b\x32\x14.plexus.msgs.Vector2H\x00\x88\x01\x01\x12+\n\x08rotation\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Matrix2H\x01\x88\x01\x01\x42\x0e\n\x0c_translationB\x0b\n\t_rotation\"\x86\x01\n\nTransform3\x12.\n\x0btranslation\x18\x01 \x01(\x0b\x32\x14.plexus.msgs.Vector3H\x00\x88\x01\x01\x12+\n\x08rotation\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Matrix3H\x01\x88\x01\x01\x42\x0e\n\x0c_translationB\x0b\n\t_rotation\"\x80\x01\n\x04Pose\x12+\n\x08position\x18\x01 \x01(\x0b\x32\x14.plexus.msgs.Vector3H\x00\x88\x01\x01\x12.\n\x0borientation\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Vector4H\x01\x88\x01\x01\x42\x0b\n\t_positionB\x0e\n\x0c_orientation\"u\n\x05Twist\x12)\n\x06linear\x18\x01 \x01(\x0b\x32\x14.plexus.msgs.Vector3H\x00\x88\x01\x01\x12*\n\x07\x61ngular\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Vector3H\x01\x88\x01\x01\x42\t\n\x07_linearB\n\n\x08_angular\"w\n\x04\x42ox2\x12/\n\ttransform\x18\x01 \x01(\x0b\x32\x17.plexus.msgs.Transform2H\x00\x88\x01\x01\x12\'\n\x04size\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Vector2H\x01\x88\x01\x01\x42\x0c\n\n_transformB\x07\n\x05_size\"w\n\x04\x42ox3\x12/\n\ttransform\x18\x01 \x01(\x0b\x32\x17.plexus.msgs.Transform3H\x00\x88\x01\x01\x12\'\n\x04size\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Vector3H\x01\x88\x01\x01\x42\x0c\n\n_transformB\x07\n\x05_size\"|\n\tRectangle\x12/\n\ttransform\x18\x01 \x01(\x0b\x32\x17.plexus.msgs.Transform2H\x00\x88\x01\x01\x12\'\n\x04size\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Vector2H\x01\x88\x01\x01\x42\x0c\n\n_transformB\x07\n\x05_size\"g\n\x06\x43ircle\x12/\n\ttransform\x18\x01 \x01(\x0b\x32\x17.plexus.msgs.Transform2H\x00\x88\x01\x01\x12\x13\n\x06radius\x18\x02 \x01(\x01H\x01\x88\x01\x01\x42\x0c\n\n_transformB\t\n\x07_radius\"|\n\x07\x45llipse\x12/\n\ttransform\x18\x01 \x01(\x0b\x32\x17.plexus.msgs.Transform2H\x00\x88\x01\x01\x12(\n\x05radii\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Vector2H\x01\x88\x01\x01\x42\x0c\n\n_transformB\x08\n\x06_radii\"y\n\x06\x43uboid\x12/\n\ttransform\x18\x01 \x01(\x0b\x32\x17.plexus.msgs.Transform3H\x00\x88\x01\x01\x12\'\n\x04size\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Vector3H\x01\x88\x01\x01\x42\x0c\n\n_transformB\x07\n\x05_size\"g\n\x06Sphere\x12/\n\ttransform\x18\x01 \x01(\x0b\x32\x17.plexus.msgs.Transform3H\x00\x88\x01\x01\x12\x13\n\x06radius\x18\x02 \x01(\x01H\x01\x88\x01\x01\x42\x0c\n\n_transformB\t\n\x07_radius\"~\n\tEllipsoid\x12/\n\ttransform\x18\x01 \x01(\x0b\x32\x17.plexus.msgs.Transform3H\x00\x88\x01\x01\x12(\n\x05radii\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Vector3H\x01\x88\x01\x01\x42\x0c\n\n_transformB\x08\n\x06_radii\"o\n\x08Polygon2\x12/\n\ttransform\x18\x01 \x01(\x0b\x32\x17.plexus.msgs.Transform3H\x00\x88\x01\x01\x12$\n\x06points\x18\x02 \x03(\x0b\x32\x14.plexus.msgs.Vector2B\x0c\n\n_transform\"o\n\x08Polygon3\x12/\n\ttransform\x18\x01 \x01(\x0b\x32\x17.plexus.msgs.Transform3H\x00\x88\x01\x01\x12$\n\x06points\x18\x03 \x03(\x0b\x32\x14.plexus.msgs.Vector3B\x0c\n\n_transformB\x02P\x01\x62\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'plexus.msgs.plexus_common_geom_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'P\001'
|
|
36
|
+
_globals['_TRANSFORM2']._serialized_start=87
|
|
37
|
+
_globals['_TRANSFORM2']._serialized_end=221
|
|
38
|
+
_globals['_TRANSFORM3']._serialized_start=224
|
|
39
|
+
_globals['_TRANSFORM3']._serialized_end=358
|
|
40
|
+
_globals['_POSE']._serialized_start=361
|
|
41
|
+
_globals['_POSE']._serialized_end=489
|
|
42
|
+
_globals['_TWIST']._serialized_start=491
|
|
43
|
+
_globals['_TWIST']._serialized_end=608
|
|
44
|
+
_globals['_BOX2']._serialized_start=610
|
|
45
|
+
_globals['_BOX2']._serialized_end=729
|
|
46
|
+
_globals['_BOX3']._serialized_start=731
|
|
47
|
+
_globals['_BOX3']._serialized_end=850
|
|
48
|
+
_globals['_RECTANGLE']._serialized_start=852
|
|
49
|
+
_globals['_RECTANGLE']._serialized_end=976
|
|
50
|
+
_globals['_CIRCLE']._serialized_start=978
|
|
51
|
+
_globals['_CIRCLE']._serialized_end=1081
|
|
52
|
+
_globals['_ELLIPSE']._serialized_start=1083
|
|
53
|
+
_globals['_ELLIPSE']._serialized_end=1207
|
|
54
|
+
_globals['_CUBOID']._serialized_start=1209
|
|
55
|
+
_globals['_CUBOID']._serialized_end=1330
|
|
56
|
+
_globals['_SPHERE']._serialized_start=1332
|
|
57
|
+
_globals['_SPHERE']._serialized_end=1435
|
|
58
|
+
_globals['_ELLIPSOID']._serialized_start=1437
|
|
59
|
+
_globals['_ELLIPSOID']._serialized_end=1563
|
|
60
|
+
_globals['_POLYGON2']._serialized_start=1565
|
|
61
|
+
_globals['_POLYGON2']._serialized_end=1676
|
|
62
|
+
_globals['_POLYGON3']._serialized_start=1678
|
|
63
|
+
_globals['_POLYGON3']._serialized_end=1789
|
|
64
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
from plexus.msgs import plexus_common_pb2 as _plexus_common_pb2
|
|
2
|
+
from google.protobuf.internal import containers as _containers
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
6
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
7
|
+
|
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
+
|
|
10
|
+
class Transform2(_message.Message):
|
|
11
|
+
__slots__ = ("translation", "rotation")
|
|
12
|
+
TRANSLATION_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
ROTATION_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
translation: _plexus_common_pb2.Vector2
|
|
15
|
+
rotation: _plexus_common_pb2.Matrix2
|
|
16
|
+
def __init__(self, translation: _Optional[_Union[_plexus_common_pb2.Vector2, _Mapping]] = ..., rotation: _Optional[_Union[_plexus_common_pb2.Matrix2, _Mapping]] = ...) -> None: ...
|
|
17
|
+
|
|
18
|
+
class Transform3(_message.Message):
|
|
19
|
+
__slots__ = ("translation", "rotation")
|
|
20
|
+
TRANSLATION_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
ROTATION_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
translation: _plexus_common_pb2.Vector3
|
|
23
|
+
rotation: _plexus_common_pb2.Matrix3
|
|
24
|
+
def __init__(self, translation: _Optional[_Union[_plexus_common_pb2.Vector3, _Mapping]] = ..., rotation: _Optional[_Union[_plexus_common_pb2.Matrix3, _Mapping]] = ...) -> None: ...
|
|
25
|
+
|
|
26
|
+
class Pose(_message.Message):
|
|
27
|
+
__slots__ = ("position", "orientation")
|
|
28
|
+
POSITION_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
ORIENTATION_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
position: _plexus_common_pb2.Vector3
|
|
31
|
+
orientation: _plexus_common_pb2.Vector4
|
|
32
|
+
def __init__(self, position: _Optional[_Union[_plexus_common_pb2.Vector3, _Mapping]] = ..., orientation: _Optional[_Union[_plexus_common_pb2.Vector4, _Mapping]] = ...) -> None: ...
|
|
33
|
+
|
|
34
|
+
class Twist(_message.Message):
|
|
35
|
+
__slots__ = ("linear", "angular")
|
|
36
|
+
LINEAR_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
ANGULAR_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
linear: _plexus_common_pb2.Vector3
|
|
39
|
+
angular: _plexus_common_pb2.Vector3
|
|
40
|
+
def __init__(self, linear: _Optional[_Union[_plexus_common_pb2.Vector3, _Mapping]] = ..., angular: _Optional[_Union[_plexus_common_pb2.Vector3, _Mapping]] = ...) -> None: ...
|
|
41
|
+
|
|
42
|
+
class Box2(_message.Message):
|
|
43
|
+
__slots__ = ("transform", "size")
|
|
44
|
+
TRANSFORM_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
transform: Transform2
|
|
47
|
+
size: _plexus_common_pb2.Vector2
|
|
48
|
+
def __init__(self, transform: _Optional[_Union[Transform2, _Mapping]] = ..., size: _Optional[_Union[_plexus_common_pb2.Vector2, _Mapping]] = ...) -> None: ...
|
|
49
|
+
|
|
50
|
+
class Box3(_message.Message):
|
|
51
|
+
__slots__ = ("transform", "size")
|
|
52
|
+
TRANSFORM_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
transform: Transform3
|
|
55
|
+
size: _plexus_common_pb2.Vector3
|
|
56
|
+
def __init__(self, transform: _Optional[_Union[Transform3, _Mapping]] = ..., size: _Optional[_Union[_plexus_common_pb2.Vector3, _Mapping]] = ...) -> None: ...
|
|
57
|
+
|
|
58
|
+
class Rectangle(_message.Message):
|
|
59
|
+
__slots__ = ("transform", "size")
|
|
60
|
+
TRANSFORM_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
transform: Transform2
|
|
63
|
+
size: _plexus_common_pb2.Vector2
|
|
64
|
+
def __init__(self, transform: _Optional[_Union[Transform2, _Mapping]] = ..., size: _Optional[_Union[_plexus_common_pb2.Vector2, _Mapping]] = ...) -> None: ...
|
|
65
|
+
|
|
66
|
+
class Circle(_message.Message):
|
|
67
|
+
__slots__ = ("transform", "radius")
|
|
68
|
+
TRANSFORM_FIELD_NUMBER: _ClassVar[int]
|
|
69
|
+
RADIUS_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
+
transform: Transform2
|
|
71
|
+
radius: float
|
|
72
|
+
def __init__(self, transform: _Optional[_Union[Transform2, _Mapping]] = ..., radius: _Optional[float] = ...) -> None: ...
|
|
73
|
+
|
|
74
|
+
class Ellipse(_message.Message):
|
|
75
|
+
__slots__ = ("transform", "radii")
|
|
76
|
+
TRANSFORM_FIELD_NUMBER: _ClassVar[int]
|
|
77
|
+
RADII_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
+
transform: Transform2
|
|
79
|
+
radii: _plexus_common_pb2.Vector2
|
|
80
|
+
def __init__(self, transform: _Optional[_Union[Transform2, _Mapping]] = ..., radii: _Optional[_Union[_plexus_common_pb2.Vector2, _Mapping]] = ...) -> None: ...
|
|
81
|
+
|
|
82
|
+
class Cuboid(_message.Message):
|
|
83
|
+
__slots__ = ("transform", "size")
|
|
84
|
+
TRANSFORM_FIELD_NUMBER: _ClassVar[int]
|
|
85
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
transform: Transform3
|
|
87
|
+
size: _plexus_common_pb2.Vector3
|
|
88
|
+
def __init__(self, transform: _Optional[_Union[Transform3, _Mapping]] = ..., size: _Optional[_Union[_plexus_common_pb2.Vector3, _Mapping]] = ...) -> None: ...
|
|
89
|
+
|
|
90
|
+
class Sphere(_message.Message):
|
|
91
|
+
__slots__ = ("transform", "radius")
|
|
92
|
+
TRANSFORM_FIELD_NUMBER: _ClassVar[int]
|
|
93
|
+
RADIUS_FIELD_NUMBER: _ClassVar[int]
|
|
94
|
+
transform: Transform3
|
|
95
|
+
radius: float
|
|
96
|
+
def __init__(self, transform: _Optional[_Union[Transform3, _Mapping]] = ..., radius: _Optional[float] = ...) -> None: ...
|
|
97
|
+
|
|
98
|
+
class Ellipsoid(_message.Message):
|
|
99
|
+
__slots__ = ("transform", "radii")
|
|
100
|
+
TRANSFORM_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
RADII_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
transform: Transform3
|
|
103
|
+
radii: _plexus_common_pb2.Vector3
|
|
104
|
+
def __init__(self, transform: _Optional[_Union[Transform3, _Mapping]] = ..., radii: _Optional[_Union[_plexus_common_pb2.Vector3, _Mapping]] = ...) -> None: ...
|
|
105
|
+
|
|
106
|
+
class Polygon2(_message.Message):
|
|
107
|
+
__slots__ = ("transform", "points")
|
|
108
|
+
TRANSFORM_FIELD_NUMBER: _ClassVar[int]
|
|
109
|
+
POINTS_FIELD_NUMBER: _ClassVar[int]
|
|
110
|
+
transform: Transform3
|
|
111
|
+
points: _containers.RepeatedCompositeFieldContainer[_plexus_common_pb2.Vector2]
|
|
112
|
+
def __init__(self, transform: _Optional[_Union[Transform3, _Mapping]] = ..., points: _Optional[_Iterable[_Union[_plexus_common_pb2.Vector2, _Mapping]]] = ...) -> None: ...
|
|
113
|
+
|
|
114
|
+
class Polygon3(_message.Message):
|
|
115
|
+
__slots__ = ("transform", "points")
|
|
116
|
+
TRANSFORM_FIELD_NUMBER: _ClassVar[int]
|
|
117
|
+
POINTS_FIELD_NUMBER: _ClassVar[int]
|
|
118
|
+
transform: Transform3
|
|
119
|
+
points: _containers.RepeatedCompositeFieldContainer[_plexus_common_pb2.Vector3]
|
|
120
|
+
def __init__(self, transform: _Optional[_Union[Transform3, _Mapping]] = ..., points: _Optional[_Iterable[_Union[_plexus_common_pb2.Vector3, _Mapping]]] = ...) -> None: ...
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: plexus/msgs/plexus_common_message.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'plexus/msgs/plexus_common_message.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from plexus.msgs import plexus_common_pb2 as plexus_dot_msgs_dot_plexus__common__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'plexus/msgs/plexus_common_message.proto\x12\x0bplexus.msgs\x1a\x1fplexus/msgs/plexus_common.proto\"\xed\x01\n\rMessageHeader\x12.\n\ttimestamp\x18\x01 \x01(\x0b\x32\x16.plexus.msgs.TimestampH\x00\x88\x01\x01\x12\x15\n\x08\x66rame_id\x18\x02 \x01(\x03H\x01\x88\x01\x01\x12\x17\n\ndevice_uid\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x17\n\ntopic_name\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x19\n\x0cpayload_type\x18\x05 \x01(\tH\x04\x88\x01\x01\x42\x0c\n\n_timestampB\x0b\n\t_frame_idB\r\n\x0b_device_uidB\r\n\x0b_topic_nameB\x0f\n\r_payload_type\"g\n\x07Message\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1a.plexus.msgs.MessageHeaderH\x00\x88\x01\x01\x12\x14\n\x07payload\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x42\t\n\x07_headerB\n\n\x08_payloadB\x02P\x01\x62\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'plexus.msgs.plexus_common_message_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'P\001'
|
|
36
|
+
_globals['_MESSAGEHEADER']._serialized_start=90
|
|
37
|
+
_globals['_MESSAGEHEADER']._serialized_end=327
|
|
38
|
+
_globals['_MESSAGE']._serialized_start=329
|
|
39
|
+
_globals['_MESSAGE']._serialized_end=432
|
|
40
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from plexus.msgs import plexus_common_pb2 as _plexus_common_pb2
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from google.protobuf import message as _message
|
|
4
|
+
from collections.abc import Mapping as _Mapping
|
|
5
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
+
|
|
9
|
+
class MessageHeader(_message.Message):
|
|
10
|
+
__slots__ = ("timestamp", "frame_id", "device_uid", "topic_name", "payload_type")
|
|
11
|
+
TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
FRAME_ID_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
DEVICE_UID_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
TOPIC_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
PAYLOAD_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
timestamp: _plexus_common_pb2.Timestamp
|
|
17
|
+
frame_id: int
|
|
18
|
+
device_uid: str
|
|
19
|
+
topic_name: str
|
|
20
|
+
payload_type: str
|
|
21
|
+
def __init__(self, timestamp: _Optional[_Union[_plexus_common_pb2.Timestamp, _Mapping]] = ..., frame_id: _Optional[int] = ..., device_uid: _Optional[str] = ..., topic_name: _Optional[str] = ..., payload_type: _Optional[str] = ...) -> None: ...
|
|
22
|
+
|
|
23
|
+
class Message(_message.Message):
|
|
24
|
+
__slots__ = ("header", "payload")
|
|
25
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
PAYLOAD_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
header: MessageHeader
|
|
28
|
+
payload: bytes
|
|
29
|
+
def __init__(self, header: _Optional[_Union[MessageHeader, _Mapping]] = ..., payload: _Optional[bytes] = ...) -> None: ...
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: plexus/msgs/plexus_common.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'plexus/msgs/plexus_common.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fplexus/msgs/plexus_common.proto\x12\x0bplexus.msgs\"5\n\x07Vector2\x12\x0e\n\x01x\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x0e\n\x01y\x18\x02 \x01(\x01H\x01\x88\x01\x01\x42\x04\n\x02_xB\x04\n\x02_y\"K\n\x07Vector3\x12\x0e\n\x01x\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x0e\n\x01y\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x0e\n\x01z\x18\x03 \x01(\x01H\x02\x88\x01\x01\x42\x04\n\x02_xB\x04\n\x02_yB\x04\n\x02_z\"a\n\x07Vector4\x12\x0e\n\x01x\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x0e\n\x01y\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x0e\n\x01z\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x0e\n\x01w\x18\x04 \x01(\x01H\x03\x88\x01\x01\x42\x04\n\x02_xB\x04\n\x02_yB\x04\n\x02_zB\x04\n\x02_w\"7\n\x07VectorX\x12\x13\n\x06length\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x0c\n\x04\x64\x61ta\x18\x02 \x03(\x01\x42\t\n\x07_length\"H\n\x07VectorS\x12\x13\n\x06length\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x0f\n\x07indices\x18\x02 \x03(\x03\x12\x0c\n\x04\x64\x61ta\x18\x03 \x03(\x01\x42\t\n\x07_length\"a\n\x07Matrix2\x12$\n\x01x\x18\x01 \x01(\x0b\x32\x14.plexus.msgs.Vector2H\x00\x88\x01\x01\x12$\n\x01y\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Vector2H\x01\x88\x01\x01\x42\x04\n\x02_xB\x04\n\x02_y\"\x8d\x01\n\x07Matrix3\x12$\n\x01x\x18\x01 \x01(\x0b\x32\x14.plexus.msgs.Vector3H\x00\x88\x01\x01\x12$\n\x01y\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Vector3H\x01\x88\x01\x01\x12$\n\x01z\x18\x03 \x01(\x0b\x32\x14.plexus.msgs.Vector3H\x02\x88\x01\x01\x42\x04\n\x02_xB\x04\n\x02_yB\x04\n\x02_z\"\xb9\x01\n\x07Matrix4\x12$\n\x01x\x18\x01 \x01(\x0b\x32\x14.plexus.msgs.Vector4H\x00\x88\x01\x01\x12$\n\x01y\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.Vector4H\x01\x88\x01\x01\x12$\n\x01z\x18\x03 \x01(\x0b\x32\x14.plexus.msgs.Vector4H\x02\x88\x01\x01\x12$\n\x01w\x18\x04 \x01(\x0b\x32\x14.plexus.msgs.Vector4H\x03\x88\x01\x01\x42\x04\n\x02_xB\x04\n\x02_yB\x04\n\x02_zB\x04\n\x02_w\"O\n\x07MatrixX\x12\x11\n\x04rows\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x11\n\x04\x63ols\x18\x02 \x01(\x03H\x01\x88\x01\x01\x12\x0c\n\x04\x64\x61ta\x18\x03 \x03(\x01\x42\x07\n\x05_rowsB\x07\n\x05_cols\"y\n\x07MatrixS\x12\x11\n\x04rows\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x11\n\x04\x63ols\x18\x02 \x01(\x03H\x01\x88\x01\x01\x12\x13\n\x0brow_indices\x18\x03 \x03(\x03\x12\x13\n\x0b\x63ol_indices\x18\x04 \x03(\x03\x12\x0c\n\x04\x64\x61ta\x18\x05 \x03(\x01\x42\x07\n\x05_rowsB\x07\n\x05_cols\"K\n\tTimestamp\x12\x14\n\x07seconds\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x12\n\x05nanos\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\n\n\x08_secondsB\x08\n\x06_nanos\"_\n\x05\x43olor\x12\x0e\n\x01r\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x0e\n\x01g\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x0e\n\x01\x62\x18\x03 \x01(\x05H\x02\x88\x01\x01\x12\x0e\n\x01\x61\x18\x04 \x01(\x05H\x03\x88\x01\x01\x42\x04\n\x02_rB\x04\n\x02_gB\x04\n\x02_bB\x04\n\x02_a\"\xb2\x04\n\x07Variant\x12\x15\n\x0bvalue_int32\x18\x01 \x01(\x05H\x00\x12\x15\n\x0bvalue_int64\x18\x02 \x01(\x03H\x00\x12\x15\n\x0bvalue_float\x18\x03 \x01(\x02H\x00\x12\x16\n\x0cvalue_double\x18\x04 \x01(\x01H\x00\x12\x16\n\x0cvalue_string\x18\x05 \x01(\tH\x00\x12\x15\n\x0bvalue_bytes\x18\x06 \x01(\x0cH\x00\x12\x14\n\nvalue_bool\x18\x07 \x01(\x08H\x00\x12.\n\x0evalue_vector_2\x18\x08 \x01(\x0b\x32\x14.plexus.msgs.Vector2H\x00\x12.\n\x0evalue_vector_3\x18\t \x01(\x0b\x32\x14.plexus.msgs.Vector3H\x00\x12.\n\x0evalue_vector_4\x18\n \x01(\x0b\x32\x14.plexus.msgs.Vector4H\x00\x12.\n\x0evalue_matrix_2\x18\r \x01(\x0b\x32\x14.plexus.msgs.Matrix2H\x00\x12.\n\x0evalue_matrix_3\x18\x0e \x01(\x0b\x32\x14.plexus.msgs.Matrix3H\x00\x12.\n\x0evalue_matrix_4\x18\x0f \x01(\x0b\x32\x14.plexus.msgs.Matrix4H\x00\x12\x31\n\x0fvalue_timestamp\x18\x12 \x01(\x0b\x32\x16.plexus.msgs.TimestampH\x00\x12)\n\x0bvalue_color\x18\x13 \x01(\x0b\x32\x12.plexus.msgs.ColorH\x00\x42\x07\n\x05value\"X\n\x08KeyValue\x12\x10\n\x03key\x18\x01 \x01(\tH\x00\x88\x01\x01\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x14.plexus.msgs.VariantH\x01\x88\x01\x01\x42\x06\n\x04_keyB\x08\n\x06_valueB\x02P\x01\x62\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'plexus.msgs.plexus_common_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'P\001'
|
|
35
|
+
_globals['_VECTOR2']._serialized_start=48
|
|
36
|
+
_globals['_VECTOR2']._serialized_end=101
|
|
37
|
+
_globals['_VECTOR3']._serialized_start=103
|
|
38
|
+
_globals['_VECTOR3']._serialized_end=178
|
|
39
|
+
_globals['_VECTOR4']._serialized_start=180
|
|
40
|
+
_globals['_VECTOR4']._serialized_end=277
|
|
41
|
+
_globals['_VECTORX']._serialized_start=279
|
|
42
|
+
_globals['_VECTORX']._serialized_end=334
|
|
43
|
+
_globals['_VECTORS']._serialized_start=336
|
|
44
|
+
_globals['_VECTORS']._serialized_end=408
|
|
45
|
+
_globals['_MATRIX2']._serialized_start=410
|
|
46
|
+
_globals['_MATRIX2']._serialized_end=507
|
|
47
|
+
_globals['_MATRIX3']._serialized_start=510
|
|
48
|
+
_globals['_MATRIX3']._serialized_end=651
|
|
49
|
+
_globals['_MATRIX4']._serialized_start=654
|
|
50
|
+
_globals['_MATRIX4']._serialized_end=839
|
|
51
|
+
_globals['_MATRIXX']._serialized_start=841
|
|
52
|
+
_globals['_MATRIXX']._serialized_end=920
|
|
53
|
+
_globals['_MATRIXS']._serialized_start=922
|
|
54
|
+
_globals['_MATRIXS']._serialized_end=1043
|
|
55
|
+
_globals['_TIMESTAMP']._serialized_start=1045
|
|
56
|
+
_globals['_TIMESTAMP']._serialized_end=1120
|
|
57
|
+
_globals['_COLOR']._serialized_start=1122
|
|
58
|
+
_globals['_COLOR']._serialized_end=1217
|
|
59
|
+
_globals['_VARIANT']._serialized_start=1220
|
|
60
|
+
_globals['_VARIANT']._serialized_end=1782
|
|
61
|
+
_globals['_KEYVALUE']._serialized_start=1784
|
|
62
|
+
_globals['_KEYVALUE']._serialized_end=1872
|
|
63
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
from google.protobuf.internal import containers as _containers
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from google.protobuf import message as _message
|
|
4
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
5
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
+
|
|
9
|
+
class Vector2(_message.Message):
|
|
10
|
+
__slots__ = ("x", "y")
|
|
11
|
+
X_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
Y_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
x: float
|
|
14
|
+
y: float
|
|
15
|
+
def __init__(self, x: _Optional[float] = ..., y: _Optional[float] = ...) -> None: ...
|
|
16
|
+
|
|
17
|
+
class Vector3(_message.Message):
|
|
18
|
+
__slots__ = ("x", "y", "z")
|
|
19
|
+
X_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
Y_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
Z_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
x: float
|
|
23
|
+
y: float
|
|
24
|
+
z: float
|
|
25
|
+
def __init__(self, x: _Optional[float] = ..., y: _Optional[float] = ..., z: _Optional[float] = ...) -> None: ...
|
|
26
|
+
|
|
27
|
+
class Vector4(_message.Message):
|
|
28
|
+
__slots__ = ("x", "y", "z", "w")
|
|
29
|
+
X_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
Y_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
Z_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
W_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
x: float
|
|
34
|
+
y: float
|
|
35
|
+
z: float
|
|
36
|
+
w: float
|
|
37
|
+
def __init__(self, x: _Optional[float] = ..., y: _Optional[float] = ..., z: _Optional[float] = ..., w: _Optional[float] = ...) -> None: ...
|
|
38
|
+
|
|
39
|
+
class VectorX(_message.Message):
|
|
40
|
+
__slots__ = ("length", "data")
|
|
41
|
+
LENGTH_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
length: int
|
|
44
|
+
data: _containers.RepeatedScalarFieldContainer[float]
|
|
45
|
+
def __init__(self, length: _Optional[int] = ..., data: _Optional[_Iterable[float]] = ...) -> None: ...
|
|
46
|
+
|
|
47
|
+
class VectorS(_message.Message):
|
|
48
|
+
__slots__ = ("length", "indices", "data")
|
|
49
|
+
LENGTH_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
INDICES_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
length: int
|
|
53
|
+
indices: _containers.RepeatedScalarFieldContainer[int]
|
|
54
|
+
data: _containers.RepeatedScalarFieldContainer[float]
|
|
55
|
+
def __init__(self, length: _Optional[int] = ..., indices: _Optional[_Iterable[int]] = ..., data: _Optional[_Iterable[float]] = ...) -> None: ...
|
|
56
|
+
|
|
57
|
+
class Matrix2(_message.Message):
|
|
58
|
+
__slots__ = ("x", "y")
|
|
59
|
+
X_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
Y_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
x: Vector2
|
|
62
|
+
y: Vector2
|
|
63
|
+
def __init__(self, x: _Optional[_Union[Vector2, _Mapping]] = ..., y: _Optional[_Union[Vector2, _Mapping]] = ...) -> None: ...
|
|
64
|
+
|
|
65
|
+
class Matrix3(_message.Message):
|
|
66
|
+
__slots__ = ("x", "y", "z")
|
|
67
|
+
X_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
+
Y_FIELD_NUMBER: _ClassVar[int]
|
|
69
|
+
Z_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
+
x: Vector3
|
|
71
|
+
y: Vector3
|
|
72
|
+
z: Vector3
|
|
73
|
+
def __init__(self, x: _Optional[_Union[Vector3, _Mapping]] = ..., y: _Optional[_Union[Vector3, _Mapping]] = ..., z: _Optional[_Union[Vector3, _Mapping]] = ...) -> None: ...
|
|
74
|
+
|
|
75
|
+
class Matrix4(_message.Message):
|
|
76
|
+
__slots__ = ("x", "y", "z", "w")
|
|
77
|
+
X_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
+
Y_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
Z_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
W_FIELD_NUMBER: _ClassVar[int]
|
|
81
|
+
x: Vector4
|
|
82
|
+
y: Vector4
|
|
83
|
+
z: Vector4
|
|
84
|
+
w: Vector4
|
|
85
|
+
def __init__(self, x: _Optional[_Union[Vector4, _Mapping]] = ..., y: _Optional[_Union[Vector4, _Mapping]] = ..., z: _Optional[_Union[Vector4, _Mapping]] = ..., w: _Optional[_Union[Vector4, _Mapping]] = ...) -> None: ...
|
|
86
|
+
|
|
87
|
+
class MatrixX(_message.Message):
|
|
88
|
+
__slots__ = ("rows", "cols", "data")
|
|
89
|
+
ROWS_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
COLS_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
92
|
+
rows: int
|
|
93
|
+
cols: int
|
|
94
|
+
data: _containers.RepeatedScalarFieldContainer[float]
|
|
95
|
+
def __init__(self, rows: _Optional[int] = ..., cols: _Optional[int] = ..., data: _Optional[_Iterable[float]] = ...) -> None: ...
|
|
96
|
+
|
|
97
|
+
class MatrixS(_message.Message):
|
|
98
|
+
__slots__ = ("rows", "cols", "row_indices", "col_indices", "data")
|
|
99
|
+
ROWS_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
COLS_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
ROW_INDICES_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
COL_INDICES_FIELD_NUMBER: _ClassVar[int]
|
|
103
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
104
|
+
rows: int
|
|
105
|
+
cols: int
|
|
106
|
+
row_indices: _containers.RepeatedScalarFieldContainer[int]
|
|
107
|
+
col_indices: _containers.RepeatedScalarFieldContainer[int]
|
|
108
|
+
data: _containers.RepeatedScalarFieldContainer[float]
|
|
109
|
+
def __init__(self, rows: _Optional[int] = ..., cols: _Optional[int] = ..., row_indices: _Optional[_Iterable[int]] = ..., col_indices: _Optional[_Iterable[int]] = ..., data: _Optional[_Iterable[float]] = ...) -> None: ...
|
|
110
|
+
|
|
111
|
+
class Timestamp(_message.Message):
|
|
112
|
+
__slots__ = ("seconds", "nanos")
|
|
113
|
+
SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
NANOS_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
seconds: int
|
|
116
|
+
nanos: int
|
|
117
|
+
def __init__(self, seconds: _Optional[int] = ..., nanos: _Optional[int] = ...) -> None: ...
|
|
118
|
+
|
|
119
|
+
class Color(_message.Message):
|
|
120
|
+
__slots__ = ("r", "g", "b", "a")
|
|
121
|
+
R_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
G_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
+
B_FIELD_NUMBER: _ClassVar[int]
|
|
124
|
+
A_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
r: int
|
|
126
|
+
g: int
|
|
127
|
+
b: int
|
|
128
|
+
a: int
|
|
129
|
+
def __init__(self, r: _Optional[int] = ..., g: _Optional[int] = ..., b: _Optional[int] = ..., a: _Optional[int] = ...) -> None: ...
|
|
130
|
+
|
|
131
|
+
class Variant(_message.Message):
|
|
132
|
+
__slots__ = ("value_int32", "value_int64", "value_float", "value_double", "value_string", "value_bytes", "value_bool", "value_vector_2", "value_vector_3", "value_vector_4", "value_matrix_2", "value_matrix_3", "value_matrix_4", "value_timestamp", "value_color")
|
|
133
|
+
VALUE_INT32_FIELD_NUMBER: _ClassVar[int]
|
|
134
|
+
VALUE_INT64_FIELD_NUMBER: _ClassVar[int]
|
|
135
|
+
VALUE_FLOAT_FIELD_NUMBER: _ClassVar[int]
|
|
136
|
+
VALUE_DOUBLE_FIELD_NUMBER: _ClassVar[int]
|
|
137
|
+
VALUE_STRING_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
+
VALUE_BYTES_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
VALUE_BOOL_FIELD_NUMBER: _ClassVar[int]
|
|
140
|
+
VALUE_VECTOR_2_FIELD_NUMBER: _ClassVar[int]
|
|
141
|
+
VALUE_VECTOR_3_FIELD_NUMBER: _ClassVar[int]
|
|
142
|
+
VALUE_VECTOR_4_FIELD_NUMBER: _ClassVar[int]
|
|
143
|
+
VALUE_MATRIX_2_FIELD_NUMBER: _ClassVar[int]
|
|
144
|
+
VALUE_MATRIX_3_FIELD_NUMBER: _ClassVar[int]
|
|
145
|
+
VALUE_MATRIX_4_FIELD_NUMBER: _ClassVar[int]
|
|
146
|
+
VALUE_TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
+
VALUE_COLOR_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
+
value_int32: int
|
|
149
|
+
value_int64: int
|
|
150
|
+
value_float: float
|
|
151
|
+
value_double: float
|
|
152
|
+
value_string: str
|
|
153
|
+
value_bytes: bytes
|
|
154
|
+
value_bool: bool
|
|
155
|
+
value_vector_2: Vector2
|
|
156
|
+
value_vector_3: Vector3
|
|
157
|
+
value_vector_4: Vector4
|
|
158
|
+
value_matrix_2: Matrix2
|
|
159
|
+
value_matrix_3: Matrix3
|
|
160
|
+
value_matrix_4: Matrix4
|
|
161
|
+
value_timestamp: Timestamp
|
|
162
|
+
value_color: Color
|
|
163
|
+
def __init__(self, value_int32: _Optional[int] = ..., value_int64: _Optional[int] = ..., value_float: _Optional[float] = ..., value_double: _Optional[float] = ..., value_string: _Optional[str] = ..., value_bytes: _Optional[bytes] = ..., value_bool: bool = ..., value_vector_2: _Optional[_Union[Vector2, _Mapping]] = ..., value_vector_3: _Optional[_Union[Vector3, _Mapping]] = ..., value_vector_4: _Optional[_Union[Vector4, _Mapping]] = ..., value_matrix_2: _Optional[_Union[Matrix2, _Mapping]] = ..., value_matrix_3: _Optional[_Union[Matrix3, _Mapping]] = ..., value_matrix_4: _Optional[_Union[Matrix4, _Mapping]] = ..., value_timestamp: _Optional[_Union[Timestamp, _Mapping]] = ..., value_color: _Optional[_Union[Color, _Mapping]] = ...) -> None: ...
|
|
164
|
+
|
|
165
|
+
class KeyValue(_message.Message):
|
|
166
|
+
__slots__ = ("key", "value")
|
|
167
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
168
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
169
|
+
key: str
|
|
170
|
+
value: Variant
|
|
171
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[Variant, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: plexus/msgs/plexus.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'plexus/msgs/plexus.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18plexus/msgs/plexus.proto\x12\x0bplexus.msgs\x1a google/protobuf/descriptor.proto*\xb9\x01\n\x0cLoggingLevel\x12\x1b\n\x17LoggingLevelUnspecified\x10\x00\x12\x15\n\x11LoggingLevelTrace\x10\x01\x12\x15\n\x11LoggingLevelDebug\x10\x02\x12\x14\n\x10LoggingLevelInfo\x10\x03\x12\x17\n\x13LoggingLevelWarning\x10\x04\x12\x15\n\x11LoggingLevelError\x10\x05\x12\x18\n\x14LoggingLevelCritical\x10\x06:0\n\x07omitted\x12\x1d.google.protobuf.FieldOptions\x18\x81\x80\x04 \x01(\x08:Q\n\rlogging_level\x12\x1d.google.protobuf.FieldOptions\x18\x82\x80\x04 \x01(\x0e\x32\x19.plexus.msgs.LoggingLevelB\x02P\x01\x62\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'plexus.msgs.plexus_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'P\001'
|
|
36
|
+
_globals['_LOGGINGLEVEL']._serialized_start=76
|
|
37
|
+
_globals['_LOGGINGLEVEL']._serialized_end=261
|
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
from google.protobuf import descriptor_pb2 as _descriptor_pb2
|
|
2
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from typing import ClassVar as _ClassVar
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
+
|
|
8
|
+
class LoggingLevel(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
9
|
+
__slots__ = ()
|
|
10
|
+
LoggingLevelUnspecified: _ClassVar[LoggingLevel]
|
|
11
|
+
LoggingLevelTrace: _ClassVar[LoggingLevel]
|
|
12
|
+
LoggingLevelDebug: _ClassVar[LoggingLevel]
|
|
13
|
+
LoggingLevelInfo: _ClassVar[LoggingLevel]
|
|
14
|
+
LoggingLevelWarning: _ClassVar[LoggingLevel]
|
|
15
|
+
LoggingLevelError: _ClassVar[LoggingLevel]
|
|
16
|
+
LoggingLevelCritical: _ClassVar[LoggingLevel]
|
|
17
|
+
LoggingLevelUnspecified: LoggingLevel
|
|
18
|
+
LoggingLevelTrace: LoggingLevel
|
|
19
|
+
LoggingLevelDebug: LoggingLevel
|
|
20
|
+
LoggingLevelInfo: LoggingLevel
|
|
21
|
+
LoggingLevelWarning: LoggingLevel
|
|
22
|
+
LoggingLevelError: LoggingLevel
|
|
23
|
+
LoggingLevelCritical: LoggingLevel
|
|
24
|
+
OMITTED_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
omitted: _descriptor.FieldDescriptor
|
|
26
|
+
LOGGING_LEVEL_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
logging_level: _descriptor.FieldDescriptor
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: plexus/msgs/routing/plexus_msgs_routing_navigation_info.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'plexus/msgs/routing/plexus_msgs_routing_navigation_info.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from plexus.msgs import plexus_common_pb2 as plexus_dot_msgs_dot_plexus__common__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=plexus/msgs/routing/plexus_msgs_routing_navigation_info.proto\x12\x13plexus.msgs.routing\x1a\x1fplexus/msgs/plexus_common.proto\"\xbb\x11\n\x0eNavigationInfo\x12J\n\x0croad_profile\x18\x01 \x01(\x0b\x32/.plexus.msgs.routing.NavigationInfo.RoadProfileH\x00\x88\x01\x01\x12V\n\x12\x65xpressway_profile\x18\x02 \x01(\x0b\x32\x35.plexus.msgs.routing.NavigationInfo.ExpresswayProfileH\x01\x88\x01\x01\x12I\n\x0brestriction\x18\x03 \x01(\x0b\x32/.plexus.msgs.routing.NavigationInfo.RestrictionH\x02\x88\x01\x01\x12R\n\x13routing_checkpoints\x18\x04 \x03(\x0b\x32\x35.plexus.msgs.routing.NavigationInfo.RoutingCheckpoint\x1a\xd4\x03\n\x0bRoadProfile\x12V\n\nroad_class\x18\x01 \x01(\x0e\x32=.plexus.msgs.routing.NavigationInfo.RoadProfile.RoadClassEnumH\x00\x88\x01\x01\x12\x16\n\troad_name\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x17\n\x0f\x64irection_sites\x18\x03 \x03(\t\"\x9e\x02\n\rRoadClassEnum\x12\x14\n\x10RoadClassUnknown\x10\x00\x12\x17\n\x13RoadClassExpressway\x10\n\x12\x1b\n\x17RoadClassExpresswayLink\x10\x0b\x12\x12\n\x0eRoadClassTrunk\x10\x14\x12\x16\n\x12RoadClassTrunkLink\x10\x15\x12\x14\n\x10RoadClassPrimary\x10\x1e\x12\x18\n\x14RoadClassPrimaryLink\x10\x1f\x12\x16\n\x12RoadClassSecondary\x10(\x12\x1a\n\x16RoadClassSecondaryLink\x10)\x12\x18\n\x14RoadClassResidential\x10\x32\x12\x17\n\x13RoadClassPedestrian\x10<B\r\n\x0b_road_classB\x0c\n\n_road_name\x1a\xc6\x03\n\x11\x45xpresswayProfile\x12h\n\x10\x65xpressway_class\x18\x01 \x01(\x0e\x32I.plexus.msgs.routing.NavigationInfo.ExpresswayProfile.ExpresswayClassEnumH\x00\x88\x01\x01\x12\x1c\n\x0f\x65xpressway_code\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\"\n\x15\x65xpressway_short_name\x18\x03 \x01(\tH\x02\x88\x01\x01\x12!\n\x14\x65xpressway_full_name\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x17\n\x0f\x64irection_sites\x18\x05 \x03(\t\"m\n\x13\x45xpresswayClassEnum\x12\x1a\n\x16\x45xpresswayClassUnknown\x10\x00\x12\x1b\n\x17\x45xpresswayClassNational\x10\x01\x12\x1d\n\x19\x45xpresswayClassProvincial\x10\x02\x42\x13\n\x11_expressway_classB\x12\n\x10_expressway_codeB\x18\n\x16_expressway_short_nameB\x17\n\x15_expressway_full_name\x1a\xd1\x01\n\x0bRestriction\x12\x1e\n\x11upper_speed_limit\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x1e\n\x11lower_speed_limit\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x19\n\x0cweight_limit\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x19\n\x0cheight_limit\x18\x04 \x01(\x01H\x03\x88\x01\x01\x42\x14\n\x12_upper_speed_limitB\x14\n\x12_lower_speed_limitB\x0f\n\r_weight_limitB\x0f\n\r_height_limit\x1a\xb9\x05\n\x11RoutingCheckpoint\x12\x33\n\x0e\x65stimated_time\x18\x01 \x01(\x0b\x32\x16.plexus.msgs.TimestampH\x00\x88\x01\x01\x12\x1f\n\x12\x65stimated_distance\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12J\n\x0croad_profile\x18\x03 \x01(\x0b\x32/.plexus.msgs.routing.NavigationInfo.RoadProfileH\x02\x88\x01\x01\x12V\n\x12\x65xpressway_profile\x18\x04 \x01(\x0b\x32\x35.plexus.msgs.routing.NavigationInfo.ExpresswayProfileH\x03\x88\x01\x01\x12\x64\n\x0erouting_action\x18\x05 \x01(\x0e\x32G.plexus.msgs.routing.NavigationInfo.RoutingCheckpoint.RoutingActionEnumH\x04\x88\x01\x01\"\xde\x01\n\x11RoutingActionEnum\x12\x18\n\x14RoutingActionNothing\x10\x00\x12\x19\n\x15RoutingActionStraight\x10\x01\x12\x19\n\x15RoutingActionLeftTurn\x10\x02\x12\x1a\n\x16RoutingActionRightTurn\x10\x03\x12\x16\n\x12RoutingActionUTurn\x10\x04\x12\x15\n\x11RoutingActionKeep\x10\x05\x12\x16\n\x12RoutingActionMerge\x10\x06\x12\x16\n\x12RoutingActionLeave\x10\x07\x42\x11\n\x0f_estimated_timeB\x15\n\x13_estimated_distanceB\x0f\n\r_road_profileB\x15\n\x13_expressway_profileB\x11\n\x0f_routing_actionB\x0f\n\r_road_profileB\x15\n\x13_expressway_profileB\x0e\n\x0c_restrictionB\x02P\x01\x62\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'plexus.msgs.routing.plexus_msgs_routing_navigation_info_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'P\001'
|
|
36
|
+
_globals['_NAVIGATIONINFO']._serialized_start=120
|
|
37
|
+
_globals['_NAVIGATIONINFO']._serialized_end=2355
|
|
38
|
+
_globals['_NAVIGATIONINFO_ROADPROFILE']._serialized_start=462
|
|
39
|
+
_globals['_NAVIGATIONINFO_ROADPROFILE']._serialized_end=930
|
|
40
|
+
_globals['_NAVIGATIONINFO_ROADPROFILE_ROADCLASSENUM']._serialized_start=615
|
|
41
|
+
_globals['_NAVIGATIONINFO_ROADPROFILE_ROADCLASSENUM']._serialized_end=901
|
|
42
|
+
_globals['_NAVIGATIONINFO_EXPRESSWAYPROFILE']._serialized_start=933
|
|
43
|
+
_globals['_NAVIGATIONINFO_EXPRESSWAYPROFILE']._serialized_end=1387
|
|
44
|
+
_globals['_NAVIGATIONINFO_EXPRESSWAYPROFILE_EXPRESSWAYCLASSENUM']._serialized_start=1186
|
|
45
|
+
_globals['_NAVIGATIONINFO_EXPRESSWAYPROFILE_EXPRESSWAYCLASSENUM']._serialized_end=1295
|
|
46
|
+
_globals['_NAVIGATIONINFO_RESTRICTION']._serialized_start=1390
|
|
47
|
+
_globals['_NAVIGATIONINFO_RESTRICTION']._serialized_end=1599
|
|
48
|
+
_globals['_NAVIGATIONINFO_ROUTINGCHECKPOINT']._serialized_start=1602
|
|
49
|
+
_globals['_NAVIGATIONINFO_ROUTINGCHECKPOINT']._serialized_end=2299
|
|
50
|
+
_globals['_NAVIGATIONINFO_ROUTINGCHECKPOINT_ROUTINGACTIONENUM']._serialized_start=1976
|
|
51
|
+
_globals['_NAVIGATIONINFO_ROUTINGCHECKPOINT_ROUTINGACTIONENUM']._serialized_end=2198
|
|
52
|
+
# @@protoc_insertion_point(module_scope)
|