steeleagle-protocol 0.1.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,198 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
5
+ from steeleagle_protocol.v1.services.driver import stream_pb2 as steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2
6
+
7
+
8
+ class StreamServiceStub:
9
+ """
10
+ Used to get streams from the driver.
11
+
12
+ This is an internal service used to retrieve imagery and telemetry from the
13
+ driver. These are processed by the OS and then served as the `DataService`
14
+ to other connected plugins.
15
+ """
16
+
17
+ def __init__(self, channel):
18
+ """Constructor.
19
+
20
+ Args:
21
+ channel: A grpc.Channel.
22
+ """
23
+ self.GetVideoStreamURL = channel.unary_unary(
24
+ '/steeleagle_protocol.v1.services.driver.data.StreamService/GetVideoStreamURL',
25
+ request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.GetVideoStreamURLRequest.SerializeToString,
26
+ response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.GetVideoStreamURLResponse.FromString,
27
+ _registered_method=True)
28
+ self.StreamVideoFrames = channel.unary_stream(
29
+ '/steeleagle_protocol.v1.services.driver.data.StreamService/StreamVideoFrames',
30
+ request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamVideoFramesRequest.SerializeToString,
31
+ response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamVideoFramesResponse.FromString,
32
+ _registered_method=True)
33
+ self.StreamTelemetry = channel.unary_stream(
34
+ '/steeleagle_protocol.v1.services.driver.data.StreamService/StreamTelemetry',
35
+ request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamTelemetryRequest.SerializeToString,
36
+ response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamTelemetryResponse.FromString,
37
+ _registered_method=True)
38
+
39
+
40
+ class StreamServiceServicer:
41
+ """
42
+ Used to get streams from the driver.
43
+
44
+ This is an internal service used to retrieve imagery and telemetry from the
45
+ driver. These are processed by the OS and then served as the `DataService`
46
+ to other connected plugins.
47
+ """
48
+
49
+ def GetVideoStreamURL(self, request, context):
50
+ """
51
+ Get the video streaming URL from the vehicle.
52
+
53
+ Retrieves the video stream URL from the vehicle so that it can be
54
+ broadcast to the rest of the system. This function should only be called
55
+ by the OS, and not by any plugins.
56
+ """
57
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
58
+ context.set_details('Method not implemented!')
59
+ raise NotImplementedError('Method not implemented!')
60
+
61
+ def StreamVideoFrames(self, request, context):
62
+ """
63
+ Stream individual video frames from the vehicle.
64
+
65
+ Retrieves a stream of individual video frame from the vehicle. This is
66
+ used when camera data is accessible without needing a stream. This
67
+ function should only be called by the OS, and not by any plugins.
68
+ """
69
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
70
+ context.set_details('Method not implemented!')
71
+ raise NotImplementedError('Method not implemented!')
72
+
73
+ def StreamTelemetry(self, request, context):
74
+ """
75
+ Stream telemetry from the vehicle.
76
+
77
+ Streams up-to-date telemetry from the vehicle. This function should only
78
+ be called by the OS, and not by any plugins.
79
+ """
80
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
81
+ context.set_details('Method not implemented!')
82
+ raise NotImplementedError('Method not implemented!')
83
+
84
+
85
+ def add_StreamServiceServicer_to_server(servicer, server):
86
+ rpc_method_handlers = {
87
+ 'GetVideoStreamURL': grpc.unary_unary_rpc_method_handler(
88
+ servicer.GetVideoStreamURL,
89
+ request_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.GetVideoStreamURLRequest.FromString,
90
+ response_serializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.GetVideoStreamURLResponse.SerializeToString,
91
+ ),
92
+ 'StreamVideoFrames': grpc.unary_stream_rpc_method_handler(
93
+ servicer.StreamVideoFrames,
94
+ request_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamVideoFramesRequest.FromString,
95
+ response_serializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamVideoFramesResponse.SerializeToString,
96
+ ),
97
+ 'StreamTelemetry': grpc.unary_stream_rpc_method_handler(
98
+ servicer.StreamTelemetry,
99
+ request_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamTelemetryRequest.FromString,
100
+ response_serializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamTelemetryResponse.SerializeToString,
101
+ ),
102
+ }
103
+ generic_handler = grpc.method_handlers_generic_handler(
104
+ 'steeleagle_protocol.v1.services.driver.data.StreamService', rpc_method_handlers)
105
+ server.add_generic_rpc_handlers((generic_handler,))
106
+ server.add_registered_method_handlers('steeleagle_protocol.v1.services.driver.data.StreamService', rpc_method_handlers)
107
+
108
+
109
+ # This class is part of an EXPERIMENTAL API.
110
+ class StreamService:
111
+ """
112
+ Used to get streams from the driver.
113
+
114
+ This is an internal service used to retrieve imagery and telemetry from the
115
+ driver. These are processed by the OS and then served as the `DataService`
116
+ to other connected plugins.
117
+ """
118
+
119
+ @staticmethod
120
+ def GetVideoStreamURL(request,
121
+ target,
122
+ options=(),
123
+ channel_credentials=None,
124
+ call_credentials=None,
125
+ insecure=False,
126
+ compression=None,
127
+ wait_for_ready=None,
128
+ timeout=None,
129
+ metadata=None):
130
+ return grpc.experimental.unary_unary(
131
+ request,
132
+ target,
133
+ '/steeleagle_protocol.v1.services.driver.data.StreamService/GetVideoStreamURL',
134
+ steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.GetVideoStreamURLRequest.SerializeToString,
135
+ steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.GetVideoStreamURLResponse.FromString,
136
+ options,
137
+ channel_credentials,
138
+ insecure,
139
+ call_credentials,
140
+ compression,
141
+ wait_for_ready,
142
+ timeout,
143
+ metadata,
144
+ _registered_method=True)
145
+
146
+ @staticmethod
147
+ def StreamVideoFrames(request,
148
+ target,
149
+ options=(),
150
+ channel_credentials=None,
151
+ call_credentials=None,
152
+ insecure=False,
153
+ compression=None,
154
+ wait_for_ready=None,
155
+ timeout=None,
156
+ metadata=None):
157
+ return grpc.experimental.unary_stream(
158
+ request,
159
+ target,
160
+ '/steeleagle_protocol.v1.services.driver.data.StreamService/StreamVideoFrames',
161
+ steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamVideoFramesRequest.SerializeToString,
162
+ steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamVideoFramesResponse.FromString,
163
+ options,
164
+ channel_credentials,
165
+ insecure,
166
+ call_credentials,
167
+ compression,
168
+ wait_for_ready,
169
+ timeout,
170
+ metadata,
171
+ _registered_method=True)
172
+
173
+ @staticmethod
174
+ def StreamTelemetry(request,
175
+ target,
176
+ options=(),
177
+ channel_credentials=None,
178
+ call_credentials=None,
179
+ insecure=False,
180
+ compression=None,
181
+ wait_for_ready=None,
182
+ timeout=None,
183
+ metadata=None):
184
+ return grpc.experimental.unary_stream(
185
+ request,
186
+ target,
187
+ '/steeleagle_protocol.v1.services.driver.data.StreamService/StreamTelemetry',
188
+ steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamTelemetryRequest.SerializeToString,
189
+ steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamTelemetryResponse.FromString,
190
+ options,
191
+ channel_credentials,
192
+ insecure,
193
+ call_credentials,
194
+ compression,
195
+ wait_for_ready,
196
+ timeout,
197
+ metadata,
198
+ _registered_method=True)
@@ -0,0 +1,51 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: steeleagle_protocol/v1/services/mission/mission.proto
5
+ # Protobuf Python Version: 7.35.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 7,
15
+ 35,
16
+ 1,
17
+ '',
18
+ 'steeleagle_protocol/v1/services/mission/mission.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5steeleagle_protocol/v1/services/mission/mission.proto\x12\'steeleagle_protocol.v1.services.mission\"g\n\x0bMissionData\x12\x14\n\x04json\x18\x01 \x01(\tH\x00R\x04json\x12\x18\n\x06\x62inary\x18\x02 \x01(\x0cH\x00R\x06\x62inary\x12\x15\n\x03map\x18\x03 \x01(\x0cH\x01R\x03map\x88\x01\x01\x42\t\n\x07\x63ontentB\x06\n\x04_map\"f\n\x14UploadMissionRequest\x12N\n\x07mission\x18\x01 \x01(\x0b\x32\x34.steeleagle_protocol.v1.services.mission.MissionDataR\x07mission\"\x17\n\x15UploadMissionResponse\"\x15\n\x13StartMissionRequest\"\x16\n\x14StartMissionResponse\"\x14\n\x12StopMissionRequest\"\x15\n\x13StopMissionResponse2\xc0\x03\n\x0eMissionService\x12\x8d\x01\n\x0cStartMission\x12<.steeleagle_protocol.v1.services.mission.StartMissionRequest\x1a=.steeleagle_protocol.v1.services.mission.StartMissionResponse\"\x00\x12\x90\x01\n\rUploadMission\x12=.steeleagle_protocol.v1.services.mission.UploadMissionRequest\x1a>.steeleagle_protocol.v1.services.mission.UploadMissionResponse\"\x00\x12\x8a\x01\n\x0bStopMission\x12;.steeleagle_protocol.v1.services.mission.StopMissionRequest\x1a<.steeleagle_protocol.v1.services.mission.StopMissionResponse\"\x00\x42\xc9\x02\n+com.steeleagle_protocol.v1.services.missionB\x0cMissionProtoP\x01ZPgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/mission\xa2\x02\x04SVSM\xaa\x02&SteeleagleProtocol.V1.Services.Mission\xca\x02&SteeleagleProtocol\\V1\\Services\\Mission\xe2\x02\x32SteeleagleProtocol\\V1\\Services\\Mission\\GPBMetadata\xea\x02)SteeleagleProtocol::V1::Services::Missionb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.services.mission.mission_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
34
+ _globals['DESCRIPTOR']._serialized_options = b'\n+com.steeleagle_protocol.v1.services.missionB\014MissionProtoP\001ZPgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/mission\242\002\004SVSM\252\002&SteeleagleProtocol.V1.Services.Mission\312\002&SteeleagleProtocol\\V1\\Services\\Mission\342\0022SteeleagleProtocol\\V1\\Services\\Mission\\GPBMetadata\352\002)SteeleagleProtocol::V1::Services::Mission'
35
+ _globals['_MISSIONDATA']._serialized_start=98
36
+ _globals['_MISSIONDATA']._serialized_end=201
37
+ _globals['_UPLOADMISSIONREQUEST']._serialized_start=203
38
+ _globals['_UPLOADMISSIONREQUEST']._serialized_end=305
39
+ _globals['_UPLOADMISSIONRESPONSE']._serialized_start=307
40
+ _globals['_UPLOADMISSIONRESPONSE']._serialized_end=330
41
+ _globals['_STARTMISSIONREQUEST']._serialized_start=332
42
+ _globals['_STARTMISSIONREQUEST']._serialized_end=353
43
+ _globals['_STARTMISSIONRESPONSE']._serialized_start=355
44
+ _globals['_STARTMISSIONRESPONSE']._serialized_end=377
45
+ _globals['_STOPMISSIONREQUEST']._serialized_start=379
46
+ _globals['_STOPMISSIONREQUEST']._serialized_end=399
47
+ _globals['_STOPMISSIONRESPONSE']._serialized_start=401
48
+ _globals['_STOPMISSIONRESPONSE']._serialized_end=422
49
+ _globals['_MISSIONSERVICE']._serialized_start=425
50
+ _globals['_MISSIONSERVICE']._serialized_end=873
51
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,200 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
5
+ from steeleagle_protocol.v1.services.mission import mission_pb2 as steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2
6
+
7
+
8
+ class MissionServiceStub:
9
+ """
10
+ Used to start a new mission or stop an active mission.
11
+
12
+ This service is hosted by the driver module and represents the
13
+ mission interface for the vehicle. While a single vehicle will
14
+ return an OK message as soon as a command is acked and sent,
15
+ multiple vehicles will return a message stream when proxied.
16
+ """
17
+
18
+ def __init__(self, channel):
19
+ """Constructor.
20
+
21
+ Args:
22
+ channel: A grpc.Channel.
23
+ """
24
+ self.StartMission = channel.unary_unary(
25
+ '/steeleagle_protocol.v1.services.mission.MissionService/StartMission',
26
+ request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.StartMissionRequest.SerializeToString,
27
+ response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.StartMissionResponse.FromString,
28
+ _registered_method=True)
29
+ self.UploadMission = channel.unary_unary(
30
+ '/steeleagle_protocol.v1.services.mission.MissionService/UploadMission',
31
+ request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.UploadMissionRequest.SerializeToString,
32
+ response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.UploadMissionResponse.FromString,
33
+ _registered_method=True)
34
+ self.StopMission = channel.unary_unary(
35
+ '/steeleagle_protocol.v1.services.mission.MissionService/StopMission',
36
+ request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.StopMissionRequest.SerializeToString,
37
+ response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.StopMissionResponse.FromString,
38
+ _registered_method=True)
39
+
40
+
41
+ class MissionServiceServicer:
42
+ """
43
+ Used to start a new mission or stop an active mission.
44
+
45
+ This service is hosted by the driver module and represents the
46
+ mission interface for the vehicle. While a single vehicle will
47
+ return an OK message as soon as a command is acked and sent,
48
+ multiple vehicles will return a message stream when proxied.
49
+ """
50
+
51
+ def StartMission(self, request, context):
52
+ """
53
+ Order a vehicle to start its mission.
54
+
55
+ Causes the vehicle to start its uploaded mission. This will enable autonomous
56
+ control mode, which can be interrupted by sending a `StopMission` or
57
+ `SwarmHold`.
58
+ """
59
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
60
+ context.set_details('Method not implemented!')
61
+ raise NotImplementedError('Method not implemented!')
62
+
63
+ def UploadMission(self, request, context):
64
+ """
65
+ Upload a mission to a vehicle
66
+
67
+ Uploads a mission to a vehicle. Can be started by sending a subsequent
68
+ `StartMission` command.
69
+ """
70
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
71
+ context.set_details('Method not implemented!')
72
+ raise NotImplementedError('Method not implemented!')
73
+
74
+ def StopMission(self, request, context):
75
+ """
76
+ Order a vehicle to stop its mission.
77
+
78
+ Causes the vehicle to stop its running mission. This will enable manual
79
+ control mode.
80
+ """
81
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
82
+ context.set_details('Method not implemented!')
83
+ raise NotImplementedError('Method not implemented!')
84
+
85
+
86
+ def add_MissionServiceServicer_to_server(servicer, server):
87
+ rpc_method_handlers = {
88
+ 'StartMission': grpc.unary_unary_rpc_method_handler(
89
+ servicer.StartMission,
90
+ request_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.StartMissionRequest.FromString,
91
+ response_serializer=steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.StartMissionResponse.SerializeToString,
92
+ ),
93
+ 'UploadMission': grpc.unary_unary_rpc_method_handler(
94
+ servicer.UploadMission,
95
+ request_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.UploadMissionRequest.FromString,
96
+ response_serializer=steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.UploadMissionResponse.SerializeToString,
97
+ ),
98
+ 'StopMission': grpc.unary_unary_rpc_method_handler(
99
+ servicer.StopMission,
100
+ request_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.StopMissionRequest.FromString,
101
+ response_serializer=steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.StopMissionResponse.SerializeToString,
102
+ ),
103
+ }
104
+ generic_handler = grpc.method_handlers_generic_handler(
105
+ 'steeleagle_protocol.v1.services.mission.MissionService', rpc_method_handlers)
106
+ server.add_generic_rpc_handlers((generic_handler,))
107
+ server.add_registered_method_handlers('steeleagle_protocol.v1.services.mission.MissionService', rpc_method_handlers)
108
+
109
+
110
+ # This class is part of an EXPERIMENTAL API.
111
+ class MissionService:
112
+ """
113
+ Used to start a new mission or stop an active mission.
114
+
115
+ This service is hosted by the driver module and represents the
116
+ mission interface for the vehicle. While a single vehicle will
117
+ return an OK message as soon as a command is acked and sent,
118
+ multiple vehicles will return a message stream when proxied.
119
+ """
120
+
121
+ @staticmethod
122
+ def StartMission(request,
123
+ target,
124
+ options=(),
125
+ channel_credentials=None,
126
+ call_credentials=None,
127
+ insecure=False,
128
+ compression=None,
129
+ wait_for_ready=None,
130
+ timeout=None,
131
+ metadata=None):
132
+ return grpc.experimental.unary_unary(
133
+ request,
134
+ target,
135
+ '/steeleagle_protocol.v1.services.mission.MissionService/StartMission',
136
+ steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.StartMissionRequest.SerializeToString,
137
+ steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.StartMissionResponse.FromString,
138
+ options,
139
+ channel_credentials,
140
+ insecure,
141
+ call_credentials,
142
+ compression,
143
+ wait_for_ready,
144
+ timeout,
145
+ metadata,
146
+ _registered_method=True)
147
+
148
+ @staticmethod
149
+ def UploadMission(request,
150
+ target,
151
+ options=(),
152
+ channel_credentials=None,
153
+ call_credentials=None,
154
+ insecure=False,
155
+ compression=None,
156
+ wait_for_ready=None,
157
+ timeout=None,
158
+ metadata=None):
159
+ return grpc.experimental.unary_unary(
160
+ request,
161
+ target,
162
+ '/steeleagle_protocol.v1.services.mission.MissionService/UploadMission',
163
+ steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.UploadMissionRequest.SerializeToString,
164
+ steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.UploadMissionResponse.FromString,
165
+ options,
166
+ channel_credentials,
167
+ insecure,
168
+ call_credentials,
169
+ compression,
170
+ wait_for_ready,
171
+ timeout,
172
+ metadata,
173
+ _registered_method=True)
174
+
175
+ @staticmethod
176
+ def StopMission(request,
177
+ target,
178
+ options=(),
179
+ channel_credentials=None,
180
+ call_credentials=None,
181
+ insecure=False,
182
+ compression=None,
183
+ wait_for_ready=None,
184
+ timeout=None,
185
+ metadata=None):
186
+ return grpc.experimental.unary_unary(
187
+ request,
188
+ target,
189
+ '/steeleagle_protocol.v1.services.mission.MissionService/StopMission',
190
+ steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.StopMissionRequest.SerializeToString,
191
+ steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2.StopMissionResponse.FromString,
192
+ options,
193
+ channel_credentials,
194
+ insecure,
195
+ call_credentials,
196
+ compression,
197
+ wait_for_ready,
198
+ timeout,
199
+ metadata,
200
+ _registered_method=True)
@@ -0,0 +1,80 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: steeleagle_protocol/v1/services/swarm/swarm.proto
5
+ # Protobuf Python Version: 7.35.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 7,
15
+ 35,
16
+ 1,
17
+ '',
18
+ 'steeleagle_protocol/v1/services/swarm/swarm.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from steeleagle_protocol.v1 import common_pb2 as steeleagle__protocol_dot_v1_dot_common__pb2
26
+ from steeleagle_protocol.v1.services.driver import control_pb2 as steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_control__pb2
27
+ from steeleagle_protocol.v1.services.mission import mission_pb2 as steeleagle__protocol_dot_v1_dot_services_dot_mission_dot_mission__pb2
28
+
29
+
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1steeleagle_protocol/v1/services/swarm/swarm.proto\x12%steeleagle_protocol.v1.services.swarm\x1a#steeleagle_protocol/v1/common.proto\x1a\x34steeleagle_protocol/v1/services/driver/control.proto\x1a\x35steeleagle_protocol/v1/services/mission/mission.proto\"\x8b\x01\n\x13SwarmTakeOffRequest\x12\x1a\n\x08vehicles\x18\x01 \x03(\tR\x08vehicles\x12X\n\x07request\x18\x02 \x01(\x0b\x32>.steeleagle_protocol.v1.services.driver.control.TakeOffRequestR\x07request\"\xbb\x01\n\x14SwarmTakeOffResponse\x12\x18\n\x07vehicle\x18\x01 \x01(\tR\x07vehicle\x12[\n\x08response\x18\x02 \x01(\x0b\x32?.steeleagle_protocol.v1.services.driver.control.TakeOffResponseR\x08response\x12\x12\n\x04\x63ode\x18\x03 \x01(\rR\x04\x63ode\x12\x18\n\x07\x64\x65tails\x18\x04 \x01(\tR\x07\x64\x65tails\"\x85\x01\n\x10SwarmLandRequest\x12\x1a\n\x08vehicles\x18\x01 \x03(\tR\x08vehicles\x12U\n\x07request\x18\x02 \x01(\x0b\x32;.steeleagle_protocol.v1.services.driver.control.LandRequestR\x07request\"\xb5\x01\n\x11SwarmLandResponse\x12\x18\n\x07vehicle\x18\x01 \x01(\tR\x07vehicle\x12X\n\x08response\x18\x02 \x01(\x0b\x32<.steeleagle_protocol.v1.services.driver.control.LandResponseR\x08response\x12\x12\n\x04\x63ode\x18\x03 \x01(\rR\x04\x63ode\x12\x18\n\x07\x64\x65tails\x18\x04 \x01(\tR\x07\x64\x65tails\"\x85\x01\n\x10SwarmHoldRequest\x12\x1a\n\x08vehicles\x18\x01 \x03(\tR\x08vehicles\x12U\n\x07request\x18\x02 \x01(\x0b\x32;.steeleagle_protocol.v1.services.driver.control.HoldRequestR\x07request\"\xb5\x01\n\x11SwarmHoldResponse\x12\x18\n\x07vehicle\x18\x01 \x01(\tR\x07vehicle\x12X\n\x08response\x18\x02 \x01(\x0b\x32<.steeleagle_protocol.v1.services.driver.control.HoldResponseR\x08response\x12\x12\n\x04\x63ode\x18\x03 \x01(\rR\x04\x63ode\x12\x18\n\x07\x64\x65tails\x18\x04 \x01(\tR\x07\x64\x65tails\"\x85\x01\n\x10SwarmKillRequest\x12\x1a\n\x08vehicles\x18\x01 \x03(\tR\x08vehicles\x12U\n\x07request\x18\x02 \x01(\x0b\x32;.steeleagle_protocol.v1.services.driver.control.KillRequestR\x07request\"\xb5\x01\n\x11SwarmKillResponse\x12\x18\n\x07vehicle\x18\x01 \x01(\tR\x07vehicle\x12X\n\x08response\x18\x02 \x01(\x0b\x32<.steeleagle_protocol.v1.services.driver.control.KillResponseR\x08response\x12\x12\n\x04\x63ode\x18\x03 \x01(\rR\x04\x63ode\x12\x18\n\x07\x64\x65tails\x18\x04 \x01(\tR\x07\x64\x65tails\"\x95\x01\n\x18SwarmReturnToHomeRequest\x12\x1a\n\x08vehicles\x18\x01 \x03(\tR\x08vehicles\x12]\n\x07request\x18\x02 \x01(\x0b\x32\x43.steeleagle_protocol.v1.services.driver.control.ReturnToHomeRequestR\x07request\"\xc5\x01\n\x19SwarmReturnToHomeResponse\x12\x18\n\x07vehicle\x18\x01 \x01(\tR\x07vehicle\x12`\n\x08response\x18\x02 \x01(\x0b\x32\x44.steeleagle_protocol.v1.services.driver.control.ReturnToHomeResponseR\x08response\x12\x12\n\x04\x63ode\x18\x03 \x01(\rR\x04\x63ode\x12\x18\n\x07\x64\x65tails\x18\x04 \x01(\tR\x07\x64\x65tails\"\x93\x01\n\x17SwarmSetVelocityRequest\x12\x1a\n\x08vehicles\x18\x01 \x03(\tR\x08vehicles\x12\\\n\x07request\x18\x02 \x01(\x0b\x32\x42.steeleagle_protocol.v1.services.driver.control.SetVelocityRequestR\x07request\"\xc3\x01\n\x18SwarmSetVelocityResponse\x12\x18\n\x07vehicle\x18\x01 \x01(\tR\x07vehicle\x12_\n\x08response\x18\x02 \x01(\x0b\x32\x43.steeleagle_protocol.v1.services.driver.control.SetVelocityResponseR\x08response\x12\x12\n\x04\x63ode\x18\x03 \x01(\rR\x04\x63ode\x12\x18\n\x07\x64\x65tails\x18\x04 \x01(\tR\x07\x64\x65tails\"\x97\x01\n\x19SwarmSetGimbalPoseRequest\x12\x1a\n\x08vehicles\x18\x01 \x03(\tR\x08vehicles\x12^\n\x07request\x18\x02 \x01(\x0b\x32\x44.steeleagle_protocol.v1.services.driver.control.SetGimbalPoseRequestR\x07request\"\xc7\x01\n\x1aSwarmSetGimbalPoseResponse\x12\x18\n\x07vehicle\x18\x01 \x01(\tR\x07vehicle\x12\x61\n\x08response\x18\x02 \x01(\x0b\x32\x45.steeleagle_protocol.v1.services.driver.control.SetGimbalPoseResponseR\x08response\x12\x12\n\x04\x63ode\x18\x03 \x01(\rR\x04\x63ode\x12\x18\n\x07\x64\x65tails\x18\x04 \x01(\tR\x07\x64\x65tails\"\x90\x01\n\x19SwarmUploadMissionRequest\x12\x1a\n\x08vehicles\x18\x01 \x03(\tR\x08vehicles\x12W\n\x07request\x18\x02 \x01(\x0b\x32=.steeleagle_protocol.v1.services.mission.UploadMissionRequestR\x07request\"\xc0\x01\n\x1aSwarmUploadMissionResponse\x12\x18\n\x07vehicle\x18\x01 \x01(\tR\x07vehicle\x12Z\n\x08response\x18\x02 \x01(\x0b\x32>.steeleagle_protocol.v1.services.mission.UploadMissionResponseR\x08response\x12\x12\n\x04\x63ode\x18\x03 \x01(\rR\x04\x63ode\x12\x18\n\x07\x64\x65tails\x18\x04 \x01(\tR\x07\x64\x65tails\"\x8e\x01\n\x18SwarmStartMissionRequest\x12\x1a\n\x08vehicles\x18\x01 \x03(\tR\x08vehicles\x12V\n\x07request\x18\x02 \x01(\x0b\x32<.steeleagle_protocol.v1.services.mission.StartMissionRequestR\x07request\"\xbe\x01\n\x19SwarmStartMissionResponse\x12\x18\n\x07vehicle\x18\x01 \x01(\tR\x07vehicle\x12Y\n\x08response\x18\x02 \x01(\x0b\x32=.steeleagle_protocol.v1.services.mission.StartMissionResponseR\x08response\x12\x12\n\x04\x63ode\x18\x03 \x01(\rR\x04\x63ode\x12\x18\n\x07\x64\x65tails\x18\x04 \x01(\tR\x07\x64\x65tails\"\x8d\x01\n\x17SwarmStopMissionRequest\x12\x1a\n\x08vehicles\x18\x01 \x03(\tR\x08vehicles\x12V\n\x07request\x18\x02 \x01(\x0b\x32<.steeleagle_protocol.v1.services.mission.StopMissionResponseR\x07request\"\xbc\x01\n\x18SwarmStopMissionResponse\x12\x18\n\x07vehicle\x18\x01 \x01(\tR\x07vehicle\x12X\n\x08response\x18\x02 \x01(\x0b\x32<.steeleagle_protocol.v1.services.mission.StopMissionResponseR\x08response\x12\x12\n\x04\x63ode\x18\x03 \x01(\rR\x04\x63ode\x12\x18\n\x07\x64\x65tails\x18\x04 \x01(\tR\x07\x64\x65tails2\xd9\x0b\n\x0cSwarmService\x12\x8b\x01\n\x0cSwarmTakeOff\x12:.steeleagle_protocol.v1.services.swarm.SwarmTakeOffRequest\x1a;.steeleagle_protocol.v1.services.swarm.SwarmTakeOffResponse\"\x00\x30\x01\x12\x82\x01\n\tSwarmLand\x12\x37.steeleagle_protocol.v1.services.swarm.SwarmLandRequest\x1a\x38.steeleagle_protocol.v1.services.swarm.SwarmLandResponse\"\x00\x30\x01\x12\x82\x01\n\tSwarmHold\x12\x37.steeleagle_protocol.v1.services.swarm.SwarmHoldRequest\x1a\x38.steeleagle_protocol.v1.services.swarm.SwarmHoldResponse\"\x00\x30\x01\x12\x82\x01\n\tSwarmKill\x12\x37.steeleagle_protocol.v1.services.swarm.SwarmKillRequest\x1a\x38.steeleagle_protocol.v1.services.swarm.SwarmKillResponse\"\x00\x30\x01\x12\x9a\x01\n\x11SwarmReturnToHome\x12?.steeleagle_protocol.v1.services.swarm.SwarmReturnToHomeRequest\x1a@.steeleagle_protocol.v1.services.swarm.SwarmReturnToHomeResponse\"\x00\x30\x01\x12\x97\x01\n\x10SwarmSetVelocity\x12>.steeleagle_protocol.v1.services.swarm.SwarmSetVelocityRequest\x1a?.steeleagle_protocol.v1.services.swarm.SwarmSetVelocityResponse\"\x00\x30\x01\x12\x9d\x01\n\x12SwarmSetGimbalPose\x12@.steeleagle_protocol.v1.services.swarm.SwarmSetGimbalPoseRequest\x1a\x41.steeleagle_protocol.v1.services.swarm.SwarmSetGimbalPoseResponse\"\x00\x30\x01\x12\x9a\x01\n\x11SwarmStartMission\x12?.steeleagle_protocol.v1.services.swarm.SwarmStartMissionRequest\x1a@.steeleagle_protocol.v1.services.swarm.SwarmStartMissionResponse\"\x00\x30\x01\x12\x9d\x01\n\x12SwarmUploadMission\x12@.steeleagle_protocol.v1.services.swarm.SwarmUploadMissionRequest\x1a\x41.steeleagle_protocol.v1.services.swarm.SwarmUploadMissionResponse\"\x00\x30\x01\x12\x97\x01\n\x10SwarmStopMission\x12>.steeleagle_protocol.v1.services.swarm.SwarmStopMissionRequest\x1a?.steeleagle_protocol.v1.services.swarm.SwarmStopMissionResponse\"\x00\x30\x01\x42\xbb\x02\n)com.steeleagle_protocol.v1.services.swarmB\nSwarmProtoP\x01ZNgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/swarm\xa2\x02\x04SVSS\xaa\x02$SteeleagleProtocol.V1.Services.Swarm\xca\x02$SteeleagleProtocol\\V1\\Services\\Swarm\xe2\x02\x30SteeleagleProtocol\\V1\\Services\\Swarm\\GPBMetadata\xea\x02\'SteeleagleProtocol::V1::Services::Swarmb\x06proto3')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.services.swarm.swarm_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ _globals['DESCRIPTOR']._loaded_options = None
37
+ _globals['DESCRIPTOR']._serialized_options = b'\n)com.steeleagle_protocol.v1.services.swarmB\nSwarmProtoP\001ZNgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/swarm\242\002\004SVSS\252\002$SteeleagleProtocol.V1.Services.Swarm\312\002$SteeleagleProtocol\\V1\\Services\\Swarm\342\0020SteeleagleProtocol\\V1\\Services\\Swarm\\GPBMetadata\352\002\'SteeleagleProtocol::V1::Services::Swarm'
38
+ _globals['_SWARMTAKEOFFREQUEST']._serialized_start=239
39
+ _globals['_SWARMTAKEOFFREQUEST']._serialized_end=378
40
+ _globals['_SWARMTAKEOFFRESPONSE']._serialized_start=381
41
+ _globals['_SWARMTAKEOFFRESPONSE']._serialized_end=568
42
+ _globals['_SWARMLANDREQUEST']._serialized_start=571
43
+ _globals['_SWARMLANDREQUEST']._serialized_end=704
44
+ _globals['_SWARMLANDRESPONSE']._serialized_start=707
45
+ _globals['_SWARMLANDRESPONSE']._serialized_end=888
46
+ _globals['_SWARMHOLDREQUEST']._serialized_start=891
47
+ _globals['_SWARMHOLDREQUEST']._serialized_end=1024
48
+ _globals['_SWARMHOLDRESPONSE']._serialized_start=1027
49
+ _globals['_SWARMHOLDRESPONSE']._serialized_end=1208
50
+ _globals['_SWARMKILLREQUEST']._serialized_start=1211
51
+ _globals['_SWARMKILLREQUEST']._serialized_end=1344
52
+ _globals['_SWARMKILLRESPONSE']._serialized_start=1347
53
+ _globals['_SWARMKILLRESPONSE']._serialized_end=1528
54
+ _globals['_SWARMRETURNTOHOMEREQUEST']._serialized_start=1531
55
+ _globals['_SWARMRETURNTOHOMEREQUEST']._serialized_end=1680
56
+ _globals['_SWARMRETURNTOHOMERESPONSE']._serialized_start=1683
57
+ _globals['_SWARMRETURNTOHOMERESPONSE']._serialized_end=1880
58
+ _globals['_SWARMSETVELOCITYREQUEST']._serialized_start=1883
59
+ _globals['_SWARMSETVELOCITYREQUEST']._serialized_end=2030
60
+ _globals['_SWARMSETVELOCITYRESPONSE']._serialized_start=2033
61
+ _globals['_SWARMSETVELOCITYRESPONSE']._serialized_end=2228
62
+ _globals['_SWARMSETGIMBALPOSEREQUEST']._serialized_start=2231
63
+ _globals['_SWARMSETGIMBALPOSEREQUEST']._serialized_end=2382
64
+ _globals['_SWARMSETGIMBALPOSERESPONSE']._serialized_start=2385
65
+ _globals['_SWARMSETGIMBALPOSERESPONSE']._serialized_end=2584
66
+ _globals['_SWARMUPLOADMISSIONREQUEST']._serialized_start=2587
67
+ _globals['_SWARMUPLOADMISSIONREQUEST']._serialized_end=2731
68
+ _globals['_SWARMUPLOADMISSIONRESPONSE']._serialized_start=2734
69
+ _globals['_SWARMUPLOADMISSIONRESPONSE']._serialized_end=2926
70
+ _globals['_SWARMSTARTMISSIONREQUEST']._serialized_start=2929
71
+ _globals['_SWARMSTARTMISSIONREQUEST']._serialized_end=3071
72
+ _globals['_SWARMSTARTMISSIONRESPONSE']._serialized_start=3074
73
+ _globals['_SWARMSTARTMISSIONRESPONSE']._serialized_end=3264
74
+ _globals['_SWARMSTOPMISSIONREQUEST']._serialized_start=3267
75
+ _globals['_SWARMSTOPMISSIONREQUEST']._serialized_end=3408
76
+ _globals['_SWARMSTOPMISSIONRESPONSE']._serialized_start=3411
77
+ _globals['_SWARMSTOPMISSIONRESPONSE']._serialized_end=3599
78
+ _globals['_SWARMSERVICE']._serialized_start=3602
79
+ _globals['_SWARMSERVICE']._serialized_end=5099
80
+ # @@protoc_insertion_point(module_scope)