From 7081584fe89675a174cd228a03e4e16c9901d2a4 Mon Sep 17 00:00:00 2001 From: daohu527 Date: Sat, 30 Apr 2022 20:02:27 +0800 Subject: [PATCH] imap: remove 'modules' and replace with record_msg --- modules/__init__.py | 0 modules/common/__init__.py | 0 modules/common/proto/__init__.py | 0 modules/common/proto/drive_event_pb2.py | 135 ----- modules/common/proto/drive_state_pb2.py | 113 ---- modules/common/proto/error_code_pb2.py | 289 --------- modules/common/proto/geometry_pb2.py | 335 ----------- modules/common/proto/header_pb2.py | 128 ---- modules/common/proto/pnc_point_pb2.py | 664 --------------------- modules/common/proto/vehicle_signal_pb2.py | 126 ---- modules/map/__init__.py | 0 modules/map/proto/__init__.py | 0 modules/map/proto/map_clear_area_pb2.py | 89 --- modules/map/proto/map_crosswalk_pb2.py | 89 --- modules/map/proto/map_geometry_pb2.py | 227 ------- modules/map/proto/map_id_pb2.py | 69 --- modules/map/proto/map_junction_pb2.py | 89 --- modules/map/proto/map_lane_pb2.py | 538 ----------------- modules/map/proto/map_overlap_pb2.py | 647 -------------------- modules/map/proto/map_parking_space_pb2.py | 152 ----- modules/map/proto/map_pb2.py | 335 ----------- modules/map/proto/map_pnc_junction_pb2.py | 253 -------- modules/map/proto/map_road_pb2.py | 401 ------------- modules/map/proto/map_signal_pb2.py | 330 ---------- modules/map/proto/map_speed_bump_pb2.py | 89 --- modules/map/proto/map_speed_control_pb2.py | 126 ---- modules/map/proto/map_stop_sign_pb2.py | 137 ----- modules/map/proto/map_yield_sign_pb2.py | 89 --- setup.py | 3 +- 29 files changed, 2 insertions(+), 5451 deletions(-) delete mode 100644 modules/__init__.py delete mode 100644 modules/common/__init__.py delete mode 100644 modules/common/proto/__init__.py delete mode 100644 modules/common/proto/drive_event_pb2.py delete mode 100644 modules/common/proto/drive_state_pb2.py delete mode 100644 modules/common/proto/error_code_pb2.py delete mode 100644 modules/common/proto/geometry_pb2.py delete mode 100644 modules/common/proto/header_pb2.py delete mode 100644 modules/common/proto/pnc_point_pb2.py delete mode 100644 modules/common/proto/vehicle_signal_pb2.py delete mode 100644 modules/map/__init__.py delete mode 100644 modules/map/proto/__init__.py delete mode 100644 modules/map/proto/map_clear_area_pb2.py delete mode 100644 modules/map/proto/map_crosswalk_pb2.py delete mode 100644 modules/map/proto/map_geometry_pb2.py delete mode 100644 modules/map/proto/map_id_pb2.py delete mode 100644 modules/map/proto/map_junction_pb2.py delete mode 100644 modules/map/proto/map_lane_pb2.py delete mode 100644 modules/map/proto/map_overlap_pb2.py delete mode 100644 modules/map/proto/map_parking_space_pb2.py delete mode 100644 modules/map/proto/map_pb2.py delete mode 100644 modules/map/proto/map_pnc_junction_pb2.py delete mode 100644 modules/map/proto/map_road_pb2.py delete mode 100644 modules/map/proto/map_signal_pb2.py delete mode 100644 modules/map/proto/map_speed_bump_pb2.py delete mode 100644 modules/map/proto/map_speed_control_pb2.py delete mode 100644 modules/map/proto/map_stop_sign_pb2.py delete mode 100644 modules/map/proto/map_yield_sign_pb2.py diff --git a/modules/__init__.py b/modules/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/modules/common/__init__.py b/modules/common/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/modules/common/proto/__init__.py b/modules/common/proto/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/modules/common/proto/drive_event_pb2.py b/modules/common/proto/drive_event_pb2.py deleted file mode 100644 index 56ac083..0000000 --- a/modules/common/proto/drive_event_pb2.py +++ /dev/null @@ -1,135 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/common/proto/drive_event.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.common.proto import header_pb2 as modules_dot_common_dot_proto_dot_header__pb2 -from modules.localization.proto import pose_pb2 as modules_dot_localization_dot_proto_dot_pose__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/common/proto/drive_event.proto', - package='apollo.common', - syntax='proto2', - serialized_pb=_b('\n&modules/common/proto/drive_event.proto\x12\rapollo.common\x1a!modules/common/proto/header.proto\x1a%modules/localization/proto/pose.proto\"\xf6\x01\n\nDriveEvent\x12%\n\x06header\x18\x01 \x01(\x0b\x32\x15.apollo.common.Header\x12\r\n\x05\x65vent\x18\x02 \x01(\t\x12+\n\x08location\x18\x03 \x01(\x0b\x32\x19.apollo.localization.Pose\x12,\n\x04type\x18\x04 \x03(\x0e\x32\x1e.apollo.common.DriveEvent.Type\x12\x15\n\ris_reportable\x18\x05 \x01(\x08\"@\n\x04Type\x12\x0c\n\x08\x43RITICAL\x10\x00\x12\x0b\n\x07PROBLEM\x10\x01\x12\x0b\n\x07\x44\x45SIRED\x10\x02\x12\x10\n\x0cOUT_OF_SCOPE\x10\x03') - , - dependencies=[modules_dot_common_dot_proto_dot_header__pb2.DESCRIPTOR,modules_dot_localization_dot_proto_dot_pose__pb2.DESCRIPTOR,]) - - - -_DRIVEEVENT_TYPE = _descriptor.EnumDescriptor( - name='Type', - full_name='apollo.common.DriveEvent.Type', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='CRITICAL', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROBLEM', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DESIRED', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OUT_OF_SCOPE', index=3, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=314, - serialized_end=378, -) -_sym_db.RegisterEnumDescriptor(_DRIVEEVENT_TYPE) - - -_DRIVEEVENT = _descriptor.Descriptor( - name='DriveEvent', - full_name='apollo.common.DriveEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='header', full_name='apollo.common.DriveEvent.header', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='event', full_name='apollo.common.DriveEvent.event', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='location', full_name='apollo.common.DriveEvent.location', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='type', full_name='apollo.common.DriveEvent.type', index=3, - number=4, type=14, cpp_type=8, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='is_reportable', full_name='apollo.common.DriveEvent.is_reportable', index=4, - number=5, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _DRIVEEVENT_TYPE, - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=378, -) - -_DRIVEEVENT.fields_by_name['header'].message_type = modules_dot_common_dot_proto_dot_header__pb2._HEADER -_DRIVEEVENT.fields_by_name['location'].message_type = modules_dot_localization_dot_proto_dot_pose__pb2._POSE -_DRIVEEVENT.fields_by_name['type'].enum_type = _DRIVEEVENT_TYPE -_DRIVEEVENT_TYPE.containing_type = _DRIVEEVENT -DESCRIPTOR.message_types_by_name['DriveEvent'] = _DRIVEEVENT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DriveEvent = _reflection.GeneratedProtocolMessageType('DriveEvent', (_message.Message,), dict( - DESCRIPTOR = _DRIVEEVENT, - __module__ = 'modules.common.proto.drive_event_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.DriveEvent) - )) -_sym_db.RegisterMessage(DriveEvent) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/common/proto/drive_state_pb2.py b/modules/common/proto/drive_state_pb2.py deleted file mode 100644 index 595b380..0000000 --- a/modules/common/proto/drive_state_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/common/proto/drive_state.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/common/proto/drive_state.proto', - package='apollo.common', - syntax='proto2', - serialized_pb=_b('\n&modules/common/proto/drive_state.proto\x12\rapollo.common\"\xcd\x01\n\x0c\x45ngageAdvice\x12\x43\n\x06\x61\x64vice\x18\x01 \x01(\x0e\x32\".apollo.common.EngageAdvice.Advice:\x0f\x44ISALLOW_ENGAGE\x12\x0e\n\x06reason\x18\x02 \x01(\t\"h\n\x06\x41\x64vice\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x13\n\x0f\x44ISALLOW_ENGAGE\x10\x01\x12\x13\n\x0fREADY_TO_ENGAGE\x10\x02\x12\x10\n\x0cKEEP_ENGAGED\x10\x03\x12\x15\n\x11PREPARE_DISENGAGE\x10\x04') -) - - - -_ENGAGEADVICE_ADVICE = _descriptor.EnumDescriptor( - name='Advice', - full_name='apollo.common.EngageAdvice.Advice', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DISALLOW_ENGAGE', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='READY_TO_ENGAGE', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='KEEP_ENGAGED', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PREPARE_DISENGAGE', index=4, number=4, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=159, - serialized_end=263, -) -_sym_db.RegisterEnumDescriptor(_ENGAGEADVICE_ADVICE) - - -_ENGAGEADVICE = _descriptor.Descriptor( - name='EngageAdvice', - full_name='apollo.common.EngageAdvice', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='advice', full_name='apollo.common.EngageAdvice.advice', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='reason', full_name='apollo.common.EngageAdvice.reason', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ENGAGEADVICE_ADVICE, - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=58, - serialized_end=263, -) - -_ENGAGEADVICE.fields_by_name['advice'].enum_type = _ENGAGEADVICE_ADVICE -_ENGAGEADVICE_ADVICE.containing_type = _ENGAGEADVICE -DESCRIPTOR.message_types_by_name['EngageAdvice'] = _ENGAGEADVICE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -EngageAdvice = _reflection.GeneratedProtocolMessageType('EngageAdvice', (_message.Message,), dict( - DESCRIPTOR = _ENGAGEADVICE, - __module__ = 'modules.common.proto.drive_state_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.EngageAdvice) - )) -_sym_db.RegisterMessage(EngageAdvice) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/common/proto/error_code_pb2.py b/modules/common/proto/error_code_pb2.py deleted file mode 100644 index 4f7b967..0000000 --- a/modules/common/proto/error_code_pb2.py +++ /dev/null @@ -1,289 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/common/proto/error_code.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf.internal import enum_type_wrapper -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/common/proto/error_code.proto', - package='apollo.common', - syntax='proto2', - serialized_pb=_b('\n%modules/common/proto/error_code.proto\x12\rapollo.common\"I\n\x08StatusPb\x12\x30\n\nerror_code\x18\x01 \x01(\x0e\x32\x18.apollo.common.ErrorCode:\x02OK\x12\x0b\n\x03msg\x18\x02 \x01(\t*\x99\x08\n\tErrorCode\x12\x06\n\x02OK\x10\x00\x12\x12\n\rCONTROL_ERROR\x10\xe8\x07\x12\x17\n\x12\x43ONTROL_INIT_ERROR\x10\xe9\x07\x12\x1a\n\x15\x43ONTROL_COMPUTE_ERROR\x10\xea\x07\x12\x18\n\x13\x43ONTROL_ESTOP_ERROR\x10\xeb\x07\x12\x1a\n\x15PERFECT_CONTROL_ERROR\x10\xec\x07\x12\x11\n\x0c\x43\x41NBUS_ERROR\x10\xd0\x0f\x12\x1a\n\x15\x43\x41N_CLIENT_ERROR_BASE\x10\xb4\x10\x12(\n#CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED\x10\xb5\x10\x12\x1f\n\x1a\x43\x41N_CLIENT_ERROR_FRAME_NUM\x10\xb6\x10\x12!\n\x1c\x43\x41N_CLIENT_ERROR_SEND_FAILED\x10\xb7\x10\x12!\n\x1c\x43\x41N_CLIENT_ERROR_RECV_FAILED\x10\xb8\x10\x12\x17\n\x12LOCALIZATION_ERROR\x10\xb8\x17\x12\x1b\n\x16LOCALIZATION_ERROR_MSG\x10\x9c\x18\x12\x1d\n\x18LOCALIZATION_ERROR_LIDAR\x10\x80\x19\x12\x1d\n\x18LOCALIZATION_ERROR_INTEG\x10\xe4\x19\x12\x1c\n\x17LOCALIZATION_ERROR_GNSS\x10\xc8\x1a\x12\x15\n\x10PERCEPTION_ERROR\x10\xa0\x1f\x12\x18\n\x13PERCEPTION_ERROR_TF\x10\xa1\x1f\x12\x1d\n\x18PERCEPTION_ERROR_PROCESS\x10\xa2\x1f\x12\x15\n\x10PERCEPTION_FATAL\x10\xa3\x1f\x12\x1a\n\x15PERCEPTION_ERROR_NONE\x10\xa4\x1f\x12\x1d\n\x18PERCEPTION_ERROR_UNKNOWN\x10\xa5\x1f\x12\x15\n\x10PREDICTION_ERROR\x10\x88\'\x12\x13\n\x0ePLANNING_ERROR\x10\xf0.\x12\x1d\n\x18PLANNING_ERROR_NOT_READY\x10\xf1.\x12\x15\n\x10HDMAP_DATA_ERROR\x10\xd8\x36\x12\x12\n\rROUTING_ERROR\x10\xc0>\x12\x1a\n\x15ROUTING_ERROR_REQUEST\x10\xc1>\x12\x1b\n\x16ROUTING_ERROR_RESPONSE\x10\xc2>\x12\x1c\n\x17ROUTING_ERROR_NOT_READY\x10\xc3>\x12\x11\n\x0c\x45ND_OF_INPUT\x10\xa8\x46\x12\x15\n\x10HTTP_LOGIC_ERROR\x10\x90N\x12\x17\n\x12HTTP_RUNTIME_ERROR\x10\x91N\x12\x17\n\x12RELATIVE_MAP_ERROR\x10\xf8U\x12\x1b\n\x16RELATIVE_MAP_NOT_READY\x10\xf9U\x12\x16\n\x11\x44RIVER_ERROR_GNSS\x10\xe0]\x12\x1a\n\x15\x44RIVER_ERROR_VELODYNE\x10\xc8\x65\x12\x17\n\x12STORYTELLING_ERROR\x10\xb0m') -) - -_ERRORCODE = _descriptor.EnumDescriptor( - name='ErrorCode', - full_name='apollo.common.ErrorCode', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='OK', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONTROL_ERROR', index=1, number=1000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONTROL_INIT_ERROR', index=2, number=1001, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONTROL_COMPUTE_ERROR', index=3, number=1002, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONTROL_ESTOP_ERROR', index=4, number=1003, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PERFECT_CONTROL_ERROR', index=5, number=1004, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANBUS_ERROR', index=6, number=2000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAN_CLIENT_ERROR_BASE', index=7, number=2100, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED', index=8, number=2101, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAN_CLIENT_ERROR_FRAME_NUM', index=9, number=2102, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAN_CLIENT_ERROR_SEND_FAILED', index=10, number=2103, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAN_CLIENT_ERROR_RECV_FAILED', index=11, number=2104, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCALIZATION_ERROR', index=12, number=3000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCALIZATION_ERROR_MSG', index=13, number=3100, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCALIZATION_ERROR_LIDAR', index=14, number=3200, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCALIZATION_ERROR_INTEG', index=15, number=3300, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCALIZATION_ERROR_GNSS', index=16, number=3400, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PERCEPTION_ERROR', index=17, number=4000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PERCEPTION_ERROR_TF', index=18, number=4001, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PERCEPTION_ERROR_PROCESS', index=19, number=4002, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PERCEPTION_FATAL', index=20, number=4003, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PERCEPTION_ERROR_NONE', index=21, number=4004, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PERCEPTION_ERROR_UNKNOWN', index=22, number=4005, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PREDICTION_ERROR', index=23, number=5000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLANNING_ERROR', index=24, number=6000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLANNING_ERROR_NOT_READY', index=25, number=6001, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDMAP_DATA_ERROR', index=26, number=7000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ROUTING_ERROR', index=27, number=8000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ROUTING_ERROR_REQUEST', index=28, number=8001, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ROUTING_ERROR_RESPONSE', index=29, number=8002, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ROUTING_ERROR_NOT_READY', index=30, number=8003, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='END_OF_INPUT', index=31, number=9000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HTTP_LOGIC_ERROR', index=32, number=10000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HTTP_RUNTIME_ERROR', index=33, number=10001, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RELATIVE_MAP_ERROR', index=34, number=11000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RELATIVE_MAP_NOT_READY', index=35, number=11001, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DRIVER_ERROR_GNSS', index=36, number=12000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DRIVER_ERROR_VELODYNE', index=37, number=13000, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STORYTELLING_ERROR', index=38, number=14000, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=132, - serialized_end=1181, -) -_sym_db.RegisterEnumDescriptor(_ERRORCODE) - -ErrorCode = enum_type_wrapper.EnumTypeWrapper(_ERRORCODE) -OK = 0 -CONTROL_ERROR = 1000 -CONTROL_INIT_ERROR = 1001 -CONTROL_COMPUTE_ERROR = 1002 -CONTROL_ESTOP_ERROR = 1003 -PERFECT_CONTROL_ERROR = 1004 -CANBUS_ERROR = 2000 -CAN_CLIENT_ERROR_BASE = 2100 -CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED = 2101 -CAN_CLIENT_ERROR_FRAME_NUM = 2102 -CAN_CLIENT_ERROR_SEND_FAILED = 2103 -CAN_CLIENT_ERROR_RECV_FAILED = 2104 -LOCALIZATION_ERROR = 3000 -LOCALIZATION_ERROR_MSG = 3100 -LOCALIZATION_ERROR_LIDAR = 3200 -LOCALIZATION_ERROR_INTEG = 3300 -LOCALIZATION_ERROR_GNSS = 3400 -PERCEPTION_ERROR = 4000 -PERCEPTION_ERROR_TF = 4001 -PERCEPTION_ERROR_PROCESS = 4002 -PERCEPTION_FATAL = 4003 -PERCEPTION_ERROR_NONE = 4004 -PERCEPTION_ERROR_UNKNOWN = 4005 -PREDICTION_ERROR = 5000 -PLANNING_ERROR = 6000 -PLANNING_ERROR_NOT_READY = 6001 -HDMAP_DATA_ERROR = 7000 -ROUTING_ERROR = 8000 -ROUTING_ERROR_REQUEST = 8001 -ROUTING_ERROR_RESPONSE = 8002 -ROUTING_ERROR_NOT_READY = 8003 -END_OF_INPUT = 9000 -HTTP_LOGIC_ERROR = 10000 -HTTP_RUNTIME_ERROR = 10001 -RELATIVE_MAP_ERROR = 11000 -RELATIVE_MAP_NOT_READY = 11001 -DRIVER_ERROR_GNSS = 12000 -DRIVER_ERROR_VELODYNE = 13000 -STORYTELLING_ERROR = 14000 - - - -_STATUSPB = _descriptor.Descriptor( - name='StatusPb', - full_name='apollo.common.StatusPb', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='error_code', full_name='apollo.common.StatusPb.error_code', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='msg', full_name='apollo.common.StatusPb.msg', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=56, - serialized_end=129, -) - -_STATUSPB.fields_by_name['error_code'].enum_type = _ERRORCODE -DESCRIPTOR.message_types_by_name['StatusPb'] = _STATUSPB -DESCRIPTOR.enum_types_by_name['ErrorCode'] = _ERRORCODE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -StatusPb = _reflection.GeneratedProtocolMessageType('StatusPb', (_message.Message,), dict( - DESCRIPTOR = _STATUSPB, - __module__ = 'modules.common.proto.error_code_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.StatusPb) - )) -_sym_db.RegisterMessage(StatusPb) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/common/proto/geometry_pb2.py b/modules/common/proto/geometry_pb2.py deleted file mode 100644 index 83b8cc6..0000000 --- a/modules/common/proto/geometry_pb2.py +++ /dev/null @@ -1,335 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/common/proto/geometry.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/common/proto/geometry.proto', - package='apollo.common', - syntax='proto2', - serialized_pb=_b('\n#modules/common/proto/geometry.proto\x12\rapollo.common\"8\n\x08PointENU\x12\x0e\n\x01x\x18\x01 \x01(\x01:\x03nan\x12\x0e\n\x01y\x18\x02 \x01(\x01:\x03nan\x12\x0c\n\x01z\x18\x03 \x01(\x01:\x01\x30\"A\n\x08PointLLH\x12\x10\n\x03lon\x18\x01 \x01(\x01:\x03nan\x12\x10\n\x03lat\x18\x02 \x01(\x01:\x03nan\x12\x11\n\x06height\x18\x03 \x01(\x01:\x01\x30\")\n\x07Point2D\x12\x0e\n\x01x\x18\x01 \x01(\x01:\x03nan\x12\x0e\n\x01y\x18\x02 \x01(\x01:\x03nan\"9\n\x07Point3D\x12\x0e\n\x01x\x18\x01 \x01(\x01:\x03nan\x12\x0e\n\x01y\x18\x02 \x01(\x01:\x03nan\x12\x0e\n\x01z\x18\x03 \x01(\x01:\x03nan\"P\n\nQuaternion\x12\x0f\n\x02qx\x18\x01 \x01(\x01:\x03nan\x12\x0f\n\x02qy\x18\x02 \x01(\x01:\x03nan\x12\x0f\n\x02qz\x18\x03 \x01(\x01:\x03nan\x12\x0f\n\x02qw\x18\x04 \x01(\x01:\x03nan\"0\n\x07Polygon\x12%\n\x05point\x18\x01 \x03(\x0b\x32\x16.apollo.common.Point3D') -) - - - - -_POINTENU = _descriptor.Descriptor( - name='PointENU', - full_name='apollo.common.PointENU', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='apollo.common.PointENU.x', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='y', full_name='apollo.common.PointENU.y', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='z', full_name='apollo.common.PointENU.z', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=54, - serialized_end=110, -) - - -_POINTLLH = _descriptor.Descriptor( - name='PointLLH', - full_name='apollo.common.PointLLH', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='lon', full_name='apollo.common.PointLLH.lon', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='lat', full_name='apollo.common.PointLLH.lat', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='height', full_name='apollo.common.PointLLH.height', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=112, - serialized_end=177, -) - - -_POINT2D = _descriptor.Descriptor( - name='Point2D', - full_name='apollo.common.Point2D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='apollo.common.Point2D.x', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='y', full_name='apollo.common.Point2D.y', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=179, - serialized_end=220, -) - - -_POINT3D = _descriptor.Descriptor( - name='Point3D', - full_name='apollo.common.Point3D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='apollo.common.Point3D.x', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='y', full_name='apollo.common.Point3D.y', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='z', full_name='apollo.common.Point3D.z', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=222, - serialized_end=279, -) - - -_QUATERNION = _descriptor.Descriptor( - name='Quaternion', - full_name='apollo.common.Quaternion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='qx', full_name='apollo.common.Quaternion.qx', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='qy', full_name='apollo.common.Quaternion.qy', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='qz', full_name='apollo.common.Quaternion.qz', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='qw', full_name='apollo.common.Quaternion.qw', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=(1e10000 * 0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=281, - serialized_end=361, -) - - -_POLYGON = _descriptor.Descriptor( - name='Polygon', - full_name='apollo.common.Polygon', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='point', full_name='apollo.common.Polygon.point', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=363, - serialized_end=411, -) - -_POLYGON.fields_by_name['point'].message_type = _POINT3D -DESCRIPTOR.message_types_by_name['PointENU'] = _POINTENU -DESCRIPTOR.message_types_by_name['PointLLH'] = _POINTLLH -DESCRIPTOR.message_types_by_name['Point2D'] = _POINT2D -DESCRIPTOR.message_types_by_name['Point3D'] = _POINT3D -DESCRIPTOR.message_types_by_name['Quaternion'] = _QUATERNION -DESCRIPTOR.message_types_by_name['Polygon'] = _POLYGON -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PointENU = _reflection.GeneratedProtocolMessageType('PointENU', (_message.Message,), dict( - DESCRIPTOR = _POINTENU, - __module__ = 'modules.common.proto.geometry_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.PointENU) - )) -_sym_db.RegisterMessage(PointENU) - -PointLLH = _reflection.GeneratedProtocolMessageType('PointLLH', (_message.Message,), dict( - DESCRIPTOR = _POINTLLH, - __module__ = 'modules.common.proto.geometry_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.PointLLH) - )) -_sym_db.RegisterMessage(PointLLH) - -Point2D = _reflection.GeneratedProtocolMessageType('Point2D', (_message.Message,), dict( - DESCRIPTOR = _POINT2D, - __module__ = 'modules.common.proto.geometry_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.Point2D) - )) -_sym_db.RegisterMessage(Point2D) - -Point3D = _reflection.GeneratedProtocolMessageType('Point3D', (_message.Message,), dict( - DESCRIPTOR = _POINT3D, - __module__ = 'modules.common.proto.geometry_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.Point3D) - )) -_sym_db.RegisterMessage(Point3D) - -Quaternion = _reflection.GeneratedProtocolMessageType('Quaternion', (_message.Message,), dict( - DESCRIPTOR = _QUATERNION, - __module__ = 'modules.common.proto.geometry_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.Quaternion) - )) -_sym_db.RegisterMessage(Quaternion) - -Polygon = _reflection.GeneratedProtocolMessageType('Polygon', (_message.Message,), dict( - DESCRIPTOR = _POLYGON, - __module__ = 'modules.common.proto.geometry_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.Polygon) - )) -_sym_db.RegisterMessage(Polygon) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/common/proto/header_pb2.py b/modules/common/proto/header_pb2.py deleted file mode 100644 index 1c055c5..0000000 --- a/modules/common/proto/header_pb2.py +++ /dev/null @@ -1,128 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/common/proto/header.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.common.proto import error_code_pb2 as modules_dot_common_dot_proto_dot_error__code__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/common/proto/header.proto', - package='apollo.common', - syntax='proto2', - serialized_pb=_b('\n!modules/common/proto/header.proto\x12\rapollo.common\x1a%modules/common/proto/error_code.proto\"\xe5\x01\n\x06Header\x12\x15\n\rtimestamp_sec\x18\x01 \x01(\x01\x12\x13\n\x0bmodule_name\x18\x02 \x01(\t\x12\x14\n\x0csequence_num\x18\x03 \x01(\r\x12\x17\n\x0flidar_timestamp\x18\x04 \x01(\x04\x12\x18\n\x10\x63\x61mera_timestamp\x18\x05 \x01(\x04\x12\x17\n\x0fradar_timestamp\x18\x06 \x01(\x04\x12\x12\n\x07version\x18\x07 \x01(\r:\x01\x31\x12\'\n\x06status\x18\x08 \x01(\x0b\x32\x17.apollo.common.StatusPb\x12\x10\n\x08\x66rame_id\x18\t \x01(\t') - , - dependencies=[modules_dot_common_dot_proto_dot_error__code__pb2.DESCRIPTOR,]) - - - - -_HEADER = _descriptor.Descriptor( - name='Header', - full_name='apollo.common.Header', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='timestamp_sec', full_name='apollo.common.Header.timestamp_sec', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='module_name', full_name='apollo.common.Header.module_name', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='sequence_num', full_name='apollo.common.Header.sequence_num', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='lidar_timestamp', full_name='apollo.common.Header.lidar_timestamp', index=3, - number=4, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='camera_timestamp', full_name='apollo.common.Header.camera_timestamp', index=4, - number=5, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='radar_timestamp', full_name='apollo.common.Header.radar_timestamp', index=5, - number=6, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='version', full_name='apollo.common.Header.version', index=6, - number=7, type=13, cpp_type=3, label=1, - has_default_value=True, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='status', full_name='apollo.common.Header.status', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='frame_id', full_name='apollo.common.Header.frame_id', index=8, - number=9, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=92, - serialized_end=321, -) - -_HEADER.fields_by_name['status'].message_type = modules_dot_common_dot_proto_dot_error__code__pb2._STATUSPB -DESCRIPTOR.message_types_by_name['Header'] = _HEADER -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Header = _reflection.GeneratedProtocolMessageType('Header', (_message.Message,), dict( - DESCRIPTOR = _HEADER, - __module__ = 'modules.common.proto.header_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.Header) - )) -_sym_db.RegisterMessage(Header) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/common/proto/pnc_point_pb2.py b/modules/common/proto/pnc_point_pb2.py deleted file mode 100644 index ae2eb3e..0000000 --- a/modules/common/proto/pnc_point_pb2.py +++ /dev/null @@ -1,664 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/common/proto/pnc_point.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/common/proto/pnc_point.proto', - package='apollo.common', - syntax='proto2', - serialized_pb=_b('\n$modules/common/proto/pnc_point.proto\x12\rapollo.common\"\x1f\n\x07SLPoint\x12\t\n\x01s\x18\x01 \x01(\x01\x12\t\n\x01l\x18\x02 \x01(\x01\"A\n\x10\x46renetFramePoint\x12\t\n\x01s\x18\x01 \x01(\x01\x12\t\n\x01l\x18\x02 \x01(\x01\x12\n\n\x02\x64l\x18\x03 \x01(\x01\x12\x0b\n\x03\x64\x64l\x18\x04 \x01(\x01\"D\n\nSpeedPoint\x12\t\n\x01s\x18\x01 \x01(\x01\x12\t\n\x01t\x18\x02 \x01(\x01\x12\t\n\x01v\x18\x03 \x01(\x01\x12\t\n\x01\x61\x18\x04 \x01(\x01\x12\n\n\x02\x64\x61\x18\x05 \x01(\x01\"\xb3\x01\n\tPathPoint\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\t\n\x01z\x18\x03 \x01(\x01\x12\r\n\x05theta\x18\x04 \x01(\x01\x12\r\n\x05kappa\x18\x05 \x01(\x01\x12\t\n\x01s\x18\x06 \x01(\x01\x12\x0e\n\x06\x64kappa\x18\x07 \x01(\x01\x12\x0f\n\x07\x64\x64kappa\x18\x08 \x01(\x01\x12\x0f\n\x07lane_id\x18\t \x01(\t\x12\x14\n\x0cx_derivative\x18\n \x01(\x01\x12\x14\n\x0cy_derivative\x18\x0b \x01(\x01\"B\n\x04Path\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\npath_point\x18\x02 \x03(\x0b\x32\x18.apollo.common.PathPoint\"\xbb\x01\n\x0fTrajectoryPoint\x12,\n\npath_point\x18\x01 \x01(\x0b\x32\x18.apollo.common.PathPoint\x12\t\n\x01v\x18\x02 \x01(\x01\x12\t\n\x01\x61\x18\x03 \x01(\x01\x12\x15\n\rrelative_time\x18\x04 \x01(\x01\x12\n\n\x02\x64\x61\x18\x05 \x01(\x01\x12\r\n\x05steer\x18\x06 \x01(\x01\x12\x32\n\rgaussian_info\x18\x07 \x01(\x0b\x32\x1b.apollo.common.GaussianInfo\"T\n\nTrajectory\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x38\n\x10trajectory_point\x18\x02 \x03(\x0b\x32\x1e.apollo.common.TrajectoryPoint\"]\n\x12VehicleMotionPoint\x12\x38\n\x10trajectory_point\x18\x01 \x01(\x0b\x32\x1e.apollo.common.TrajectoryPoint\x12\r\n\x05steer\x18\x02 \x01(\x01\"^\n\rVehicleMotion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x14vehicle_motion_point\x18\x02 \x03(\x0b\x32!.apollo.common.VehicleMotionPoint\"\x96\x01\n\x0cGaussianInfo\x12\x0f\n\x07sigma_x\x18\x01 \x01(\x01\x12\x0f\n\x07sigma_y\x18\x02 \x01(\x01\x12\x13\n\x0b\x63orrelation\x18\x03 \x01(\x01\x12\x18\n\x10\x61rea_probability\x18\x04 \x01(\x01\x12\x11\n\tellipse_a\x18\x05 \x01(\x01\x12\x11\n\tellipse_b\x18\x06 \x01(\x01\x12\x0f\n\x07theta_a\x18\x07 \x01(\x01') -) - - - - -_SLPOINT = _descriptor.Descriptor( - name='SLPoint', - full_name='apollo.common.SLPoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='s', full_name='apollo.common.SLPoint.s', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='l', full_name='apollo.common.SLPoint.l', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=55, - serialized_end=86, -) - - -_FRENETFRAMEPOINT = _descriptor.Descriptor( - name='FrenetFramePoint', - full_name='apollo.common.FrenetFramePoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='s', full_name='apollo.common.FrenetFramePoint.s', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='l', full_name='apollo.common.FrenetFramePoint.l', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='dl', full_name='apollo.common.FrenetFramePoint.dl', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='ddl', full_name='apollo.common.FrenetFramePoint.ddl', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=88, - serialized_end=153, -) - - -_SPEEDPOINT = _descriptor.Descriptor( - name='SpeedPoint', - full_name='apollo.common.SpeedPoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='s', full_name='apollo.common.SpeedPoint.s', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='t', full_name='apollo.common.SpeedPoint.t', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='v', full_name='apollo.common.SpeedPoint.v', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='a', full_name='apollo.common.SpeedPoint.a', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='da', full_name='apollo.common.SpeedPoint.da', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=155, - serialized_end=223, -) - - -_PATHPOINT = _descriptor.Descriptor( - name='PathPoint', - full_name='apollo.common.PathPoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='apollo.common.PathPoint.x', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='y', full_name='apollo.common.PathPoint.y', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='z', full_name='apollo.common.PathPoint.z', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='theta', full_name='apollo.common.PathPoint.theta', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='kappa', full_name='apollo.common.PathPoint.kappa', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='s', full_name='apollo.common.PathPoint.s', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='dkappa', full_name='apollo.common.PathPoint.dkappa', index=6, - number=7, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='ddkappa', full_name='apollo.common.PathPoint.ddkappa', index=7, - number=8, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='lane_id', full_name='apollo.common.PathPoint.lane_id', index=8, - number=9, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='x_derivative', full_name='apollo.common.PathPoint.x_derivative', index=9, - number=10, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='y_derivative', full_name='apollo.common.PathPoint.y_derivative', index=10, - number=11, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=226, - serialized_end=405, -) - - -_PATH = _descriptor.Descriptor( - name='Path', - full_name='apollo.common.Path', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='apollo.common.Path.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='path_point', full_name='apollo.common.Path.path_point', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=407, - serialized_end=473, -) - - -_TRAJECTORYPOINT = _descriptor.Descriptor( - name='TrajectoryPoint', - full_name='apollo.common.TrajectoryPoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='path_point', full_name='apollo.common.TrajectoryPoint.path_point', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='v', full_name='apollo.common.TrajectoryPoint.v', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='a', full_name='apollo.common.TrajectoryPoint.a', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='relative_time', full_name='apollo.common.TrajectoryPoint.relative_time', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='da', full_name='apollo.common.TrajectoryPoint.da', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='steer', full_name='apollo.common.TrajectoryPoint.steer', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='gaussian_info', full_name='apollo.common.TrajectoryPoint.gaussian_info', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=476, - serialized_end=663, -) - - -_TRAJECTORY = _descriptor.Descriptor( - name='Trajectory', - full_name='apollo.common.Trajectory', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='apollo.common.Trajectory.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='trajectory_point', full_name='apollo.common.Trajectory.trajectory_point', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=665, - serialized_end=749, -) - - -_VEHICLEMOTIONPOINT = _descriptor.Descriptor( - name='VehicleMotionPoint', - full_name='apollo.common.VehicleMotionPoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='trajectory_point', full_name='apollo.common.VehicleMotionPoint.trajectory_point', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='steer', full_name='apollo.common.VehicleMotionPoint.steer', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=751, - serialized_end=844, -) - - -_VEHICLEMOTION = _descriptor.Descriptor( - name='VehicleMotion', - full_name='apollo.common.VehicleMotion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='apollo.common.VehicleMotion.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='vehicle_motion_point', full_name='apollo.common.VehicleMotion.vehicle_motion_point', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=846, - serialized_end=940, -) - - -_GAUSSIANINFO = _descriptor.Descriptor( - name='GaussianInfo', - full_name='apollo.common.GaussianInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='sigma_x', full_name='apollo.common.GaussianInfo.sigma_x', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='sigma_y', full_name='apollo.common.GaussianInfo.sigma_y', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='correlation', full_name='apollo.common.GaussianInfo.correlation', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='area_probability', full_name='apollo.common.GaussianInfo.area_probability', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='ellipse_a', full_name='apollo.common.GaussianInfo.ellipse_a', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='ellipse_b', full_name='apollo.common.GaussianInfo.ellipse_b', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='theta_a', full_name='apollo.common.GaussianInfo.theta_a', index=6, - number=7, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=943, - serialized_end=1093, -) - -_PATH.fields_by_name['path_point'].message_type = _PATHPOINT -_TRAJECTORYPOINT.fields_by_name['path_point'].message_type = _PATHPOINT -_TRAJECTORYPOINT.fields_by_name['gaussian_info'].message_type = _GAUSSIANINFO -_TRAJECTORY.fields_by_name['trajectory_point'].message_type = _TRAJECTORYPOINT -_VEHICLEMOTIONPOINT.fields_by_name['trajectory_point'].message_type = _TRAJECTORYPOINT -_VEHICLEMOTION.fields_by_name['vehicle_motion_point'].message_type = _VEHICLEMOTIONPOINT -DESCRIPTOR.message_types_by_name['SLPoint'] = _SLPOINT -DESCRIPTOR.message_types_by_name['FrenetFramePoint'] = _FRENETFRAMEPOINT -DESCRIPTOR.message_types_by_name['SpeedPoint'] = _SPEEDPOINT -DESCRIPTOR.message_types_by_name['PathPoint'] = _PATHPOINT -DESCRIPTOR.message_types_by_name['Path'] = _PATH -DESCRIPTOR.message_types_by_name['TrajectoryPoint'] = _TRAJECTORYPOINT -DESCRIPTOR.message_types_by_name['Trajectory'] = _TRAJECTORY -DESCRIPTOR.message_types_by_name['VehicleMotionPoint'] = _VEHICLEMOTIONPOINT -DESCRIPTOR.message_types_by_name['VehicleMotion'] = _VEHICLEMOTION -DESCRIPTOR.message_types_by_name['GaussianInfo'] = _GAUSSIANINFO -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SLPoint = _reflection.GeneratedProtocolMessageType('SLPoint', (_message.Message,), dict( - DESCRIPTOR = _SLPOINT, - __module__ = 'modules.common.proto.pnc_point_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.SLPoint) - )) -_sym_db.RegisterMessage(SLPoint) - -FrenetFramePoint = _reflection.GeneratedProtocolMessageType('FrenetFramePoint', (_message.Message,), dict( - DESCRIPTOR = _FRENETFRAMEPOINT, - __module__ = 'modules.common.proto.pnc_point_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.FrenetFramePoint) - )) -_sym_db.RegisterMessage(FrenetFramePoint) - -SpeedPoint = _reflection.GeneratedProtocolMessageType('SpeedPoint', (_message.Message,), dict( - DESCRIPTOR = _SPEEDPOINT, - __module__ = 'modules.common.proto.pnc_point_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.SpeedPoint) - )) -_sym_db.RegisterMessage(SpeedPoint) - -PathPoint = _reflection.GeneratedProtocolMessageType('PathPoint', (_message.Message,), dict( - DESCRIPTOR = _PATHPOINT, - __module__ = 'modules.common.proto.pnc_point_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.PathPoint) - )) -_sym_db.RegisterMessage(PathPoint) - -Path = _reflection.GeneratedProtocolMessageType('Path', (_message.Message,), dict( - DESCRIPTOR = _PATH, - __module__ = 'modules.common.proto.pnc_point_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.Path) - )) -_sym_db.RegisterMessage(Path) - -TrajectoryPoint = _reflection.GeneratedProtocolMessageType('TrajectoryPoint', (_message.Message,), dict( - DESCRIPTOR = _TRAJECTORYPOINT, - __module__ = 'modules.common.proto.pnc_point_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.TrajectoryPoint) - )) -_sym_db.RegisterMessage(TrajectoryPoint) - -Trajectory = _reflection.GeneratedProtocolMessageType('Trajectory', (_message.Message,), dict( - DESCRIPTOR = _TRAJECTORY, - __module__ = 'modules.common.proto.pnc_point_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.Trajectory) - )) -_sym_db.RegisterMessage(Trajectory) - -VehicleMotionPoint = _reflection.GeneratedProtocolMessageType('VehicleMotionPoint', (_message.Message,), dict( - DESCRIPTOR = _VEHICLEMOTIONPOINT, - __module__ = 'modules.common.proto.pnc_point_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.VehicleMotionPoint) - )) -_sym_db.RegisterMessage(VehicleMotionPoint) - -VehicleMotion = _reflection.GeneratedProtocolMessageType('VehicleMotion', (_message.Message,), dict( - DESCRIPTOR = _VEHICLEMOTION, - __module__ = 'modules.common.proto.pnc_point_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.VehicleMotion) - )) -_sym_db.RegisterMessage(VehicleMotion) - -GaussianInfo = _reflection.GeneratedProtocolMessageType('GaussianInfo', (_message.Message,), dict( - DESCRIPTOR = _GAUSSIANINFO, - __module__ = 'modules.common.proto.pnc_point_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.GaussianInfo) - )) -_sym_db.RegisterMessage(GaussianInfo) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/common/proto/vehicle_signal_pb2.py b/modules/common/proto/vehicle_signal_pb2.py deleted file mode 100644 index 6b8814c..0000000 --- a/modules/common/proto/vehicle_signal_pb2.py +++ /dev/null @@ -1,126 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/common/proto/vehicle_signal.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/common/proto/vehicle_signal.proto', - package='apollo.common', - syntax='proto2', - serialized_pb=_b('\n)modules/common/proto/vehicle_signal.proto\x12\rapollo.common\"\xd5\x01\n\rVehicleSignal\x12<\n\x0bturn_signal\x18\x01 \x01(\x0e\x32\'.apollo.common.VehicleSignal.TurnSignal\x12\x11\n\thigh_beam\x18\x02 \x01(\x08\x12\x10\n\x08low_beam\x18\x03 \x01(\x08\x12\x0c\n\x04horn\x18\x04 \x01(\x08\x12\x17\n\x0f\x65mergency_light\x18\x05 \x01(\x08\":\n\nTurnSignal\x12\r\n\tTURN_NONE\x10\x00\x12\r\n\tTURN_LEFT\x10\x01\x12\x0e\n\nTURN_RIGHT\x10\x02') -) - - - -_VEHICLESIGNAL_TURNSIGNAL = _descriptor.EnumDescriptor( - name='TurnSignal', - full_name='apollo.common.VehicleSignal.TurnSignal', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='TURN_NONE', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TURN_LEFT', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TURN_RIGHT', index=2, number=2, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=216, - serialized_end=274, -) -_sym_db.RegisterEnumDescriptor(_VEHICLESIGNAL_TURNSIGNAL) - - -_VEHICLESIGNAL = _descriptor.Descriptor( - name='VehicleSignal', - full_name='apollo.common.VehicleSignal', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='turn_signal', full_name='apollo.common.VehicleSignal.turn_signal', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='high_beam', full_name='apollo.common.VehicleSignal.high_beam', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='low_beam', full_name='apollo.common.VehicleSignal.low_beam', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='horn', full_name='apollo.common.VehicleSignal.horn', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='emergency_light', full_name='apollo.common.VehicleSignal.emergency_light', index=4, - number=5, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _VEHICLESIGNAL_TURNSIGNAL, - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=61, - serialized_end=274, -) - -_VEHICLESIGNAL.fields_by_name['turn_signal'].enum_type = _VEHICLESIGNAL_TURNSIGNAL -_VEHICLESIGNAL_TURNSIGNAL.containing_type = _VEHICLESIGNAL -DESCRIPTOR.message_types_by_name['VehicleSignal'] = _VEHICLESIGNAL -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -VehicleSignal = _reflection.GeneratedProtocolMessageType('VehicleSignal', (_message.Message,), dict( - DESCRIPTOR = _VEHICLESIGNAL, - __module__ = 'modules.common.proto.vehicle_signal_pb2' - # @@protoc_insertion_point(class_scope:apollo.common.VehicleSignal) - )) -_sym_db.RegisterMessage(VehicleSignal) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/__init__.py b/modules/map/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/modules/map/proto/__init__.py b/modules/map/proto/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/modules/map/proto/map_clear_area_pb2.py b/modules/map/proto/map_clear_area_pb2.py deleted file mode 100644 index 7e805ab..0000000 --- a/modules/map/proto/map_clear_area_pb2.py +++ /dev/null @@ -1,89 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_clear_area.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2 -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_clear_area.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n&modules/map/proto/map_clear_area.proto\x12\x0c\x61pollo.hdmap\x1a\x1emodules/map/proto/map_id.proto\x1a$modules/map/proto/map_geometry.proto\"w\n\tClearArea\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12$\n\noverlap_id\x18\x02 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12&\n\x07polygon\x18\x03 \x01(\x0b\x32\x15.apollo.hdmap.Polygon') - , - dependencies=[modules_dot_map_dot_proto_dot_map__id__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,]) - - - - -_CLEARAREA = _descriptor.Descriptor( - name='ClearArea', - full_name='apollo.hdmap.ClearArea', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.ClearArea.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='overlap_id', full_name='apollo.hdmap.ClearArea.overlap_id', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='polygon', full_name='apollo.hdmap.ClearArea.polygon', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=245, -) - -_CLEARAREA.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_CLEARAREA.fields_by_name['overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_CLEARAREA.fields_by_name['polygon'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._POLYGON -DESCRIPTOR.message_types_by_name['ClearArea'] = _CLEARAREA -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ClearArea = _reflection.GeneratedProtocolMessageType('ClearArea', (_message.Message,), dict( - DESCRIPTOR = _CLEARAREA, - __module__ = 'modules.map.proto.map_clear_area_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.ClearArea) - )) -_sym_db.RegisterMessage(ClearArea) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_crosswalk_pb2.py b/modules/map/proto/map_crosswalk_pb2.py deleted file mode 100644 index 70abb2c..0000000 --- a/modules/map/proto/map_crosswalk_pb2.py +++ /dev/null @@ -1,89 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_crosswalk.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 -from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_crosswalk.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n%modules/map/proto/map_crosswalk.proto\x12\x0c\x61pollo.hdmap\x1a$modules/map/proto/map_geometry.proto\x1a\x1emodules/map/proto/map_id.proto\"w\n\tCrosswalk\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12&\n\x07polygon\x18\x02 \x01(\x0b\x32\x15.apollo.hdmap.Polygon\x12$\n\noverlap_id\x18\x03 \x03(\x0b\x32\x10.apollo.hdmap.Id') - , - dependencies=[modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__id__pb2.DESCRIPTOR,]) - - - - -_CROSSWALK = _descriptor.Descriptor( - name='Crosswalk', - full_name='apollo.hdmap.Crosswalk', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.Crosswalk.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='polygon', full_name='apollo.hdmap.Crosswalk.polygon', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='overlap_id', full_name='apollo.hdmap.Crosswalk.overlap_id', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=125, - serialized_end=244, -) - -_CROSSWALK.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_CROSSWALK.fields_by_name['polygon'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._POLYGON -_CROSSWALK.fields_by_name['overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -DESCRIPTOR.message_types_by_name['Crosswalk'] = _CROSSWALK -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Crosswalk = _reflection.GeneratedProtocolMessageType('Crosswalk', (_message.Message,), dict( - DESCRIPTOR = _CROSSWALK, - __module__ = 'modules.map.proto.map_crosswalk_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Crosswalk) - )) -_sym_db.RegisterMessage(Crosswalk) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_geometry_pb2.py b/modules/map/proto/map_geometry_pb2.py deleted file mode 100644 index 4f7b66e..0000000 --- a/modules/map/proto/map_geometry_pb2.py +++ /dev/null @@ -1,227 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_geometry.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.common.proto import geometry_pb2 as modules_dot_common_dot_proto_dot_geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_geometry.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n$modules/map/proto/map_geometry.proto\x12\x0c\x61pollo.hdmap\x1a#modules/common/proto/geometry.proto\"1\n\x07Polygon\x12&\n\x05point\x18\x01 \x03(\x0b\x32\x17.apollo.common.PointENU\"5\n\x0bLineSegment\x12&\n\x05point\x18\x01 \x03(\x0b\x32\x17.apollo.common.PointENU\"\xac\x01\n\x0c\x43urveSegment\x12\x31\n\x0cline_segment\x18\x01 \x01(\x0b\x32\x19.apollo.hdmap.LineSegmentH\x00\x12\t\n\x01s\x18\x06 \x01(\x01\x12/\n\x0estart_position\x18\x07 \x01(\x0b\x32\x17.apollo.common.PointENU\x12\x0f\n\x07heading\x18\x08 \x01(\x01\x12\x0e\n\x06length\x18\t \x01(\x01\x42\x0c\n\ncurve_type\"4\n\x05\x43urve\x12+\n\x07segment\x18\x01 \x03(\x0b\x32\x1a.apollo.hdmap.CurveSegment') - , - dependencies=[modules_dot_common_dot_proto_dot_geometry__pb2.DESCRIPTOR,]) - - - - -_POLYGON = _descriptor.Descriptor( - name='Polygon', - full_name='apollo.hdmap.Polygon', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='point', full_name='apollo.hdmap.Polygon.point', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=91, - serialized_end=140, -) - - -_LINESEGMENT = _descriptor.Descriptor( - name='LineSegment', - full_name='apollo.hdmap.LineSegment', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='point', full_name='apollo.hdmap.LineSegment.point', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=142, - serialized_end=195, -) - - -_CURVESEGMENT = _descriptor.Descriptor( - name='CurveSegment', - full_name='apollo.hdmap.CurveSegment', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='line_segment', full_name='apollo.hdmap.CurveSegment.line_segment', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='s', full_name='apollo.hdmap.CurveSegment.s', index=1, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='start_position', full_name='apollo.hdmap.CurveSegment.start_position', index=2, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='heading', full_name='apollo.hdmap.CurveSegment.heading', index=3, - number=8, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='length', full_name='apollo.hdmap.CurveSegment.length', index=4, - number=9, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='curve_type', full_name='apollo.hdmap.CurveSegment.curve_type', - index=0, containing_type=None, fields=[]), - ], - serialized_start=198, - serialized_end=370, -) - - -_CURVE = _descriptor.Descriptor( - name='Curve', - full_name='apollo.hdmap.Curve', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='segment', full_name='apollo.hdmap.Curve.segment', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=372, - serialized_end=424, -) - -_POLYGON.fields_by_name['point'].message_type = modules_dot_common_dot_proto_dot_geometry__pb2._POINTENU -_LINESEGMENT.fields_by_name['point'].message_type = modules_dot_common_dot_proto_dot_geometry__pb2._POINTENU -_CURVESEGMENT.fields_by_name['line_segment'].message_type = _LINESEGMENT -_CURVESEGMENT.fields_by_name['start_position'].message_type = modules_dot_common_dot_proto_dot_geometry__pb2._POINTENU -_CURVESEGMENT.oneofs_by_name['curve_type'].fields.append( - _CURVESEGMENT.fields_by_name['line_segment']) -_CURVESEGMENT.fields_by_name['line_segment'].containing_oneof = _CURVESEGMENT.oneofs_by_name['curve_type'] -_CURVE.fields_by_name['segment'].message_type = _CURVESEGMENT -DESCRIPTOR.message_types_by_name['Polygon'] = _POLYGON -DESCRIPTOR.message_types_by_name['LineSegment'] = _LINESEGMENT -DESCRIPTOR.message_types_by_name['CurveSegment'] = _CURVESEGMENT -DESCRIPTOR.message_types_by_name['Curve'] = _CURVE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Polygon = _reflection.GeneratedProtocolMessageType('Polygon', (_message.Message,), dict( - DESCRIPTOR = _POLYGON, - __module__ = 'modules.map.proto.map_geometry_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Polygon) - )) -_sym_db.RegisterMessage(Polygon) - -LineSegment = _reflection.GeneratedProtocolMessageType('LineSegment', (_message.Message,), dict( - DESCRIPTOR = _LINESEGMENT, - __module__ = 'modules.map.proto.map_geometry_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.LineSegment) - )) -_sym_db.RegisterMessage(LineSegment) - -CurveSegment = _reflection.GeneratedProtocolMessageType('CurveSegment', (_message.Message,), dict( - DESCRIPTOR = _CURVESEGMENT, - __module__ = 'modules.map.proto.map_geometry_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.CurveSegment) - )) -_sym_db.RegisterMessage(CurveSegment) - -Curve = _reflection.GeneratedProtocolMessageType('Curve', (_message.Message,), dict( - DESCRIPTOR = _CURVE, - __module__ = 'modules.map.proto.map_geometry_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Curve) - )) -_sym_db.RegisterMessage(Curve) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_id_pb2.py b/modules/map/proto/map_id_pb2.py deleted file mode 100644 index 85de098..0000000 --- a/modules/map/proto/map_id_pb2.py +++ /dev/null @@ -1,69 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_id.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_id.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n\x1emodules/map/proto/map_id.proto\x12\x0c\x61pollo.hdmap\"\x10\n\x02Id\x12\n\n\x02id\x18\x01 \x01(\t') -) - - - - -_ID = _descriptor.Descriptor( - name='Id', - full_name='apollo.hdmap.Id', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.Id.id', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=48, - serialized_end=64, -) - -DESCRIPTOR.message_types_by_name['Id'] = _ID -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Id = _reflection.GeneratedProtocolMessageType('Id', (_message.Message,), dict( - DESCRIPTOR = _ID, - __module__ = 'modules.map.proto.map_id_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Id) - )) -_sym_db.RegisterMessage(Id) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_junction_pb2.py b/modules/map/proto/map_junction_pb2.py deleted file mode 100644 index 5bdd85e..0000000 --- a/modules/map/proto/map_junction_pb2.py +++ /dev/null @@ -1,89 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_junction.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2 -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_junction.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n$modules/map/proto/map_junction.proto\x12\x0c\x61pollo.hdmap\x1a\x1emodules/map/proto/map_id.proto\x1a$modules/map/proto/map_geometry.proto\"v\n\x08Junction\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12&\n\x07polygon\x18\x02 \x01(\x0b\x32\x15.apollo.hdmap.Polygon\x12$\n\noverlap_id\x18\x03 \x03(\x0b\x32\x10.apollo.hdmap.Id') - , - dependencies=[modules_dot_map_dot_proto_dot_map__id__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,]) - - - - -_JUNCTION = _descriptor.Descriptor( - name='Junction', - full_name='apollo.hdmap.Junction', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.Junction.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='polygon', full_name='apollo.hdmap.Junction.polygon', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='overlap_id', full_name='apollo.hdmap.Junction.overlap_id', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=124, - serialized_end=242, -) - -_JUNCTION.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_JUNCTION.fields_by_name['polygon'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._POLYGON -_JUNCTION.fields_by_name['overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -DESCRIPTOR.message_types_by_name['Junction'] = _JUNCTION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Junction = _reflection.GeneratedProtocolMessageType('Junction', (_message.Message,), dict( - DESCRIPTOR = _JUNCTION, - __module__ = 'modules.map.proto.map_junction_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Junction) - )) -_sym_db.RegisterMessage(Junction) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_lane_pb2.py b/modules/map/proto/map_lane_pb2.py deleted file mode 100644 index f4ec676..0000000 --- a/modules/map/proto/map_lane_pb2.py +++ /dev/null @@ -1,538 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_lane.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2 -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_lane.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n modules/map/proto/map_lane.proto\x12\x0c\x61pollo.hdmap\x1a\x1emodules/map/proto/map_id.proto\x1a$modules/map/proto/map_geometry.proto\"\xcb\x01\n\x10LaneBoundaryType\x12\t\n\x01s\x18\x01 \x01(\x01\x12\x32\n\x05types\x18\x02 \x03(\x0e\x32#.apollo.hdmap.LaneBoundaryType.Type\"x\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x11\n\rDOTTED_YELLOW\x10\x01\x12\x10\n\x0c\x44OTTED_WHITE\x10\x02\x12\x10\n\x0cSOLID_YELLOW\x10\x03\x12\x0f\n\x0bSOLID_WHITE\x10\x04\x12\x11\n\rDOUBLE_YELLOW\x10\x05\x12\x08\n\x04\x43URB\x10\x06\"\x8a\x01\n\x0cLaneBoundary\x12\"\n\x05\x63urve\x18\x01 \x01(\x0b\x32\x13.apollo.hdmap.Curve\x12\x0e\n\x06length\x18\x02 \x01(\x01\x12\x0f\n\x07virtual\x18\x03 \x01(\x08\x12\x35\n\rboundary_type\x18\x04 \x03(\x0b\x32\x1e.apollo.hdmap.LaneBoundaryType\"1\n\x15LaneSampleAssociation\x12\t\n\x01s\x18\x01 \x01(\x01\x12\r\n\x05width\x18\x02 \x01(\x01\"\xee\t\n\x04Lane\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12*\n\rcentral_curve\x18\x02 \x01(\x0b\x32\x13.apollo.hdmap.Curve\x12\x31\n\rleft_boundary\x18\x03 \x01(\x0b\x32\x1a.apollo.hdmap.LaneBoundary\x12\x32\n\x0eright_boundary\x18\x04 \x01(\x0b\x32\x1a.apollo.hdmap.LaneBoundary\x12\x0e\n\x06length\x18\x05 \x01(\x01\x12\x13\n\x0bspeed_limit\x18\x06 \x01(\x01\x12$\n\noverlap_id\x18\x07 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12(\n\x0epredecessor_id\x18\x08 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12&\n\x0csuccessor_id\x18\t \x03(\x0b\x32\x10.apollo.hdmap.Id\x12\x37\n\x1dleft_neighbor_forward_lane_id\x18\n \x03(\x0b\x32\x10.apollo.hdmap.Id\x12\x38\n\x1eright_neighbor_forward_lane_id\x18\x0b \x03(\x0b\x32\x10.apollo.hdmap.Id\x12)\n\x04type\x18\x0c \x01(\x0e\x32\x1b.apollo.hdmap.Lane.LaneType\x12)\n\x04turn\x18\r \x01(\x0e\x32\x1b.apollo.hdmap.Lane.LaneTurn\x12\x37\n\x1dleft_neighbor_reverse_lane_id\x18\x0e \x03(\x0b\x32\x10.apollo.hdmap.Id\x12\x38\n\x1eright_neighbor_reverse_lane_id\x18\x0f \x03(\x0b\x32\x10.apollo.hdmap.Id\x12%\n\x0bjunction_id\x18\x10 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12\x38\n\x0bleft_sample\x18\x11 \x03(\x0b\x32#.apollo.hdmap.LaneSampleAssociation\x12\x39\n\x0cright_sample\x18\x12 \x03(\x0b\x32#.apollo.hdmap.LaneSampleAssociation\x12\x33\n\tdirection\x18\x13 \x01(\x0e\x32 .apollo.hdmap.Lane.LaneDirection\x12=\n\x10left_road_sample\x18\x14 \x03(\x0b\x32#.apollo.hdmap.LaneSampleAssociation\x12>\n\x11right_road_sample\x18\x15 \x03(\x0b\x32#.apollo.hdmap.LaneSampleAssociation\x12.\n\x14self_reverse_lane_id\x18\x16 \x03(\x0b\x32\x10.apollo.hdmap.Id\"[\n\x08LaneType\x12\x08\n\x04NONE\x10\x01\x12\x10\n\x0c\x43ITY_DRIVING\x10\x02\x12\n\n\x06\x42IKING\x10\x03\x12\x0c\n\x08SIDEWALK\x10\x04\x12\x0b\n\x07PARKING\x10\x05\x12\x0c\n\x08SHOULDER\x10\x06\"B\n\x08LaneTurn\x12\x0b\n\x07NO_TURN\x10\x01\x12\r\n\tLEFT_TURN\x10\x02\x12\x0e\n\nRIGHT_TURN\x10\x03\x12\n\n\x06U_TURN\x10\x04\";\n\rLaneDirection\x12\x0b\n\x07\x46ORWARD\x10\x01\x12\x0c\n\x08\x42\x41\x43KWARD\x10\x02\x12\x0f\n\x0b\x42IDIRECTION\x10\x03') - , - dependencies=[modules_dot_map_dot_proto_dot_map__id__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,]) - - - -_LANEBOUNDARYTYPE_TYPE = _descriptor.EnumDescriptor( - name='Type', - full_name='apollo.hdmap.LaneBoundaryType.Type', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DOTTED_YELLOW', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DOTTED_WHITE', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SOLID_YELLOW', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SOLID_WHITE', index=4, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DOUBLE_YELLOW', index=5, number=5, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CURB', index=6, number=6, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=204, - serialized_end=324, -) -_sym_db.RegisterEnumDescriptor(_LANEBOUNDARYTYPE_TYPE) - -_LANE_LANETYPE = _descriptor.EnumDescriptor( - name='LaneType', - full_name='apollo.hdmap.Lane.LaneType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='NONE', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CITY_DRIVING', index=1, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BIKING', index=2, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SIDEWALK', index=3, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PARKING', index=4, number=5, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SHOULDER', index=5, number=6, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=1561, - serialized_end=1652, -) -_sym_db.RegisterEnumDescriptor(_LANE_LANETYPE) - -_LANE_LANETURN = _descriptor.EnumDescriptor( - name='LaneTurn', - full_name='apollo.hdmap.Lane.LaneTurn', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='NO_TURN', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LEFT_TURN', index=1, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RIGHT_TURN', index=2, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='U_TURN', index=3, number=4, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=1654, - serialized_end=1720, -) -_sym_db.RegisterEnumDescriptor(_LANE_LANETURN) - -_LANE_LANEDIRECTION = _descriptor.EnumDescriptor( - name='LaneDirection', - full_name='apollo.hdmap.Lane.LaneDirection', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='FORWARD', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BACKWARD', index=1, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BIDIRECTION', index=2, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=1722, - serialized_end=1781, -) -_sym_db.RegisterEnumDescriptor(_LANE_LANEDIRECTION) - - -_LANEBOUNDARYTYPE = _descriptor.Descriptor( - name='LaneBoundaryType', - full_name='apollo.hdmap.LaneBoundaryType', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='s', full_name='apollo.hdmap.LaneBoundaryType.s', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='types', full_name='apollo.hdmap.LaneBoundaryType.types', index=1, - number=2, type=14, cpp_type=8, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _LANEBOUNDARYTYPE_TYPE, - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=121, - serialized_end=324, -) - - -_LANEBOUNDARY = _descriptor.Descriptor( - name='LaneBoundary', - full_name='apollo.hdmap.LaneBoundary', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='curve', full_name='apollo.hdmap.LaneBoundary.curve', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='length', full_name='apollo.hdmap.LaneBoundary.length', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='virtual', full_name='apollo.hdmap.LaneBoundary.virtual', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='boundary_type', full_name='apollo.hdmap.LaneBoundary.boundary_type', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=327, - serialized_end=465, -) - - -_LANESAMPLEASSOCIATION = _descriptor.Descriptor( - name='LaneSampleAssociation', - full_name='apollo.hdmap.LaneSampleAssociation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='s', full_name='apollo.hdmap.LaneSampleAssociation.s', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='width', full_name='apollo.hdmap.LaneSampleAssociation.width', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=467, - serialized_end=516, -) - - -_LANE = _descriptor.Descriptor( - name='Lane', - full_name='apollo.hdmap.Lane', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.Lane.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='central_curve', full_name='apollo.hdmap.Lane.central_curve', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='left_boundary', full_name='apollo.hdmap.Lane.left_boundary', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='right_boundary', full_name='apollo.hdmap.Lane.right_boundary', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='length', full_name='apollo.hdmap.Lane.length', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='speed_limit', full_name='apollo.hdmap.Lane.speed_limit', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='overlap_id', full_name='apollo.hdmap.Lane.overlap_id', index=6, - number=7, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='predecessor_id', full_name='apollo.hdmap.Lane.predecessor_id', index=7, - number=8, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='successor_id', full_name='apollo.hdmap.Lane.successor_id', index=8, - number=9, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='left_neighbor_forward_lane_id', full_name='apollo.hdmap.Lane.left_neighbor_forward_lane_id', index=9, - number=10, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='right_neighbor_forward_lane_id', full_name='apollo.hdmap.Lane.right_neighbor_forward_lane_id', index=10, - number=11, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='type', full_name='apollo.hdmap.Lane.type', index=11, - number=12, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='turn', full_name='apollo.hdmap.Lane.turn', index=12, - number=13, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='left_neighbor_reverse_lane_id', full_name='apollo.hdmap.Lane.left_neighbor_reverse_lane_id', index=13, - number=14, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='right_neighbor_reverse_lane_id', full_name='apollo.hdmap.Lane.right_neighbor_reverse_lane_id', index=14, - number=15, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='junction_id', full_name='apollo.hdmap.Lane.junction_id', index=15, - number=16, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='left_sample', full_name='apollo.hdmap.Lane.left_sample', index=16, - number=17, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='right_sample', full_name='apollo.hdmap.Lane.right_sample', index=17, - number=18, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='direction', full_name='apollo.hdmap.Lane.direction', index=18, - number=19, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='left_road_sample', full_name='apollo.hdmap.Lane.left_road_sample', index=19, - number=20, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='right_road_sample', full_name='apollo.hdmap.Lane.right_road_sample', index=20, - number=21, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='self_reverse_lane_id', full_name='apollo.hdmap.Lane.self_reverse_lane_id', index=21, - number=22, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _LANE_LANETYPE, - _LANE_LANETURN, - _LANE_LANEDIRECTION, - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=519, - serialized_end=1781, -) - -_LANEBOUNDARYTYPE.fields_by_name['types'].enum_type = _LANEBOUNDARYTYPE_TYPE -_LANEBOUNDARYTYPE_TYPE.containing_type = _LANEBOUNDARYTYPE -_LANEBOUNDARY.fields_by_name['curve'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._CURVE -_LANEBOUNDARY.fields_by_name['boundary_type'].message_type = _LANEBOUNDARYTYPE -_LANE.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_LANE.fields_by_name['central_curve'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._CURVE -_LANE.fields_by_name['left_boundary'].message_type = _LANEBOUNDARY -_LANE.fields_by_name['right_boundary'].message_type = _LANEBOUNDARY -_LANE.fields_by_name['overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_LANE.fields_by_name['predecessor_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_LANE.fields_by_name['successor_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_LANE.fields_by_name['left_neighbor_forward_lane_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_LANE.fields_by_name['right_neighbor_forward_lane_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_LANE.fields_by_name['type'].enum_type = _LANE_LANETYPE -_LANE.fields_by_name['turn'].enum_type = _LANE_LANETURN -_LANE.fields_by_name['left_neighbor_reverse_lane_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_LANE.fields_by_name['right_neighbor_reverse_lane_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_LANE.fields_by_name['junction_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_LANE.fields_by_name['left_sample'].message_type = _LANESAMPLEASSOCIATION -_LANE.fields_by_name['right_sample'].message_type = _LANESAMPLEASSOCIATION -_LANE.fields_by_name['direction'].enum_type = _LANE_LANEDIRECTION -_LANE.fields_by_name['left_road_sample'].message_type = _LANESAMPLEASSOCIATION -_LANE.fields_by_name['right_road_sample'].message_type = _LANESAMPLEASSOCIATION -_LANE.fields_by_name['self_reverse_lane_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_LANE_LANETYPE.containing_type = _LANE -_LANE_LANETURN.containing_type = _LANE -_LANE_LANEDIRECTION.containing_type = _LANE -DESCRIPTOR.message_types_by_name['LaneBoundaryType'] = _LANEBOUNDARYTYPE -DESCRIPTOR.message_types_by_name['LaneBoundary'] = _LANEBOUNDARY -DESCRIPTOR.message_types_by_name['LaneSampleAssociation'] = _LANESAMPLEASSOCIATION -DESCRIPTOR.message_types_by_name['Lane'] = _LANE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -LaneBoundaryType = _reflection.GeneratedProtocolMessageType('LaneBoundaryType', (_message.Message,), dict( - DESCRIPTOR = _LANEBOUNDARYTYPE, - __module__ = 'modules.map.proto.map_lane_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.LaneBoundaryType) - )) -_sym_db.RegisterMessage(LaneBoundaryType) - -LaneBoundary = _reflection.GeneratedProtocolMessageType('LaneBoundary', (_message.Message,), dict( - DESCRIPTOR = _LANEBOUNDARY, - __module__ = 'modules.map.proto.map_lane_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.LaneBoundary) - )) -_sym_db.RegisterMessage(LaneBoundary) - -LaneSampleAssociation = _reflection.GeneratedProtocolMessageType('LaneSampleAssociation', (_message.Message,), dict( - DESCRIPTOR = _LANESAMPLEASSOCIATION, - __module__ = 'modules.map.proto.map_lane_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.LaneSampleAssociation) - )) -_sym_db.RegisterMessage(LaneSampleAssociation) - -Lane = _reflection.GeneratedProtocolMessageType('Lane', (_message.Message,), dict( - DESCRIPTOR = _LANE, - __module__ = 'modules.map.proto.map_lane_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Lane) - )) -_sym_db.RegisterMessage(Lane) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_overlap_pb2.py b/modules/map/proto/map_overlap_pb2.py deleted file mode 100644 index 8906fcd..0000000 --- a/modules/map/proto/map_overlap_pb2.py +++ /dev/null @@ -1,647 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_overlap.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2 -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_overlap.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n#modules/map/proto/map_overlap.proto\x12\x0c\x61pollo.hdmap\x1a\x1emodules/map/proto/map_id.proto\x1a$modules/map/proto/map_geometry.proto\"p\n\x0fLaneOverlapInfo\x12\x0f\n\x07start_s\x18\x01 \x01(\x01\x12\r\n\x05\x65nd_s\x18\x02 \x01(\x01\x12\x10\n\x08is_merge\x18\x03 \x01(\x08\x12+\n\x11region_overlap_id\x18\x04 \x01(\x0b\x32\x10.apollo.hdmap.Id\"\x13\n\x11SignalOverlapInfo\"\x15\n\x13StopSignOverlapInfo\"C\n\x14\x43rosswalkOverlapInfo\x12+\n\x11region_overlap_id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\"\x15\n\x13JunctionOverlapInfo\"\x12\n\x10YieldOverlapInfo\"\x16\n\x14\x43learAreaOverlapInfo\"\x16\n\x14SpeedBumpOverlapInfo\"\x19\n\x17ParkingSpaceOverlapInfo\"\x18\n\x16PNCJunctionOverlapInfo\"Y\n\x11RegionOverlapInfo\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12&\n\x07polygon\x18\x02 \x03(\x0b\x32\x15.apollo.hdmap.Polygon\"\xf5\x05\n\x11ObjectOverlapInfo\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12:\n\x11lane_overlap_info\x18\x03 \x01(\x0b\x32\x1d.apollo.hdmap.LaneOverlapInfoH\x00\x12>\n\x13signal_overlap_info\x18\x04 \x01(\x0b\x32\x1f.apollo.hdmap.SignalOverlapInfoH\x00\x12\x43\n\x16stop_sign_overlap_info\x18\x05 \x01(\x0b\x32!.apollo.hdmap.StopSignOverlapInfoH\x00\x12\x44\n\x16\x63rosswalk_overlap_info\x18\x06 \x01(\x0b\x32\".apollo.hdmap.CrosswalkOverlapInfoH\x00\x12\x42\n\x15junction_overlap_info\x18\x07 \x01(\x0b\x32!.apollo.hdmap.JunctionOverlapInfoH\x00\x12\x41\n\x17yield_sign_overlap_info\x18\x08 \x01(\x0b\x32\x1e.apollo.hdmap.YieldOverlapInfoH\x00\x12\x45\n\x17\x63lear_area_overlap_info\x18\t \x01(\x0b\x32\".apollo.hdmap.ClearAreaOverlapInfoH\x00\x12\x45\n\x17speed_bump_overlap_info\x18\n \x01(\x0b\x32\".apollo.hdmap.SpeedBumpOverlapInfoH\x00\x12K\n\x1aparking_space_overlap_info\x18\x0b \x01(\x0b\x32%.apollo.hdmap.ParkingSpaceOverlapInfoH\x00\x12I\n\x19pnc_junction_overlap_info\x18\x0c \x01(\x0b\x32$.apollo.hdmap.PNCJunctionOverlapInfoH\x00\x42\x0e\n\x0coverlap_info\"\x91\x01\n\x07Overlap\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12/\n\x06object\x18\x02 \x03(\x0b\x32\x1f.apollo.hdmap.ObjectOverlapInfo\x12\x37\n\x0eregion_overlap\x18\x03 \x03(\x0b\x32\x1f.apollo.hdmap.RegionOverlapInfo') - , - dependencies=[modules_dot_map_dot_proto_dot_map__id__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,]) - - - - -_LANEOVERLAPINFO = _descriptor.Descriptor( - name='LaneOverlapInfo', - full_name='apollo.hdmap.LaneOverlapInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='start_s', full_name='apollo.hdmap.LaneOverlapInfo.start_s', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='end_s', full_name='apollo.hdmap.LaneOverlapInfo.end_s', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='is_merge', full_name='apollo.hdmap.LaneOverlapInfo.is_merge', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='region_overlap_id', full_name='apollo.hdmap.LaneOverlapInfo.region_overlap_id', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=235, -) - - -_SIGNALOVERLAPINFO = _descriptor.Descriptor( - name='SignalOverlapInfo', - full_name='apollo.hdmap.SignalOverlapInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=237, - serialized_end=256, -) - - -_STOPSIGNOVERLAPINFO = _descriptor.Descriptor( - name='StopSignOverlapInfo', - full_name='apollo.hdmap.StopSignOverlapInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=258, - serialized_end=279, -) - - -_CROSSWALKOVERLAPINFO = _descriptor.Descriptor( - name='CrosswalkOverlapInfo', - full_name='apollo.hdmap.CrosswalkOverlapInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='region_overlap_id', full_name='apollo.hdmap.CrosswalkOverlapInfo.region_overlap_id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=281, - serialized_end=348, -) - - -_JUNCTIONOVERLAPINFO = _descriptor.Descriptor( - name='JunctionOverlapInfo', - full_name='apollo.hdmap.JunctionOverlapInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=350, - serialized_end=371, -) - - -_YIELDOVERLAPINFO = _descriptor.Descriptor( - name='YieldOverlapInfo', - full_name='apollo.hdmap.YieldOverlapInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=373, - serialized_end=391, -) - - -_CLEARAREAOVERLAPINFO = _descriptor.Descriptor( - name='ClearAreaOverlapInfo', - full_name='apollo.hdmap.ClearAreaOverlapInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=393, - serialized_end=415, -) - - -_SPEEDBUMPOVERLAPINFO = _descriptor.Descriptor( - name='SpeedBumpOverlapInfo', - full_name='apollo.hdmap.SpeedBumpOverlapInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=417, - serialized_end=439, -) - - -_PARKINGSPACEOVERLAPINFO = _descriptor.Descriptor( - name='ParkingSpaceOverlapInfo', - full_name='apollo.hdmap.ParkingSpaceOverlapInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=441, - serialized_end=466, -) - - -_PNCJUNCTIONOVERLAPINFO = _descriptor.Descriptor( - name='PNCJunctionOverlapInfo', - full_name='apollo.hdmap.PNCJunctionOverlapInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=468, - serialized_end=492, -) - - -_REGIONOVERLAPINFO = _descriptor.Descriptor( - name='RegionOverlapInfo', - full_name='apollo.hdmap.RegionOverlapInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.RegionOverlapInfo.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='polygon', full_name='apollo.hdmap.RegionOverlapInfo.polygon', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=494, - serialized_end=583, -) - - -_OBJECTOVERLAPINFO = _descriptor.Descriptor( - name='ObjectOverlapInfo', - full_name='apollo.hdmap.ObjectOverlapInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.ObjectOverlapInfo.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='lane_overlap_info', full_name='apollo.hdmap.ObjectOverlapInfo.lane_overlap_info', index=1, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='signal_overlap_info', full_name='apollo.hdmap.ObjectOverlapInfo.signal_overlap_info', index=2, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='stop_sign_overlap_info', full_name='apollo.hdmap.ObjectOverlapInfo.stop_sign_overlap_info', index=3, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='crosswalk_overlap_info', full_name='apollo.hdmap.ObjectOverlapInfo.crosswalk_overlap_info', index=4, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='junction_overlap_info', full_name='apollo.hdmap.ObjectOverlapInfo.junction_overlap_info', index=5, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='yield_sign_overlap_info', full_name='apollo.hdmap.ObjectOverlapInfo.yield_sign_overlap_info', index=6, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='clear_area_overlap_info', full_name='apollo.hdmap.ObjectOverlapInfo.clear_area_overlap_info', index=7, - number=9, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='speed_bump_overlap_info', full_name='apollo.hdmap.ObjectOverlapInfo.speed_bump_overlap_info', index=8, - number=10, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='parking_space_overlap_info', full_name='apollo.hdmap.ObjectOverlapInfo.parking_space_overlap_info', index=9, - number=11, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='pnc_junction_overlap_info', full_name='apollo.hdmap.ObjectOverlapInfo.pnc_junction_overlap_info', index=10, - number=12, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='overlap_info', full_name='apollo.hdmap.ObjectOverlapInfo.overlap_info', - index=0, containing_type=None, fields=[]), - ], - serialized_start=586, - serialized_end=1343, -) - - -_OVERLAP = _descriptor.Descriptor( - name='Overlap', - full_name='apollo.hdmap.Overlap', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.Overlap.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='object', full_name='apollo.hdmap.Overlap.object', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='region_overlap', full_name='apollo.hdmap.Overlap.region_overlap', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1346, - serialized_end=1491, -) - -_LANEOVERLAPINFO.fields_by_name['region_overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_CROSSWALKOVERLAPINFO.fields_by_name['region_overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_REGIONOVERLAPINFO.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_REGIONOVERLAPINFO.fields_by_name['polygon'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._POLYGON -_OBJECTOVERLAPINFO.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_OBJECTOVERLAPINFO.fields_by_name['lane_overlap_info'].message_type = _LANEOVERLAPINFO -_OBJECTOVERLAPINFO.fields_by_name['signal_overlap_info'].message_type = _SIGNALOVERLAPINFO -_OBJECTOVERLAPINFO.fields_by_name['stop_sign_overlap_info'].message_type = _STOPSIGNOVERLAPINFO -_OBJECTOVERLAPINFO.fields_by_name['crosswalk_overlap_info'].message_type = _CROSSWALKOVERLAPINFO -_OBJECTOVERLAPINFO.fields_by_name['junction_overlap_info'].message_type = _JUNCTIONOVERLAPINFO -_OBJECTOVERLAPINFO.fields_by_name['yield_sign_overlap_info'].message_type = _YIELDOVERLAPINFO -_OBJECTOVERLAPINFO.fields_by_name['clear_area_overlap_info'].message_type = _CLEARAREAOVERLAPINFO -_OBJECTOVERLAPINFO.fields_by_name['speed_bump_overlap_info'].message_type = _SPEEDBUMPOVERLAPINFO -_OBJECTOVERLAPINFO.fields_by_name['parking_space_overlap_info'].message_type = _PARKINGSPACEOVERLAPINFO -_OBJECTOVERLAPINFO.fields_by_name['pnc_junction_overlap_info'].message_type = _PNCJUNCTIONOVERLAPINFO -_OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'].fields.append( - _OBJECTOVERLAPINFO.fields_by_name['lane_overlap_info']) -_OBJECTOVERLAPINFO.fields_by_name['lane_overlap_info'].containing_oneof = _OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'] -_OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'].fields.append( - _OBJECTOVERLAPINFO.fields_by_name['signal_overlap_info']) -_OBJECTOVERLAPINFO.fields_by_name['signal_overlap_info'].containing_oneof = _OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'] -_OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'].fields.append( - _OBJECTOVERLAPINFO.fields_by_name['stop_sign_overlap_info']) -_OBJECTOVERLAPINFO.fields_by_name['stop_sign_overlap_info'].containing_oneof = _OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'] -_OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'].fields.append( - _OBJECTOVERLAPINFO.fields_by_name['crosswalk_overlap_info']) -_OBJECTOVERLAPINFO.fields_by_name['crosswalk_overlap_info'].containing_oneof = _OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'] -_OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'].fields.append( - _OBJECTOVERLAPINFO.fields_by_name['junction_overlap_info']) -_OBJECTOVERLAPINFO.fields_by_name['junction_overlap_info'].containing_oneof = _OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'] -_OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'].fields.append( - _OBJECTOVERLAPINFO.fields_by_name['yield_sign_overlap_info']) -_OBJECTOVERLAPINFO.fields_by_name['yield_sign_overlap_info'].containing_oneof = _OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'] -_OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'].fields.append( - _OBJECTOVERLAPINFO.fields_by_name['clear_area_overlap_info']) -_OBJECTOVERLAPINFO.fields_by_name['clear_area_overlap_info'].containing_oneof = _OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'] -_OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'].fields.append( - _OBJECTOVERLAPINFO.fields_by_name['speed_bump_overlap_info']) -_OBJECTOVERLAPINFO.fields_by_name['speed_bump_overlap_info'].containing_oneof = _OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'] -_OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'].fields.append( - _OBJECTOVERLAPINFO.fields_by_name['parking_space_overlap_info']) -_OBJECTOVERLAPINFO.fields_by_name['parking_space_overlap_info'].containing_oneof = _OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'] -_OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'].fields.append( - _OBJECTOVERLAPINFO.fields_by_name['pnc_junction_overlap_info']) -_OBJECTOVERLAPINFO.fields_by_name['pnc_junction_overlap_info'].containing_oneof = _OBJECTOVERLAPINFO.oneofs_by_name['overlap_info'] -_OVERLAP.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_OVERLAP.fields_by_name['object'].message_type = _OBJECTOVERLAPINFO -_OVERLAP.fields_by_name['region_overlap'].message_type = _REGIONOVERLAPINFO -DESCRIPTOR.message_types_by_name['LaneOverlapInfo'] = _LANEOVERLAPINFO -DESCRIPTOR.message_types_by_name['SignalOverlapInfo'] = _SIGNALOVERLAPINFO -DESCRIPTOR.message_types_by_name['StopSignOverlapInfo'] = _STOPSIGNOVERLAPINFO -DESCRIPTOR.message_types_by_name['CrosswalkOverlapInfo'] = _CROSSWALKOVERLAPINFO -DESCRIPTOR.message_types_by_name['JunctionOverlapInfo'] = _JUNCTIONOVERLAPINFO -DESCRIPTOR.message_types_by_name['YieldOverlapInfo'] = _YIELDOVERLAPINFO -DESCRIPTOR.message_types_by_name['ClearAreaOverlapInfo'] = _CLEARAREAOVERLAPINFO -DESCRIPTOR.message_types_by_name['SpeedBumpOverlapInfo'] = _SPEEDBUMPOVERLAPINFO -DESCRIPTOR.message_types_by_name['ParkingSpaceOverlapInfo'] = _PARKINGSPACEOVERLAPINFO -DESCRIPTOR.message_types_by_name['PNCJunctionOverlapInfo'] = _PNCJUNCTIONOVERLAPINFO -DESCRIPTOR.message_types_by_name['RegionOverlapInfo'] = _REGIONOVERLAPINFO -DESCRIPTOR.message_types_by_name['ObjectOverlapInfo'] = _OBJECTOVERLAPINFO -DESCRIPTOR.message_types_by_name['Overlap'] = _OVERLAP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -LaneOverlapInfo = _reflection.GeneratedProtocolMessageType('LaneOverlapInfo', (_message.Message,), dict( - DESCRIPTOR = _LANEOVERLAPINFO, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.LaneOverlapInfo) - )) -_sym_db.RegisterMessage(LaneOverlapInfo) - -SignalOverlapInfo = _reflection.GeneratedProtocolMessageType('SignalOverlapInfo', (_message.Message,), dict( - DESCRIPTOR = _SIGNALOVERLAPINFO, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.SignalOverlapInfo) - )) -_sym_db.RegisterMessage(SignalOverlapInfo) - -StopSignOverlapInfo = _reflection.GeneratedProtocolMessageType('StopSignOverlapInfo', (_message.Message,), dict( - DESCRIPTOR = _STOPSIGNOVERLAPINFO, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.StopSignOverlapInfo) - )) -_sym_db.RegisterMessage(StopSignOverlapInfo) - -CrosswalkOverlapInfo = _reflection.GeneratedProtocolMessageType('CrosswalkOverlapInfo', (_message.Message,), dict( - DESCRIPTOR = _CROSSWALKOVERLAPINFO, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.CrosswalkOverlapInfo) - )) -_sym_db.RegisterMessage(CrosswalkOverlapInfo) - -JunctionOverlapInfo = _reflection.GeneratedProtocolMessageType('JunctionOverlapInfo', (_message.Message,), dict( - DESCRIPTOR = _JUNCTIONOVERLAPINFO, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.JunctionOverlapInfo) - )) -_sym_db.RegisterMessage(JunctionOverlapInfo) - -YieldOverlapInfo = _reflection.GeneratedProtocolMessageType('YieldOverlapInfo', (_message.Message,), dict( - DESCRIPTOR = _YIELDOVERLAPINFO, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.YieldOverlapInfo) - )) -_sym_db.RegisterMessage(YieldOverlapInfo) - -ClearAreaOverlapInfo = _reflection.GeneratedProtocolMessageType('ClearAreaOverlapInfo', (_message.Message,), dict( - DESCRIPTOR = _CLEARAREAOVERLAPINFO, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.ClearAreaOverlapInfo) - )) -_sym_db.RegisterMessage(ClearAreaOverlapInfo) - -SpeedBumpOverlapInfo = _reflection.GeneratedProtocolMessageType('SpeedBumpOverlapInfo', (_message.Message,), dict( - DESCRIPTOR = _SPEEDBUMPOVERLAPINFO, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.SpeedBumpOverlapInfo) - )) -_sym_db.RegisterMessage(SpeedBumpOverlapInfo) - -ParkingSpaceOverlapInfo = _reflection.GeneratedProtocolMessageType('ParkingSpaceOverlapInfo', (_message.Message,), dict( - DESCRIPTOR = _PARKINGSPACEOVERLAPINFO, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.ParkingSpaceOverlapInfo) - )) -_sym_db.RegisterMessage(ParkingSpaceOverlapInfo) - -PNCJunctionOverlapInfo = _reflection.GeneratedProtocolMessageType('PNCJunctionOverlapInfo', (_message.Message,), dict( - DESCRIPTOR = _PNCJUNCTIONOVERLAPINFO, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.PNCJunctionOverlapInfo) - )) -_sym_db.RegisterMessage(PNCJunctionOverlapInfo) - -RegionOverlapInfo = _reflection.GeneratedProtocolMessageType('RegionOverlapInfo', (_message.Message,), dict( - DESCRIPTOR = _REGIONOVERLAPINFO, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.RegionOverlapInfo) - )) -_sym_db.RegisterMessage(RegionOverlapInfo) - -ObjectOverlapInfo = _reflection.GeneratedProtocolMessageType('ObjectOverlapInfo', (_message.Message,), dict( - DESCRIPTOR = _OBJECTOVERLAPINFO, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.ObjectOverlapInfo) - )) -_sym_db.RegisterMessage(ObjectOverlapInfo) - -Overlap = _reflection.GeneratedProtocolMessageType('Overlap', (_message.Message,), dict( - DESCRIPTOR = _OVERLAP, - __module__ = 'modules.map.proto.map_overlap_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Overlap) - )) -_sym_db.RegisterMessage(Overlap) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_parking_space_pb2.py b/modules/map/proto/map_parking_space_pb2.py deleted file mode 100644 index 687bd0f..0000000 --- a/modules/map/proto/map_parking_space_pb2.py +++ /dev/null @@ -1,152 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_parking_space.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 -from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_parking_space.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n)modules/map/proto/map_parking_space.proto\x12\x0c\x61pollo.hdmap\x1a$modules/map/proto/map_geometry.proto\x1a\x1emodules/map/proto/map_id.proto\"\x8b\x01\n\x0cParkingSpace\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12&\n\x07polygon\x18\x02 \x01(\x0b\x32\x15.apollo.hdmap.Polygon\x12$\n\noverlap_id\x18\x03 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12\x0f\n\x07heading\x18\x04 \x01(\x01\"x\n\nParkingLot\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12&\n\x07polygon\x18\x02 \x01(\x0b\x32\x15.apollo.hdmap.Polygon\x12$\n\noverlap_id\x18\x03 \x03(\x0b\x32\x10.apollo.hdmap.Id') - , - dependencies=[modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__id__pb2.DESCRIPTOR,]) - - - - -_PARKINGSPACE = _descriptor.Descriptor( - name='ParkingSpace', - full_name='apollo.hdmap.ParkingSpace', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.ParkingSpace.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='polygon', full_name='apollo.hdmap.ParkingSpace.polygon', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='overlap_id', full_name='apollo.hdmap.ParkingSpace.overlap_id', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='heading', full_name='apollo.hdmap.ParkingSpace.heading', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=269, -) - - -_PARKINGLOT = _descriptor.Descriptor( - name='ParkingLot', - full_name='apollo.hdmap.ParkingLot', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.ParkingLot.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='polygon', full_name='apollo.hdmap.ParkingLot.polygon', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='overlap_id', full_name='apollo.hdmap.ParkingLot.overlap_id', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=271, - serialized_end=391, -) - -_PARKINGSPACE.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_PARKINGSPACE.fields_by_name['polygon'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._POLYGON -_PARKINGSPACE.fields_by_name['overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_PARKINGLOT.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_PARKINGLOT.fields_by_name['polygon'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._POLYGON -_PARKINGLOT.fields_by_name['overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -DESCRIPTOR.message_types_by_name['ParkingSpace'] = _PARKINGSPACE -DESCRIPTOR.message_types_by_name['ParkingLot'] = _PARKINGLOT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ParkingSpace = _reflection.GeneratedProtocolMessageType('ParkingSpace', (_message.Message,), dict( - DESCRIPTOR = _PARKINGSPACE, - __module__ = 'modules.map.proto.map_parking_space_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.ParkingSpace) - )) -_sym_db.RegisterMessage(ParkingSpace) - -ParkingLot = _reflection.GeneratedProtocolMessageType('ParkingLot', (_message.Message,), dict( - DESCRIPTOR = _PARKINGLOT, - __module__ = 'modules.map.proto.map_parking_space_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.ParkingLot) - )) -_sym_db.RegisterMessage(ParkingLot) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_pb2.py b/modules/map/proto/map_pb2.py deleted file mode 100644 index e6efc35..0000000 --- a/modules/map/proto/map_pb2.py +++ /dev/null @@ -1,335 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_clear_area_pb2 as modules_dot_map_dot_proto_dot_map__clear__area__pb2 -from modules.map.proto import map_crosswalk_pb2 as modules_dot_map_dot_proto_dot_map__crosswalk__pb2 -from modules.map.proto import map_junction_pb2 as modules_dot_map_dot_proto_dot_map__junction__pb2 -from modules.map.proto import map_lane_pb2 as modules_dot_map_dot_proto_dot_map__lane__pb2 -from modules.map.proto import map_overlap_pb2 as modules_dot_map_dot_proto_dot_map__overlap__pb2 -from modules.map.proto import map_signal_pb2 as modules_dot_map_dot_proto_dot_map__signal__pb2 -from modules.map.proto import map_speed_bump_pb2 as modules_dot_map_dot_proto_dot_map__speed__bump__pb2 -from modules.map.proto import map_stop_sign_pb2 as modules_dot_map_dot_proto_dot_map__stop__sign__pb2 -from modules.map.proto import map_yield_sign_pb2 as modules_dot_map_dot_proto_dot_map__yield__sign__pb2 -from modules.map.proto import map_road_pb2 as modules_dot_map_dot_proto_dot_map__road__pb2 -from modules.map.proto import map_parking_space_pb2 as modules_dot_map_dot_proto_dot_map__parking__space__pb2 -from modules.map.proto import map_pnc_junction_pb2 as modules_dot_map_dot_proto_dot_map__pnc__junction__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n\x1bmodules/map/proto/map.proto\x12\x0c\x61pollo.hdmap\x1a&modules/map/proto/map_clear_area.proto\x1a%modules/map/proto/map_crosswalk.proto\x1a$modules/map/proto/map_junction.proto\x1a modules/map/proto/map_lane.proto\x1a#modules/map/proto/map_overlap.proto\x1a\"modules/map/proto/map_signal.proto\x1a&modules/map/proto/map_speed_bump.proto\x1a%modules/map/proto/map_stop_sign.proto\x1a&modules/map/proto/map_yield_sign.proto\x1a modules/map/proto/map_road.proto\x1a)modules/map/proto/map_parking_space.proto\x1a(modules/map/proto/map_pnc_junction.proto\"\x1a\n\nProjection\x12\x0c\n\x04proj\x18\x01 \x01(\t\"\xeb\x01\n\x06Header\x12\x0f\n\x07version\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x61te\x18\x02 \x01(\x0c\x12,\n\nprojection\x18\x03 \x01(\x0b\x32\x18.apollo.hdmap.Projection\x12\x10\n\x08\x64istrict\x18\x04 \x01(\x0c\x12\x12\n\ngeneration\x18\x05 \x01(\x0c\x12\x11\n\trev_major\x18\x06 \x01(\x0c\x12\x11\n\trev_minor\x18\x07 \x01(\x0c\x12\x0c\n\x04left\x18\x08 \x01(\x01\x12\x0b\n\x03top\x18\t \x01(\x01\x12\r\n\x05right\x18\n \x01(\x01\x12\x0e\n\x06\x62ottom\x18\x0b \x01(\x01\x12\x0e\n\x06vendor\x18\x0c \x01(\x0c\"\xa4\x04\n\x03Map\x12$\n\x06header\x18\x01 \x01(\x0b\x32\x14.apollo.hdmap.Header\x12*\n\tcrosswalk\x18\x02 \x03(\x0b\x32\x17.apollo.hdmap.Crosswalk\x12(\n\x08junction\x18\x03 \x03(\x0b\x32\x16.apollo.hdmap.Junction\x12 \n\x04lane\x18\x04 \x03(\x0b\x32\x12.apollo.hdmap.Lane\x12)\n\tstop_sign\x18\x05 \x03(\x0b\x32\x16.apollo.hdmap.StopSign\x12$\n\x06signal\x18\x06 \x03(\x0b\x32\x14.apollo.hdmap.Signal\x12&\n\x05yield\x18\x07 \x03(\x0b\x32\x17.apollo.hdmap.YieldSign\x12&\n\x07overlap\x18\x08 \x03(\x0b\x32\x15.apollo.hdmap.Overlap\x12+\n\nclear_area\x18\t \x03(\x0b\x32\x17.apollo.hdmap.ClearArea\x12+\n\nspeed_bump\x18\n \x03(\x0b\x32\x17.apollo.hdmap.SpeedBump\x12 \n\x04road\x18\x0b \x03(\x0b\x32\x12.apollo.hdmap.Road\x12\x31\n\rparking_space\x18\x0c \x03(\x0b\x32\x1a.apollo.hdmap.ParkingSpace\x12/\n\x0cpnc_junction\x18\r \x03(\x0b\x32\x19.apollo.hdmap.PNCJunction') - , - dependencies=[modules_dot_map_dot_proto_dot_map__clear__area__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__crosswalk__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__junction__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__lane__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__overlap__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__signal__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__speed__bump__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__stop__sign__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__yield__sign__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__road__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__parking__space__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__pnc__junction__pb2.DESCRIPTOR,]) - - - - -_PROJECTION = _descriptor.Descriptor( - name='Projection', - full_name='apollo.hdmap.Projection', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='proj', full_name='apollo.hdmap.Projection.proj', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=507, - serialized_end=533, -) - - -_HEADER = _descriptor.Descriptor( - name='Header', - full_name='apollo.hdmap.Header', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='version', full_name='apollo.hdmap.Header.version', index=0, - number=1, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='date', full_name='apollo.hdmap.Header.date', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='projection', full_name='apollo.hdmap.Header.projection', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='district', full_name='apollo.hdmap.Header.district', index=3, - number=4, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='generation', full_name='apollo.hdmap.Header.generation', index=4, - number=5, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='rev_major', full_name='apollo.hdmap.Header.rev_major', index=5, - number=6, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='rev_minor', full_name='apollo.hdmap.Header.rev_minor', index=6, - number=7, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='left', full_name='apollo.hdmap.Header.left', index=7, - number=8, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='top', full_name='apollo.hdmap.Header.top', index=8, - number=9, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='right', full_name='apollo.hdmap.Header.right', index=9, - number=10, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='bottom', full_name='apollo.hdmap.Header.bottom', index=10, - number=11, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='vendor', full_name='apollo.hdmap.Header.vendor', index=11, - number=12, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=536, - serialized_end=771, -) - - -_MAP = _descriptor.Descriptor( - name='Map', - full_name='apollo.hdmap.Map', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='header', full_name='apollo.hdmap.Map.header', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='crosswalk', full_name='apollo.hdmap.Map.crosswalk', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='junction', full_name='apollo.hdmap.Map.junction', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='lane', full_name='apollo.hdmap.Map.lane', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='stop_sign', full_name='apollo.hdmap.Map.stop_sign', index=4, - number=5, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='signal', full_name='apollo.hdmap.Map.signal', index=5, - number=6, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='yield', full_name='apollo.hdmap.Map.yield', index=6, - number=7, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='overlap', full_name='apollo.hdmap.Map.overlap', index=7, - number=8, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='clear_area', full_name='apollo.hdmap.Map.clear_area', index=8, - number=9, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='speed_bump', full_name='apollo.hdmap.Map.speed_bump', index=9, - number=10, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='road', full_name='apollo.hdmap.Map.road', index=10, - number=11, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='parking_space', full_name='apollo.hdmap.Map.parking_space', index=11, - number=12, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='pnc_junction', full_name='apollo.hdmap.Map.pnc_junction', index=12, - number=13, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=774, - serialized_end=1322, -) - -_HEADER.fields_by_name['projection'].message_type = _PROJECTION -_MAP.fields_by_name['header'].message_type = _HEADER -_MAP.fields_by_name['crosswalk'].message_type = modules_dot_map_dot_proto_dot_map__crosswalk__pb2._CROSSWALK -_MAP.fields_by_name['junction'].message_type = modules_dot_map_dot_proto_dot_map__junction__pb2._JUNCTION -_MAP.fields_by_name['lane'].message_type = modules_dot_map_dot_proto_dot_map__lane__pb2._LANE -_MAP.fields_by_name['stop_sign'].message_type = modules_dot_map_dot_proto_dot_map__stop__sign__pb2._STOPSIGN -_MAP.fields_by_name['signal'].message_type = modules_dot_map_dot_proto_dot_map__signal__pb2._SIGNAL -_MAP.fields_by_name['yield'].message_type = modules_dot_map_dot_proto_dot_map__yield__sign__pb2._YIELDSIGN -_MAP.fields_by_name['overlap'].message_type = modules_dot_map_dot_proto_dot_map__overlap__pb2._OVERLAP -_MAP.fields_by_name['clear_area'].message_type = modules_dot_map_dot_proto_dot_map__clear__area__pb2._CLEARAREA -_MAP.fields_by_name['speed_bump'].message_type = modules_dot_map_dot_proto_dot_map__speed__bump__pb2._SPEEDBUMP -_MAP.fields_by_name['road'].message_type = modules_dot_map_dot_proto_dot_map__road__pb2._ROAD -_MAP.fields_by_name['parking_space'].message_type = modules_dot_map_dot_proto_dot_map__parking__space__pb2._PARKINGSPACE -_MAP.fields_by_name['pnc_junction'].message_type = modules_dot_map_dot_proto_dot_map__pnc__junction__pb2._PNCJUNCTION -DESCRIPTOR.message_types_by_name['Projection'] = _PROJECTION -DESCRIPTOR.message_types_by_name['Header'] = _HEADER -DESCRIPTOR.message_types_by_name['Map'] = _MAP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Projection = _reflection.GeneratedProtocolMessageType('Projection', (_message.Message,), dict( - DESCRIPTOR = _PROJECTION, - __module__ = 'modules.map.proto.map_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Projection) - )) -_sym_db.RegisterMessage(Projection) - -Header = _reflection.GeneratedProtocolMessageType('Header', (_message.Message,), dict( - DESCRIPTOR = _HEADER, - __module__ = 'modules.map.proto.map_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Header) - )) -_sym_db.RegisterMessage(Header) - -Map = _reflection.GeneratedProtocolMessageType('Map', (_message.Message,), dict( - DESCRIPTOR = _MAP, - __module__ = 'modules.map.proto.map_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Map) - )) -_sym_db.RegisterMessage(Map) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_pnc_junction_pb2.py b/modules/map/proto/map_pnc_junction_pb2.py deleted file mode 100644 index 1b97407..0000000 --- a/modules/map/proto/map_pnc_junction_pb2.py +++ /dev/null @@ -1,253 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_pnc_junction.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2 -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_pnc_junction.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n(modules/map/proto/map_pnc_junction.proto\x12\x0c\x61pollo.hdmap\x1a\x1emodules/map/proto/map_id.proto\x1a$modules/map/proto/map_geometry.proto\"\x92\x02\n\x07Passage\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12#\n\tsignal_id\x18\x02 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12\"\n\x08yield_id\x18\x03 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12&\n\x0cstop_sign_id\x18\x04 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12!\n\x07lane_id\x18\x05 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12(\n\x04type\x18\x06 \x01(\x0e\x32\x1a.apollo.hdmap.Passage.Type\"+\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0c\n\x08\x45NTRANCE\x10\x01\x12\x08\n\x04\x45XIT\x10\x02\"T\n\x0cPassageGroup\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12&\n\x07passage\x18\x02 \x03(\x0b\x32\x15.apollo.hdmap.Passage\"\xac\x01\n\x0bPNCJunction\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12&\n\x07polygon\x18\x02 \x01(\x0b\x32\x15.apollo.hdmap.Polygon\x12$\n\noverlap_id\x18\x03 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12\x31\n\rpassage_group\x18\x04 \x03(\x0b\x32\x1a.apollo.hdmap.PassageGroup') - , - dependencies=[modules_dot_map_dot_proto_dot_map__id__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,]) - - - -_PASSAGE_TYPE = _descriptor.EnumDescriptor( - name='Type', - full_name='apollo.hdmap.Passage.Type', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ENTRANCE', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXIT', index=2, number=2, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=360, - serialized_end=403, -) -_sym_db.RegisterEnumDescriptor(_PASSAGE_TYPE) - - -_PASSAGE = _descriptor.Descriptor( - name='Passage', - full_name='apollo.hdmap.Passage', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.Passage.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='signal_id', full_name='apollo.hdmap.Passage.signal_id', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='yield_id', full_name='apollo.hdmap.Passage.yield_id', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='stop_sign_id', full_name='apollo.hdmap.Passage.stop_sign_id', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='lane_id', full_name='apollo.hdmap.Passage.lane_id', index=4, - number=5, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='type', full_name='apollo.hdmap.Passage.type', index=5, - number=6, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PASSAGE_TYPE, - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=403, -) - - -_PASSAGEGROUP = _descriptor.Descriptor( - name='PassageGroup', - full_name='apollo.hdmap.PassageGroup', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.PassageGroup.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='passage', full_name='apollo.hdmap.PassageGroup.passage', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=405, - serialized_end=489, -) - - -_PNCJUNCTION = _descriptor.Descriptor( - name='PNCJunction', - full_name='apollo.hdmap.PNCJunction', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.PNCJunction.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='polygon', full_name='apollo.hdmap.PNCJunction.polygon', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='overlap_id', full_name='apollo.hdmap.PNCJunction.overlap_id', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='passage_group', full_name='apollo.hdmap.PNCJunction.passage_group', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=492, - serialized_end=664, -) - -_PASSAGE.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_PASSAGE.fields_by_name['signal_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_PASSAGE.fields_by_name['yield_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_PASSAGE.fields_by_name['stop_sign_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_PASSAGE.fields_by_name['lane_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_PASSAGE.fields_by_name['type'].enum_type = _PASSAGE_TYPE -_PASSAGE_TYPE.containing_type = _PASSAGE -_PASSAGEGROUP.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_PASSAGEGROUP.fields_by_name['passage'].message_type = _PASSAGE -_PNCJUNCTION.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_PNCJUNCTION.fields_by_name['polygon'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._POLYGON -_PNCJUNCTION.fields_by_name['overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_PNCJUNCTION.fields_by_name['passage_group'].message_type = _PASSAGEGROUP -DESCRIPTOR.message_types_by_name['Passage'] = _PASSAGE -DESCRIPTOR.message_types_by_name['PassageGroup'] = _PASSAGEGROUP -DESCRIPTOR.message_types_by_name['PNCJunction'] = _PNCJUNCTION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Passage = _reflection.GeneratedProtocolMessageType('Passage', (_message.Message,), dict( - DESCRIPTOR = _PASSAGE, - __module__ = 'modules.map.proto.map_pnc_junction_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Passage) - )) -_sym_db.RegisterMessage(Passage) - -PassageGroup = _reflection.GeneratedProtocolMessageType('PassageGroup', (_message.Message,), dict( - DESCRIPTOR = _PASSAGEGROUP, - __module__ = 'modules.map.proto.map_pnc_junction_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.PassageGroup) - )) -_sym_db.RegisterMessage(PassageGroup) - -PNCJunction = _reflection.GeneratedProtocolMessageType('PNCJunction', (_message.Message,), dict( - DESCRIPTOR = _PNCJUNCTION, - __module__ = 'modules.map.proto.map_pnc_junction_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.PNCJunction) - )) -_sym_db.RegisterMessage(PNCJunction) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_road_pb2.py b/modules/map/proto/map_road_pb2.py deleted file mode 100644 index 106c218..0000000 --- a/modules/map/proto/map_road_pb2.py +++ /dev/null @@ -1,401 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_road.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 -from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_road.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n modules/map/proto/map_road.proto\x12\x0c\x61pollo.hdmap\x1a$modules/map/proto/map_geometry.proto\x1a\x1emodules/map/proto/map_id.proto\"\xa9\x01\n\x0c\x42oundaryEdge\x12\"\n\x05\x63urve\x18\x01 \x01(\x0b\x32\x13.apollo.hdmap.Curve\x12-\n\x04type\x18\x02 \x01(\x0e\x32\x1f.apollo.hdmap.BoundaryEdge.Type\"F\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06NORMAL\x10\x01\x12\x11\n\rLEFT_BOUNDARY\x10\x02\x12\x12\n\x0eRIGHT_BOUNDARY\x10\x03\";\n\x0f\x42oundaryPolygon\x12(\n\x04\x65\x64ge\x18\x01 \x03(\x0b\x32\x1a.apollo.hdmap.BoundaryEdge\"q\n\x0cRoadBoundary\x12\x34\n\router_polygon\x18\x01 \x01(\x0b\x32\x1d.apollo.hdmap.BoundaryPolygon\x12+\n\x04hole\x18\x02 \x03(\x0b\x32\x1d.apollo.hdmap.BoundaryPolygon\"d\n\x0fRoadROIBoundary\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12\x33\n\x0froad_boundaries\x18\x02 \x03(\x0b\x32\x1a.apollo.hdmap.RoadBoundary\"|\n\x0bRoadSection\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12!\n\x07lane_id\x18\x02 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12,\n\x08\x62oundary\x18\x03 \x01(\x0b\x32\x1a.apollo.hdmap.RoadBoundary\"\xd9\x01\n\x04Road\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12*\n\x07section\x18\x02 \x03(\x0b\x32\x19.apollo.hdmap.RoadSection\x12%\n\x0bjunction_id\x18\x03 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12%\n\x04type\x18\x04 \x01(\x0e\x32\x17.apollo.hdmap.Road.Type\"9\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07HIGHWAY\x10\x01\x12\r\n\tCITY_ROAD\x10\x02\x12\x08\n\x04PARK\x10\x03') - , - dependencies=[modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__id__pb2.DESCRIPTOR,]) - - - -_BOUNDARYEDGE_TYPE = _descriptor.EnumDescriptor( - name='Type', - full_name='apollo.hdmap.BoundaryEdge.Type', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NORMAL', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LEFT_BOUNDARY', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RIGHT_BOUNDARY', index=3, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=220, - serialized_end=290, -) -_sym_db.RegisterEnumDescriptor(_BOUNDARYEDGE_TYPE) - -_ROAD_TYPE = _descriptor.EnumDescriptor( - name='Type', - full_name='apollo.hdmap.Road.Type', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HIGHWAY', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CITY_ROAD', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PARK', index=3, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=857, - serialized_end=914, -) -_sym_db.RegisterEnumDescriptor(_ROAD_TYPE) - - -_BOUNDARYEDGE = _descriptor.Descriptor( - name='BoundaryEdge', - full_name='apollo.hdmap.BoundaryEdge', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='curve', full_name='apollo.hdmap.BoundaryEdge.curve', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='type', full_name='apollo.hdmap.BoundaryEdge.type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _BOUNDARYEDGE_TYPE, - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=121, - serialized_end=290, -) - - -_BOUNDARYPOLYGON = _descriptor.Descriptor( - name='BoundaryPolygon', - full_name='apollo.hdmap.BoundaryPolygon', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='edge', full_name='apollo.hdmap.BoundaryPolygon.edge', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=292, - serialized_end=351, -) - - -_ROADBOUNDARY = _descriptor.Descriptor( - name='RoadBoundary', - full_name='apollo.hdmap.RoadBoundary', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='outer_polygon', full_name='apollo.hdmap.RoadBoundary.outer_polygon', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='hole', full_name='apollo.hdmap.RoadBoundary.hole', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=353, - serialized_end=466, -) - - -_ROADROIBOUNDARY = _descriptor.Descriptor( - name='RoadROIBoundary', - full_name='apollo.hdmap.RoadROIBoundary', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.RoadROIBoundary.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='road_boundaries', full_name='apollo.hdmap.RoadROIBoundary.road_boundaries', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=468, - serialized_end=568, -) - - -_ROADSECTION = _descriptor.Descriptor( - name='RoadSection', - full_name='apollo.hdmap.RoadSection', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.RoadSection.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='lane_id', full_name='apollo.hdmap.RoadSection.lane_id', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='boundary', full_name='apollo.hdmap.RoadSection.boundary', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=570, - serialized_end=694, -) - - -_ROAD = _descriptor.Descriptor( - name='Road', - full_name='apollo.hdmap.Road', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.Road.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='section', full_name='apollo.hdmap.Road.section', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='junction_id', full_name='apollo.hdmap.Road.junction_id', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='type', full_name='apollo.hdmap.Road.type', index=3, - number=4, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ROAD_TYPE, - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=697, - serialized_end=914, -) - -_BOUNDARYEDGE.fields_by_name['curve'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._CURVE -_BOUNDARYEDGE.fields_by_name['type'].enum_type = _BOUNDARYEDGE_TYPE -_BOUNDARYEDGE_TYPE.containing_type = _BOUNDARYEDGE -_BOUNDARYPOLYGON.fields_by_name['edge'].message_type = _BOUNDARYEDGE -_ROADBOUNDARY.fields_by_name['outer_polygon'].message_type = _BOUNDARYPOLYGON -_ROADBOUNDARY.fields_by_name['hole'].message_type = _BOUNDARYPOLYGON -_ROADROIBOUNDARY.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_ROADROIBOUNDARY.fields_by_name['road_boundaries'].message_type = _ROADBOUNDARY -_ROADSECTION.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_ROADSECTION.fields_by_name['lane_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_ROADSECTION.fields_by_name['boundary'].message_type = _ROADBOUNDARY -_ROAD.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_ROAD.fields_by_name['section'].message_type = _ROADSECTION -_ROAD.fields_by_name['junction_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_ROAD.fields_by_name['type'].enum_type = _ROAD_TYPE -_ROAD_TYPE.containing_type = _ROAD -DESCRIPTOR.message_types_by_name['BoundaryEdge'] = _BOUNDARYEDGE -DESCRIPTOR.message_types_by_name['BoundaryPolygon'] = _BOUNDARYPOLYGON -DESCRIPTOR.message_types_by_name['RoadBoundary'] = _ROADBOUNDARY -DESCRIPTOR.message_types_by_name['RoadROIBoundary'] = _ROADROIBOUNDARY -DESCRIPTOR.message_types_by_name['RoadSection'] = _ROADSECTION -DESCRIPTOR.message_types_by_name['Road'] = _ROAD -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BoundaryEdge = _reflection.GeneratedProtocolMessageType('BoundaryEdge', (_message.Message,), dict( - DESCRIPTOR = _BOUNDARYEDGE, - __module__ = 'modules.map.proto.map_road_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.BoundaryEdge) - )) -_sym_db.RegisterMessage(BoundaryEdge) - -BoundaryPolygon = _reflection.GeneratedProtocolMessageType('BoundaryPolygon', (_message.Message,), dict( - DESCRIPTOR = _BOUNDARYPOLYGON, - __module__ = 'modules.map.proto.map_road_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.BoundaryPolygon) - )) -_sym_db.RegisterMessage(BoundaryPolygon) - -RoadBoundary = _reflection.GeneratedProtocolMessageType('RoadBoundary', (_message.Message,), dict( - DESCRIPTOR = _ROADBOUNDARY, - __module__ = 'modules.map.proto.map_road_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.RoadBoundary) - )) -_sym_db.RegisterMessage(RoadBoundary) - -RoadROIBoundary = _reflection.GeneratedProtocolMessageType('RoadROIBoundary', (_message.Message,), dict( - DESCRIPTOR = _ROADROIBOUNDARY, - __module__ = 'modules.map.proto.map_road_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.RoadROIBoundary) - )) -_sym_db.RegisterMessage(RoadROIBoundary) - -RoadSection = _reflection.GeneratedProtocolMessageType('RoadSection', (_message.Message,), dict( - DESCRIPTOR = _ROADSECTION, - __module__ = 'modules.map.proto.map_road_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.RoadSection) - )) -_sym_db.RegisterMessage(RoadSection) - -Road = _reflection.GeneratedProtocolMessageType('Road', (_message.Message,), dict( - DESCRIPTOR = _ROAD, - __module__ = 'modules.map.proto.map_road_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Road) - )) -_sym_db.RegisterMessage(Road) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_signal_pb2.py b/modules/map/proto/map_signal_pb2.py deleted file mode 100644 index 943c49c..0000000 --- a/modules/map/proto/map_signal_pb2.py +++ /dev/null @@ -1,330 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_signal.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.common.proto import geometry_pb2 as modules_dot_common_dot_proto_dot_geometry__pb2 -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 -from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_signal.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n\"modules/map/proto/map_signal.proto\x12\x0c\x61pollo.hdmap\x1a#modules/common/proto/geometry.proto\x1a$modules/map/proto/map_geometry.proto\x1a\x1emodules/map/proto/map_id.proto\"\xa1\x02\n\tSubsignal\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x1c.apollo.hdmap.Subsignal.Type\x12)\n\x08location\x18\x03 \x01(\x0b\x32\x17.apollo.common.PointENU\"\x9e\x01\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06\x43IRCLE\x10\x02\x12\x0e\n\nARROW_LEFT\x10\x03\x12\x11\n\rARROW_FORWARD\x10\x04\x12\x0f\n\x0b\x41RROW_RIGHT\x10\x05\x12\x1a\n\x16\x41RROW_LEFT_AND_FORWARD\x10\x06\x12\x1b\n\x17\x41RROW_RIGHT_AND_FORWARD\x10\x07\x12\x10\n\x0c\x41RROW_U_TURN\x10\x08\"a\n\x08SignInfo\x12)\n\x04type\x18\x01 \x01(\x0e\x32\x1b.apollo.hdmap.SignInfo.Type\"*\n\x04Type\x12\x08\n\x04None\x10\x00\x12\x18\n\x14NO_RIGHT_TURN_ON_RED\x10\x01\"\x92\x03\n\x06Signal\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12\'\n\x08\x62oundary\x18\x02 \x01(\x0b\x32\x15.apollo.hdmap.Polygon\x12*\n\tsubsignal\x18\x03 \x03(\x0b\x32\x17.apollo.hdmap.Subsignal\x12$\n\noverlap_id\x18\x04 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12\'\n\x04type\x18\x05 \x01(\x0e\x32\x19.apollo.hdmap.Signal.Type\x12&\n\tstop_line\x18\x06 \x03(\x0b\x32\x13.apollo.hdmap.Curve\x12)\n\tsign_info\x18\x07 \x03(\x0b\x32\x16.apollo.hdmap.SignInfo\"s\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x14\n\x10MIX_2_HORIZONTAL\x10\x02\x12\x12\n\x0eMIX_2_VERTICAL\x10\x03\x12\x14\n\x10MIX_3_HORIZONTAL\x10\x04\x12\x12\n\x0eMIX_3_VERTICAL\x10\x05\x12\n\n\x06SINGLE\x10\x06') - , - dependencies=[modules_dot_common_dot_proto_dot_geometry__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__id__pb2.DESCRIPTOR,]) - - - -_SUBSIGNAL_TYPE = _descriptor.EnumDescriptor( - name='Type', - full_name='apollo.hdmap.Subsignal.Type', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CIRCLE', index=1, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ARROW_LEFT', index=2, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ARROW_FORWARD', index=3, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ARROW_RIGHT', index=4, number=5, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ARROW_LEFT_AND_FORWARD', index=5, number=6, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ARROW_RIGHT_AND_FORWARD', index=6, number=7, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ARROW_U_TURN', index=7, number=8, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=291, - serialized_end=449, -) -_sym_db.RegisterEnumDescriptor(_SUBSIGNAL_TYPE) - -_SIGNINFO_TYPE = _descriptor.EnumDescriptor( - name='Type', - full_name='apollo.hdmap.SignInfo.Type', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='None', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_RIGHT_TURN_ON_RED', index=1, number=1, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=506, - serialized_end=548, -) -_sym_db.RegisterEnumDescriptor(_SIGNINFO_TYPE) - -_SIGNAL_TYPE = _descriptor.EnumDescriptor( - name='Type', - full_name='apollo.hdmap.Signal.Type', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MIX_2_HORIZONTAL', index=1, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MIX_2_VERTICAL', index=2, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MIX_3_HORIZONTAL', index=3, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MIX_3_VERTICAL', index=4, number=5, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SINGLE', index=5, number=6, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=838, - serialized_end=953, -) -_sym_db.RegisterEnumDescriptor(_SIGNAL_TYPE) - - -_SUBSIGNAL = _descriptor.Descriptor( - name='Subsignal', - full_name='apollo.hdmap.Subsignal', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.Subsignal.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='type', full_name='apollo.hdmap.Subsignal.type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='location', full_name='apollo.hdmap.Subsignal.location', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SUBSIGNAL_TYPE, - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=160, - serialized_end=449, -) - - -_SIGNINFO = _descriptor.Descriptor( - name='SignInfo', - full_name='apollo.hdmap.SignInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='apollo.hdmap.SignInfo.type', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SIGNINFO_TYPE, - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=451, - serialized_end=548, -) - - -_SIGNAL = _descriptor.Descriptor( - name='Signal', - full_name='apollo.hdmap.Signal', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.Signal.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='boundary', full_name='apollo.hdmap.Signal.boundary', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='subsignal', full_name='apollo.hdmap.Signal.subsignal', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='overlap_id', full_name='apollo.hdmap.Signal.overlap_id', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='type', full_name='apollo.hdmap.Signal.type', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='stop_line', full_name='apollo.hdmap.Signal.stop_line', index=5, - number=6, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='sign_info', full_name='apollo.hdmap.Signal.sign_info', index=6, - number=7, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SIGNAL_TYPE, - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=551, - serialized_end=953, -) - -_SUBSIGNAL.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_SUBSIGNAL.fields_by_name['type'].enum_type = _SUBSIGNAL_TYPE -_SUBSIGNAL.fields_by_name['location'].message_type = modules_dot_common_dot_proto_dot_geometry__pb2._POINTENU -_SUBSIGNAL_TYPE.containing_type = _SUBSIGNAL -_SIGNINFO.fields_by_name['type'].enum_type = _SIGNINFO_TYPE -_SIGNINFO_TYPE.containing_type = _SIGNINFO -_SIGNAL.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_SIGNAL.fields_by_name['boundary'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._POLYGON -_SIGNAL.fields_by_name['subsignal'].message_type = _SUBSIGNAL -_SIGNAL.fields_by_name['overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_SIGNAL.fields_by_name['type'].enum_type = _SIGNAL_TYPE -_SIGNAL.fields_by_name['stop_line'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._CURVE -_SIGNAL.fields_by_name['sign_info'].message_type = _SIGNINFO -_SIGNAL_TYPE.containing_type = _SIGNAL -DESCRIPTOR.message_types_by_name['Subsignal'] = _SUBSIGNAL -DESCRIPTOR.message_types_by_name['SignInfo'] = _SIGNINFO -DESCRIPTOR.message_types_by_name['Signal'] = _SIGNAL -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Subsignal = _reflection.GeneratedProtocolMessageType('Subsignal', (_message.Message,), dict( - DESCRIPTOR = _SUBSIGNAL, - __module__ = 'modules.map.proto.map_signal_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Subsignal) - )) -_sym_db.RegisterMessage(Subsignal) - -SignInfo = _reflection.GeneratedProtocolMessageType('SignInfo', (_message.Message,), dict( - DESCRIPTOR = _SIGNINFO, - __module__ = 'modules.map.proto.map_signal_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.SignInfo) - )) -_sym_db.RegisterMessage(SignInfo) - -Signal = _reflection.GeneratedProtocolMessageType('Signal', (_message.Message,), dict( - DESCRIPTOR = _SIGNAL, - __module__ = 'modules.map.proto.map_signal_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.Signal) - )) -_sym_db.RegisterMessage(Signal) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_speed_bump_pb2.py b/modules/map/proto/map_speed_bump_pb2.py deleted file mode 100644 index 8b7a6a8..0000000 --- a/modules/map/proto/map_speed_bump_pb2.py +++ /dev/null @@ -1,89 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_speed_bump.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2 -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_speed_bump.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n&modules/map/proto/map_speed_bump.proto\x12\x0c\x61pollo.hdmap\x1a\x1emodules/map/proto/map_id.proto\x1a$modules/map/proto/map_geometry.proto\"v\n\tSpeedBump\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12$\n\noverlap_id\x18\x02 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12%\n\x08position\x18\x03 \x03(\x0b\x32\x13.apollo.hdmap.Curve') - , - dependencies=[modules_dot_map_dot_proto_dot_map__id__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,]) - - - - -_SPEEDBUMP = _descriptor.Descriptor( - name='SpeedBump', - full_name='apollo.hdmap.SpeedBump', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.SpeedBump.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='overlap_id', full_name='apollo.hdmap.SpeedBump.overlap_id', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='position', full_name='apollo.hdmap.SpeedBump.position', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=244, -) - -_SPEEDBUMP.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_SPEEDBUMP.fields_by_name['overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_SPEEDBUMP.fields_by_name['position'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._CURVE -DESCRIPTOR.message_types_by_name['SpeedBump'] = _SPEEDBUMP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SpeedBump = _reflection.GeneratedProtocolMessageType('SpeedBump', (_message.Message,), dict( - DESCRIPTOR = _SPEEDBUMP, - __module__ = 'modules.map.proto.map_speed_bump_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.SpeedBump) - )) -_sym_db.RegisterMessage(SpeedBump) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_speed_control_pb2.py b/modules/map/proto/map_speed_control_pb2.py deleted file mode 100644 index 2f5751c..0000000 --- a/modules/map/proto/map_speed_control_pb2.py +++ /dev/null @@ -1,126 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_speed_control.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_speed_control.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n)modules/map/proto/map_speed_control.proto\x12\x0c\x61pollo.hdmap\x1a$modules/map/proto/map_geometry.proto\"Y\n\x0cSpeedControl\x12\x0c\n\x04name\x18\x01 \x01(\t\x12&\n\x07polygon\x18\x02 \x01(\x0b\x32\x15.apollo.hdmap.Polygon\x12\x13\n\x0bspeed_limit\x18\x03 \x01(\x01\"B\n\rSpeedControls\x12\x31\n\rspeed_control\x18\x01 \x03(\x0b\x32\x1a.apollo.hdmap.SpeedControl') - , - dependencies=[modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,]) - - - - -_SPEEDCONTROL = _descriptor.Descriptor( - name='SpeedControl', - full_name='apollo.hdmap.SpeedControl', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='apollo.hdmap.SpeedControl.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='polygon', full_name='apollo.hdmap.SpeedControl.polygon', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='speed_limit', full_name='apollo.hdmap.SpeedControl.speed_limit', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=97, - serialized_end=186, -) - - -_SPEEDCONTROLS = _descriptor.Descriptor( - name='SpeedControls', - full_name='apollo.hdmap.SpeedControls', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='speed_control', full_name='apollo.hdmap.SpeedControls.speed_control', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=188, - serialized_end=254, -) - -_SPEEDCONTROL.fields_by_name['polygon'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._POLYGON -_SPEEDCONTROLS.fields_by_name['speed_control'].message_type = _SPEEDCONTROL -DESCRIPTOR.message_types_by_name['SpeedControl'] = _SPEEDCONTROL -DESCRIPTOR.message_types_by_name['SpeedControls'] = _SPEEDCONTROLS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SpeedControl = _reflection.GeneratedProtocolMessageType('SpeedControl', (_message.Message,), dict( - DESCRIPTOR = _SPEEDCONTROL, - __module__ = 'modules.map.proto.map_speed_control_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.SpeedControl) - )) -_sym_db.RegisterMessage(SpeedControl) - -SpeedControls = _reflection.GeneratedProtocolMessageType('SpeedControls', (_message.Message,), dict( - DESCRIPTOR = _SPEEDCONTROLS, - __module__ = 'modules.map.proto.map_speed_control_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.SpeedControls) - )) -_sym_db.RegisterMessage(SpeedControls) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_stop_sign_pb2.py b/modules/map/proto/map_stop_sign_pb2.py deleted file mode 100644 index 9c9b9c7..0000000 --- a/modules/map/proto/map_stop_sign_pb2.py +++ /dev/null @@ -1,137 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_stop_sign.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2 -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_stop_sign.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n%modules/map/proto/map_stop_sign.proto\x12\x0c\x61pollo.hdmap\x1a\x1emodules/map/proto/map_id.proto\x1a$modules/map/proto/map_geometry.proto\"\x82\x02\n\x08StopSign\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12&\n\tstop_line\x18\x02 \x03(\x0b\x32\x13.apollo.hdmap.Curve\x12$\n\noverlap_id\x18\x03 \x03(\x0b\x32\x10.apollo.hdmap.Id\x12-\n\x04type\x18\x04 \x01(\x0e\x32\x1f.apollo.hdmap.StopSign.StopType\"[\n\x08StopType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07ONE_WAY\x10\x01\x12\x0b\n\x07TWO_WAY\x10\x02\x12\r\n\tTHREE_WAY\x10\x03\x12\x0c\n\x08\x46OUR_WAY\x10\x04\x12\x0b\n\x07\x41LL_WAY\x10\x05') - , - dependencies=[modules_dot_map_dot_proto_dot_map__id__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,]) - - - -_STOPSIGN_STOPTYPE = _descriptor.EnumDescriptor( - name='StopType', - full_name='apollo.hdmap.StopSign.StopType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ONE_WAY', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TWO_WAY', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='THREE_WAY', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FOUR_WAY', index=4, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ALL_WAY', index=5, number=5, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=293, - serialized_end=384, -) -_sym_db.RegisterEnumDescriptor(_STOPSIGN_STOPTYPE) - - -_STOPSIGN = _descriptor.Descriptor( - name='StopSign', - full_name='apollo.hdmap.StopSign', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.StopSign.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='stop_line', full_name='apollo.hdmap.StopSign.stop_line', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='overlap_id', full_name='apollo.hdmap.StopSign.overlap_id', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='type', full_name='apollo.hdmap.StopSign.type', index=3, - number=4, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _STOPSIGN_STOPTYPE, - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=384, -) - -_STOPSIGN.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_STOPSIGN.fields_by_name['stop_line'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._CURVE -_STOPSIGN.fields_by_name['overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_STOPSIGN.fields_by_name['type'].enum_type = _STOPSIGN_STOPTYPE -_STOPSIGN_STOPTYPE.containing_type = _STOPSIGN -DESCRIPTOR.message_types_by_name['StopSign'] = _STOPSIGN -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -StopSign = _reflection.GeneratedProtocolMessageType('StopSign', (_message.Message,), dict( - DESCRIPTOR = _STOPSIGN, - __module__ = 'modules.map.proto.map_stop_sign_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.StopSign) - )) -_sym_db.RegisterMessage(StopSign) - - -# @@protoc_insertion_point(module_scope) diff --git a/modules/map/proto/map_yield_sign_pb2.py b/modules/map/proto/map_yield_sign_pb2.py deleted file mode 100644 index 8bd4b2e..0000000 --- a/modules/map/proto/map_yield_sign_pb2.py +++ /dev/null @@ -1,89 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: modules/map/proto/map_yield_sign.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2 -from modules.map.proto import map_geometry_pb2 as modules_dot_map_dot_proto_dot_map__geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='modules/map/proto/map_yield_sign.proto', - package='apollo.hdmap', - syntax='proto2', - serialized_pb=_b('\n&modules/map/proto/map_yield_sign.proto\x12\x0c\x61pollo.hdmap\x1a\x1emodules/map/proto/map_id.proto\x1a$modules/map/proto/map_geometry.proto\"w\n\tYieldSign\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.apollo.hdmap.Id\x12&\n\tstop_line\x18\x02 \x03(\x0b\x32\x13.apollo.hdmap.Curve\x12$\n\noverlap_id\x18\x03 \x03(\x0b\x32\x10.apollo.hdmap.Id') - , - dependencies=[modules_dot_map_dot_proto_dot_map__id__pb2.DESCRIPTOR,modules_dot_map_dot_proto_dot_map__geometry__pb2.DESCRIPTOR,]) - - - - -_YIELDSIGN = _descriptor.Descriptor( - name='YieldSign', - full_name='apollo.hdmap.YieldSign', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='apollo.hdmap.YieldSign.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='stop_line', full_name='apollo.hdmap.YieldSign.stop_line', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='overlap_id', full_name='apollo.hdmap.YieldSign.overlap_id', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=245, -) - -_YIELDSIGN.fields_by_name['id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -_YIELDSIGN.fields_by_name['stop_line'].message_type = modules_dot_map_dot_proto_dot_map__geometry__pb2._CURVE -_YIELDSIGN.fields_by_name['overlap_id'].message_type = modules_dot_map_dot_proto_dot_map__id__pb2._ID -DESCRIPTOR.message_types_by_name['YieldSign'] = _YIELDSIGN -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -YieldSign = _reflection.GeneratedProtocolMessageType('YieldSign', (_message.Message,), dict( - DESCRIPTOR = _YIELDSIGN, - __module__ = 'modules.map.proto.map_yield_sign_pb2' - # @@protoc_insertion_point(class_scope:apollo.hdmap.YieldSign) - )) -_sym_db.RegisterMessage(YieldSign) - - -# @@protoc_insertion_point(module_scope) diff --git a/setup.py b/setup.py index a3f0691..17cc82f 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="imap_box", - version="0.0.1", + version="0.0.2", author="daohu527", author_email="daohu527@gmail.com", description="High-resolution map visualization and conversion tool", @@ -25,6 +25,7 @@ install_requires=[ 'protobuf', 'matplotlib', + 'record_msg', ], entry_points={ 'console_scripts': [