carla-driver-interface 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ """Both ends of alpasim's ``egodriver.EgodriverService`` gRPC contract, without CARLA.
2
+
3
+ A *policy* -- anything that plans a trajectory from camera frames, ego motion and a
4
+ route -- implements :class:`~carla_driver_interface.driver.BaseDriver` and is served
5
+ with :func:`~carla_driver_interface.server.run_server` (or
6
+ ``carla-driver-interface serve``). A *runtime* drives it: autoware_carla_scenario
7
+ (https://github.com/autowarefoundation/autoware_carla_scenario, with
8
+ ``ego.entity=carla_driver``) against CARLA, an upstream alpasim runtime, or
9
+ :mod:`carla_driver_interface.testing` without a simulator.
10
+
11
+ The package is deliberately light -- numpy, scipy, grpcio, protobuf and Pillow -- so a
12
+ policy depends on it without pulling in a simulator or a scenario framework, and it runs
13
+ on Python 3.10-3.14. The wire contract is vendored from NVlabs/alpasim (see
14
+ ``proto/README.md`` in the source repository); field numbers and service names are
15
+ unchanged, so it interoperates with upstream. The package is versioned on its own, and
16
+ the wire contract is its compatibility unit.
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ from importlib.metadata import PackageNotFoundError, version
22
+
23
+ try:
24
+ __version__ = version("carla-driver-interface")
25
+ except PackageNotFoundError: # pragma: no cover - running from a source tree
26
+ __version__ = "0.0.0"
27
+
28
+ __all__ = ["__version__"]
@@ -0,0 +1,5 @@
1
+ """Generated protobuf modules for the alpasim ``egodriver`` contract.
2
+
3
+ This package is generated by ``scripts/compile_protos.py`` -- see
4
+ ``proto/README.md``.
5
+ """
@@ -0,0 +1,61 @@
1
+ # Generated by scripts/compile_protos.py -- do not edit.
2
+ #
3
+ # Sources: NVlabs/alpasim@6870924 and
4
+ # hakuturu583/carla_driver_interface@af1dcd3 (both Apache-2.0)
5
+ # Regenerate with: uv run python scripts/compile_protos.py
6
+
7
+ # -*- coding: utf-8 -*-
8
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
9
+ # source: carla_driver/v0/carla_driver.proto
10
+ # Protobuf Python Version: 4.25.1
11
+ """Generated protocol buffer code."""
12
+ from google.protobuf import descriptor as _descriptor
13
+ from google.protobuf import descriptor_pool as _descriptor_pool
14
+ from google.protobuf import symbol_database as _symbol_database
15
+ from google.protobuf.internal import builder as _builder
16
+ # @@protoc_insertion_point(imports)
17
+
18
+ _sym_db = _symbol_database.Default()
19
+
20
+
21
+ from . import common_pb2 as alpasim__grpc_dot_v0_dot_common__pb2
22
+ from . import egodriver_pb2 as alpasim__grpc_dot_v0_dot_egodriver__pb2
23
+ from . import sensorsim_pb2 as alpasim__grpc_dot_v0_dot_sensorsim__pb2
24
+
25
+
26
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"carla_driver/v0/carla_driver.proto\x12\x0f\x63\x61rla_driver.v0\x1a\x1c\x61lpasim_grpc/v0/common.proto\x1a\x1f\x61lpasim_grpc/v0/egodriver.proto\x1a\x1f\x61lpasim_grpc/v0/sensorsim.proto\"\xce\x01\n\x0c\x43\x61rlaWeather\x12\x12\n\ncloudiness\x18\x01 \x01(\x02\x12\x15\n\rprecipitation\x18\x02 \x01(\x02\x12\x1e\n\x16precipitation_deposits\x18\x03 \x01(\x02\x12\x16\n\x0ewind_intensity\x18\x04 \x01(\x02\x12\x19\n\x11sun_azimuth_angle\x18\x05 \x01(\x02\x12\x1a\n\x12sun_altitude_angle\x18\x06 \x01(\x02\x12\x13\n\x0b\x66og_density\x18\x07 \x01(\x02\x12\x0f\n\x07wetness\x18\x08 \x01(\x02\"\xa7\x01\n\x0f\x43\x61rlaActorState\x12\x10\n\x08track_id\x18\x01 \x01(\t\x12\x0f\n\x07type_id\x18\x02 \x01(\t\x12(\n\x12pose_local_to_aabb\x18\x03 \x01(\x0b\x32\x0c.common.Pose\x12\x1a\n\x04\x61\x61\x62\x62\x18\x04 \x01(\x0b\x32\x0c.common.AABB\x12+\n\rdynamic_state\x18\x05 \x01(\x0b\x32\x14.common.DynamicState\"\xb6\x03\n\x11\x43\x61rlaRendererData\x12\x1d\n\x15snapshot_timestamp_us\x18\x01 \x01(\x06\x12\x10\n\x08\x66rame_id\x18\x02 \x01(\x04\x12\x10\n\x08map_name\x18\x03 \x01(\t\x12.\n\x07weather\x18\x04 \x01(\x0b\x32\x1d.carla_driver.v0.CarlaWeather\x12=\n\x11\x65go_traffic_light\x18\x05 \x01(\x0e\x32\".carla_driver.v0.TrafficLightState\x12$\n\x1c\x65go_traffic_light_distance_m\x18\x06 \x01(\x02\x12\x17\n\x0fspeed_limit_mps\x18\x07 \x01(\x02\x12\x30\n\x06\x61\x63tors\x18\x08 \x03(\x0b\x32 .carla_driver.v0.CarlaActorState\x12*\n\x05lidar\x18\n \x03(\x0b\x32\x1b.carla_driver.v0.LidarSweep\x12\x0e\n\x06map_id\x18\x0b \x01(\t\x12\x35\n\x0etraffic_lights\x18\x0c \x03(\x0b\x32\x1d.carla_driver.v0.TrafficLightJ\x04\x08\t\x10\nR\x05lanes\"\x88\x01\n\x0cTrafficLight\x12\x14\n\x0copendrive_id\x18\x01 \x01(\t\x12\x31\n\x05state\x18\x02 \x01(\x0e\x32\".carla_driver.v0.TrafficLightState\x12/\n\x0bstop_points\x18\x03 \x03(\x0b\x32\x1a.carla_driver.v0.StopPoint\"g\n\tStopPoint\x12\x0f\n\x07road_id\x18\x01 \x01(\x05\x12\x12\n\nsection_id\x18\x02 \x01(\x05\x12\x0f\n\x07lane_id\x18\x03 \x01(\x05\x12$\n\x0eposition_local\x18\x04 \x01(\x0b\x32\x0c.common.Vec3\"\x83\x01\n\nLidarSweep\x12\x12\n\nlogical_id\x18\x01 \x01(\t\x12\x14\n\x0ctimestamp_us\x18\x02 \x01(\x06\x12\"\n\x0crig_to_lidar\x18\x03 \x01(\x0b\x32\x0c.common.Pose\x12\x12\n\nnum_points\x18\x04 \x01(\r\x12\x13\n\x0bpoints_xyzi\x18\x05 \x01(\x0c\"\xb9\x01\n\x13\x43\x61rlaDriveDebugInfo\x12\x13\n\x0bpolicy_name\x18\x01 \x01(\t\x12\x19\n\x11inference_seconds\x18\x02 \x01(\x02\x12\x42\n\x07scalars\x18\x03 \x03(\x0b\x32\x31.carla_driver.v0.CarlaDriveDebugInfo.ScalarsEntry\x1a.\n\x0cScalarsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"\x92\x02\n\x15\x43\x61rlaDriveSessionInfo\x12,\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1e.egodriver.DriveSessionRequest\x12\x10\n\x08map_name\x18\x02 \x01(\t\x12\x15\n\rscenario_name\x18\x03 \x01(\t\x12\x16\n\x0e\x66ixed_delta_us\x18\x04 \x01(\x06\x12\x1a\n\x12policy_timestep_us\x18\x05 \x01(\x06\x12\x1a\n\x12rear_axle_offset_m\x18\x06 \x01(\x02\x12R\n\x07\x63\x61meras\x18\x07 \x03(\x0b\x32\x41.nre.grpc.protos.sensorsim.AvailableCamerasReturn.AvailableCamera\"\x8d\x01\n\x0b\x43ompatEntry\x12\x0c\n\x04\x61rea\x18\x01 \x01(\t\x12\x19\n\x11\x61lpasim_behaviour\x18\x02 \x01(\t\x12\x17\n\x0f\x63\x61rla_behaviour\x18\x03 \x01(\t\x12+\n\x05level\x18\x04 \x01(\x0e\x32\x1c.carla_driver.v0.CompatLevel\x12\x0f\n\x07symbols\x18\x05 \x03(\t\"\xc4\x01\n\x11\x43\x61rlaCompatReport\x12&\n\x1e\x63\x61rla_driver_interface_version\x18\x01 \x01(\t\x12\x18\n\x10\x61lpasim_grpc_rev\x18\x02 \x01(\t\x12>\n\x18\x61lpasim_grpc_api_version\x18\x03 \x01(\x0b\x32\x1c.common.VersionId.APIVersion\x12-\n\x07\x65ntries\x18\x04 \x03(\x0b\x32\x1c.carla_driver.v0.CompatEntry*\xcb\x01\n\x11TrafficLightState\x12\x1f\n\x1bTRAFFIC_LIGHT_STATE_UNKNOWN\x10\x00\x12\x1c\n\x18TRAFFIC_LIGHT_STATE_NONE\x10\x01\x12\x1b\n\x17TRAFFIC_LIGHT_STATE_RED\x10\x02\x12\x1e\n\x1aTRAFFIC_LIGHT_STATE_YELLOW\x10\x03\x12\x1d\n\x19TRAFFIC_LIGHT_STATE_GREEN\x10\x04\x12\x1b\n\x17TRAFFIC_LIGHT_STATE_OFF\x10\x05*\xb6\x01\n\x0b\x43ompatLevel\x12\x1c\n\x18\x43OMPAT_LEVEL_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43OMPAT_LEVEL_EXACT\x10\x01\x12\x18\n\x14\x43OMPAT_LEVEL_PARTIAL\x10\x02\x12\x1b\n\x17\x43OMPAT_LEVEL_STRUCTURAL\x10\x03\x12\x1e\n\x1a\x43OMPAT_LEVEL_UNIMPLEMENTED\x10\x04\x12\x1a\n\x16\x43OMPAT_LEVEL_EXTENSION\x10\x05\x62\x06proto3')
27
+
28
+ _globals = globals()
29
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
30
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'carla_driver.v0.carla_driver_pb2', _globals)
31
+ if _descriptor._USE_C_DESCRIPTORS == False:
32
+ DESCRIPTOR._options = None
33
+ _globals['_CARLADRIVEDEBUGINFO_SCALARSENTRY']._options = None
34
+ _globals['_CARLADRIVEDEBUGINFO_SCALARSENTRY']._serialized_options = b'8\001'
35
+ _globals['_TRAFFICLIGHTSTATE']._serialized_start=2158
36
+ _globals['_TRAFFICLIGHTSTATE']._serialized_end=2361
37
+ _globals['_COMPATLEVEL']._serialized_start=2364
38
+ _globals['_COMPATLEVEL']._serialized_end=2546
39
+ _globals['_CARLAWEATHER']._serialized_start=152
40
+ _globals['_CARLAWEATHER']._serialized_end=358
41
+ _globals['_CARLAACTORSTATE']._serialized_start=361
42
+ _globals['_CARLAACTORSTATE']._serialized_end=528
43
+ _globals['_CARLARENDERERDATA']._serialized_start=531
44
+ _globals['_CARLARENDERERDATA']._serialized_end=969
45
+ _globals['_TRAFFICLIGHT']._serialized_start=972
46
+ _globals['_TRAFFICLIGHT']._serialized_end=1108
47
+ _globals['_STOPPOINT']._serialized_start=1110
48
+ _globals['_STOPPOINT']._serialized_end=1213
49
+ _globals['_LIDARSWEEP']._serialized_start=1216
50
+ _globals['_LIDARSWEEP']._serialized_end=1347
51
+ _globals['_CARLADRIVEDEBUGINFO']._serialized_start=1350
52
+ _globals['_CARLADRIVEDEBUGINFO']._serialized_end=1535
53
+ _globals['_CARLADRIVEDEBUGINFO_SCALARSENTRY']._serialized_start=1489
54
+ _globals['_CARLADRIVEDEBUGINFO_SCALARSENTRY']._serialized_end=1535
55
+ _globals['_CARLADRIVESESSIONINFO']._serialized_start=1538
56
+ _globals['_CARLADRIVESESSIONINFO']._serialized_end=1812
57
+ _globals['_COMPATENTRY']._serialized_start=1815
58
+ _globals['_COMPATENTRY']._serialized_end=1956
59
+ _globals['_CARLACOMPATREPORT']._serialized_start=1959
60
+ _globals['_CARLACOMPATREPORT']._serialized_end=2155
61
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,203 @@
1
+ # # Generated by scripts/compile_protos.py -- do not edit.
2
+ # #
3
+ # # Sources: NVlabs/alpasim@6870924 and
4
+ # # hakuturu583/carla_driver_interface@af1dcd3 (both Apache-2.0)
5
+ # # Regenerate with: uv run python scripts/compile_protos.py
6
+
7
+ from . import common_pb2 as _common_pb2
8
+ from . import egodriver_pb2 as _egodriver_pb2
9
+ from . import sensorsim_pb2 as _sensorsim_pb2
10
+ from google.protobuf.internal import containers as _containers
11
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
12
+ from google.protobuf import descriptor as _descriptor
13
+ from google.protobuf import message as _message
14
+ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
15
+
16
+ DESCRIPTOR: _descriptor.FileDescriptor
17
+
18
+ class TrafficLightState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
19
+ __slots__ = ()
20
+ TRAFFIC_LIGHT_STATE_UNKNOWN: _ClassVar[TrafficLightState]
21
+ TRAFFIC_LIGHT_STATE_NONE: _ClassVar[TrafficLightState]
22
+ TRAFFIC_LIGHT_STATE_RED: _ClassVar[TrafficLightState]
23
+ TRAFFIC_LIGHT_STATE_YELLOW: _ClassVar[TrafficLightState]
24
+ TRAFFIC_LIGHT_STATE_GREEN: _ClassVar[TrafficLightState]
25
+ TRAFFIC_LIGHT_STATE_OFF: _ClassVar[TrafficLightState]
26
+
27
+ class CompatLevel(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
28
+ __slots__ = ()
29
+ COMPAT_LEVEL_UNSPECIFIED: _ClassVar[CompatLevel]
30
+ COMPAT_LEVEL_EXACT: _ClassVar[CompatLevel]
31
+ COMPAT_LEVEL_PARTIAL: _ClassVar[CompatLevel]
32
+ COMPAT_LEVEL_STRUCTURAL: _ClassVar[CompatLevel]
33
+ COMPAT_LEVEL_UNIMPLEMENTED: _ClassVar[CompatLevel]
34
+ COMPAT_LEVEL_EXTENSION: _ClassVar[CompatLevel]
35
+ TRAFFIC_LIGHT_STATE_UNKNOWN: TrafficLightState
36
+ TRAFFIC_LIGHT_STATE_NONE: TrafficLightState
37
+ TRAFFIC_LIGHT_STATE_RED: TrafficLightState
38
+ TRAFFIC_LIGHT_STATE_YELLOW: TrafficLightState
39
+ TRAFFIC_LIGHT_STATE_GREEN: TrafficLightState
40
+ TRAFFIC_LIGHT_STATE_OFF: TrafficLightState
41
+ COMPAT_LEVEL_UNSPECIFIED: CompatLevel
42
+ COMPAT_LEVEL_EXACT: CompatLevel
43
+ COMPAT_LEVEL_PARTIAL: CompatLevel
44
+ COMPAT_LEVEL_STRUCTURAL: CompatLevel
45
+ COMPAT_LEVEL_UNIMPLEMENTED: CompatLevel
46
+ COMPAT_LEVEL_EXTENSION: CompatLevel
47
+
48
+ class CarlaWeather(_message.Message):
49
+ __slots__ = ("cloudiness", "precipitation", "precipitation_deposits", "wind_intensity", "sun_azimuth_angle", "sun_altitude_angle", "fog_density", "wetness")
50
+ CLOUDINESS_FIELD_NUMBER: _ClassVar[int]
51
+ PRECIPITATION_FIELD_NUMBER: _ClassVar[int]
52
+ PRECIPITATION_DEPOSITS_FIELD_NUMBER: _ClassVar[int]
53
+ WIND_INTENSITY_FIELD_NUMBER: _ClassVar[int]
54
+ SUN_AZIMUTH_ANGLE_FIELD_NUMBER: _ClassVar[int]
55
+ SUN_ALTITUDE_ANGLE_FIELD_NUMBER: _ClassVar[int]
56
+ FOG_DENSITY_FIELD_NUMBER: _ClassVar[int]
57
+ WETNESS_FIELD_NUMBER: _ClassVar[int]
58
+ cloudiness: float
59
+ precipitation: float
60
+ precipitation_deposits: float
61
+ wind_intensity: float
62
+ sun_azimuth_angle: float
63
+ sun_altitude_angle: float
64
+ fog_density: float
65
+ wetness: float
66
+ def __init__(self, cloudiness: _Optional[float] = ..., precipitation: _Optional[float] = ..., precipitation_deposits: _Optional[float] = ..., wind_intensity: _Optional[float] = ..., sun_azimuth_angle: _Optional[float] = ..., sun_altitude_angle: _Optional[float] = ..., fog_density: _Optional[float] = ..., wetness: _Optional[float] = ...) -> None: ...
67
+
68
+ class CarlaActorState(_message.Message):
69
+ __slots__ = ("track_id", "type_id", "pose_local_to_aabb", "aabb", "dynamic_state")
70
+ TRACK_ID_FIELD_NUMBER: _ClassVar[int]
71
+ TYPE_ID_FIELD_NUMBER: _ClassVar[int]
72
+ POSE_LOCAL_TO_AABB_FIELD_NUMBER: _ClassVar[int]
73
+ AABB_FIELD_NUMBER: _ClassVar[int]
74
+ DYNAMIC_STATE_FIELD_NUMBER: _ClassVar[int]
75
+ track_id: str
76
+ type_id: str
77
+ pose_local_to_aabb: _common_pb2.Pose
78
+ aabb: _common_pb2.AABB
79
+ dynamic_state: _common_pb2.DynamicState
80
+ def __init__(self, track_id: _Optional[str] = ..., type_id: _Optional[str] = ..., pose_local_to_aabb: _Optional[_Union[_common_pb2.Pose, _Mapping]] = ..., aabb: _Optional[_Union[_common_pb2.AABB, _Mapping]] = ..., dynamic_state: _Optional[_Union[_common_pb2.DynamicState, _Mapping]] = ...) -> None: ...
81
+
82
+ class CarlaRendererData(_message.Message):
83
+ __slots__ = ("snapshot_timestamp_us", "frame_id", "map_name", "weather", "ego_traffic_light", "ego_traffic_light_distance_m", "speed_limit_mps", "actors", "lidar", "map_id", "traffic_lights")
84
+ SNAPSHOT_TIMESTAMP_US_FIELD_NUMBER: _ClassVar[int]
85
+ FRAME_ID_FIELD_NUMBER: _ClassVar[int]
86
+ MAP_NAME_FIELD_NUMBER: _ClassVar[int]
87
+ WEATHER_FIELD_NUMBER: _ClassVar[int]
88
+ EGO_TRAFFIC_LIGHT_FIELD_NUMBER: _ClassVar[int]
89
+ EGO_TRAFFIC_LIGHT_DISTANCE_M_FIELD_NUMBER: _ClassVar[int]
90
+ SPEED_LIMIT_MPS_FIELD_NUMBER: _ClassVar[int]
91
+ ACTORS_FIELD_NUMBER: _ClassVar[int]
92
+ LIDAR_FIELD_NUMBER: _ClassVar[int]
93
+ MAP_ID_FIELD_NUMBER: _ClassVar[int]
94
+ TRAFFIC_LIGHTS_FIELD_NUMBER: _ClassVar[int]
95
+ snapshot_timestamp_us: int
96
+ frame_id: int
97
+ map_name: str
98
+ weather: CarlaWeather
99
+ ego_traffic_light: TrafficLightState
100
+ ego_traffic_light_distance_m: float
101
+ speed_limit_mps: float
102
+ actors: _containers.RepeatedCompositeFieldContainer[CarlaActorState]
103
+ lidar: _containers.RepeatedCompositeFieldContainer[LidarSweep]
104
+ map_id: str
105
+ traffic_lights: _containers.RepeatedCompositeFieldContainer[TrafficLight]
106
+ def __init__(self, snapshot_timestamp_us: _Optional[int] = ..., frame_id: _Optional[int] = ..., map_name: _Optional[str] = ..., weather: _Optional[_Union[CarlaWeather, _Mapping]] = ..., ego_traffic_light: _Optional[_Union[TrafficLightState, str]] = ..., ego_traffic_light_distance_m: _Optional[float] = ..., speed_limit_mps: _Optional[float] = ..., actors: _Optional[_Iterable[_Union[CarlaActorState, _Mapping]]] = ..., lidar: _Optional[_Iterable[_Union[LidarSweep, _Mapping]]] = ..., map_id: _Optional[str] = ..., traffic_lights: _Optional[_Iterable[_Union[TrafficLight, _Mapping]]] = ...) -> None: ...
107
+
108
+ class TrafficLight(_message.Message):
109
+ __slots__ = ("opendrive_id", "state", "stop_points")
110
+ OPENDRIVE_ID_FIELD_NUMBER: _ClassVar[int]
111
+ STATE_FIELD_NUMBER: _ClassVar[int]
112
+ STOP_POINTS_FIELD_NUMBER: _ClassVar[int]
113
+ opendrive_id: str
114
+ state: TrafficLightState
115
+ stop_points: _containers.RepeatedCompositeFieldContainer[StopPoint]
116
+ def __init__(self, opendrive_id: _Optional[str] = ..., state: _Optional[_Union[TrafficLightState, str]] = ..., stop_points: _Optional[_Iterable[_Union[StopPoint, _Mapping]]] = ...) -> None: ...
117
+
118
+ class StopPoint(_message.Message):
119
+ __slots__ = ("road_id", "section_id", "lane_id", "position_local")
120
+ ROAD_ID_FIELD_NUMBER: _ClassVar[int]
121
+ SECTION_ID_FIELD_NUMBER: _ClassVar[int]
122
+ LANE_ID_FIELD_NUMBER: _ClassVar[int]
123
+ POSITION_LOCAL_FIELD_NUMBER: _ClassVar[int]
124
+ road_id: int
125
+ section_id: int
126
+ lane_id: int
127
+ position_local: _common_pb2.Vec3
128
+ def __init__(self, road_id: _Optional[int] = ..., section_id: _Optional[int] = ..., lane_id: _Optional[int] = ..., position_local: _Optional[_Union[_common_pb2.Vec3, _Mapping]] = ...) -> None: ...
129
+
130
+ class LidarSweep(_message.Message):
131
+ __slots__ = ("logical_id", "timestamp_us", "rig_to_lidar", "num_points", "points_xyzi")
132
+ LOGICAL_ID_FIELD_NUMBER: _ClassVar[int]
133
+ TIMESTAMP_US_FIELD_NUMBER: _ClassVar[int]
134
+ RIG_TO_LIDAR_FIELD_NUMBER: _ClassVar[int]
135
+ NUM_POINTS_FIELD_NUMBER: _ClassVar[int]
136
+ POINTS_XYZI_FIELD_NUMBER: _ClassVar[int]
137
+ logical_id: str
138
+ timestamp_us: int
139
+ rig_to_lidar: _common_pb2.Pose
140
+ num_points: int
141
+ points_xyzi: bytes
142
+ def __init__(self, logical_id: _Optional[str] = ..., timestamp_us: _Optional[int] = ..., rig_to_lidar: _Optional[_Union[_common_pb2.Pose, _Mapping]] = ..., num_points: _Optional[int] = ..., points_xyzi: _Optional[bytes] = ...) -> None: ...
143
+
144
+ class CarlaDriveDebugInfo(_message.Message):
145
+ __slots__ = ("policy_name", "inference_seconds", "scalars")
146
+ class ScalarsEntry(_message.Message):
147
+ __slots__ = ("key", "value")
148
+ KEY_FIELD_NUMBER: _ClassVar[int]
149
+ VALUE_FIELD_NUMBER: _ClassVar[int]
150
+ key: str
151
+ value: float
152
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[float] = ...) -> None: ...
153
+ POLICY_NAME_FIELD_NUMBER: _ClassVar[int]
154
+ INFERENCE_SECONDS_FIELD_NUMBER: _ClassVar[int]
155
+ SCALARS_FIELD_NUMBER: _ClassVar[int]
156
+ policy_name: str
157
+ inference_seconds: float
158
+ scalars: _containers.ScalarMap[str, float]
159
+ def __init__(self, policy_name: _Optional[str] = ..., inference_seconds: _Optional[float] = ..., scalars: _Optional[_Mapping[str, float]] = ...) -> None: ...
160
+
161
+ class CarlaDriveSessionInfo(_message.Message):
162
+ __slots__ = ("base", "map_name", "scenario_name", "fixed_delta_us", "policy_timestep_us", "rear_axle_offset_m", "cameras")
163
+ BASE_FIELD_NUMBER: _ClassVar[int]
164
+ MAP_NAME_FIELD_NUMBER: _ClassVar[int]
165
+ SCENARIO_NAME_FIELD_NUMBER: _ClassVar[int]
166
+ FIXED_DELTA_US_FIELD_NUMBER: _ClassVar[int]
167
+ POLICY_TIMESTEP_US_FIELD_NUMBER: _ClassVar[int]
168
+ REAR_AXLE_OFFSET_M_FIELD_NUMBER: _ClassVar[int]
169
+ CAMERAS_FIELD_NUMBER: _ClassVar[int]
170
+ base: _egodriver_pb2.DriveSessionRequest
171
+ map_name: str
172
+ scenario_name: str
173
+ fixed_delta_us: int
174
+ policy_timestep_us: int
175
+ rear_axle_offset_m: float
176
+ cameras: _containers.RepeatedCompositeFieldContainer[_sensorsim_pb2.AvailableCamerasReturn.AvailableCamera]
177
+ def __init__(self, base: _Optional[_Union[_egodriver_pb2.DriveSessionRequest, _Mapping]] = ..., map_name: _Optional[str] = ..., scenario_name: _Optional[str] = ..., fixed_delta_us: _Optional[int] = ..., policy_timestep_us: _Optional[int] = ..., rear_axle_offset_m: _Optional[float] = ..., cameras: _Optional[_Iterable[_Union[_sensorsim_pb2.AvailableCamerasReturn.AvailableCamera, _Mapping]]] = ...) -> None: ...
178
+
179
+ class CompatEntry(_message.Message):
180
+ __slots__ = ("area", "alpasim_behaviour", "carla_behaviour", "level", "symbols")
181
+ AREA_FIELD_NUMBER: _ClassVar[int]
182
+ ALPASIM_BEHAVIOUR_FIELD_NUMBER: _ClassVar[int]
183
+ CARLA_BEHAVIOUR_FIELD_NUMBER: _ClassVar[int]
184
+ LEVEL_FIELD_NUMBER: _ClassVar[int]
185
+ SYMBOLS_FIELD_NUMBER: _ClassVar[int]
186
+ area: str
187
+ alpasim_behaviour: str
188
+ carla_behaviour: str
189
+ level: CompatLevel
190
+ symbols: _containers.RepeatedScalarFieldContainer[str]
191
+ def __init__(self, area: _Optional[str] = ..., alpasim_behaviour: _Optional[str] = ..., carla_behaviour: _Optional[str] = ..., level: _Optional[_Union[CompatLevel, str]] = ..., symbols: _Optional[_Iterable[str]] = ...) -> None: ...
192
+
193
+ class CarlaCompatReport(_message.Message):
194
+ __slots__ = ("carla_driver_interface_version", "alpasim_grpc_rev", "alpasim_grpc_api_version", "entries")
195
+ CARLA_DRIVER_INTERFACE_VERSION_FIELD_NUMBER: _ClassVar[int]
196
+ ALPASIM_GRPC_REV_FIELD_NUMBER: _ClassVar[int]
197
+ ALPASIM_GRPC_API_VERSION_FIELD_NUMBER: _ClassVar[int]
198
+ ENTRIES_FIELD_NUMBER: _ClassVar[int]
199
+ carla_driver_interface_version: str
200
+ alpasim_grpc_rev: str
201
+ alpasim_grpc_api_version: _common_pb2.VersionId.APIVersion
202
+ entries: _containers.RepeatedCompositeFieldContainer[CompatEntry]
203
+ def __init__(self, carla_driver_interface_version: _Optional[str] = ..., alpasim_grpc_rev: _Optional[str] = ..., alpasim_grpc_api_version: _Optional[_Union[_common_pb2.VersionId.APIVersion, _Mapping]] = ..., entries: _Optional[_Iterable[_Union[CompatEntry, _Mapping]]] = ...) -> None: ...
@@ -0,0 +1,56 @@
1
+ # Generated by scripts/compile_protos.py -- do not edit.
2
+ #
3
+ # Sources: NVlabs/alpasim@6870924 and
4
+ # hakuturu583/carla_driver_interface@af1dcd3 (both Apache-2.0)
5
+ # Regenerate with: uv run python scripts/compile_protos.py
6
+
7
+ # -*- coding: utf-8 -*-
8
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
9
+ # source: alpasim_grpc/v0/common.proto
10
+ # Protobuf Python Version: 4.25.1
11
+ """Generated protocol buffer code."""
12
+ from google.protobuf import descriptor as _descriptor
13
+ from google.protobuf import descriptor_pool as _descriptor_pool
14
+ from google.protobuf import symbol_database as _symbol_database
15
+ from google.protobuf.internal import builder as _builder
16
+ # @@protoc_insertion_point(imports)
17
+
18
+ _sym_db = _symbol_database.Default()
19
+
20
+
21
+
22
+
23
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x61lpasim_grpc/v0/common.proto\x12\x06\x63ommon\"\x07\n\x05\x45mpty\"2\n\x04Quat\x12\t\n\x01w\x18\x01 \x01(\x02\x12\t\n\x01x\x18\x02 \x01(\x02\x12\t\n\x01y\x18\x03 \x01(\x02\x12\t\n\x01z\x18\x04 \x01(\x02\"\'\n\x04Vec3\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\t\n\x01z\x18\x03 \x01(\x02\"=\n\x04Pose\x12\x19\n\x03vec\x18\x01 \x01(\x0b\x32\x0c.common.Vec3\x12\x1a\n\x04quat\x18\x02 \x01(\x0b\x32\x0c.common.Quat\"\xb4\x01\n\x0c\x44ynamicState\x12&\n\x10\x61ngular_velocity\x18\x01 \x01(\x0b\x32\x0c.common.Vec3\x12%\n\x0flinear_velocity\x18\x02 \x01(\x0b\x32\x0c.common.Vec3\x12)\n\x13linear_acceleration\x18\x03 \x01(\x0b\x32\x0c.common.Vec3\x12*\n\x14\x61ngular_acceleration\x18\x04 \x01(\x0b\x32\x0c.common.Vec3\"6\n\x04\x41\x41\x42\x42\x12\x0e\n\x06size_x\x18\x01 \x01(\x02\x12\x0e\n\x06size_y\x18\x02 \x01(\x02\x12\x0e\n\x06size_z\x18\x03 \x01(\x02\">\n\nPoseAtTime\x12\x1a\n\x04pose\x18\x01 \x01(\x0b\x32\x0c.common.Pose\x12\x14\n\x0ctimestamp_us\x18\x02 \x01(\x06\"d\n\x0bStateAtTime\x12\x14\n\x0ctimestamp_us\x18\x01 \x01(\x06\x12\x1a\n\x04pose\x18\x02 \x01(\x0b\x32\x0c.common.Pose\x12#\n\x05state\x18\x03 \x01(\x0b\x32\x14.common.DynamicState\"/\n\nTrajectory\x12!\n\x05poses\x18\x01 \x03(\x0b\x32\x12.common.PoseAtTime\"\xa4\x01\n\tVersionId\x12\x12\n\nversion_id\x18\x01 \x01(\t\x12\x10\n\x08git_hash\x18\x02 \x01(\t\x12\x36\n\x10grpc_api_version\x18\x03 \x01(\x0b\x32\x1c.common.VersionId.APIVersion\x1a\x39\n\nAPIVersion\x12\r\n\x05major\x18\x01 \x01(\r\x12\r\n\x05minor\x18\x02 \x01(\r\x12\r\n\x05patch\x18\x03 \x01(\r\"\x16\n\x14SessionRequestStatus\"*\n\x15\x41vailableScenesReturn\x12\x11\n\tscene_ids\x18\x01 \x03(\tb\x06proto3')
24
+
25
+ _globals = globals()
26
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
27
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'alpasim_grpc.v0.common_pb2', _globals)
28
+ if _descriptor._USE_C_DESCRIPTORS == False:
29
+ DESCRIPTOR._options = None
30
+ _globals['_EMPTY']._serialized_start=40
31
+ _globals['_EMPTY']._serialized_end=47
32
+ _globals['_QUAT']._serialized_start=49
33
+ _globals['_QUAT']._serialized_end=99
34
+ _globals['_VEC3']._serialized_start=101
35
+ _globals['_VEC3']._serialized_end=140
36
+ _globals['_POSE']._serialized_start=142
37
+ _globals['_POSE']._serialized_end=203
38
+ _globals['_DYNAMICSTATE']._serialized_start=206
39
+ _globals['_DYNAMICSTATE']._serialized_end=386
40
+ _globals['_AABB']._serialized_start=388
41
+ _globals['_AABB']._serialized_end=442
42
+ _globals['_POSEATTIME']._serialized_start=444
43
+ _globals['_POSEATTIME']._serialized_end=506
44
+ _globals['_STATEATTIME']._serialized_start=508
45
+ _globals['_STATEATTIME']._serialized_end=608
46
+ _globals['_TRAJECTORY']._serialized_start=610
47
+ _globals['_TRAJECTORY']._serialized_end=657
48
+ _globals['_VERSIONID']._serialized_start=660
49
+ _globals['_VERSIONID']._serialized_end=824
50
+ _globals['_VERSIONID_APIVERSION']._serialized_start=767
51
+ _globals['_VERSIONID_APIVERSION']._serialized_end=824
52
+ _globals['_SESSIONREQUESTSTATUS']._serialized_start=826
53
+ _globals['_SESSIONREQUESTSTATUS']._serialized_end=848
54
+ _globals['_AVAILABLESCENESRETURN']._serialized_start=850
55
+ _globals['_AVAILABLESCENESRETURN']._serialized_end=892
56
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,121 @@
1
+ # # Generated by scripts/compile_protos.py -- do not edit.
2
+ # #
3
+ # # Sources: NVlabs/alpasim@6870924 and
4
+ # # hakuturu583/carla_driver_interface@af1dcd3 (both Apache-2.0)
5
+ # # Regenerate with: uv run python scripts/compile_protos.py
6
+
7
+ from google.protobuf.internal import containers as _containers
8
+ from google.protobuf import descriptor as _descriptor
9
+ from google.protobuf import message as _message
10
+ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
11
+
12
+ DESCRIPTOR: _descriptor.FileDescriptor
13
+
14
+ class Empty(_message.Message):
15
+ __slots__ = ()
16
+ def __init__(self) -> None: ...
17
+
18
+ class Quat(_message.Message):
19
+ __slots__ = ("w", "x", "y", "z")
20
+ W_FIELD_NUMBER: _ClassVar[int]
21
+ X_FIELD_NUMBER: _ClassVar[int]
22
+ Y_FIELD_NUMBER: _ClassVar[int]
23
+ Z_FIELD_NUMBER: _ClassVar[int]
24
+ w: float
25
+ x: float
26
+ y: float
27
+ z: float
28
+ def __init__(self, w: _Optional[float] = ..., x: _Optional[float] = ..., y: _Optional[float] = ..., z: _Optional[float] = ...) -> None: ...
29
+
30
+ class Vec3(_message.Message):
31
+ __slots__ = ("x", "y", "z")
32
+ X_FIELD_NUMBER: _ClassVar[int]
33
+ Y_FIELD_NUMBER: _ClassVar[int]
34
+ Z_FIELD_NUMBER: _ClassVar[int]
35
+ x: float
36
+ y: float
37
+ z: float
38
+ def __init__(self, x: _Optional[float] = ..., y: _Optional[float] = ..., z: _Optional[float] = ...) -> None: ...
39
+
40
+ class Pose(_message.Message):
41
+ __slots__ = ("vec", "quat")
42
+ VEC_FIELD_NUMBER: _ClassVar[int]
43
+ QUAT_FIELD_NUMBER: _ClassVar[int]
44
+ vec: Vec3
45
+ quat: Quat
46
+ def __init__(self, vec: _Optional[_Union[Vec3, _Mapping]] = ..., quat: _Optional[_Union[Quat, _Mapping]] = ...) -> None: ...
47
+
48
+ class DynamicState(_message.Message):
49
+ __slots__ = ("angular_velocity", "linear_velocity", "linear_acceleration", "angular_acceleration")
50
+ ANGULAR_VELOCITY_FIELD_NUMBER: _ClassVar[int]
51
+ LINEAR_VELOCITY_FIELD_NUMBER: _ClassVar[int]
52
+ LINEAR_ACCELERATION_FIELD_NUMBER: _ClassVar[int]
53
+ ANGULAR_ACCELERATION_FIELD_NUMBER: _ClassVar[int]
54
+ angular_velocity: Vec3
55
+ linear_velocity: Vec3
56
+ linear_acceleration: Vec3
57
+ angular_acceleration: Vec3
58
+ def __init__(self, angular_velocity: _Optional[_Union[Vec3, _Mapping]] = ..., linear_velocity: _Optional[_Union[Vec3, _Mapping]] = ..., linear_acceleration: _Optional[_Union[Vec3, _Mapping]] = ..., angular_acceleration: _Optional[_Union[Vec3, _Mapping]] = ...) -> None: ...
59
+
60
+ class AABB(_message.Message):
61
+ __slots__ = ("size_x", "size_y", "size_z")
62
+ SIZE_X_FIELD_NUMBER: _ClassVar[int]
63
+ SIZE_Y_FIELD_NUMBER: _ClassVar[int]
64
+ SIZE_Z_FIELD_NUMBER: _ClassVar[int]
65
+ size_x: float
66
+ size_y: float
67
+ size_z: float
68
+ def __init__(self, size_x: _Optional[float] = ..., size_y: _Optional[float] = ..., size_z: _Optional[float] = ...) -> None: ...
69
+
70
+ class PoseAtTime(_message.Message):
71
+ __slots__ = ("pose", "timestamp_us")
72
+ POSE_FIELD_NUMBER: _ClassVar[int]
73
+ TIMESTAMP_US_FIELD_NUMBER: _ClassVar[int]
74
+ pose: Pose
75
+ timestamp_us: int
76
+ def __init__(self, pose: _Optional[_Union[Pose, _Mapping]] = ..., timestamp_us: _Optional[int] = ...) -> None: ...
77
+
78
+ class StateAtTime(_message.Message):
79
+ __slots__ = ("timestamp_us", "pose", "state")
80
+ TIMESTAMP_US_FIELD_NUMBER: _ClassVar[int]
81
+ POSE_FIELD_NUMBER: _ClassVar[int]
82
+ STATE_FIELD_NUMBER: _ClassVar[int]
83
+ timestamp_us: int
84
+ pose: Pose
85
+ state: DynamicState
86
+ def __init__(self, timestamp_us: _Optional[int] = ..., pose: _Optional[_Union[Pose, _Mapping]] = ..., state: _Optional[_Union[DynamicState, _Mapping]] = ...) -> None: ...
87
+
88
+ class Trajectory(_message.Message):
89
+ __slots__ = ("poses",)
90
+ POSES_FIELD_NUMBER: _ClassVar[int]
91
+ poses: _containers.RepeatedCompositeFieldContainer[PoseAtTime]
92
+ def __init__(self, poses: _Optional[_Iterable[_Union[PoseAtTime, _Mapping]]] = ...) -> None: ...
93
+
94
+ class VersionId(_message.Message):
95
+ __slots__ = ("version_id", "git_hash", "grpc_api_version")
96
+ class APIVersion(_message.Message):
97
+ __slots__ = ("major", "minor", "patch")
98
+ MAJOR_FIELD_NUMBER: _ClassVar[int]
99
+ MINOR_FIELD_NUMBER: _ClassVar[int]
100
+ PATCH_FIELD_NUMBER: _ClassVar[int]
101
+ major: int
102
+ minor: int
103
+ patch: int
104
+ def __init__(self, major: _Optional[int] = ..., minor: _Optional[int] = ..., patch: _Optional[int] = ...) -> None: ...
105
+ VERSION_ID_FIELD_NUMBER: _ClassVar[int]
106
+ GIT_HASH_FIELD_NUMBER: _ClassVar[int]
107
+ GRPC_API_VERSION_FIELD_NUMBER: _ClassVar[int]
108
+ version_id: str
109
+ git_hash: str
110
+ grpc_api_version: VersionId.APIVersion
111
+ def __init__(self, version_id: _Optional[str] = ..., git_hash: _Optional[str] = ..., grpc_api_version: _Optional[_Union[VersionId.APIVersion, _Mapping]] = ...) -> None: ...
112
+
113
+ class SessionRequestStatus(_message.Message):
114
+ __slots__ = ()
115
+ def __init__(self) -> None: ...
116
+
117
+ class AvailableScenesReturn(_message.Message):
118
+ __slots__ = ("scene_ids",)
119
+ SCENE_IDS_FIELD_NUMBER: _ClassVar[int]
120
+ scene_ids: _containers.RepeatedScalarFieldContainer[str]
121
+ def __init__(self, scene_ids: _Optional[_Iterable[str]] = ...) -> None: ...
@@ -0,0 +1,66 @@
1
+ # Generated by scripts/compile_protos.py -- do not edit.
2
+ #
3
+ # Sources: NVlabs/alpasim@6870924 and
4
+ # hakuturu583/carla_driver_interface@af1dcd3 (both Apache-2.0)
5
+ # Regenerate with: uv run python scripts/compile_protos.py
6
+
7
+ # -*- coding: utf-8 -*-
8
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
9
+ # source: alpasim_grpc/v0/egodriver.proto
10
+ # Protobuf Python Version: 4.25.1
11
+ """Generated protocol buffer code."""
12
+ from google.protobuf import descriptor as _descriptor
13
+ from google.protobuf import descriptor_pool as _descriptor_pool
14
+ from google.protobuf import symbol_database as _symbol_database
15
+ from google.protobuf.internal import builder as _builder
16
+ # @@protoc_insertion_point(imports)
17
+
18
+ _sym_db = _symbol_database.Default()
19
+
20
+
21
+ from . import common_pb2 as alpasim__grpc_dot_v0_dot_common__pb2
22
+ from . import sensorsim_pb2 as alpasim__grpc_dot_v0_dot_sensorsim__pb2
23
+
24
+
25
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x61lpasim_grpc/v0/egodriver.proto\x12\tegodriver\x1a\x1c\x61lpasim_grpc/v0/common.proto\x1a\x1f\x61lpasim_grpc/v0/sensorsim.proto\">\n\x05Route\x12\x14\n\x0ctimestamp_us\x18\x02 \x01(\x06\x12\x1f\n\twaypoints\x18\x01 \x03(\x0b\x32\x0c.common.Vec3\"K\n\x0bGroundTruth\x12\x14\n\x0ctimestamp_us\x18\x02 \x01(\x06\x12&\n\ntrajectory\x18\x01 \x01(\x0b\x32\x12.common.Trajectory\"\xc5\x03\n\x13\x44riveSessionRequest\x12\x14\n\x0csession_uuid\x18\x01 \x01(\t\x12\x13\n\x0brandom_seed\x18\x02 \x01(\x06\x12\x41\n\ndebug_info\x18\x04 \x01(\x0b\x32(.egodriver.DriveSessionRequest.DebugInfoH\x00\x88\x01\x01\x12@\n\x0crollout_spec\x18\x05 \x01(\x0b\x32*.egodriver.DriveSessionRequest.RolloutSpec\x1a\xcf\x01\n\x0bRolloutSpec\x12M\n\x07vehicle\x18\x01 \x01(\x0b\x32<.egodriver.DriveSessionRequest.RolloutSpec.VehicleDefinition\x1aq\n\x11VehicleDefinition\x12\\\n\x11\x61vailable_cameras\x18\x03 \x03(\x0b\x32\x41.nre.grpc.protos.sensorsim.AvailableCamerasReturn.AvailableCamera\x1a\x1d\n\tDebugInfo\x12\x10\n\x08scene_id\x18\x01 \x01(\tB\r\n\x0b_debug_info\"0\n\x18\x44riveSessionCloseRequest\x12\x14\n\x0csession_uuid\x18\x01 \x01(\t\"\xd1\x01\n\x12RolloutCameraImage\x12\x14\n\x0csession_uuid\x18\x01 \x01(\t\x12?\n\x0c\x63\x61mera_image\x18\x03 \x01(\x0b\x32).egodriver.RolloutCameraImage.CameraImage\x1a\x64\n\x0b\x43\x61meraImage\x12\x16\n\x0e\x66rame_start_us\x18\x02 \x01(\x06\x12\x14\n\x0c\x66rame_end_us\x18\x03 \x01(\x06\x12\x13\n\x0bimage_bytes\x18\x04 \x01(\x0c\x12\x12\n\nlogical_id\x18\x05 \x01(\t\"\x82\x01\n\x14RolloutEgoTrajectory\x12\x14\n\x0csession_uuid\x18\x01 \x01(\t\x12&\n\ntrajectory\x18\x03 \x01(\x0b\x32\x12.common.Trajectory\x12,\n\x0e\x64ynamic_states\x18\x05 \x03(\x0b\x32\x14.common.DynamicState\"E\n\x0cRouteRequest\x12\x14\n\x0csession_uuid\x18\x01 \x01(\t\x12\x1f\n\x05route\x18\x03 \x01(\x0b\x32\x10.egodriver.Route\"X\n\x12GroundTruthRequest\x12\x14\n\x0csession_uuid\x18\x01 \x01(\t\x12,\n\x0cground_truth\x18\x02 \x01(\x0b\x32\x16.egodriver.GroundTruth\"\xaa\x01\n\x0c\x44riveRequest\x12\x14\n\x0csession_uuid\x18\x01 \x01(\t\x12\x13\n\x0btime_now_us\x18\x03 \x01(\x06\x12\x15\n\rtime_query_us\x18\x04 \x01(\x06\x12\x15\n\rrenderer_data\x18\x05 \x01(\x0c\x1a\x41\n\x13RolloutDriveRequest\x12\x13\n\x0btime_now_us\x18\x01 \x01(\x06\x12\x15\n\rtime_query_us\x18\x02 \x01(\x06\"\xea\x01\n\rDriveResponse\x12&\n\ntrajectory\x18\x02 \x01(\x0b\x32\x12.common.Trajectory\x12\x36\n\ndebug_info\x18\x03 \x01(\x0b\x32\".egodriver.DriveResponse.DebugInfo\x12\x19\n\x11terminate_session\x18\x04 \x01(\x08\x1a^\n\tDebugInfo\x12\x1f\n\x17unstructured_debug_info\x18\x01 \x01(\x0c\x12\x30\n\x14sampled_trajectories\x18\x02 \x03(\x0b\x32\x12.common.Trajectory2\xb4\x04\n\x10\x45godriverService\x12M\n\rstart_session\x12\x1e.egodriver.DriveSessionRequest\x1a\x1c.common.SessionRequestStatus\x12\x43\n\rclose_session\x12#.egodriver.DriveSessionCloseRequest\x1a\r.common.Empty\x12H\n\x18submit_image_observation\x12\x1d.egodriver.RolloutCameraImage\x1a\r.common.Empty\x12N\n\x1csubmit_egomotion_observation\x12\x1f.egodriver.RolloutEgoTrajectory\x1a\r.common.Empty\x12\x36\n\x0csubmit_route\x12\x17.egodriver.RouteRequest\x1a\r.common.Empty\x12M\n\x1dsubmit_recording_ground_truth\x12\x1d.egodriver.GroundTruthRequest\x1a\r.common.Empty\x12:\n\x05\x64rive\x12\x17.egodriver.DriveRequest\x1a\x18.egodriver.DriveResponse\x12/\n\x0bget_version\x12\r.common.Empty\x1a\x11.common.VersionIdb\x06proto3')
26
+
27
+ _globals = globals()
28
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
29
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'alpasim_grpc.v0.egodriver_pb2', _globals)
30
+ if _descriptor._USE_C_DESCRIPTORS == False:
31
+ DESCRIPTOR._options = None
32
+ _globals['_ROUTE']._serialized_start=109
33
+ _globals['_ROUTE']._serialized_end=171
34
+ _globals['_GROUNDTRUTH']._serialized_start=173
35
+ _globals['_GROUNDTRUTH']._serialized_end=248
36
+ _globals['_DRIVESESSIONREQUEST']._serialized_start=251
37
+ _globals['_DRIVESESSIONREQUEST']._serialized_end=704
38
+ _globals['_DRIVESESSIONREQUEST_ROLLOUTSPEC']._serialized_start=451
39
+ _globals['_DRIVESESSIONREQUEST_ROLLOUTSPEC']._serialized_end=658
40
+ _globals['_DRIVESESSIONREQUEST_ROLLOUTSPEC_VEHICLEDEFINITION']._serialized_start=545
41
+ _globals['_DRIVESESSIONREQUEST_ROLLOUTSPEC_VEHICLEDEFINITION']._serialized_end=658
42
+ _globals['_DRIVESESSIONREQUEST_DEBUGINFO']._serialized_start=660
43
+ _globals['_DRIVESESSIONREQUEST_DEBUGINFO']._serialized_end=689
44
+ _globals['_DRIVESESSIONCLOSEREQUEST']._serialized_start=706
45
+ _globals['_DRIVESESSIONCLOSEREQUEST']._serialized_end=754
46
+ _globals['_ROLLOUTCAMERAIMAGE']._serialized_start=757
47
+ _globals['_ROLLOUTCAMERAIMAGE']._serialized_end=966
48
+ _globals['_ROLLOUTCAMERAIMAGE_CAMERAIMAGE']._serialized_start=866
49
+ _globals['_ROLLOUTCAMERAIMAGE_CAMERAIMAGE']._serialized_end=966
50
+ _globals['_ROLLOUTEGOTRAJECTORY']._serialized_start=969
51
+ _globals['_ROLLOUTEGOTRAJECTORY']._serialized_end=1099
52
+ _globals['_ROUTEREQUEST']._serialized_start=1101
53
+ _globals['_ROUTEREQUEST']._serialized_end=1170
54
+ _globals['_GROUNDTRUTHREQUEST']._serialized_start=1172
55
+ _globals['_GROUNDTRUTHREQUEST']._serialized_end=1260
56
+ _globals['_DRIVEREQUEST']._serialized_start=1263
57
+ _globals['_DRIVEREQUEST']._serialized_end=1433
58
+ _globals['_DRIVEREQUEST_ROLLOUTDRIVEREQUEST']._serialized_start=1368
59
+ _globals['_DRIVEREQUEST_ROLLOUTDRIVEREQUEST']._serialized_end=1433
60
+ _globals['_DRIVERESPONSE']._serialized_start=1436
61
+ _globals['_DRIVERESPONSE']._serialized_end=1670
62
+ _globals['_DRIVERESPONSE_DEBUGINFO']._serialized_start=1576
63
+ _globals['_DRIVERESPONSE_DEBUGINFO']._serialized_end=1670
64
+ _globals['_EGODRIVERSERVICE']._serialized_start=1673
65
+ _globals['_EGODRIVERSERVICE']._serialized_end=2237
66
+ # @@protoc_insertion_point(module_scope)