EMANE  1.2.1
build/lib/emane/events/locationevent_pb2.py
Go to the documentation of this file.
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: locationevent.proto
3 
4 import sys
5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
6 from google.protobuf import descriptor as _descriptor
7 from google.protobuf import message as _message
8 from google.protobuf import reflection as _reflection
9 from google.protobuf import symbol_database as _symbol_database
10 from google.protobuf import descriptor_pb2
11 # @@protoc_insertion_point(imports)
12 
13 _sym_db = _symbol_database.Default()
14 
15 
16 
17 
18 DESCRIPTOR = _descriptor.FileDescriptor(
19  name='locationevent.proto',
20  package='EMANEMessage',
21  syntax='proto2',
22  serialized_pb=_b('\n\x13locationevent.proto\x12\x0c\x45MANEMessage\"\xb2\x04\n\rLocationEvent\x12\x37\n\tlocations\x18\x01 \x03(\x0b\x32$.EMANEMessage.LocationEvent.Location\x1a\xe7\x03\n\x08Location\x12\r\n\x05nemId\x18\x01 \x02(\r\x12?\n\x08position\x18\x02 \x02(\x0b\x32-.EMANEMessage.LocationEvent.Location.Position\x12?\n\x08velocity\x18\x03 \x01(\x0b\x32-.EMANEMessage.LocationEvent.Location.Velocity\x12\x45\n\x0borientation\x18\x04 \x01(\x0b\x32\x30.EMANEMessage.LocationEvent.Location.Orientation\x1aU\n\x08Position\x12\x17\n\x0flatitudeDegrees\x18\x01 \x02(\x01\x12\x18\n\x10longitudeDegrees\x18\x02 \x02(\x01\x12\x16\n\x0e\x61ltitudeMeters\x18\x03 \x02(\x01\x1a^\n\x08Velocity\x12\x16\n\x0e\x61zimuthDegrees\x18\x01 \x02(\x01\x12\x18\n\x10\x65levationDegrees\x18\x02 \x02(\x01\x12 \n\x18magnitudeMetersPerSecond\x18\x03 \x02(\x01\x1aL\n\x0bOrientation\x12\x13\n\x0brollDegrees\x18\x01 \x02(\x01\x12\x14\n\x0cpitchDegrees\x18\x02 \x02(\x01\x12\x12\n\nyawDegrees\x18\x03 \x02(\x01\x42\x02H\x01')
23 )
24 
25 
26 
27 
28 _LOCATIONEVENT_LOCATION_POSITION = _descriptor.Descriptor(
29  name='Position',
30  full_name='EMANEMessage.LocationEvent.Location.Position',
31  filename=None,
32  file=DESCRIPTOR,
33  containing_type=None,
34  fields=[
35  _descriptor.FieldDescriptor(
36  name='latitudeDegrees', full_name='EMANEMessage.LocationEvent.Location.Position.latitudeDegrees', index=0,
37  number=1, type=1, cpp_type=5, label=2,
38  has_default_value=False, default_value=float(0),
39  message_type=None, enum_type=None, containing_type=None,
40  is_extension=False, extension_scope=None,
41  options=None),
42  _descriptor.FieldDescriptor(
43  name='longitudeDegrees', full_name='EMANEMessage.LocationEvent.Location.Position.longitudeDegrees', index=1,
44  number=2, type=1, cpp_type=5, label=2,
45  has_default_value=False, default_value=float(0),
46  message_type=None, enum_type=None, containing_type=None,
47  is_extension=False, extension_scope=None,
48  options=None),
49  _descriptor.FieldDescriptor(
50  name='altitudeMeters', full_name='EMANEMessage.LocationEvent.Location.Position.altitudeMeters', index=2,
51  number=3, type=1, cpp_type=5, label=2,
52  has_default_value=False, default_value=float(0),
53  message_type=None, enum_type=None, containing_type=None,
54  is_extension=False, extension_scope=None,
55  options=None),
56  ],
57  extensions=[
58  ],
59  nested_types=[],
60  enum_types=[
61  ],
62  options=None,
63  is_extendable=False,
64  syntax='proto2',
65  extension_ranges=[],
66  oneofs=[
67  ],
68  serialized_start=341,
69  serialized_end=426,
70 )
71 
72 _LOCATIONEVENT_LOCATION_VELOCITY = _descriptor.Descriptor(
73  name='Velocity',
74  full_name='EMANEMessage.LocationEvent.Location.Velocity',
75  filename=None,
76  file=DESCRIPTOR,
77  containing_type=None,
78  fields=[
79  _descriptor.FieldDescriptor(
80  name='azimuthDegrees', full_name='EMANEMessage.LocationEvent.Location.Velocity.azimuthDegrees', index=0,
81  number=1, type=1, cpp_type=5, label=2,
82  has_default_value=False, default_value=float(0),
83  message_type=None, enum_type=None, containing_type=None,
84  is_extension=False, extension_scope=None,
85  options=None),
86  _descriptor.FieldDescriptor(
87  name='elevationDegrees', full_name='EMANEMessage.LocationEvent.Location.Velocity.elevationDegrees', index=1,
88  number=2, type=1, cpp_type=5, label=2,
89  has_default_value=False, default_value=float(0),
90  message_type=None, enum_type=None, containing_type=None,
91  is_extension=False, extension_scope=None,
92  options=None),
93  _descriptor.FieldDescriptor(
94  name='magnitudeMetersPerSecond', full_name='EMANEMessage.LocationEvent.Location.Velocity.magnitudeMetersPerSecond', index=2,
95  number=3, type=1, cpp_type=5, label=2,
96  has_default_value=False, default_value=float(0),
97  message_type=None, enum_type=None, containing_type=None,
98  is_extension=False, extension_scope=None,
99  options=None),
100  ],
101  extensions=[
102  ],
103  nested_types=[],
104  enum_types=[
105  ],
106  options=None,
107  is_extendable=False,
108  syntax='proto2',
109  extension_ranges=[],
110  oneofs=[
111  ],
112  serialized_start=428,
113  serialized_end=522,
114 )
115 
116 _LOCATIONEVENT_LOCATION_ORIENTATION = _descriptor.Descriptor(
117  name='Orientation',
118  full_name='EMANEMessage.LocationEvent.Location.Orientation',
119  filename=None,
120  file=DESCRIPTOR,
121  containing_type=None,
122  fields=[
123  _descriptor.FieldDescriptor(
124  name='rollDegrees', full_name='EMANEMessage.LocationEvent.Location.Orientation.rollDegrees', index=0,
125  number=1, type=1, cpp_type=5, label=2,
126  has_default_value=False, default_value=float(0),
127  message_type=None, enum_type=None, containing_type=None,
128  is_extension=False, extension_scope=None,
129  options=None),
130  _descriptor.FieldDescriptor(
131  name='pitchDegrees', full_name='EMANEMessage.LocationEvent.Location.Orientation.pitchDegrees', index=1,
132  number=2, type=1, cpp_type=5, label=2,
133  has_default_value=False, default_value=float(0),
134  message_type=None, enum_type=None, containing_type=None,
135  is_extension=False, extension_scope=None,
136  options=None),
137  _descriptor.FieldDescriptor(
138  name='yawDegrees', full_name='EMANEMessage.LocationEvent.Location.Orientation.yawDegrees', index=2,
139  number=3, type=1, cpp_type=5, label=2,
140  has_default_value=False, default_value=float(0),
141  message_type=None, enum_type=None, containing_type=None,
142  is_extension=False, extension_scope=None,
143  options=None),
144  ],
145  extensions=[
146  ],
147  nested_types=[],
148  enum_types=[
149  ],
150  options=None,
151  is_extendable=False,
152  syntax='proto2',
153  extension_ranges=[],
154  oneofs=[
155  ],
156  serialized_start=524,
157  serialized_end=600,
158 )
159 
160 _LOCATIONEVENT_LOCATION = _descriptor.Descriptor(
161  name='Location',
162  full_name='EMANEMessage.LocationEvent.Location',
163  filename=None,
164  file=DESCRIPTOR,
165  containing_type=None,
166  fields=[
167  _descriptor.FieldDescriptor(
168  name='nemId', full_name='EMANEMessage.LocationEvent.Location.nemId', index=0,
169  number=1, type=13, cpp_type=3, label=2,
170  has_default_value=False, default_value=0,
171  message_type=None, enum_type=None, containing_type=None,
172  is_extension=False, extension_scope=None,
173  options=None),
174  _descriptor.FieldDescriptor(
175  name='position', full_name='EMANEMessage.LocationEvent.Location.position', index=1,
176  number=2, type=11, cpp_type=10, label=2,
177  has_default_value=False, default_value=None,
178  message_type=None, enum_type=None, containing_type=None,
179  is_extension=False, extension_scope=None,
180  options=None),
181  _descriptor.FieldDescriptor(
182  name='velocity', full_name='EMANEMessage.LocationEvent.Location.velocity', index=2,
183  number=3, type=11, cpp_type=10, label=1,
184  has_default_value=False, default_value=None,
185  message_type=None, enum_type=None, containing_type=None,
186  is_extension=False, extension_scope=None,
187  options=None),
188  _descriptor.FieldDescriptor(
189  name='orientation', full_name='EMANEMessage.LocationEvent.Location.orientation', index=3,
190  number=4, type=11, cpp_type=10, label=1,
191  has_default_value=False, default_value=None,
192  message_type=None, enum_type=None, containing_type=None,
193  is_extension=False, extension_scope=None,
194  options=None),
195  ],
196  extensions=[
197  ],
198  nested_types=[_LOCATIONEVENT_LOCATION_POSITION, _LOCATIONEVENT_LOCATION_VELOCITY, _LOCATIONEVENT_LOCATION_ORIENTATION, ],
199  enum_types=[
200  ],
201  options=None,
202  is_extendable=False,
203  syntax='proto2',
204  extension_ranges=[],
205  oneofs=[
206  ],
207  serialized_start=113,
208  serialized_end=600,
209 )
210 
211 _LOCATIONEVENT = _descriptor.Descriptor(
212  name='LocationEvent',
213  full_name='EMANEMessage.LocationEvent',
214  filename=None,
215  file=DESCRIPTOR,
216  containing_type=None,
217  fields=[
218  _descriptor.FieldDescriptor(
219  name='locations', full_name='EMANEMessage.LocationEvent.locations', index=0,
220  number=1, type=11, cpp_type=10, label=3,
221  has_default_value=False, default_value=[],
222  message_type=None, enum_type=None, containing_type=None,
223  is_extension=False, extension_scope=None,
224  options=None),
225  ],
226  extensions=[
227  ],
228  nested_types=[_LOCATIONEVENT_LOCATION, ],
229  enum_types=[
230  ],
231  options=None,
232  is_extendable=False,
233  syntax='proto2',
234  extension_ranges=[],
235  oneofs=[
236  ],
237  serialized_start=38,
238  serialized_end=600,
239 )
240 
241 _LOCATIONEVENT_LOCATION_POSITION.containing_type = _LOCATIONEVENT_LOCATION
242 _LOCATIONEVENT_LOCATION_VELOCITY.containing_type = _LOCATIONEVENT_LOCATION
243 _LOCATIONEVENT_LOCATION_ORIENTATION.containing_type = _LOCATIONEVENT_LOCATION
244 _LOCATIONEVENT_LOCATION.fields_by_name['position'].message_type = _LOCATIONEVENT_LOCATION_POSITION
245 _LOCATIONEVENT_LOCATION.fields_by_name['velocity'].message_type = _LOCATIONEVENT_LOCATION_VELOCITY
246 _LOCATIONEVENT_LOCATION.fields_by_name['orientation'].message_type = _LOCATIONEVENT_LOCATION_ORIENTATION
247 _LOCATIONEVENT_LOCATION.containing_type = _LOCATIONEVENT
248 _LOCATIONEVENT.fields_by_name['locations'].message_type = _LOCATIONEVENT_LOCATION
249 DESCRIPTOR.message_types_by_name['LocationEvent'] = _LOCATIONEVENT
250 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
251 
252 LocationEvent = _reflection.GeneratedProtocolMessageType('LocationEvent', (_message.Message,), dict(
253 
254  Location = _reflection.GeneratedProtocolMessageType('Location', (_message.Message,), dict(
255 
256  Position = _reflection.GeneratedProtocolMessageType('Position', (_message.Message,), dict(
257  DESCRIPTOR = _LOCATIONEVENT_LOCATION_POSITION,
258  __module__ = 'locationevent_pb2'
259  # @@protoc_insertion_point(class_scope:EMANEMessage.LocationEvent.Location.Position)
260  ))
261  ,
262 
263  Velocity = _reflection.GeneratedProtocolMessageType('Velocity', (_message.Message,), dict(
264  DESCRIPTOR = _LOCATIONEVENT_LOCATION_VELOCITY,
265  __module__ = 'locationevent_pb2'
266  # @@protoc_insertion_point(class_scope:EMANEMessage.LocationEvent.Location.Velocity)
267  ))
268  ,
269 
270  Orientation = _reflection.GeneratedProtocolMessageType('Orientation', (_message.Message,), dict(
271  DESCRIPTOR = _LOCATIONEVENT_LOCATION_ORIENTATION,
272  __module__ = 'locationevent_pb2'
273  # @@protoc_insertion_point(class_scope:EMANEMessage.LocationEvent.Location.Orientation)
274  ))
275  ,
276  DESCRIPTOR = _LOCATIONEVENT_LOCATION,
277  __module__ = 'locationevent_pb2'
278  # @@protoc_insertion_point(class_scope:EMANEMessage.LocationEvent.Location)
279  ))
280  ,
281  DESCRIPTOR = _LOCATIONEVENT,
282  __module__ = 'locationevent_pb2'
283  # @@protoc_insertion_point(class_scope:EMANEMessage.LocationEvent)
284  ))
285 _sym_db.RegisterMessage(LocationEvent)
286 _sym_db.RegisterMessage(LocationEvent.Location)
287 _sym_db.RegisterMessage(LocationEvent.Location.Position)
288 _sym_db.RegisterMessage(LocationEvent.Location.Velocity)
289 _sym_db.RegisterMessage(LocationEvent.Location.Orientation)
290 
291 
292 DESCRIPTOR.has_options = True
293 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('H\001'))
294 # @@protoc_insertion_point(module_scope)