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.
- steeleagle_protocol/v1/common_pb2.py +43 -0
- steeleagle_protocol/v1/common_pb2_grpc.py +4 -0
- steeleagle_protocol/v1/messages/result/result_pb2.py +49 -0
- steeleagle_protocol/v1/messages/result/result_pb2_grpc.py +4 -0
- steeleagle_protocol/v1/messages/stream/stream_pb2.py +70 -0
- steeleagle_protocol/v1/messages/stream/stream_pb2_grpc.py +4 -0
- steeleagle_protocol/v1/services/driver/control_pb2.py +88 -0
- steeleagle_protocol/v1/services/driver/control_pb2_grpc.py +583 -0
- steeleagle_protocol/v1/services/driver/stream_pb2.py +52 -0
- steeleagle_protocol/v1/services/driver/stream_pb2_grpc.py +198 -0
- steeleagle_protocol/v1/services/mission/mission_pb2.py +51 -0
- steeleagle_protocol/v1/services/mission/mission_pb2_grpc.py +200 -0
- steeleagle_protocol/v1/services/swarm/swarm_pb2.py +80 -0
- steeleagle_protocol/v1/services/swarm/swarm_pb2_grpc.py +565 -0
- steeleagle_protocol/v1/services/vehicle/compute_pb2.py +47 -0
- steeleagle_protocol/v1/services/vehicle/compute_pb2_grpc.py +102 -0
- steeleagle_protocol/v1/services/vehicle/data_pb2.py +51 -0
- steeleagle_protocol/v1/services/vehicle/data_pb2_grpc.py +190 -0
- steeleagle_protocol-0.1.0.dist-info/METADATA +15 -0
- steeleagle_protocol-0.1.0.dist-info/RECORD +22 -0
- steeleagle_protocol-0.1.0.dist-info/WHEEL +5 -0
- steeleagle_protocol-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,43 @@
|
|
|
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/common.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/common.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#steeleagle_protocol/v1/common.proto\x12\x16steeleagle_protocol.v1\"l\n\x04Pose\x12\x19\n\x05pitch\x18\x01 \x01(\x01H\x00R\x05pitch\x88\x01\x01\x12\x17\n\x04roll\x18\x02 \x01(\x01H\x01R\x04roll\x88\x01\x01\x12\x15\n\x03yaw\x18\x03 \x01(\x01H\x02R\x03yaw\x88\x01\x01\x42\x08\n\x06_pitchB\x07\n\x05_rollB\x06\n\x04_yaw\"\xac\x01\n\x08Velocity\x12\x18\n\x05x_vel\x18\x01 \x01(\x01H\x00R\x04xVel\x88\x01\x01\x12\x18\n\x05y_vel\x18\x02 \x01(\x01H\x01R\x04yVel\x88\x01\x01\x12\x18\n\x05z_vel\x18\x03 \x01(\x01H\x02R\x04zVel\x88\x01\x01\x12$\n\x0b\x61ngular_vel\x18\x04 \x01(\x01H\x03R\nangularVel\x88\x01\x01\x42\x08\n\x06_x_velB\x08\n\x06_y_velB\x08\n\x06_z_velB\x0e\n\x0c_angular_vel\"\xc8\x01\n\x0eGlobalPosition\x12\x1f\n\x08latitude\x18\x01 \x01(\x01H\x00R\x08latitude\x88\x01\x01\x12!\n\tlongitude\x18\x02 \x01(\x01H\x01R\tlongitude\x88\x01\x01\x12\x1f\n\x08\x61ltitude\x18\x03 \x01(\x01H\x02R\x08\x61ltitude\x88\x01\x01\x12\x1d\n\x07heading\x18\x04 \x01(\x01H\x03R\x07heading\x88\x01\x01\x42\x0b\n\t_latitudeB\x0c\n\n_longitudeB\x0b\n\t_altitudeB\n\n\x08_heading\"\x82\x01\n\x10RelativePosition\x12\x11\n\x01x\x18\x01 \x01(\x01H\x00R\x01x\x88\x01\x01\x12\x11\n\x01y\x18\x02 \x01(\x01H\x01R\x01y\x88\x01\x01\x12\x11\n\x01z\x18\x03 \x01(\x01H\x02R\x01z\x88\x01\x01\x12\x19\n\x05\x61ngle\x18\x04 \x01(\x01H\x03R\x05\x61ngle\x88\x01\x01\x42\x04\n\x02_xB\x04\n\x02_yB\x04\n\x02_zB\x08\n\x06_angleB\xf5\x01\n\x1a\x63om.steeleagle_protocol.v1B\x0b\x43ommonProtoP\x01ZUgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1;steeleagle_protocolv1\xa2\x02\x03SXX\xaa\x02\x15SteeleagleProtocol.V1\xca\x02\x15SteeleagleProtocol\\V1\xe2\x02!SteeleagleProtocol\\V1\\GPBMetadata\xea\x02\x16SteeleagleProtocol::V1b\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.common_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\032com.steeleagle_protocol.v1B\013CommonProtoP\001ZUgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1;steeleagle_protocolv1\242\002\003SXX\252\002\025SteeleagleProtocol.V1\312\002\025SteeleagleProtocol\\V1\342\002!SteeleagleProtocol\\V1\\GPBMetadata\352\002\026SteeleagleProtocol::V1'
|
|
35
|
+
_globals['_POSE']._serialized_start=63
|
|
36
|
+
_globals['_POSE']._serialized_end=171
|
|
37
|
+
_globals['_VELOCITY']._serialized_start=174
|
|
38
|
+
_globals['_VELOCITY']._serialized_end=346
|
|
39
|
+
_globals['_GLOBALPOSITION']._serialized_start=349
|
|
40
|
+
_globals['_GLOBALPOSITION']._serialized_end=549
|
|
41
|
+
_globals['_RELATIVEPOSITION']._serialized_start=552
|
|
42
|
+
_globals['_RELATIVEPOSITION']._serialized_end=682
|
|
43
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,49 @@
|
|
|
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/messages/result/result.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/messages/result/result.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 google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3steeleagle_protocol/v1/messages/result/result.proto\x12&steeleagle_protocol.v1.messages.result\x1a#steeleagle_protocol/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"a\n\x0b\x42oundingBox\x12\x13\n\x05y_min\x18\x01 \x01(\x01R\x04yMin\x12\x13\n\x05x_min\x18\x02 \x01(\x01R\x04xMin\x12\x13\n\x05y_max\x18\x03 \x01(\x01R\x04yMax\x12\x13\n\x05x_max\x18\x04 \x01(\x01R\x04xMax\"\x89\x01\n\tDetection\x12\x1d\n\nclass_name\x18\x01 \x01(\tR\tclassName\x12\x14\n\x05score\x18\x02 \x01(\x01R\x05score\x12G\n\x04\x62\x62ox\x18\x03 \x01(\x0b\x32\x33.steeleagle_protocol.v1.messages.result.BoundingBoxR\x04\x62\x62ox\"d\n\x0f\x44\x65tectionResult\x12Q\n\ndetections\x18\x01 \x03(\x0b\x32\x31.steeleagle_protocol.v1.messages.result.DetectionR\ndetections\"R\n\x0eGuidanceResult\x12@\n\ntrajectory\x18\x01 \x01(\x0b\x32 .steeleagle_protocol.v1.VelocityR\ntrajectory\"\xc4\x01\n\nSLAMResult\x12W\n\x11relative_position\x18\x01 \x01(\x0b\x32(.steeleagle_protocol.v1.RelativePositionH\x00R\x10relativePosition\x12Q\n\x0fglobal_position\x18\x02 \x01(\x0b\x32&.steeleagle_protocol.v1.GlobalPositionH\x00R\x0eglobalPositionB\n\n\x08position\"\x9a\x03\n\rComputeResult\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12\x64\n\x10\x64\x65tection_result\x18\x02 \x01(\x0b\x32\x37.steeleagle_protocol.v1.messages.result.DetectionResultH\x00R\x0f\x64\x65tectionResult\x12\x61\n\x0fguidance_result\x18\x03 \x01(\x0b\x32\x36.steeleagle_protocol.v1.messages.result.GuidanceResultH\x00R\x0eguidanceResult\x12U\n\x0bslam_result\x18\x04 \x01(\x0b\x32\x32.steeleagle_protocol.v1.messages.result.SLAMResultH\x00R\nslamResult\x12\'\n\x0egeneric_result\x18\x05 \x01(\x0cH\x00R\rgenericResultB\x06\n\x04typeB\xc2\x02\n*com.steeleagle_protocol.v1.messages.resultB\x0bResultProtoP\x01ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/messages/result\xa2\x02\x04SVMR\xaa\x02%SteeleagleProtocol.V1.Messages.Result\xca\x02%SteeleagleProtocol\\V1\\Messages\\Result\xe2\x02\x31SteeleagleProtocol\\V1\\Messages\\Result\\GPBMetadata\xea\x02(SteeleagleProtocol::V1::Messages::Resultb\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.messages.result.result_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n*com.steeleagle_protocol.v1.messages.resultB\013ResultProtoP\001ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/messages/result\242\002\004SVMR\252\002%SteeleagleProtocol.V1.Messages.Result\312\002%SteeleagleProtocol\\V1\\Messages\\Result\342\0021SteeleagleProtocol\\V1\\Messages\\Result\\GPBMetadata\352\002(SteeleagleProtocol::V1::Messages::Result'
|
|
37
|
+
_globals['_BOUNDINGBOX']._serialized_start=165
|
|
38
|
+
_globals['_BOUNDINGBOX']._serialized_end=262
|
|
39
|
+
_globals['_DETECTION']._serialized_start=265
|
|
40
|
+
_globals['_DETECTION']._serialized_end=402
|
|
41
|
+
_globals['_DETECTIONRESULT']._serialized_start=404
|
|
42
|
+
_globals['_DETECTIONRESULT']._serialized_end=504
|
|
43
|
+
_globals['_GUIDANCERESULT']._serialized_start=506
|
|
44
|
+
_globals['_GUIDANCERESULT']._serialized_end=588
|
|
45
|
+
_globals['_SLAMRESULT']._serialized_start=591
|
|
46
|
+
_globals['_SLAMRESULT']._serialized_end=787
|
|
47
|
+
_globals['_COMPUTERESULT']._serialized_start=790
|
|
48
|
+
_globals['_COMPUTERESULT']._serialized_end=1200
|
|
49
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,70 @@
|
|
|
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/messages/stream/stream.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/messages/stream/stream.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 google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
27
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3steeleagle_protocol/v1/messages/stream/stream.proto\x12&steeleagle_protocol.v1.messages.stream\x1a#steeleagle_protocol/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"#\n\x0bVehicleInfo\x12\x14\n\x05\x61rmed\x18\x01 \x01(\x08R\x05\x61rmed\"-\n\x0b\x42\x61tteryInfo\x12\x1e\n\npercentage\x18\x01 \x01(\rR\npercentage\")\n\x07GPSInfo\x12\x1e\n\nsatellites\x18\x01 \x01(\rR\nsatellites\"\x0b\n\tCommsInfo\"\xb9\x02\n\x0cPositionInfo\x12:\n\x04home\x18\x01 \x01(\x0b\x32&.steeleagle_protocol.v1.GlobalPositionR\x04home\x12O\n\x0fglobal_position\x18\x02 \x01(\x0b\x32&.steeleagle_protocol.v1.GlobalPositionR\x0eglobalPosition\x12U\n\x11relative_position\x18\x03 \x01(\x0b\x32(.steeleagle_protocol.v1.RelativePositionR\x10relativePosition\x12\x45\n\rvelocity_body\x18\x04 \x01(\x0b\x32 .steeleagle_protocol.v1.VelocityR\x0cvelocityBody\"\x92\x01\n\x0cGimbalStatus\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id\x12\x39\n\tpose_body\x18\x02 \x01(\x0b\x32\x1c.steeleagle_protocol.v1.PoseR\x08poseBody\x12\x37\n\x08pose_neu\x18\x03 \x01(\x0b\x32\x1c.steeleagle_protocol.v1.PoseR\x07poseNeu\"\\\n\nGimbalInfo\x12N\n\x07gimbals\x18\x01 \x03(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.GimbalStatusR\x07gimbals\"\xfc\x03\n\tAlertInfo\x12_\n\x0f\x62\x61ttery_warning\x18\x01 \x01(\x0e\x32\x36.steeleagle_protocol.v1.messages.stream.BatteryWarningR\x0e\x62\x61tteryWarning\x12S\n\x0bgps_warning\x18\x02 \x01(\x0e\x32\x32.steeleagle_protocol.v1.messages.stream.GPSWarningR\ngpsWarning\x12n\n\x14magnetometer_warning\x18\x03 \x01(\x0e\x32;.steeleagle_protocol.v1.messages.stream.MagnetometerWarningR\x13magnetometerWarning\x12h\n\x12\x63onnection_warning\x18\x04 \x01(\x0e\x32\x39.steeleagle_protocol.v1.messages.stream.ConnectionWarningR\x11\x63onnectionWarning\x12_\n\x0f\x63ompass_warning\x18\x05 \x01(\x0e\x32\x36.steeleagle_protocol.v1.messages.stream.CompassWarningR\x0e\x63ompassWarning\"\x95\x05\n\tTelemetry\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12V\n\x0cvehicle_info\x18\x02 \x01(\x0b\x32\x33.steeleagle_protocol.v1.messages.stream.VehicleInfoR\x0bvehicleInfo\x12V\n\x0c\x62\x61ttery_info\x18\x03 \x01(\x0b\x32\x33.steeleagle_protocol.v1.messages.stream.BatteryInfoR\x0b\x62\x61tteryInfo\x12J\n\x08gps_info\x18\x04 \x01(\x0b\x32/.steeleagle_protocol.v1.messages.stream.GPSInfoR\x07gpsInfo\x12P\n\ncomms_info\x18\x05 \x01(\x0b\x32\x31.steeleagle_protocol.v1.messages.stream.CommsInfoR\tcommsInfo\x12Y\n\rposition_info\x18\x06 \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.PositionInfoR\x0cpositionInfo\x12S\n\x0bgimbal_info\x18\x07 \x01(\x0b\x32\x32.steeleagle_protocol.v1.messages.stream.GimbalInfoR\ngimbalInfo\x12P\n\nalert_info\x18\x08 \x01(\x0b\x32\x31.steeleagle_protocol.v1.messages.stream.AlertInfoR\talertInfo\"\x92\x03\n\x08RawFrame\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x13\n\x05h_res\x18\x03 \x01(\x04R\x04hRes\x12\x13\n\x05v_res\x18\x04 \x01(\x04R\x04vRes\x12\x13\n\x05\x64_res\x18\x05 \x01(\x04R\x04\x64Res\x12\x1a\n\x08\x63hannels\x18\x06 \x01(\x04R\x08\x63hannels\x12\x0e\n\x02id\x18\x07 \x01(\x04R\x02id\x12Y\n\rposition_info\x18\x08 \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.PositionInfoR\x0cpositionInfo\x12U\n\x0bgimbal_info\x18\t \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.GimbalStatusR\ngimbalInfo\x12\x1b\n\tcamera_id\x18\n \x01(\x04R\x08\x63\x61meraId\"\xca\x02\n\x0c\x45ncodedFrame\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12!\n\x0c\x65ncoded_data\x18\x02 \x01(\x0cR\x0b\x65ncodedData\x12\x0e\n\x02id\x18\x03 \x01(\x04R\x02id\x12Y\n\rposition_info\x18\x04 \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.PositionInfoR\x0cpositionInfo\x12U\n\x0bgimbal_info\x18\x05 \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.GimbalStatusR\ngimbalInfo\x12\x1b\n\tcamera_id\x18\x06 \x01(\x04R\x08\x63\x61meraId*h\n\x0e\x42\x61tteryWarning\x12\x1f\n\x1b\x42\x41TTERY_WARNING_UNSPECIFIED\x10\x00\x12\x17\n\x13\x42\x41TTERY_WARNING_LOW\x10\x01\x12\x1c\n\x18\x42\x41TTERY_WARNING_CRITICAL\x10\x02*^\n\nGPSWarning\x12\x1b\n\x17GPS_WARNING_UNSPECIFIED\x10\x00\x12\x1b\n\x17GPS_WARNING_WEAK_SIGNAL\x10\x01\x12\x16\n\x12GPS_WARNING_NO_FIX\x10\x02*c\n\x13MagnetometerWarning\x12$\n MAGNETOMETER_WARNING_UNSPECIFIED\x10\x00\x12&\n\"MAGNETOMETER_WARNING_PERTURBATIONS\x10\x01*\x84\x01\n\x11\x43onnectionWarning\x12\"\n\x1e\x43ONNECTION_WARNING_UNSPECIFIED\x10\x00\x12#\n\x1f\x43ONNECTION_WARNING_DISCONNECTED\x10\x01\x12&\n\"CONNECTION_WARNING_WEAK_CONNECTION\x10\x02*m\n\x0e\x43ompassWarning\x12\x1f\n\x1b\x43OMPASS_WARNING_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x43OMPASS_WARNING_WEAK_LOCK\x10\x01\x12\x1b\n\x17\x43OMPASS_WARNING_NO_LOCK\x10\x02\x42\xc2\x02\n*com.steeleagle_protocol.v1.messages.streamB\x0bStreamProtoP\x01ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/messages/stream\xa2\x02\x04SVMS\xaa\x02%SteeleagleProtocol.V1.Messages.Stream\xca\x02%SteeleagleProtocol\\V1\\Messages\\Stream\xe2\x02\x31SteeleagleProtocol\\V1\\Messages\\Stream\\GPBMetadata\xea\x02(SteeleagleProtocol::V1::Messages::Streamb\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.messages.stream.stream_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.messages.streamB\013StreamProtoP\001ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/messages/stream\242\002\004SVMS\252\002%SteeleagleProtocol.V1.Messages.Stream\312\002%SteeleagleProtocol\\V1\\Messages\\Stream\342\0021SteeleagleProtocol\\V1\\Messages\\Stream\\GPBMetadata\352\002(SteeleagleProtocol::V1::Messages::Stream'
|
|
38
|
+
_globals['_BATTERYWARNING']._serialized_start=2809
|
|
39
|
+
_globals['_BATTERYWARNING']._serialized_end=2913
|
|
40
|
+
_globals['_GPSWARNING']._serialized_start=2915
|
|
41
|
+
_globals['_GPSWARNING']._serialized_end=3009
|
|
42
|
+
_globals['_MAGNETOMETERWARNING']._serialized_start=3011
|
|
43
|
+
_globals['_MAGNETOMETERWARNING']._serialized_end=3110
|
|
44
|
+
_globals['_CONNECTIONWARNING']._serialized_start=3113
|
|
45
|
+
_globals['_CONNECTIONWARNING']._serialized_end=3245
|
|
46
|
+
_globals['_COMPASSWARNING']._serialized_start=3247
|
|
47
|
+
_globals['_COMPASSWARNING']._serialized_end=3356
|
|
48
|
+
_globals['_VEHICLEINFO']._serialized_start=197
|
|
49
|
+
_globals['_VEHICLEINFO']._serialized_end=232
|
|
50
|
+
_globals['_BATTERYINFO']._serialized_start=234
|
|
51
|
+
_globals['_BATTERYINFO']._serialized_end=279
|
|
52
|
+
_globals['_GPSINFO']._serialized_start=281
|
|
53
|
+
_globals['_GPSINFO']._serialized_end=322
|
|
54
|
+
_globals['_COMMSINFO']._serialized_start=324
|
|
55
|
+
_globals['_COMMSINFO']._serialized_end=335
|
|
56
|
+
_globals['_POSITIONINFO']._serialized_start=338
|
|
57
|
+
_globals['_POSITIONINFO']._serialized_end=651
|
|
58
|
+
_globals['_GIMBALSTATUS']._serialized_start=654
|
|
59
|
+
_globals['_GIMBALSTATUS']._serialized_end=800
|
|
60
|
+
_globals['_GIMBALINFO']._serialized_start=802
|
|
61
|
+
_globals['_GIMBALINFO']._serialized_end=894
|
|
62
|
+
_globals['_ALERTINFO']._serialized_start=897
|
|
63
|
+
_globals['_ALERTINFO']._serialized_end=1405
|
|
64
|
+
_globals['_TELEMETRY']._serialized_start=1408
|
|
65
|
+
_globals['_TELEMETRY']._serialized_end=2069
|
|
66
|
+
_globals['_RAWFRAME']._serialized_start=2072
|
|
67
|
+
_globals['_RAWFRAME']._serialized_end=2474
|
|
68
|
+
_globals['_ENCODEDFRAME']._serialized_start=2477
|
|
69
|
+
_globals['_ENCODEDFRAME']._serialized_end=2807
|
|
70
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,88 @@
|
|
|
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/driver/control.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/driver/control.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
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4steeleagle_protocol/v1/services/driver/control.proto\x12.steeleagle_protocol.v1.services.driver.control\x1a#steeleagle_protocol/v1/common.proto\"<\n\x0eTakeOffRequest\x12*\n\x11take_off_altitude\x18\x01 \x01(\x02R\x0ftakeOffAltitude\"\x11\n\x0fTakeOffResponse\"\r\n\x0bLandRequest\"\x0e\n\x0cLandResponse\"\r\n\x0bHoldRequest\"\x0e\n\x0cHoldResponse\"\r\n\x0bKillRequest\"\x0e\n\x0cKillResponse\"S\n\x0eSetHomeRequest\x12\x41\n\x08new_home\x18\x01 \x01(\x0b\x32&.steeleagle_protocol.v1.GlobalPositionR\x07newHome\"\x11\n\x0fSetHomeResponse\"\xd1\x01\n\x13ReturnToHomeRequest\x12j\n\x0c\x65nd_behavior\x18\x01 \x01(\x0e\x32G.steeleagle_protocol.v1.services.driver.control.ReturnToHomeEndBehaviorR\x0b\x65ndBehavior\x12\'\n\x0freturn_altitude\x18\x02 \x01(\rR\x0ereturnAltitude\x12%\n\x0e\x66inal_altitude\x18\x03 \x01(\rR\rfinalAltitude\"\x16\n\x14ReturnToHomeResponse\"\xaa\x03\n\x19GoToGlobalPositionRequest\x12\x42\n\x08position\x18\x01 \x01(\x0b\x32&.steeleagle_protocol.v1.GlobalPositionR\x08position\x12\x63\n\x0cheading_mode\x18\x02 \x01(\x0e\x32;.steeleagle_protocol.v1.services.driver.control.HeadingModeH\x00R\x0bheadingMode\x88\x01\x01\x12\x66\n\raltitude_mode\x18\x03 \x01(\x0e\x32<.steeleagle_protocol.v1.services.driver.control.AltitudeModeH\x01R\x0c\x61ltitudeMode\x88\x01\x01\x12H\n\x0cmax_velocity\x18\x04 \x01(\x0b\x32 .steeleagle_protocol.v1.VelocityH\x02R\x0bmaxVelocity\x88\x01\x01\x42\x0f\n\r_heading_modeB\x10\n\x0e_altitude_modeB\x0f\n\r_max_velocity\"\x1c\n\x1aGoToGlobalPositionResponse\"\xa3\x02\n\x1bGoToRelativePositionRequest\x12\x44\n\x08position\x18\x01 \x01(\x0b\x32(.steeleagle_protocol.v1.RelativePositionR\x08position\x12H\n\x0cmax_velocity\x18\x02 \x01(\x0b\x32 .steeleagle_protocol.v1.VelocityH\x00R\x0bmaxVelocity\x88\x01\x01\x12Y\n\x05\x66rame\x18\x03 \x01(\x0e\x32>.steeleagle_protocol.v1.services.driver.control.ReferenceFrameH\x01R\x05\x66rame\x88\x01\x01\x42\x0f\n\r_max_velocityB\x08\n\x06_frame\"\x1e\n\x1cGoToRelativePositionResponse\"\xb7\x01\n\x12SetVelocityRequest\x12<\n\x08velocity\x18\x01 \x01(\x0b\x32 .steeleagle_protocol.v1.VelocityR\x08velocity\x12Y\n\x05\x66rame\x18\x02 \x01(\x0e\x32>.steeleagle_protocol.v1.services.driver.control.ReferenceFrameH\x00R\x05\x66rame\x88\x01\x01\x42\x08\n\x06_frame\"\x15\n\x13SetVelocityResponse\"\xb4\x02\n\x14SetGimbalPoseRequest\x12\x1b\n\tgimbal_id\x18\x01 \x01(\rR\x08gimbalId\x12\x30\n\x04pose\x18\x02 \x01(\x0b\x32\x1c.steeleagle_protocol.v1.PoseR\x04pose\x12Z\n\tpose_mode\x18\x03 \x01(\x0e\x32\x38.steeleagle_protocol.v1.services.driver.control.PoseModeH\x00R\x08poseMode\x88\x01\x01\x12Y\n\x05\x66rame\x18\x04 \x01(\x0e\x32>.steeleagle_protocol.v1.services.driver.control.ReferenceFrameH\x01R\x05\x66rame\x88\x01\x01\x42\x0c\n\n_pose_modeB\x08\n\x06_frame\"\x17\n\x15SetGimbalPoseResponse*\x93\x01\n\x17ReturnToHomeEndBehavior\x12+\n\'RETURN_TO_HOME_END_BEHAVIOR_UNSPECIFIED\x10\x00\x12%\n!RETURN_TO_HOME_END_BEHAVIOR_HOVER\x10\x01\x12$\n RETURN_TO_HOME_END_BEHAVIOR_LAND\x10\x02*e\n\x0c\x41ltitudeMode\x12\x1d\n\x19\x41LTITUDE_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x41LTITUDE_MODE_ABSOLUTE\x10\x01\x12\x1a\n\x16\x41LTITUDE_MODE_RELATIVE\x10\x02*_\n\x0bHeadingMode\x12\x1c\n\x18HEADING_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16HEADING_MODE_TO_TARGET\x10\x01\x12\x16\n\x12HEADING_MODE_START\x10\x02*d\n\x0eReferenceFrame\x12\x1f\n\x1bREFERENCE_FRAME_UNSPECIFIED\x10\x00\x12\x18\n\x14REFERENCE_FRAME_BODY\x10\x01\x12\x17\n\x13REFERENCE_FRAME_NEU\x10\x02*h\n\x08PoseMode\x12\x19\n\x15POSE_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fPOSE_MODE_ANGLE\x10\x01\x12\x14\n\x10POSE_MODE_OFFSET\x10\x02\x12\x16\n\x12POSE_MODE_VELOCITY\x10\x03\x32\x80\x0c\n\x0e\x43ontrolService\x12\x8c\x01\n\x07TakeOff\x12>.steeleagle_protocol.v1.services.driver.control.TakeOffRequest\x1a?.steeleagle_protocol.v1.services.driver.control.TakeOffResponse\"\x00\x12\x83\x01\n\x04Land\x12;.steeleagle_protocol.v1.services.driver.control.LandRequest\x1a<.steeleagle_protocol.v1.services.driver.control.LandResponse\"\x00\x12\x83\x01\n\x04Hold\x12;.steeleagle_protocol.v1.services.driver.control.HoldRequest\x1a<.steeleagle_protocol.v1.services.driver.control.HoldResponse\"\x00\x12\x83\x01\n\x04Kill\x12;.steeleagle_protocol.v1.services.driver.control.KillRequest\x1a<.steeleagle_protocol.v1.services.driver.control.KillResponse\"\x00\x12\x8c\x01\n\x07SetHome\x12>.steeleagle_protocol.v1.services.driver.control.SetHomeRequest\x1a?.steeleagle_protocol.v1.services.driver.control.SetHomeResponse\"\x00\x12\x9b\x01\n\x0cReturnToHome\x12\x43.steeleagle_protocol.v1.services.driver.control.ReturnToHomeRequest\x1a\x44.steeleagle_protocol.v1.services.driver.control.ReturnToHomeResponse\"\x00\x12\xad\x01\n\x12GoToGlobalPosition\x12I.steeleagle_protocol.v1.services.driver.control.GoToGlobalPositionRequest\x1aJ.steeleagle_protocol.v1.services.driver.control.GoToGlobalPositionResponse\"\x00\x12\xb3\x01\n\x14GoToRelativePosition\x12K.steeleagle_protocol.v1.services.driver.control.GoToRelativePositionRequest\x1aL.steeleagle_protocol.v1.services.driver.control.GoToRelativePositionResponse\"\x00\x12\x98\x01\n\x0bSetVelocity\x12\x42.steeleagle_protocol.v1.services.driver.control.SetVelocityRequest\x1a\x43.steeleagle_protocol.v1.services.driver.control.SetVelocityResponse\"\x00\x12\x9e\x01\n\rSetGimbalPose\x12\x44.steeleagle_protocol.v1.services.driver.control.SetGimbalPoseRequest\x1a\x45.steeleagle_protocol.v1.services.driver.control.SetGimbalPoseResponse\"\x00\x42\xed\x02\n2com.steeleagle_protocol.v1.services.driver.controlB\x0c\x43ontrolProtoP\x01ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/driver\xa2\x02\x05SVSDC\xaa\x02-SteeleagleProtocol.V1.Services.Driver.Control\xca\x02-SteeleagleProtocol\\V1\\Services\\Driver\\Control\xe2\x02\x39SteeleagleProtocol\\V1\\Services\\Driver\\Control\\GPBMetadata\xea\x02\x31SteeleagleProtocol::V1::Services::Driver::Controlb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.services.driver.control_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n2com.steeleagle_protocol.v1.services.driver.controlB\014ControlProtoP\001ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/driver\242\002\005SVSDC\252\002-SteeleagleProtocol.V1.Services.Driver.Control\312\002-SteeleagleProtocol\\V1\\Services\\Driver\\Control\342\0029SteeleagleProtocol\\V1\\Services\\Driver\\Control\\GPBMetadata\352\0021SteeleagleProtocol::V1::Services::Driver::Control'
|
|
36
|
+
_globals['_RETURNTOHOMEENDBEHAVIOR']._serialized_start=1986
|
|
37
|
+
_globals['_RETURNTOHOMEENDBEHAVIOR']._serialized_end=2133
|
|
38
|
+
_globals['_ALTITUDEMODE']._serialized_start=2135
|
|
39
|
+
_globals['_ALTITUDEMODE']._serialized_end=2236
|
|
40
|
+
_globals['_HEADINGMODE']._serialized_start=2238
|
|
41
|
+
_globals['_HEADINGMODE']._serialized_end=2333
|
|
42
|
+
_globals['_REFERENCEFRAME']._serialized_start=2335
|
|
43
|
+
_globals['_REFERENCEFRAME']._serialized_end=2435
|
|
44
|
+
_globals['_POSEMODE']._serialized_start=2437
|
|
45
|
+
_globals['_POSEMODE']._serialized_end=2541
|
|
46
|
+
_globals['_TAKEOFFREQUEST']._serialized_start=141
|
|
47
|
+
_globals['_TAKEOFFREQUEST']._serialized_end=201
|
|
48
|
+
_globals['_TAKEOFFRESPONSE']._serialized_start=203
|
|
49
|
+
_globals['_TAKEOFFRESPONSE']._serialized_end=220
|
|
50
|
+
_globals['_LANDREQUEST']._serialized_start=222
|
|
51
|
+
_globals['_LANDREQUEST']._serialized_end=235
|
|
52
|
+
_globals['_LANDRESPONSE']._serialized_start=237
|
|
53
|
+
_globals['_LANDRESPONSE']._serialized_end=251
|
|
54
|
+
_globals['_HOLDREQUEST']._serialized_start=253
|
|
55
|
+
_globals['_HOLDREQUEST']._serialized_end=266
|
|
56
|
+
_globals['_HOLDRESPONSE']._serialized_start=268
|
|
57
|
+
_globals['_HOLDRESPONSE']._serialized_end=282
|
|
58
|
+
_globals['_KILLREQUEST']._serialized_start=284
|
|
59
|
+
_globals['_KILLREQUEST']._serialized_end=297
|
|
60
|
+
_globals['_KILLRESPONSE']._serialized_start=299
|
|
61
|
+
_globals['_KILLRESPONSE']._serialized_end=313
|
|
62
|
+
_globals['_SETHOMEREQUEST']._serialized_start=315
|
|
63
|
+
_globals['_SETHOMEREQUEST']._serialized_end=398
|
|
64
|
+
_globals['_SETHOMERESPONSE']._serialized_start=400
|
|
65
|
+
_globals['_SETHOMERESPONSE']._serialized_end=417
|
|
66
|
+
_globals['_RETURNTOHOMEREQUEST']._serialized_start=420
|
|
67
|
+
_globals['_RETURNTOHOMEREQUEST']._serialized_end=629
|
|
68
|
+
_globals['_RETURNTOHOMERESPONSE']._serialized_start=631
|
|
69
|
+
_globals['_RETURNTOHOMERESPONSE']._serialized_end=653
|
|
70
|
+
_globals['_GOTOGLOBALPOSITIONREQUEST']._serialized_start=656
|
|
71
|
+
_globals['_GOTOGLOBALPOSITIONREQUEST']._serialized_end=1082
|
|
72
|
+
_globals['_GOTOGLOBALPOSITIONRESPONSE']._serialized_start=1084
|
|
73
|
+
_globals['_GOTOGLOBALPOSITIONRESPONSE']._serialized_end=1112
|
|
74
|
+
_globals['_GOTORELATIVEPOSITIONREQUEST']._serialized_start=1115
|
|
75
|
+
_globals['_GOTORELATIVEPOSITIONREQUEST']._serialized_end=1406
|
|
76
|
+
_globals['_GOTORELATIVEPOSITIONRESPONSE']._serialized_start=1408
|
|
77
|
+
_globals['_GOTORELATIVEPOSITIONRESPONSE']._serialized_end=1438
|
|
78
|
+
_globals['_SETVELOCITYREQUEST']._serialized_start=1441
|
|
79
|
+
_globals['_SETVELOCITYREQUEST']._serialized_end=1624
|
|
80
|
+
_globals['_SETVELOCITYRESPONSE']._serialized_start=1626
|
|
81
|
+
_globals['_SETVELOCITYRESPONSE']._serialized_end=1647
|
|
82
|
+
_globals['_SETGIMBALPOSEREQUEST']._serialized_start=1650
|
|
83
|
+
_globals['_SETGIMBALPOSEREQUEST']._serialized_end=1958
|
|
84
|
+
_globals['_SETGIMBALPOSERESPONSE']._serialized_start=1960
|
|
85
|
+
_globals['_SETGIMBALPOSERESPONSE']._serialized_end=1983
|
|
86
|
+
_globals['_CONTROLSERVICE']._serialized_start=2544
|
|
87
|
+
_globals['_CONTROLSERVICE']._serialized_end=4080
|
|
88
|
+
# @@protoc_insertion_point(module_scope)
|