steeleagle-protocol 0.1.0__tar.gz → 0.1.2__tar.gz

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.
Files changed (31) hide show
  1. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/PKG-INFO +1 -1
  2. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/pyproject.toml +1 -1
  3. steeleagle_protocol-0.1.2/src/steeleagle_protocol/v1/messages/stream/stream_pb2.py +69 -0
  4. steeleagle_protocol-0.1.2/src/steeleagle_protocol/v1/services/driver/calibrate_pb2.py +43 -0
  5. steeleagle_protocol-0.1.2/src/steeleagle_protocol/v1/services/driver/calibrate_pb2_grpc.py +102 -0
  6. steeleagle_protocol-0.1.2/src/steeleagle_protocol/v1/services/driver/control_pb2.py +88 -0
  7. steeleagle_protocol-0.1.2/src/steeleagle_protocol/v1/services/driver/stream_pb2.py +52 -0
  8. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/services/driver/stream_pb2_grpc.py +8 -8
  9. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol.egg-info/PKG-INFO +1 -1
  10. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol.egg-info/SOURCES.txt +2 -0
  11. steeleagle_protocol-0.1.0/src/steeleagle_protocol/v1/messages/stream/stream_pb2.py +0 -70
  12. steeleagle_protocol-0.1.0/src/steeleagle_protocol/v1/services/driver/control_pb2.py +0 -88
  13. steeleagle_protocol-0.1.0/src/steeleagle_protocol/v1/services/driver/stream_pb2.py +0 -52
  14. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/setup.cfg +0 -0
  15. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/common_pb2.py +0 -0
  16. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/common_pb2_grpc.py +0 -0
  17. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/messages/result/result_pb2.py +0 -0
  18. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/messages/result/result_pb2_grpc.py +0 -0
  19. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/messages/stream/stream_pb2_grpc.py +0 -0
  20. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/services/driver/control_pb2_grpc.py +0 -0
  21. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/services/mission/mission_pb2.py +0 -0
  22. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/services/mission/mission_pb2_grpc.py +0 -0
  23. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/services/swarm/swarm_pb2.py +0 -0
  24. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/services/swarm/swarm_pb2_grpc.py +0 -0
  25. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/services/vehicle/compute_pb2.py +0 -0
  26. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/services/vehicle/compute_pb2_grpc.py +0 -0
  27. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/services/vehicle/data_pb2.py +0 -0
  28. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol/v1/services/vehicle/data_pb2_grpc.py +0 -0
  29. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol.egg-info/dependency_links.txt +0 -0
  30. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol.egg-info/requires.txt +0 -0
  31. {steeleagle_protocol-0.1.0 → steeleagle_protocol-0.1.2}/src/steeleagle_protocol.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: steeleagle-protocol
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Author-email: Mihir Bala <mbala@andrew.cmu.edu>, Aditya Chanana <achanana@andrew.cmu.edu>
5
5
  Maintainer-email: Thomas Eiszler <teiszler@andrew.cmu.edu>
6
6
  License-Expression: GPL-2.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "steeleagle-protocol"
3
- version = "0.1.0"
3
+ version = "0.1.2"
4
4
  requires-python = ">=3.10"
