steeleagle-protocol 0.1.4__tar.gz → 0.1.6__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.
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/PKG-INFO +3 -3
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/pyproject.toml +3 -3
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/messages/stream/stream_pb2.py +14 -14
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/vehicle/data_pb2.py +11 -3
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/vehicle/data_pb2_grpc.py +94 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol.egg-info/PKG-INFO +3 -3
- steeleagle_protocol-0.1.6/src/steeleagle_protocol.egg-info/requires.txt +2 -0
- steeleagle_protocol-0.1.4/src/steeleagle_protocol.egg-info/requires.txt +0 -2
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/setup.cfg +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/common_pb2.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/common_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/messages/result/result_pb2.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/messages/result/result_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/messages/stream/stream_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/driver/calibrate_pb2.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/driver/calibrate_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/driver/control_pb2.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/driver/control_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/driver/stream_pb2.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/driver/stream_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/mission/mission_pb2.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/mission/mission_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/swarm/swarm_pb2.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/swarm/swarm_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/vehicle/compute_pb2.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/services/vehicle/compute_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol.egg-info/SOURCES.txt +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol.egg-info/dependency_links.txt +0 -0
- {steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/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.
|
|
3
|
+
Version: 0.1.6
|
|
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
|
|
@@ -11,5 +11,5 @@ Classifier: Development Status :: 3 - Alpha
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Requires-Python: >=3.10
|
|
14
|
-
Requires-Dist: grpcio>=1.
|
|
15
|
-
Requires-Dist: protobuf>=
|
|
14
|
+
Requires-Dist: grpcio>=1.43.0
|
|
15
|
+
Requires-Dist: protobuf>=3.19.4
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "steeleagle-protocol"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.6"
|
|
4
4
|
requires-python = ">=3.10"
|
|
5
5
|
dependencies = [
|
|
6
|
-
"grpcio>=1.
|
|
7
|
-
"protobuf>=
|
|
6
|
+
"grpcio>=1.43.0",
|
|
7
|
+
"protobuf>=3.19.4",
|
|
8
8
|
]
|
|
9
9
|
license = "GPL-2.0"
|
|
10
10
|
authors = [
|
|
@@ -26,7 +26,7 @@ from steeleagle_protocol.v1 import common_pb2 as steeleagle__protocol_dot_v1_dot
|
|
|
26
26
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
27
|
|
|
28
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\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\"\xbd\x04\n\tTelemetry\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12V\n\x0c\x62\x61ttery_info\x18\x02 \x01(\x0b\x32\x33.steeleagle_protocol.v1.messages.stream.BatteryInfoR\x0b\x62\x61tteryInfo\x12J\n\x08gps_info\x18\x03 \x01(\x0b\x32/.steeleagle_protocol.v1.messages.stream.GPSInfoR\x07gpsInfo\x12P\n\ncomms_info\x18\x04 \x01(\x0b\x32\x31.steeleagle_protocol.v1.messages.stream.CommsInfoR\tcommsInfo\x12Y\n\rposition_info\x18\x05 \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.PositionInfoR\x0cpositionInfo\x12S\n\x0bgimbal_info\x18\x06 \x01(\x0b\x32\x32.steeleagle_protocol.v1.messages.stream.GimbalInfoR\ngimbalInfo\x12P\n\nalert_info\x18\x07 \x01(\x0b\x32\x31.steeleagle_protocol.v1.messages.stream.AlertInfoR\talertInfo\"\
|
|
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\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\"\xbd\x04\n\tTelemetry\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12V\n\x0c\x62\x61ttery_info\x18\x02 \x01(\x0b\x32\x33.steeleagle_protocol.v1.messages.stream.BatteryInfoR\x0b\x62\x61tteryInfo\x12J\n\x08gps_info\x18\x03 \x01(\x0b\x32/.steeleagle_protocol.v1.messages.stream.GPSInfoR\x07gpsInfo\x12P\n\ncomms_info\x18\x04 \x01(\x0b\x32\x31.steeleagle_protocol.v1.messages.stream.CommsInfoR\tcommsInfo\x12Y\n\rposition_info\x18\x05 \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.PositionInfoR\x0cpositionInfo\x12S\n\x0bgimbal_info\x18\x06 \x01(\x0b\x32\x32.steeleagle_protocol.v1.messages.stream.GimbalInfoR\ngimbalInfo\x12P\n\nalert_info\x18\x07 \x01(\x0b\x32\x31.steeleagle_protocol.v1.messages.stream.AlertInfoR\talertInfo\"\x96\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\x12Y\n\rgimbal_status\x18\t \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.GimbalStatusR\x0cgimbalStatus\x12\x1b\n\tcamera_id\x18\n \x01(\x04R\x08\x63\x61meraId\"\xce\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\x12Y\n\rgimbal_status\x18\x05 \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.GimbalStatusR\x0cgimbalStatus\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
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -34,16 +34,16 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.mess
|
|
|
34
34
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
35
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
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=
|
|
38
|
-
_globals['_BATTERYWARNING']._serialized_end=
|
|
39
|
-
_globals['_GPSWARNING']._serialized_start=
|
|
40
|
-
_globals['_GPSWARNING']._serialized_end=
|
|
41
|
-
_globals['_MAGNETOMETERWARNING']._serialized_start=
|
|
42
|
-
_globals['_MAGNETOMETERWARNING']._serialized_end=
|
|
43
|
-
_globals['_CONNECTIONWARNING']._serialized_start=
|
|
44
|
-
_globals['_CONNECTIONWARNING']._serialized_end=
|
|
45
|
-
_globals['_COMPASSWARNING']._serialized_start=
|
|
46
|
-
_globals['_COMPASSWARNING']._serialized_end=
|
|
37
|
+
_globals['_BATTERYWARNING']._serialized_start=2660
|
|
38
|
+
_globals['_BATTERYWARNING']._serialized_end=2764
|
|
39
|
+
_globals['_GPSWARNING']._serialized_start=2766
|
|
40
|
+
_globals['_GPSWARNING']._serialized_end=2860
|
|
41
|
+
_globals['_MAGNETOMETERWARNING']._serialized_start=2862
|
|
42
|
+
_globals['_MAGNETOMETERWARNING']._serialized_end=2961
|
|
43
|
+
_globals['_CONNECTIONWARNING']._serialized_start=2964
|
|
44
|
+
_globals['_CONNECTIONWARNING']._serialized_end=3096
|
|
45
|
+
_globals['_COMPASSWARNING']._serialized_start=3098
|
|
46
|
+
_globals['_COMPASSWARNING']._serialized_end=3207
|
|
47
47
|
_globals['_BATTERYINFO']._serialized_start=165
|
|
48
48
|
_globals['_BATTERYINFO']._serialized_end=210
|
|
49
49
|
_globals['_GPSINFO']._serialized_start=212
|
|
@@ -61,7 +61,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
61
61
|
_globals['_TELEMETRY']._serialized_start=1339
|
|
62
62
|
_globals['_TELEMETRY']._serialized_end=1912
|
|
63
63
|
_globals['_RAWFRAME']._serialized_start=1915
|
|
64
|
-
_globals['_RAWFRAME']._serialized_end=
|
|
65
|
-
_globals['_ENCODEDFRAME']._serialized_start=
|
|
66
|
-
_globals['_ENCODEDFRAME']._serialized_end=
|
|
64
|
+
_globals['_RAWFRAME']._serialized_end=2321
|
|
65
|
+
_globals['_ENCODEDFRAME']._serialized_start=2324
|
|
66
|
+
_globals['_ENCODEDFRAME']._serialized_end=2658
|
|
67
67
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -26,7 +26,7 @@ from steeleagle_protocol.v1.messages.result import result_pb2 as steeleagle__pro
|
|
|
26
26
|
from steeleagle_protocol.v1.messages.stream import stream_pb2 as steeleagle__protocol_dot_v1_dot_messages_dot_stream_dot_stream__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2steeleagle_protocol/v1/services/vehicle/data.proto\x12,steeleagle_protocol.v1.services.vehicle.data\x1a\x33steeleagle_protocol/v1/messages/result/result.proto\x1a\x33steeleagle_protocol/v1/messages/stream/stream.proto\"&\n\x10GetResultRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"b\n\x11GetResultResponse\x12M\n\x06result\x18\x01 \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.result.ComputeResultR\x06result\"\x15\n\x13GetTelemetryRequest\"g\n\x14GetTelemetryResponse\x12O\n\ttelemetry\x18\x01 \x01(\x0b\x32\x31.steeleagle_protocol.v1.messages.stream.TelemetryR\ttelemetry\"\x11\n\x0fGetFrameRequest\"^\n\x10GetFrameResponse\x12J\n\x05\x66rame\x18\x01 \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.EncodedFrameR\x05\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2steeleagle_protocol/v1/services/vehicle/data.proto\x12,steeleagle_protocol.v1.services.vehicle.data\x1a\x33steeleagle_protocol/v1/messages/result/result.proto\x1a\x33steeleagle_protocol/v1/messages/stream/stream.proto\"&\n\x10GetResultRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"b\n\x11GetResultResponse\x12M\n\x06result\x18\x01 \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.result.ComputeResultR\x06result\"\x15\n\x13GetTelemetryRequest\"g\n\x14GetTelemetryResponse\x12O\n\ttelemetry\x18\x01 \x01(\x0b\x32\x31.steeleagle_protocol.v1.messages.stream.TelemetryR\ttelemetry\"\x11\n\x0fGetFrameRequest\"^\n\x10GetFrameResponse\x12J\n\x05\x66rame\x18\x01 \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.stream.EncodedFrameR\x05\x66rame\"\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\x92\x06\n\x0b\x44\x61taService\x12\x8e\x01\n\tGetResult\x12>.steeleagle_protocol.v1.services.vehicle.data.GetResultRequest\x1a?.steeleagle_protocol.v1.services.vehicle.data.GetResultResponse\"\x00\x12\x97\x01\n\x0cGetTelemetry\x12\x41.steeleagle_protocol.v1.services.vehicle.data.GetTelemetryRequest\x1a\x42.steeleagle_protocol.v1.services.vehicle.data.GetTelemetryResponse\"\x00\x12\x8b\x01\n\x08GetFrame\x12=.steeleagle_protocol.v1.services.vehicle.data.GetFrameRequest\x1a>.steeleagle_protocol.v1.services.vehicle.data.GetFrameResponse\"\x00\x12\xa6\x01\n\x11StreamVideoFrames\x12\x46.steeleagle_protocol.v1.services.vehicle.data.StreamVideoFramesRequest\x1aG.steeleagle_protocol.v1.services.vehicle.data.StreamVideoFramesResponse0\x01\x12\xa0\x01\n\x0fStreamTelemetry\x12\x44.steeleagle_protocol.v1.services.vehicle.data.StreamTelemetryRequest\x1a\x45.steeleagle_protocol.v1.services.vehicle.data.StreamTelemetryResponse0\x01\x42\xe1\x02\n0com.steeleagle_protocol.v1.services.vehicle.dataB\tDataProtoP\x01ZPgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/vehicle\xa2\x02\x05SVSVD\xaa\x02+SteeleagleProtocol.V1.Services.Vehicle.Data\xca\x02+SteeleagleProtocol\\V1\\Services\\Vehicle\\Data\xe2\x02\x37SteeleagleProtocol\\V1\\Services\\Vehicle\\Data\\GPBMetadata\xea\x02/SteeleagleProtocol::V1::Services::Vehicle::Datab\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -46,6 +46,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
46
46
|
_globals['_GETFRAMEREQUEST']._serialized_end=491
|
|
47
47
|
_globals['_GETFRAMERESPONSE']._serialized_start=493
|
|
48
48
|
_globals['_GETFRAMERESPONSE']._serialized_end=587
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
49
|
+
_globals['_STREAMVIDEOFRAMESREQUEST']._serialized_start=589
|
|
50
|
+
_globals['_STREAMVIDEOFRAMESREQUEST']._serialized_end=615
|
|
51
|
+
_globals['_STREAMVIDEOFRAMESRESPONSE']._serialized_start=617
|
|
52
|
+
_globals['_STREAMVIDEOFRAMESRESPONSE']._serialized_end=720
|
|
53
|
+
_globals['_STREAMTELEMETRYREQUEST']._serialized_start=722
|
|
54
|
+
_globals['_STREAMTELEMETRYREQUEST']._serialized_end=746
|
|
55
|
+
_globals['_STREAMTELEMETRYRESPONSE']._serialized_start=748
|
|
56
|
+
_globals['_STREAMTELEMETRYRESPONSE']._serialized_end=854
|
|
57
|
+
_globals['_DATASERVICE']._serialized_start=857
|
|
58
|
+
_globals['_DATASERVICE']._serialized_end=1643
|
|
51
59
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -34,6 +34,16 @@ class DataServiceStub:
|
|
|
34
34
|
request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.GetFrameRequest.SerializeToString,
|
|
35
35
|
response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.GetFrameResponse.FromString,
|
|
36
36
|
_registered_method=True)
|
|
37
|
+
self.StreamVideoFrames = channel.unary_stream(
|
|
38
|
+
'/steeleagle_protocol.v1.services.vehicle.data.DataService/StreamVideoFrames',
|
|
39
|
+
request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.StreamVideoFramesRequest.SerializeToString,
|
|
40
|
+
response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.StreamVideoFramesResponse.FromString,
|
|
41
|
+
_registered_method=True)
|
|
42
|
+
self.StreamTelemetry = channel.unary_stream(
|
|
43
|
+
'/steeleagle_protocol.v1.services.vehicle.data.DataService/StreamTelemetry',
|
|
44
|
+
request_serializer=steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.StreamTelemetryRequest.SerializeToString,
|
|
45
|
+
response_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.StreamTelemetryResponse.FromString,
|
|
46
|
+
_registered_method=True)
|
|
37
47
|
|
|
38
48
|
|
|
39
49
|
class DataServiceServicer:
|
|
@@ -74,6 +84,26 @@ class DataServiceServicer:
|
|
|
74
84
|
context.set_details('Method not implemented!')
|
|
75
85
|
raise NotImplementedError('Method not implemented!')
|
|
76
86
|
|
|
87
|
+
def StreamVideoFrames(self, request, context):
|
|
88
|
+
"""
|
|
89
|
+
Stream individual video frames from the vehicle.
|
|
90
|
+
|
|
91
|
+
Retrieves a stream of individual video frame from the vehicle.
|
|
92
|
+
"""
|
|
93
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
94
|
+
context.set_details('Method not implemented!')
|
|
95
|
+
raise NotImplementedError('Method not implemented!')
|
|
96
|
+
|
|
97
|
+
def StreamTelemetry(self, request, context):
|
|
98
|
+
"""
|
|
99
|
+
Stream telemetry from the vehicle.
|
|
100
|
+
|
|
101
|
+
Streams up-to-date telemetry from the vehicle.
|
|
102
|
+
"""
|
|
103
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
104
|
+
context.set_details('Method not implemented!')
|
|
105
|
+
raise NotImplementedError('Method not implemented!')
|
|
106
|
+
|
|
77
107
|
|
|
78
108
|
def add_DataServiceServicer_to_server(servicer, server):
|
|
79
109
|
rpc_method_handlers = {
|
|
@@ -92,6 +122,16 @@ def add_DataServiceServicer_to_server(servicer, server):
|
|
|
92
122
|
request_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.GetFrameRequest.FromString,
|
|
93
123
|
response_serializer=steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.GetFrameResponse.SerializeToString,
|
|
94
124
|
),
|
|
125
|
+
'StreamVideoFrames': grpc.unary_stream_rpc_method_handler(
|
|
126
|
+
servicer.StreamVideoFrames,
|
|
127
|
+
request_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.StreamVideoFramesRequest.FromString,
|
|
128
|
+
response_serializer=steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.StreamVideoFramesResponse.SerializeToString,
|
|
129
|
+
),
|
|
130
|
+
'StreamTelemetry': grpc.unary_stream_rpc_method_handler(
|
|
131
|
+
servicer.StreamTelemetry,
|
|
132
|
+
request_deserializer=steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.StreamTelemetryRequest.FromString,
|
|
133
|
+
response_serializer=steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.StreamTelemetryResponse.SerializeToString,
|
|
134
|
+
),
|
|
95
135
|
}
|
|
96
136
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
97
137
|
'steeleagle_protocol.v1.services.vehicle.data.DataService', rpc_method_handlers)
|
|
@@ -188,3 +228,57 @@ class DataService:
|
|
|
188
228
|
timeout,
|
|
189
229
|
metadata,
|
|
190
230
|
_registered_method=True)
|
|
231
|
+
|
|
232
|
+
@staticmethod
|
|
233
|
+
def StreamVideoFrames(request,
|
|
234
|
+
target,
|
|
235
|
+
options=(),
|
|
236
|
+
channel_credentials=None,
|
|
237
|
+
call_credentials=None,
|
|
238
|
+
insecure=False,
|
|
239
|
+
compression=None,
|
|
240
|
+
wait_for_ready=None,
|
|
241
|
+
timeout=None,
|
|
242
|
+
metadata=None):
|
|
243
|
+
return grpc.experimental.unary_stream(
|
|
244
|
+
request,
|
|
245
|
+
target,
|
|
246
|
+
'/steeleagle_protocol.v1.services.vehicle.data.DataService/StreamVideoFrames',
|
|
247
|
+
steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.StreamVideoFramesRequest.SerializeToString,
|
|
248
|
+
steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.StreamVideoFramesResponse.FromString,
|
|
249
|
+
options,
|
|
250
|
+
channel_credentials,
|
|
251
|
+
insecure,
|
|
252
|
+
call_credentials,
|
|
253
|
+
compression,
|
|
254
|
+
wait_for_ready,
|
|
255
|
+
timeout,
|
|
256
|
+
metadata,
|
|
257
|
+
_registered_method=True)
|
|
258
|
+
|
|
259
|
+
@staticmethod
|
|
260
|
+
def StreamTelemetry(request,
|
|
261
|
+
target,
|
|
262
|
+
options=(),
|
|
263
|
+
channel_credentials=None,
|
|
264
|
+
call_credentials=None,
|
|
265
|
+
insecure=False,
|
|
266
|
+
compression=None,
|
|
267
|
+
wait_for_ready=None,
|
|
268
|
+
timeout=None,
|
|
269
|
+
metadata=None):
|
|
270
|
+
return grpc.experimental.unary_stream(
|
|
271
|
+
request,
|
|
272
|
+
target,
|
|
273
|
+
'/steeleagle_protocol.v1.services.vehicle.data.DataService/StreamTelemetry',
|
|
274
|
+
steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.StreamTelemetryRequest.SerializeToString,
|
|
275
|
+
steeleagle__protocol_dot_v1_dot_services_dot_vehicle_dot_data__pb2.StreamTelemetryResponse.FromString,
|
|
276
|
+
options,
|
|
277
|
+
channel_credentials,
|
|
278
|
+
insecure,
|
|
279
|
+
call_credentials,
|
|
280
|
+
compression,
|
|
281
|
+
wait_for_ready,
|
|
282
|
+
timeout,
|
|
283
|
+
metadata,
|
|
284
|
+
_registered_method=True)
|
{steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: steeleagle-protocol
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.6
|
|
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
|
|
@@ -11,5 +11,5 @@ Classifier: Development Status :: 3 - Alpha
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Requires-Python: >=3.10
|
|
14
|
-
Requires-Dist: grpcio>=1.
|
|
15
|
-
Requires-Dist: protobuf>=
|
|
14
|
+
Requires-Dist: grpcio>=1.43.0
|
|
15
|
+
Requires-Dist: protobuf>=3.19.4
|
|
File without changes
|
{steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol/v1/common_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{steeleagle_protocol-0.1.4 → steeleagle_protocol-0.1.6}/src/steeleagle_protocol.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|