5
5
  dependencies = [
6
6
  "grpcio>=1.82.1",
@@ -0,0 +1,69 @@
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 timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+
28
+
29
+ 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\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')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.messages.stream.stream_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.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'
37
+ _globals['_BATTERYWARNING']._serialized_start=2777
38
+ _globals['_BATTERYWARNING']._serialized_end=2881
39
+ _globals['_GPSWARNING']._serialized_start=2883
40
+ _globals['_GPSWARNING']._serialized_end=2977
41
+ _globals['_MAGNETOMETERWARNING']._serialized_start=2979
42
+ _globals['_MAGNETOMETERWARNING']._serialized_end=3078
43
+ _globals['_CONNECTIONWARNING']._serialized_start=3081
44
+ _globals['_CONNECTIONWARNING']._serialized_end=3213
45
+ _globals['_COMPASSWARNING']._serialized_start=3215
46
+ _globals['_COMPASSWARNING']._serialized_end=3324
47
+ _globals['_VEHICLEINFO']._serialized_start=165
48
+ _globals['_VEHICLEINFO']._serialized_end=200
49
+ _globals['_BATTERYINFO']._serialized_start=202
50
+ _globals['_BATTERYINFO']._serialized_end=247
51
+ _globals['_GPSINFO']._serialized_start=249
52
+ _globals['_GPSINFO']._serialized_end=290
53
+ _globals['_COMMSINFO']._serialized_start=292
54
+ _globals['_COMMSINFO']._serialized_end=303
55
+ _globals['_POSITIONINFO']._serialized_start=306
56
+ _globals['_POSITIONINFO']._serialized_end=619
57
+ _globals['_GIMBALSTATUS']._serialized_start=622
58
+ _globals['_GIMBALSTATUS']._serialized_end=768
59
+ _globals['_GIMBALINFO']._serialized_start=770
60
+ _globals['_GIMBALINFO']._serialized_end=862
61
+ _globals['_ALERTINFO']._serialized_start=865
62
+ _globals['_ALERTINFO']._serialized_end=1373
63
+ _globals['_TELEMETRY']._serialized_start=1376
64
+ _globals['_TELEMETRY']._serialized_end=2037
65
+ _globals['_RAWFRAME']._serialized_start=2040
66
+ _globals['_RAWFRAME']._serialized_end=2442
67
+ _globals['_ENCODEDFRAME']._serialized_start=2445
68
+ _globals['_ENCODEDFRAME']._serialized_end=2775
69
+ # @@protoc_insertion_point(module_scope)
@@ -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/services/driver/calibrate.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/calibrate.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'\n6steeleagle_protocol/v1/services/driver/calibrate.proto\x12\x32steeleagle_protocol.v1.services.driver.calibration\"\xe6\x01\n\x10\x43\x61librateRequest\x12\x63\n\x06sensor\x18\x01 \x01(\x0e\x32K.steeleagle_protocol.v1.services.driver.calibration.CalibrateRequest.SensorR\x06sensor\x12\x0e\n\x02id\x18\x02 \x01(\rR\x02id\"]\n\x06Sensor\x12\x16\n\x12SENSOR_UNSPECIFIED\x10\x00\x12\x17\n\x13SENSOR_MAGNETOMETER\x10\x01\x12\x11\n\rSENSOR_GIMBAL\x10\x02\x12\x0f\n\x0bSENSOR_GYRO\x10\x03\"h\n\x11\x43\x61librateResponse\x12)\n\x10next_instruction\x18\x01 \x01(\tR\x0fnextInstruction\x12\x12\n\x04step\x18\x02 \x01(\rR\x04step\x12\x14\n\x05total\x18\x03 \x01(\rR\x05total2\xb1\x01\n\x12\x43\x61librationService\x12\x9a\x01\n\tCalibrate\x12\x44.steeleagle_protocol.v1.services.driver.calibration.CalibrateRequest\x1a\x45.steeleagle_protocol.v1.services.driver.calibration.CalibrateResponse0\x01\x42\x83\x03\n6com.steeleagle_protocol.v1.services.driver.calibrationB\x0e\x43\x61librateProtoP\x01ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/driver\xa2\x02\x05SVSDC\xaa\x02\x31SteeleagleProtocol.V1.Services.Driver.Calibration\xca\x02\x31SteeleagleProtocol\\V1\\Services\\Driver\\Calibration\xe2\x02=SteeleagleProtocol\\V1\\Services\\Driver\\Calibration\\GPBMetadata\xea\x02\x35SteeleagleProtocol::V1::Services::Driver::Calibrationb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.services.driver.calibrate_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
34
+ _globals['DESCRIPTOR']._serialized_options = b'\n6com.steeleagle_protocol.v1.services.driver.calibrationB\016CalibrateProtoP\001ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/driver\242\002\005SVSDC\252\0021SteeleagleProtocol.V1.Services.Driver.Calibration\312\0021SteeleagleProtocol\\V1\\Services\\Driver\\Calibration\342\002=SteeleagleProtocol\\V1\\Services\\Driver\\Calibration\\GPBMetadata\352\0025SteeleagleProtocol::V1::Services::Driver::Calibration'
35
+ _globals['_CALIBRATEREQUEST']._serialized_start=111
36
+ _globals['_CALIBRATEREQUEST']._serialized_end=341
37
+ _globals['_CALIBRATEREQUEST_SENSOR']._serialized_start=248
38
+ _globals['_CALIBRATEREQUEST_SENSOR']._serialized_end=341
39
+ _globals['_CALIBRATERESPONSE']._serialized_start=343
40
+ _globals['_CALIBRATERESPONSE']._serialized_end=447
41
+ _globals['_CALIBRATIONSERVICE']._serialized_start=450
42
+ _globals['_CALIBRATIONSERVICE']._serialized_end=627
43
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,102 @@
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 calibrate_pb2 as steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_calibrate__pb2
6
+
7
+
8
+ class CalibrationServiceStub:
9
+ """
10
+ Used to calibrate sensors on the driver.
11
+
12
+ This is an internal service used to retrieve calibrate onboard sensors
13
+ such as magnetometers and gimbals. These RPCs are only exposed to server
14
+ or admin clients.
15
+ """
16
+
17
+ def __init__(self, channel):
18
+ """Constructor.
19
+
20
+ Args:
21
+ channel: A grpc.Channel.
22
+ """
23
+ self.Calibrate = channel.unary_stream(
24
+ '/steeleagle_protocol.v1.services.driver.calibration.CalibrationService/Calibrate',
25
+ request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_calibrate__pb2.CalibrateRequest.SerializeToString,
26
+ response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_calibrate__pb2.CalibrateResponse.FromString,
27
+ _registered_method=True)
28
+
29
+
30
+ class CalibrationServiceServicer:
31
+ """
32
+ Used to calibrate sensors on the driver.
33
+
34
+ This is an internal service used to retrieve calibrate onboard sensors
35
+ such as magnetometers and gimbals. These RPCs are only exposed to server
36
+ or admin clients.
37
+ """
38
+
39
+ def Calibrate(self, request, context):
40
+ """
41
+ Calibrates a given sensor.
42
+
43
+ Streams back instructions on how to calibrate a sensor. Keeps sending
44
+ back instructions until either the calibration fails or succeeds.
45
+ This function should only be called by the OS or a remote server,
46
+ and not by any plugins.
47
+ """
48
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
49
+ context.set_details('Method not implemented!')
50
+ raise NotImplementedError('Method not implemented!')
51
+
52
+
53
+ def add_CalibrationServiceServicer_to_server(servicer, server):
54
+ rpc_method_handlers = {
55
+ 'Calibrate': grpc.unary_stream_rpc_method_handler(
56
+ servicer.Calibrate,
57
+ request_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_calibrate__pb2.CalibrateRequest.FromString,
58
+ response_serializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_calibrate__pb2.CalibrateResponse.SerializeToString,
59
+ ),
60
+ }
61
+ generic_handler = grpc.method_handlers_generic_handler(
62
+ 'steeleagle_protocol.v1.services.driver.calibration.CalibrationService', rpc_method_handlers)
63
+ server.add_generic_rpc_handlers((generic_handler,))
64
+ server.add_registered_method_handlers('steeleagle_protocol.v1.services.driver.calibration.CalibrationService', rpc_method_handlers)
65
+
66
+
67
+ # This class is part of an EXPERIMENTAL API.
68
+ class CalibrationService:
69
+ """
70
+ Used to calibrate sensors on the driver.
71
+
72
+ This is an internal service used to retrieve calibrate onboard sensors
73
+ such as magnetometers and gimbals. These RPCs are only exposed to server
74
+ or admin clients.
75
+ """
76
+
77
+ @staticmethod
78
+ def Calibrate(request,
79
+ target,
80
+ options=(),
81
+ channel_credentials=None,
82
+ call_credentials=None,
83
+ insecure=False,
84
+ compression=None,
85
+ wait_for_ready=None,
86
+ timeout=None,
87
+ metadata=None):
88
+ return grpc.experimental.unary_stream(
89
+ request,
90
+ target,
91
+ '/steeleagle_protocol.v1.services.driver.calibration.CalibrationService/Calibrate',
92
+ steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_calibrate__pb2.CalibrateRequest.SerializeToString,
93
+ steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_calibrate__pb2.CalibrateResponse.FromString,
94
+ options,
95
+ channel_credentials,
96
+ insecure,
97
+ call_credentials,
98
+ compression,
99
+ wait_for_ready,
100
+ timeout,
101
+ metadata,
102
+ _registered_method=True)
@@ -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\"\xf4\x02\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\x12\x19\n\x05speed\x18\x04 \x01(\x02H\x02R\x05speed\x88\x01\x01\x42\x0f\n\r_heading_modeB\x10\n\x0e_altitude_modeB\x08\n\x06_speed\"\x1c\n\x1aGoToGlobalPositionResponse\"\xed\x01\n\x1bGoToRelativePositionRequest\x12\x44\n\x08position\x18\x01 \x01(\x0b\x32(.steeleagle_protocol.v1.RelativePositionR\x08position\x12\x19\n\x05speed\x18\x02 \x01(\x02H\x00R\x05speed\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\x08\n\x06_speedB\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\"\xcf\x01\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\x42\x0c\n\n_pose_mode\"\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=1777
37
+ _globals['_RETURNTOHOMEENDBEHAVIOR']._serialized_end=1924
38
+ _globals['_ALTITUDEMODE']._serialized_start=1926
39
+ _globals['_ALTITUDEMODE']._serialized_end=2027
40
+ _globals['_HEADINGMODE']._serialized_start=2029
41
+ _globals['_HEADINGMODE']._serialized_end=2124
42
+ _globals['_REFERENCEFRAME']._serialized_start=2126
43
+ _globals['_REFERENCEFRAME']._serialized_end=2226
44
+ _globals['_POSEMODE']._serialized_start=2228
45
+ _globals['_POSEMODE']._serialized_end=2332
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=1028
72
+ _globals['_GOTOGLOBALPOSITIONRESPONSE']._serialized_start=1030
73
+ _globals['_GOTOGLOBALPOSITIONRESPONSE']._serialized_end=1058
74
+ _globals['_GOTORELATIVEPOSITIONREQUEST']._serialized_start=1061
75
+ _globals['_GOTORELATIVEPOSITIONREQUEST']._serialized_end=1298
76
+ _globals['_GOTORELATIVEPOSITIONRESPONSE']._serialized_start=1300
77
+ _globals['_GOTORELATIVEPOSITIONRESPONSE']._serialized_end=1330
78
+ _globals['_SETVELOCITYREQUEST']._serialized_start=1333
79
+ _globals['_SETVELOCITYREQUEST']._serialized_end=1516
80
+ _globals['_SETVELOCITYRESPONSE']._serialized_start=1518
81
+ _globals['_SETVELOCITYRESPONSE']._serialized_end=1539
82
+ _globals['_SETGIMBALPOSEREQUEST']._serialized_start=1542
83
+ _globals['_SETGIMBALPOSEREQUEST']._serialized_end=1749
84
+ _globals['_SETGIMBALPOSERESPONSE']._serialized_start=1751
85
+ _globals['_SETGIMBALPOSERESPONSE']._serialized_end=1774
86
+ _globals['_CONTROLSERVICE']._serialized_start=2335
87
+ _globals['_CONTROLSERVICE']._serialized_end=3871
88
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,52 @@
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/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/services/driver/stream.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from steeleagle_protocol.v1.messages.stream import stream_pb2 as steeleagle__protocol_dot_v1_dot_messages_dot_stream_dot_stream__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3steeleagle_protocol/v1/services/driver/stream.proto\x12-steeleagle_protocol.v1.services.driver.stream\x1a\x33steeleagle_protocol/v1/messages/stream/stream.proto\"\x8b\x02\n\x18GetVideoStreamURLRequest\x12r\n\nresolution\x18\x01 \x01(\x0e\x32R.steeleagle_protocol.v1.services.driver.stream.GetVideoStreamURLRequest.ResolutionR\nresolution\"{\n\nResolution\x12\x1a\n\x16RESOLUTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fRESOLUTION_480P\x10\x01\x12\x13\n\x0fRESOLUTION_720P\x10\x02\x12\x14\n\x10RESOLUTION_1080P\x10\x03\x12\x11\n\rRESOLUTION_4K\x10\x04\":\n\x19GetVideoStreamURLResponse\x12\x1d\n\nstream_url\x18\x01 \x01(\tR\tstreamUrl\"\x1a\n\x18StreamVideoFramesRequest\"g\n\x19StreamVideoFramesResponse\x12J\n\x05\x66rame\x18\x01 \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.EncodedFrameR\x05\x66rame\"\x18\n\x16StreamTelemetryRequest\"j\n\x17StreamTelemetryResponse\x12O\n\ttelemetry\x18\x01 \x01(\x0b\x32\x31.steeleagle_protocol.v1.messages.stream.TelemetryR\ttelemetry2\x88\x04\n\rStreamService\x12\xa6\x01\n\x11GetVideoStreamURL\x12G.steeleagle_protocol.v1.services.driver.stream.GetVideoStreamURLRequest\x1aH.steeleagle_protocol.v1.services.driver.stream.GetVideoStreamURLResponse\x12\xa8\x01\n\x11StreamVideoFrames\x12G.steeleagle_protocol.v1.services.driver.stream.StreamVideoFramesRequest\x1aH.steeleagle_protocol.v1.services.driver.stream.StreamVideoFramesResponse0\x01\x12\xa2\x01\n\x0fStreamTelemetry\x12\x45.steeleagle_protocol.v1.services.driver.stream.StreamTelemetryRequest\x1a\x46.steeleagle_protocol.v1.services.driver.stream.StreamTelemetryResponse0\x01\x42\xe7\x02\n1com.steeleagle_protocol.v1.services.driver.streamB\x0bStreamProtoP\x01ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/driver\xa2\x02\x05SVSDS\xaa\x02,SteeleagleProtocol.V1.Services.Driver.Stream\xca\x02,SteeleagleProtocol\\V1\\Services\\Driver\\Stream\xe2\x02\x38SteeleagleProtocol\\V1\\Services\\Driver\\Stream\\GPBMetadata\xea\x02\x30SteeleagleProtocol::V1::Services::Driver::Streamb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.services.driver.stream_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n1com.steeleagle_protocol.v1.services.driver.streamB\013StreamProtoP\001ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/driver\242\002\005SVSDS\252\002,SteeleagleProtocol.V1.Services.Driver.Stream\312\002,SteeleagleProtocol\\V1\\Services\\Driver\\Stream\342\0028SteeleagleProtocol\\V1\\Services\\Driver\\Stream\\GPBMetadata\352\0020SteeleagleProtocol::V1::Services::Driver::Stream'
36
+ _globals['_GETVIDEOSTREAMURLREQUEST']._serialized_start=156
37
+ _globals['_GETVIDEOSTREAMURLREQUEST']._serialized_end=423
38
+ _globals['_GETVIDEOSTREAMURLREQUEST_RESOLUTION']._serialized_start=300
39
+ _globals['_GETVIDEOSTREAMURLREQUEST_RESOLUTION']._serialized_end=423
40
+ _globals['_GETVIDEOSTREAMURLRESPONSE']._serialized_start=425
41
+ _globals['_GETVIDEOSTREAMURLRESPONSE']._serialized_end=483
42
+ _globals['_STREAMVIDEOFRAMESREQUEST']._serialized_start=485
43
+ _globals['_STREAMVIDEOFRAMESREQUEST']._serialized_end=511
44
+ _globals['_STREAMVIDEOFRAMESRESPONSE']._serialized_start=513
45
+ _globals['_STREAMVIDEOFRAMESRESPONSE']._serialized_end=616
46
+ _globals['_STREAMTELEMETRYREQUEST']._serialized_start=618
47
+ _globals['_STREAMTELEMETRYREQUEST']._serialized_end=642
48
+ _globals['_STREAMTELEMETRYRESPONSE']._serialized_start=644
49
+ _globals['_STREAMTELEMETRYRESPONSE']._serialized_end=750
50
+ _globals['_STREAMSERVICE']._serialized_start=753
51
+ _globals['_STREAMSERVICE']._serialized_end=1273
52
+ # @@protoc_insertion_point(module_scope)
@@ -21,17 +21,17 @@ class StreamServiceStub:
21
21
  channel: A grpc.Channel.
22
22
  """
23
23
  self.GetVideoStreamURL = channel.unary_unary(
24
- '/steeleagle_protocol.v1.services.driver.data.StreamService/GetVideoStreamURL',
24
+ '/steeleagle_protocol.v1.services.driver.stream.StreamService/GetVideoStreamURL',
25
25
  request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.GetVideoStreamURLRequest.SerializeToString,
26
26
  response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.GetVideoStreamURLResponse.FromString,
27
27
  _registered_method=True)
28
28
  self.StreamVideoFrames = channel.unary_stream(
29
- '/steeleagle_protocol.v1.services.driver.data.StreamService/StreamVideoFrames',
29
+ '/steeleagle_protocol.v1.services.driver.stream.StreamService/StreamVideoFrames',
30
30
  request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamVideoFramesRequest.SerializeToString,
31
31
  response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamVideoFramesResponse.FromString,
32
32
  _registered_method=True)
33
33
  self.StreamTelemetry = channel.unary_stream(
34
- '/steeleagle_protocol.v1.services.driver.data.StreamService/StreamTelemetry',
34
+ '/steeleagle_protocol.v1.services.driver.stream.StreamService/StreamTelemetry',
35
35
  request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamTelemetryRequest.SerializeToString,
36
36
  response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamTelemetryResponse.FromString,
37
37
  _registered_method=True)
@@ -101,9 +101,9 @@ def add_StreamServiceServicer_to_server(servicer, server):
101
101
  ),
102
102
  }
103
103
  generic_handler = grpc.method_handlers_generic_handler(
104
- 'steeleagle_protocol.v1.services.driver.data.StreamService', rpc_method_handlers)
104
+ 'steeleagle_protocol.v1.services.driver.stream.StreamService', rpc_method_handlers)
105
105
  server.add_generic_rpc_handlers((generic_handler,))
106
- server.add_registered_method_handlers('steeleagle_protocol.v1.services.driver.data.StreamService', rpc_method_handlers)
106
+ server.add_registered_method_handlers('steeleagle_protocol.v1.services.driver.stream.StreamService', rpc_method_handlers)
107
107
 
108
108
 
109
109
  # This class is part of an EXPERIMENTAL API.
@@ -130,7 +130,7 @@ class StreamService:
130
130
  return grpc.experimental.unary_unary(
131
131
  request,
132
132
  target,
133
- '/steeleagle_protocol.v1.services.driver.data.StreamService/GetVideoStreamURL',
133
+ '/steeleagle_protocol.v1.services.driver.stream.StreamService/GetVideoStreamURL',
134
134
  steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.GetVideoStreamURLRequest.SerializeToString,
135
135
  steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.GetVideoStreamURLResponse.FromString,
136
136
  options,
@@ -157,7 +157,7 @@ class StreamService:
157
157
  return grpc.experimental.unary_stream(
158
158
  request,
159
159
  target,
160
- '/steeleagle_protocol.v1.services.driver.data.StreamService/StreamVideoFrames',
160
+ '/steeleagle_protocol.v1.services.driver.stream.StreamService/StreamVideoFrames',
161
161
  steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamVideoFramesRequest.SerializeToString,
162
162
  steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamVideoFramesResponse.FromString,
163
163
  options,
@@ -184,7 +184,7 @@ class StreamService:
184
184
  return grpc.experimental.unary_stream(
185
185
  request,
186
186
  target,
187
- '/steeleagle_protocol.v1.services.driver.data.StreamService/StreamTelemetry',
187
+ '/steeleagle_protocol.v1.services.driver.stream.StreamService/StreamTelemetry',
188
188
  steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamTelemetryRequest.SerializeToString,
189
189
  steeleagle__protocol_dot_v1_dot_services_dot_driver_dot_stream__pb2.StreamTelemetryResponse.FromString,
190
190
  options,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: steeleagle-protocol
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Author-email: Mihir Bala <mbala@andrew.cmu.edu>, Aditya Chanana <achanana@andrew.cmu.edu>
5
5
  Maintainer-email: Thomas Eiszler <teiszler@andrew.cmu.edu>
6
6
  License-Expression: GPL-2.0
@@ -10,6 +10,8 @@ src/steeleagle_protocol/v1/messages/result/result_pb2.py
10
10
  src/steeleagle_protocol/v1/messages/result/result_pb2_grpc.py
11
11
  src/steeleagle_protocol/v1/messages/stream/stream_pb2.py
12
12
  src/steeleagle_protocol/v1/messages/stream/stream_pb2_grpc.py
13
+ src/steeleagle_protocol/v1/services/driver/calibrate_pb2.py
14
+ src/steeleagle_protocol/v1/services/driver/calibrate_pb2_grpc.py
13
15
  src/steeleagle_protocol/v1/services/driver/control_pb2.py
14
16
  src/steeleagle_protocol/v1/services/driver/control_pb2_grpc.py
15
17
  src/steeleagle_protocol/v1/services/driver/stream_pb2.py
@@ -1,70 +0,0 @@
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)
@@ -1,88 +0,0 @@
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)
@@ -1,52 +0,0 @@
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/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/services/driver/stream.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
- from steeleagle_protocol.v1.messages.stream import stream_pb2 as steeleagle__protocol_dot_v1_dot_messages_dot_stream_dot_stream__pb2
26
-
27
-
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3steeleagle_protocol/v1/services/driver/stream.proto\x12+steeleagle_protocol.v1.services.driver.data\x1a\x33steeleagle_protocol/v1/messages/stream/stream.proto\"\x89\x02\n\x18GetVideoStreamURLRequest\x12p\n\nresolution\x18\x01 \x01(\x0e\x32P.steeleagle_protocol.v1.services.driver.data.GetVideoStreamURLRequest.ResolutionR\nresolution\"{\n\nResolution\x12\x1a\n\x16RESOLUTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fRESOLUTION_480P\x10\x01\x12\x13\n\x0fRESOLUTION_720P\x10\x02\x12\x14\n\x10RESOLUTION_1080P\x10\x03\x12\x11\n\rRESOLUTION_4K\x10\x04\":\n\x19GetVideoStreamURLResponse\x12\x1d\n\nstream_url\x18\x01 \x01(\tR\tstreamUrl\"\x1a\n\x18StreamVideoFramesRequest\"c\n\x19StreamVideoFramesResponse\x12\x46\n\x05\x66rame\x18\x01 \x01(\x0b\x32\x30.steeleagle_protocol.v1.messages.stream.RawFrameR\x05\x66rame\"\x18\n\x16StreamTelemetryRequest\"j\n\x17StreamTelemetryResponse\x12O\n\ttelemetry\x18\x01 \x01(\x0b\x32\x31.steeleagle_protocol.v1.messages.stream.TelemetryR\ttelemetry2\xfc\x03\n\rStreamService\x12\xa2\x01\n\x11GetVideoStreamURL\x12\x45.steeleagle_protocol.v1.services.driver.data.GetVideoStreamURLRequest\x1a\x46.steeleagle_protocol.v1.services.driver.data.GetVideoStreamURLResponse\x12\xa4\x01\n\x11StreamVideoFrames\x12\x45.steeleagle_protocol.v1.services.driver.data.StreamVideoFramesRequest\x1a\x46.steeleagle_protocol.v1.services.driver.data.StreamVideoFramesResponse0\x01\x12\x9e\x01\n\x0fStreamTelemetry\x12\x43.steeleagle_protocol.v1.services.driver.data.StreamTelemetryRequest\x1a\x44.steeleagle_protocol.v1.services.driver.data.StreamTelemetryResponse0\x01\x42\xdd\x02\n/com.steeleagle_protocol.v1.services.driver.dataB\x0bStreamProtoP\x01ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/driver\xa2\x02\x05SVSDD\xaa\x02*SteeleagleProtocol.V1.Services.Driver.Data\xca\x02*SteeleagleProtocol\\V1\\Services\\Driver\\Data\xe2\x02\x36SteeleagleProtocol\\V1\\Services\\Driver\\Data\\GPBMetadata\xea\x02.SteeleagleProtocol::V1::Services::Driver::Datab\x06proto3')
29
-
30
- _globals = globals()
31
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.services.driver.stream_pb2', _globals)
33
- if not _descriptor._USE_C_DESCRIPTORS:
34
- _globals['DESCRIPTOR']._loaded_options = None
35
- _globals['DESCRIPTOR']._serialized_options = b'\n/com.steeleagle_protocol.v1.services.driver.dataB\013StreamProtoP\001ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/driver\242\002\005SVSDD\252\002*SteeleagleProtocol.V1.Services.Driver.Data\312\002*SteeleagleProtocol\\V1\\Services\\Driver\\Data\342\0026SteeleagleProtocol\\V1\\Services\\Driver\\Data\\GPBMetadata\352\002.SteeleagleProtocol::V1::Services::Driver::Data'
36
- _globals['_GETVIDEOSTREAMURLREQUEST']._serialized_start=154
37
- _globals['_GETVIDEOSTREAMURLREQUEST']._serialized_end=419
38
- _globals['_GETVIDEOSTREAMURLREQUEST_RESOLUTION']._serialized_start=296
39
- _globals['_GETVIDEOSTREAMURLREQUEST_RESOLUTION']._serialized_end=419
40
- _globals['_GETVIDEOSTREAMURLRESPONSE']._serialized_start=421
41
- _globals['_GETVIDEOSTREAMURLRESPONSE']._serialized_end=479
42
- _globals['_STREAMVIDEOFRAMESREQUEST']._serialized_start=481
43
- _globals['_STREAMVIDEOFRAMESREQUEST']._serialized_end=507
44
- _globals['_STREAMVIDEOFRAMESRESPONSE']._serialized_start=509
45
- _globals['_STREAMVIDEOFRAMESRESPONSE']._serialized_end=608
46
- _globals['_STREAMTELEMETRYREQUEST']._serialized_start=610
47
- _globals['_STREAMTELEMETRYREQUEST']._serialized_end=634
48
- _globals['_STREAMTELEMETRYRESPONSE']._serialized_start=636
49
- _globals['_STREAMTELEMETRYRESPONSE']._serialized_end=742
50
- _globals['_STREAMSERVICE']._serialized_start=745
51
- _globals['_STREAMSERVICE']._serialized_end=1253
52
- # @@protoc_insertion_point(module_scope)