steeleagle-protocol 0.3.0__tar.gz → 0.3.4__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 (84) hide show
  1. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/PKG-INFO +1 -1
  2. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/pyproject.toml +17 -1
  3. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/messages/frame/frame_pb2.py +43 -0
  4. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/messages/frame/frame_pb2.pyi +64 -0
  5. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/messages/result/result_pb2.py +10 -10
  6. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/messages/result/result_pb2.pyi +8 -3
  7. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/messages/telemetry/telemetry_pb2.py +4 -4
  8. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/messages/telemetry/telemetry_pb2.pyi +4 -0
  9. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/messages/telemetry/telemetry_pb2_grpc.py +4 -0
  10. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/daemon/daemon_pb2.py +93 -0
  11. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/daemon/daemon_pb2.pyi +203 -0
  12. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/daemon/daemon_pb2_grpc.py +541 -0
  13. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/daemon/transfer_pb2.py +45 -0
  14. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/daemon/transfer_pb2.pyi +41 -0
  15. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/daemon/transfer_pb2_grpc.py +150 -0
  16. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/driver/control_pb2.py +97 -0
  17. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/services/driver/control_pb2.pyi +24 -0
  18. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/services/driver/control_pb2_grpc.py +106 -3
  19. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/driver/stream_pb2.py +49 -0
  20. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/driver/stream_pb2.pyi +55 -0
  21. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/services/driver/stream_pb2_grpc.py +28 -75
  22. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/mission/mission_pb2.py +45 -0
  23. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/mission/mission_pb2.pyi +23 -0
  24. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/services/mission/mission_pb2_grpc.py +14 -110
  25. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/vehicle/data_pb2.py +56 -0
  26. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/vehicle/data_pb2.pyi +62 -0
  27. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/services/vehicle/data_pb2_grpc.py +71 -105
  28. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/vehicle/safety_pb2.py +54 -0
  29. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/vehicle/safety_pb2.pyi +68 -0
  30. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/vehicle/safety_pb2_grpc.py +195 -0
  31. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/vehicle/upload_pb2.py +52 -0
  32. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/vehicle/upload_pb2.pyi +60 -0
  33. steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/services/vehicle/upload_pb2_grpc.py +194 -0
  34. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol.egg-info/PKG-INFO +1 -1
  35. steeleagle_protocol-0.3.4/src/steeleagle_protocol.egg-info/SOURCES.txt +48 -0
  36. steeleagle_protocol-0.3.4/src/steeleagle_protocol.egg-info/scm_file_list.json +45 -0
  37. steeleagle_protocol-0.3.4/src/steeleagle_protocol.egg-info/scm_version.json +8 -0
  38. steeleagle_protocol-0.3.4/uv.lock +102 -0
  39. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/action_pb2.py +0 -60
  40. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/action_pb2_grpc.py +0 -291
  41. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/configure_pb2.py +0 -42
  42. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/configure_pb2_grpc.py +0 -98
  43. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/control_pb2.py +0 -89
  44. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/gimbal_pb2.py +0 -49
  45. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/gimbal_pb2_grpc.py +0 -167
  46. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/guidance_pb2.py +0 -57
  47. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/guidance_pb2_grpc.py +0 -251
  48. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/info_pb2.py +0 -41
  49. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/info_pb2.pyi +0 -15
  50. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/info_pb2_grpc.py +0 -95
  51. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/stream_pb2.py +0 -52
  52. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/driver/stream_pb2.pyi +0 -63
  53. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/dslcompiler/dslcompiler_pb2.py +0 -105
  54. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/dslcompiler/dslcompiler_pb2.pyi +0 -262
  55. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/dslcompiler/dslcompiler_pb2_grpc.py +0 -240
  56. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/eagled/eagled_pb2.py +0 -98
  57. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/eagled/eagled_pb2.pyi +0 -255
  58. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/eagled/eagled_pb2_grpc.py +0 -589
  59. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/mission/mission_pb2.py +0 -55
  60. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/mission/mission_pb2.pyi +0 -54
  61. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/swarm/registry_pb2.py +0 -41
  62. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/swarm/registry_pb2.pyi +0 -19
  63. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/swarm/registry_pb2_grpc.py +0 -93
  64. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/swarm/swarm_pb2.py +0 -86
  65. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/swarm/swarm_pb2.pyi +0 -236
  66. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/swarm/swarm_pb2_grpc.py +0 -567
  67. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/vehicle/compute_pb2.py +0 -47
  68. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/vehicle/compute_pb2.pyi +0 -48
  69. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/vehicle/compute_pb2_grpc.py +0 -102
  70. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/vehicle/data_pb2.py +0 -59
  71. steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/vehicle/data_pb2.pyi +0 -60
  72. steeleagle_protocol-0.3.0/src/steeleagle_protocol.egg-info/SOURCES.txt +0 -56
  73. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/setup.cfg +0 -0
  74. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/common/common_pb2.py +0 -0
  75. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/common/common_pb2.pyi +0 -0
  76. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/common/common_pb2_grpc.py +0 -0
  77. /steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/messages/result/result_pb2_grpc.py → /steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/messages/frame/frame_pb2_grpc.py +0 -0
  78. /steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/messages/telemetry/telemetry_pb2_grpc.py → /steeleagle_protocol-0.3.4/src/steeleagle_protocol/v1/messages/result/result_pb2_grpc.py +0 -0
  79. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/services/driver/calibrate_pb2.py +0 -0
  80. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/services/driver/calibrate_pb2.pyi +0 -0
  81. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol/v1/services/driver/calibrate_pb2_grpc.py +0 -0
  82. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol.egg-info/dependency_links.txt +0 -0
  83. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/src/steeleagle_protocol.egg-info/requires.txt +0 -0
  84. {steeleagle_protocol-0.3.0 → steeleagle_protocol-0.3.4}/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.3.0
3
+ Version: 0.3.4
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,11 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77", "setuptools-scm>=8"]
3
+ build-backend = "setuptools.build_meta"
4
+
1
5
  [project]
2
6
  name = "steeleagle-protocol"
3
- version = "0.3.0"
7
+ # Taken from the newest api/python/v* tag by setuptools-scm; see [tool.setuptools_scm].
8
+ dynamic = ["version"]
4
9
  requires-python = ">=3.10"
5
10
  dependencies = [
6
11
  "grpcio>=1.82.1",
@@ -33,3 +38,14 @@ classifiers = [
33
38
  [project.urls]
34
39
  Homepage = "https://cmusatyalab.github.io/steeleagle/"
35
40
  Repository = "https://github.com/cmusatyalab/steeleagle/"
41
+
42
+ # The version comes from git tags of the form api/python/vX.Y.Z (or
43
+ # vX.Y.Z-alpha.N / vX.Y.Z-beta.N), created by `git release` (tools/git/README.md).
44
+ # Prereleases normalize to PEP 440 (0.4.0-alpha.1 -> 0.4.0a1); commits after a
45
+ # tag build as dev versions (0.4.1.devN+gHASH after v0.4.0).
46
+ [tool.setuptools_scm]
47
+ root = "../.."
48
+ tag_regex = '^api/python/(?P<version>v\d+\.\d+\.\d+(?:-(?:alpha|beta)\.\d+)?)$'
49
+
50
+ [tool.setuptools_scm.scm.git]
51
+ describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "api/python/v*"]
@@ -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/messages/frame/frame.proto
5
+ # Protobuf Python Version: 7.36.0
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
+ 36,
16
+ 0,
17
+ '',
18
+ 'steeleagle_protocol/v1/messages/frame/frame.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from steeleagle_protocol.v1.messages.telemetry import telemetry_pb2 as steeleagle__protocol_dot_v1_dot_messages_dot_telemetry_dot_telemetry__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1steeleagle_protocol/v1/messages/frame/frame.proto\x12%steeleagle_protocol.v1.messages.frame\x1a\x39steeleagle_protocol/v1/messages/telemetry/telemetry.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\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\x12\\\n\rposition_info\x18\x08 \x01(\x0b\x32\x37.steeleagle_protocol.v1.messages.telemetry.PositionInfoR\x0cpositionInfo\x12V\n\x0bgimbal_info\x18\t \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.telemetry.GimbalInfoR\ngimbalInfo\x12\x1b\n\tcamera_id\x18\n \x01(\x04R\x08\x63\x61meraId\"\xae\x03\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\x12V\n\x0bgimbal_info\x18\x04 \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.telemetry.GimbalInfoR\ngimbalInfo\x12\\\n\rposition_info\x18\x05 \x01(\x0b\x32\x37.steeleagle_protocol.v1.messages.telemetry.PositionInfoR\x0cpositionInfo\x12\x1b\n\tcamera_id\x18\x06 \x01(\x04R\x08\x63\x61meraId\x12\x42\n\x05\x63odec\x18\x07 \x01(\x0e\x32,.steeleagle_protocol.v1.messages.frame.CodecR\x05\x63odec\x12\x1a\n\x08keyframe\x18\x08 \x01(\x08R\x08keyframe*>\n\x05\x43odec\x12\x15\n\x11\x43ODEC_UNSPECIFIED\x10\x00\x12\x0e\n\nCODEC_JPEG\x10\x01\x12\x0e\n\nCODEC_H264\x10\x02\x42\xbb\x02\n)com.steeleagle_protocol.v1.messages.frameB\nFrameProtoP\x01ZNgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/messages/frame\xa2\x02\x04SVMF\xaa\x02$SteeleagleProtocol.V1.Messages.Frame\xca\x02$SteeleagleProtocol\\V1\\Messages\\Frame\xe2\x02\x30SteeleagleProtocol\\V1\\Messages\\Frame\\GPBMetadata\xea\x02\'SteeleagleProtocol::V1::Messages::Frameb\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.messages.frame.frame_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.frameB\nFrameProtoP\001ZNgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/messages/frame\242\002\004SVMF\252\002$SteeleagleProtocol.V1.Messages.Frame\312\002$SteeleagleProtocol\\V1\\Messages\\Frame\342\0020SteeleagleProtocol\\V1\\Messages\\Frame\\GPBMetadata\352\002\'SteeleagleProtocol::V1::Messages::Frame'
37
+ _globals['_CODEC']._serialized_start=1026
38
+ _globals['_CODEC']._serialized_end=1088
39
+ _globals['_RAWFRAME']._serialized_start=185
40
+ _globals['_RAWFRAME']._serialized_end=591
41
+ _globals['_ENCODEDFRAME']._serialized_start=594
42
+ _globals['_ENCODEDFRAME']._serialized_end=1024
43
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,64 @@
1
+ import datetime
2
+
3
+ from steeleagle_protocol.v1.messages.telemetry import telemetry_pb2 as _telemetry_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
5
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import message as _message
8
+ from collections.abc import Mapping as _Mapping
9
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
10
+
11
+ DESCRIPTOR: _descriptor.FileDescriptor
12
+
13
+ class Codec(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
14
+ __slots__ = ()
15
+ CODEC_UNSPECIFIED: _ClassVar[Codec]
16
+ CODEC_JPEG: _ClassVar[Codec]
17
+ CODEC_H264: _ClassVar[Codec]
18
+ CODEC_UNSPECIFIED: Codec
19
+ CODEC_JPEG: Codec
20
+ CODEC_H264: Codec
21
+
22
+ class RawFrame(_message.Message):
23
+ __slots__ = ("timestamp", "data", "h_res", "v_res", "d_res", "channels", "id", "position_info", "gimbal_info", "camera_id")
24
+ TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
25
+ DATA_FIELD_NUMBER: _ClassVar[int]
26
+ H_RES_FIELD_NUMBER: _ClassVar[int]
27
+ V_RES_FIELD_NUMBER: _ClassVar[int]
28
+ D_RES_FIELD_NUMBER: _ClassVar[int]
29
+ CHANNELS_FIELD_NUMBER: _ClassVar[int]
30
+ ID_FIELD_NUMBER: _ClassVar[int]
31
+ POSITION_INFO_FIELD_NUMBER: _ClassVar[int]
32
+ GIMBAL_INFO_FIELD_NUMBER: _ClassVar[int]
33
+ CAMERA_ID_FIELD_NUMBER: _ClassVar[int]
34
+ timestamp: _timestamp_pb2.Timestamp
35
+ data: bytes
36
+ h_res: int
37
+ v_res: int
38
+ d_res: int
39
+ channels: int
40
+ id: int
41
+ position_info: _telemetry_pb2.PositionInfo
42
+ gimbal_info: _telemetry_pb2.GimbalInfo
43
+ camera_id: int
44
+ def __init__(self, timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., data: _Optional[bytes] = ..., h_res: _Optional[int] = ..., v_res: _Optional[int] = ..., d_res: _Optional[int] = ..., channels: _Optional[int] = ..., id: _Optional[int] = ..., position_info: _Optional[_Union[_telemetry_pb2.PositionInfo, _Mapping]] = ..., gimbal_info: _Optional[_Union[_telemetry_pb2.GimbalInfo, _Mapping]] = ..., camera_id: _Optional[int] = ...) -> None: ...
45
+
46
+ class EncodedFrame(_message.Message):
47
+ __slots__ = ("timestamp", "encoded_data", "id", "gimbal_info", "position_info", "camera_id", "codec", "keyframe")
48
+ TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
49
+ ENCODED_DATA_FIELD_NUMBER: _ClassVar[int]
50
+ ID_FIELD_NUMBER: _ClassVar[int]
51
+ GIMBAL_INFO_FIELD_NUMBER: _ClassVar[int]
52
+ POSITION_INFO_FIELD_NUMBER: _ClassVar[int]
53
+ CAMERA_ID_FIELD_NUMBER: _ClassVar[int]
54
+ CODEC_FIELD_NUMBER: _ClassVar[int]
55
+ KEYFRAME_FIELD_NUMBER: _ClassVar[int]
56
+ timestamp: _timestamp_pb2.Timestamp
57
+ encoded_data: bytes
58
+ id: int
59
+ gimbal_info: _telemetry_pb2.GimbalInfo
60
+ position_info: _telemetry_pb2.PositionInfo
61
+ camera_id: int
62
+ codec: Codec
63
+ keyframe: bool
64
+ def __init__(self, timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., encoded_data: _Optional[bytes] = ..., id: _Optional[int] = ..., gimbal_info: _Optional[_Union[_telemetry_pb2.GimbalInfo, _Mapping]] = ..., position_info: _Optional[_Union[_telemetry_pb2.PositionInfo, _Mapping]] = ..., camera_id: _Optional[int] = ..., codec: _Optional[_Union[Codec, str]] = ..., keyframe: _Optional[bool] = ...) -> None: ...
@@ -26,7 +26,7 @@ from steeleagle_protocol.v1.common import common_pb2 as steeleagle__protocol_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/result/result.proto\x12&steeleagle_protocol.v1.messages.result\x1a*steeleagle_protocol/v1/common/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"a\n\x0b\x42oundingBox\x12\x13\n\x05y_min\x18\x01 \x01(\x01R\x04yMin\x12\x13\n\x05x_min\x18\x02 \x01(\x01R\x04xMin\x12\x13\n\x05y_max\x18\x03 \x01(\x01R\x04yMax\x12\x13\n\x05x_max\x18\x04 \x01(\x01R\x04xMax\"\x89\x01\n\tDetection\x12\x1d\n\nclass_name\x18\x01 \x01(\tR\tclassName\x12\x14\n\x05score\x18\x02 \x01(\x01R\x05score\x12G\n\x04\x62\x62ox\x18\x03 \x01(\x0b\x32\x33.steeleagle_protocol.v1.messages.result.BoundingBoxR\x04\x62\x62ox\"d\n\x0f\x44\x65tectionResult\x12Q\n\ndetections\x18\x01 \x03(\x0b\x32\x31.steeleagle_protocol.v1.messages.result.DetectionR\ndetections\",\n\x14\x43lassificationResult\x12\x14\n\x05score\x18\x01 \x01(\x01R\x05score\"Y\n\x0eGuidanceResult\x12G\n\ntrajectory\x18\x01 \x01(\x0b\x32\'.steeleagle_protocol.v1.common.VelocityR\ntrajectory\"\xd6\x01\n\x0ePositionResult\x12^\n\x11relative_position\x18\x01 \x01(\x0b\x32/.steeleagle_protocol.v1.common.RelativePositionH\x00R\x10relativePosition\x12X\n\x0fglobal_position\x18\x02 \x01(\x0b\x32-.steeleagle_protocol.v1.common.GlobalPositionH\x00R\x0eglobalPositionB\n\n\x08position\")\n\rGenericResult\x12\x18\n\x07payload\x18\x01 \x01(\x0cR\x07payload\"\xd2\x04\n\rComputeResult\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12\x64\n\x10\x64\x65tection_result\x18\x02 \x01(\x0b\x32\x37.steeleagle_protocol.v1.messages.result.DetectionResultH\x00R\x0f\x64\x65tectionResult\x12s\n\x15\x63lassification_result\x18\x03 \x01(\x0b\x32<.steeleagle_protocol.v1.messages.result.ClassificationResultH\x00R\x14\x63lassificationResult\x12\x61\n\x0fguidance_result\x18\x04 \x01(\x0b\x32\x36.steeleagle_protocol.v1.messages.result.GuidanceResultH\x00R\x0eguidanceResult\x12\x61\n\x0fposition_result\x18\x05 \x01(\x0b\x32\x36.steeleagle_protocol.v1.messages.result.PositionResultH\x00R\x0epositionResult\x12^\n\x0egeneric_result\x18\x06 \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.result.GenericResultH\x00R\rgenericResultB\x06\n\x04typeB\xc2\x02\n*com.steeleagle_protocol.v1.messages.resultB\x0bResultProtoP\x01ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/messages/result\xa2\x02\x04SVMR\xaa\x02%SteeleagleProtocol.V1.Messages.Result\xca\x02%SteeleagleProtocol\\V1\\Messages\\Result\xe2\x02\x31SteeleagleProtocol\\V1\\Messages\\Result\\GPBMetadata\xea\x02(SteeleagleProtocol::V1::Messages::Resultb\x06proto3')
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3steeleagle_protocol/v1/messages/result/result.proto\x12&steeleagle_protocol.v1.messages.result\x1a*steeleagle_protocol/v1/common/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"a\n\x0b\x42oundingBox\x12\x13\n\x05y_min\x18\x01 \x01(\x01R\x04yMin\x12\x13\n\x05x_min\x18\x02 \x01(\x01R\x04xMin\x12\x13\n\x05y_max\x18\x03 \x01(\x01R\x04yMax\x12\x13\n\x05x_max\x18\x04 \x01(\x01R\x04xMax\"\x89\x01\n\tDetection\x12\x1d\n\nclass_name\x18\x01 \x01(\tR\tclassName\x12\x14\n\x05score\x18\x02 \x01(\x01R\x05score\x12G\n\x04\x62\x62ox\x18\x03 \x01(\x0b\x32\x33.steeleagle_protocol.v1.messages.result.BoundingBoxR\x04\x62\x62ox\"d\n\x0f\x44\x65tectionResult\x12Q\n\ndetections\x18\x01 \x03(\x0b\x32\x31.steeleagle_protocol.v1.messages.result.DetectionR\ndetections\"Q\n\x14\x43lassificationResult\x12\x14\n\x05score\x18\x01 \x01(\x01R\x05score\x12\x19\n\x05\x63lass\x18\x02 \x01(\tH\x00R\x05\x63lass\x88\x01\x01\x42\x08\n\x06_class\"Y\n\x0eGuidanceResult\x12G\n\ntrajectory\x18\x01 \x01(\x0b\x32\'.steeleagle_protocol.v1.common.VelocityR\ntrajectory\"\xd6\x01\n\x0ePositionResult\x12^\n\x11relative_position\x18\x01 \x01(\x0b\x32/.steeleagle_protocol.v1.common.RelativePositionH\x00R\x10relativePosition\x12X\n\x0fglobal_position\x18\x02 \x01(\x0b\x32-.steeleagle_protocol.v1.common.GlobalPositionH\x00R\x0eglobalPositionB\n\n\x08position\")\n\rGenericResult\x12\x18\n\x07payload\x18\x01 \x01(\x0cR\x07payload\"\x8b\x05\n\rComputeResult\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12!\n\x0csequence_num\x18\x02 \x01(\x04R\x0bsequenceNum\x12\x14\n\x05local\x18\x03 \x01(\x08R\x05local\x12\x64\n\x10\x64\x65tection_result\x18\x04 \x01(\x0b\x32\x37.steeleagle_protocol.v1.messages.result.DetectionResultH\x00R\x0f\x64\x65tectionResult\x12s\n\x15\x63lassification_result\x18\x05 \x01(\x0b\x32<.steeleagle_protocol.v1.messages.result.ClassificationResultH\x00R\x14\x63lassificationResult\x12\x61\n\x0fguidance_result\x18\x06 \x01(\x0b\x32\x36.steeleagle_protocol.v1.messages.result.GuidanceResultH\x00R\x0eguidanceResult\x12\x61\n\x0fposition_result\x18\x07 \x01(\x0b\x32\x36.steeleagle_protocol.v1.messages.result.PositionResultH\x00R\x0epositionResult\x12^\n\x0egeneric_result\x18\x08 \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.result.GenericResultH\x00R\rgenericResultB\x06\n\x04typeB\xc2\x02\n*com.steeleagle_protocol.v1.messages.resultB\x0bResultProtoP\x01ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/messages/result\xa2\x02\x04SVMR\xaa\x02%SteeleagleProtocol.V1.Messages.Result\xca\x02%SteeleagleProtocol\\V1\\Messages\\Result\xe2\x02\x31SteeleagleProtocol\\V1\\Messages\\Result\\GPBMetadata\xea\x02(SteeleagleProtocol::V1::Messages::Resultb\x06proto3')
30
30
 
31
31
  _globals = globals()
32
32
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -41,13 +41,13 @@ if not _descriptor._USE_C_DESCRIPTORS:
41
41
  _globals['_DETECTIONRESULT']._serialized_start=411
42
42
  _globals['_DETECTIONRESULT']._serialized_end=511
43
43
  _globals['_CLASSIFICATIONRESULT']._serialized_start=513
44
- _globals['_CLASSIFICATIONRESULT']._serialized_end=557
45
- _globals['_GUIDANCERESULT']._serialized_start=559
46
- _globals['_GUIDANCERESULT']._serialized_end=648
47
- _globals['_POSITIONRESULT']._serialized_start=651
48
- _globals['_POSITIONRESULT']._serialized_end=865
49
- _globals['_GENERICRESULT']._serialized_start=867
50
- _globals['_GENERICRESULT']._serialized_end=908
51
- _globals['_COMPUTERESULT']._serialized_start=911
52
- _globals['_COMPUTERESULT']._serialized_end=1505
44
+ _globals['_CLASSIFICATIONRESULT']._serialized_end=594
45
+ _globals['_GUIDANCERESULT']._serialized_start=596
46
+ _globals['_GUIDANCERESULT']._serialized_end=685
47
+ _globals['_POSITIONRESULT']._serialized_start=688
48
+ _globals['_POSITIONRESULT']._serialized_end=902
49
+ _globals['_GENERICRESULT']._serialized_start=904
50
+ _globals['_GENERICRESULT']._serialized_end=945
51
+ _globals['_COMPUTERESULT']._serialized_start=948
52
+ _globals['_COMPUTERESULT']._serialized_end=1599
53
53
  # @@protoc_insertion_point(module_scope)
@@ -41,8 +41,9 @@ class DetectionResult(_message.Message):
41
41
  class ClassificationResult(_message.Message):
42
42
  __slots__ = ("score",)
43
43
  SCORE_FIELD_NUMBER: _ClassVar[int]
44
+ CLASS_FIELD_NUMBER: _ClassVar[int]
44
45
  score: float
45
- def __init__(self, score: _Optional[float] = ...) -> None: ...
46
+ def __init__(self, score: _Optional[float] = ..., **kwargs) -> None: ...
46
47
 
47
48
  class GuidanceResult(_message.Message):
48
49
  __slots__ = ("trajectory",)
@@ -65,17 +66,21 @@ class GenericResult(_message.Message):
65
66
  def __init__(self, payload: _Optional[bytes] = ...) -> None: ...
66
67
 
67
68
  class ComputeResult(_message.Message):
68
- __slots__ = ("timestamp", "detection_result", "classification_result", "guidance_result", "position_result", "generic_result")
69
+ __slots__ = ("timestamp", "sequence_num", "local", "detection_result", "classification_result", "guidance_result", "position_result", "generic_result")
69
70
  TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
71
+ SEQUENCE_NUM_FIELD_NUMBER: _ClassVar[int]
72
+ LOCAL_FIELD_NUMBER: _ClassVar[int]
70
73
  DETECTION_RESULT_FIELD_NUMBER: _ClassVar[int]
71
74
  CLASSIFICATION_RESULT_FIELD_NUMBER: _ClassVar[int]
72
75
  GUIDANCE_RESULT_FIELD_NUMBER: _ClassVar[int]
73
76
  POSITION_RESULT_FIELD_NUMBER: _ClassVar[int]
74
77
  GENERIC_RESULT_FIELD_NUMBER: _ClassVar[int]
75
78
  timestamp: _timestamp_pb2.Timestamp
79
+ sequence_num: int
80
+ local: bool
76
81
  detection_result: DetectionResult
77
82
  classification_result: ClassificationResult
78
83
  guidance_result: GuidanceResult
79
84
  position_result: PositionResult
80
85
  generic_result: GenericResult
81
- def __init__(self, timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., detection_result: _Optional[_Union[DetectionResult, _Mapping]] = ..., classification_result: _Optional[_Union[ClassificationResult, _Mapping]] = ..., guidance_result: _Optional[_Union[GuidanceResult, _Mapping]] = ..., position_result: _Optional[_Union[PositionResult, _Mapping]] = ..., generic_result: _Optional[_Union[GenericResult, _Mapping]] = ...) -> None: ...
86
+ def __init__(self, timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., sequence_num: _Optional[int] = ..., local: _Optional[bool] = ..., detection_result: _Optional[_Union[DetectionResult, _Mapping]] = ..., classification_result: _Optional[_Union[ClassificationResult, _Mapping]] = ..., guidance_result: _Optional[_Union[GuidanceResult, _Mapping]] = ..., position_result: _Optional[_Union[PositionResult, _Mapping]] = ..., generic_result: _Optional[_Union[GenericResult, _Mapping]] = ...) -> None: ...
@@ -27,7 +27,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
27
27
  from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
28
28
 
29
29
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9steeleagle_protocol/v1/messages/telemetry/telemetry.proto\x12)steeleagle_protocol.v1.messages.telemetry\x1a*steeleagle_protocol/v1/common/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\"A\n\x0b\x42\x61tteryInfo\x12#\n\npercentage\x18\x01 \x01(\rH\x00R\npercentage\x88\x01\x01\x42\r\n\x0b_percentage\"=\n\x07GpsInfo\x12#\n\nsatellites\x18\x01 \x01(\rH\x00R\nsatellites\x88\x01\x01\x42\r\n\x0b_satellites\"\xc2\x04\n\x0cPositionInfo\x12\x46\n\x04home\x18\x01 \x01(\x0b\x32-.steeleagle_protocol.v1.common.GlobalPositionH\x00R\x04home\x88\x01\x01\x12[\n\x0fglobal_position\x18\x02 \x01(\x0b\x32-.steeleagle_protocol.v1.common.GlobalPositionH\x01R\x0eglobalPosition\x88\x01\x01\x12\x61\n\x11relative_position\x18\x03 \x01(\x0b\x32/.steeleagle_protocol.v1.common.RelativePositionH\x02R\x10relativePosition\x88\x01\x01\x12Q\n\rvelocity_body\x18\x04 \x01(\x0b\x32\'.steeleagle_protocol.v1.common.VelocityH\x03R\x0cvelocityBody\x88\x01\x01\x12O\n\x0cvelocity_neu\x18\x05 \x01(\x0b\x32\'.steeleagle_protocol.v1.common.VelocityH\x04R\x0bvelocityNeu\x88\x01\x01\x12\x30\n\x08setpoint\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08setpointB\x07\n\x05_homeB\x12\n\x10_global_positionB\x14\n\x12_relative_positionB\x10\n\x0e_velocity_bodyB\x0f\n\r_velocity_neu\"\xef\x03\n\nGimbalInfo\x12\x45\n\tpose_body\x18\x01 \x01(\x0b\x32#.steeleagle_protocol.v1.common.PoseH\x00R\x08poseBody\x88\x01\x01\x12\x43\n\x08pose_neu\x18\x02 \x01(\x0b\x32#.steeleagle_protocol.v1.common.PoseH\x01R\x07poseNeu\x88\x01\x01\x12\x64\n\x15\x61ngular_velocity_body\x18\x03 \x01(\x0b\x32+.steeleagle_protocol.v1.common.PoseVelocityH\x02R\x13\x61ngularVelocityBody\x88\x01\x01\x12\x62\n\x14\x61ngular_velocity_neu\x18\x04 \x01(\x0b\x32+.steeleagle_protocol.v1.common.PoseVelocityH\x03R\x12\x61ngularVelocityNeu\x88\x01\x01\x12=\n\x0fgimbal_setpoint\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0egimbalSetpointB\x0c\n\n_pose_bodyB\x0b\n\t_pose_neuB\x18\n\x16_angular_velocity_bodyB\x17\n\x15_angular_velocity_neu\"\xe2\x08\n\tAlertInfo\x12l\n\x0f\x62\x61ttery_warning\x18\x01 \x01(\x0e\x32\x43.steeleagle_protocol.v1.messages.telemetry.AlertInfo.BatteryWarningR\x0e\x62\x61tteryWarning\x12`\n\x0bgps_warning\x18\x02 \x01(\x0e\x32?.steeleagle_protocol.v1.messages.telemetry.AlertInfo.GpsWarningR\ngpsWarning\x12{\n\x14magnetometer_warning\x18\x03 \x01(\x0e\x32H.steeleagle_protocol.v1.messages.telemetry.AlertInfo.MagnetometerWarningR\x13magnetometerWarning\x12u\n\x12\x63onnection_warning\x18\x04 \x01(\x0e\x32\x46.steeleagle_protocol.v1.messages.telemetry.AlertInfo.ConnectionWarningR\x11\x63onnectionWarning\x12l\n\x0f\x63ompass_warning\x18\x05 \x01(\x0e\x32\x43.steeleagle_protocol.v1.messages.telemetry.AlertInfo.CompassWarningR\x0e\x63ompassWarning\"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\"\xc2\x05\n\tTelemetry\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12Y\n\x0c\x62\x61ttery_info\x18\x02 \x01(\x0b\x32\x36.steeleagle_protocol.v1.messages.telemetry.BatteryInfoR\x0b\x62\x61tteryInfo\x12M\n\x08gps_info\x18\x03 \x01(\x0b\x32\x32.steeleagle_protocol.v1.messages.telemetry.GpsInfoR\x07gpsInfo\x12\\\n\rposition_info\x18\x04 \x01(\x0b\x32\x37.steeleagle_protocol.v1.messages.telemetry.PositionInfoR\x0cpositionInfo\x12V\n\x0bgimbal_info\x18\x05 \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.telemetry.GimbalInfoR\ngimbalInfo\x12S\n\nalert_info\x18\x06 \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.telemetry.AlertInfoR\talertInfo\x12H\n\x04mode\x18\x07 \x01(\x0e\x32/.steeleagle_protocol.v1.messages.telemetry.ModeH\x00R\x04mode\x88\x01\x01\x12\x61\n\rmotion_status\x18\x08 \x01(\x0e\x32\x37.steeleagle_protocol.v1.messages.telemetry.MotionStatusH\x01R\x0cmotionStatus\x88\x01\x01\x42\x07\n\x05_modeB\x10\n\x0e_motion_status\"\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\x12\\\n\rposition_info\x18\x08 \x01(\x0b\x32\x37.steeleagle_protocol.v1.messages.telemetry.PositionInfoR\x0cpositionInfo\x12V\n\x0bgimbal_info\x18\t \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.telemetry.GimbalInfoR\ngimbalInfo\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\x12V\n\x0bgimbal_info\x18\x04 \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.telemetry.GimbalInfoR\ngimbalInfo\x12\\\n\rposition_info\x18\x05 \x01(\x0b\x32\x37.steeleagle_protocol.v1.messages.telemetry.PositionInfoR\x0cpositionInfo\x12\x1b\n\tcamera_id\x18\x06 \x01(\x04R\x08\x63\x61meraId*\x8c\x01\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_TAKEOFF\x10\x01\x12\r\n\tMODE_LAND\x10\x02\x12\x0f\n\x0bMODE_LOITER\x10\x03\x12\x0f\n\x0bMODE_GUIDED\x10\x04\x12\x17\n\x13MODE_RETURN_TO_HOME\x10\x05\x12\x12\n\x0eMODE_EMERGENCY\x10\x06*\x81\x01\n\x0cMotionStatus\x12\x1d\n\x19MOTION_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15MOTION_STATUS_HOLDING\x10\x01\x12\x1c\n\x18MOTION_STATUS_IN_TRANSIT\x10\x02\x12\x19\n\x15MOTION_STATUS_STOPPED\x10\x03\x42\xd7\x02\n-com.steeleagle_protocol.v1.messages.telemetryB\x0eTelemetryProtoP\x01ZRgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/messages/telemetry\xa2\x02\x04SVMT\xaa\x02(SteeleagleProtocol.V1.Messages.Telemetry\xca\x02(SteeleagleProtocol\\V1\\Messages\\Telemetry\xe2\x02\x34SteeleagleProtocol\\V1\\Messages\\Telemetry\\GPBMetadata\xea\x02+SteeleagleProtocol::V1::Messages::Telemetryb\x06proto3')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9steeleagle_protocol/v1/messages/telemetry/telemetry.proto\x12)steeleagle_protocol.v1.messages.telemetry\x1a*steeleagle_protocol/v1/common/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\"A\n\x0b\x42\x61tteryInfo\x12#\n\npercentage\x18\x01 \x01(\rH\x00R\npercentage\x88\x01\x01\x42\r\n\x0b_percentage\"=\n\x07GpsInfo\x12#\n\nsatellites\x18\x01 \x01(\rH\x00R\nsatellites\x88\x01\x01\x42\r\n\x0b_satellites\"\xc2\x04\n\x0cPositionInfo\x12\x46\n\x04home\x18\x01 \x01(\x0b\x32-.steeleagle_protocol.v1.common.GlobalPositionH\x00R\x04home\x88\x01\x01\x12[\n\x0fglobal_position\x18\x02 \x01(\x0b\x32-.steeleagle_protocol.v1.common.GlobalPositionH\x01R\x0eglobalPosition\x88\x01\x01\x12\x61\n\x11relative_position\x18\x03 \x01(\x0b\x32/.steeleagle_protocol.v1.common.RelativePositionH\x02R\x10relativePosition\x88\x01\x01\x12Q\n\rvelocity_body\x18\x04 \x01(\x0b\x32\'.steeleagle_protocol.v1.common.VelocityH\x03R\x0cvelocityBody\x88\x01\x01\x12O\n\x0cvelocity_neu\x18\x05 \x01(\x0b\x32\'.steeleagle_protocol.v1.common.VelocityH\x04R\x0bvelocityNeu\x88\x01\x01\x12\x30\n\x08setpoint\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08setpointB\x07\n\x05_homeB\x12\n\x10_global_positionB\x14\n\x12_relative_positionB\x10\n\x0e_velocity_bodyB\x0f\n\r_velocity_neu\"\xef\x03\n\nGimbalInfo\x12\x45\n\tpose_body\x18\x01 \x01(\x0b\x32#.steeleagle_protocol.v1.common.PoseH\x00R\x08poseBody\x88\x01\x01\x12\x43\n\x08pose_neu\x18\x02 \x01(\x0b\x32#.steeleagle_protocol.v1.common.PoseH\x01R\x07poseNeu\x88\x01\x01\x12\x64\n\x15\x61ngular_velocity_body\x18\x03 \x01(\x0b\x32+.steeleagle_protocol.v1.common.PoseVelocityH\x02R\x13\x61ngularVelocityBody\x88\x01\x01\x12\x62\n\x14\x61ngular_velocity_neu\x18\x04 \x01(\x0b\x32+.steeleagle_protocol.v1.common.PoseVelocityH\x03R\x12\x61ngularVelocityNeu\x88\x01\x01\x12=\n\x0fgimbal_setpoint\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0egimbalSetpointB\x0c\n\n_pose_bodyB\x0b\n\t_pose_neuB\x18\n\x16_angular_velocity_bodyB\x17\n\x15_angular_velocity_neu\"\xe2\x08\n\tAlertInfo\x12l\n\x0f\x62\x61ttery_warning\x18\x01 \x01(\x0e\x32\x43.steeleagle_protocol.v1.messages.telemetry.AlertInfo.BatteryWarningR\x0e\x62\x61tteryWarning\x12`\n\x0bgps_warning\x18\x02 \x01(\x0e\x32?.steeleagle_protocol.v1.messages.telemetry.AlertInfo.GpsWarningR\ngpsWarning\x12{\n\x14magnetometer_warning\x18\x03 \x01(\x0e\x32H.steeleagle_protocol.v1.messages.telemetry.AlertInfo.MagnetometerWarningR\x13magnetometerWarning\x12u\n\x12\x63onnection_warning\x18\x04 \x01(\x0e\x32\x46.steeleagle_protocol.v1.messages.telemetry.AlertInfo.ConnectionWarningR\x11\x63onnectionWarning\x12l\n\x0f\x63ompass_warning\x18\x05 \x01(\x0e\x32\x43.steeleagle_protocol.v1.messages.telemetry.AlertInfo.CompassWarningR\x0e\x63ompassWarning\"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\"\xc2\x05\n\tTelemetry\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12Y\n\x0c\x62\x61ttery_info\x18\x02 \x01(\x0b\x32\x36.steeleagle_protocol.v1.messages.telemetry.BatteryInfoR\x0b\x62\x61tteryInfo\x12M\n\x08gps_info\x18\x03 \x01(\x0b\x32\x32.steeleagle_protocol.v1.messages.telemetry.GpsInfoR\x07gpsInfo\x12\\\n\rposition_info\x18\x04 \x01(\x0b\x32\x37.steeleagle_protocol.v1.messages.telemetry.PositionInfoR\x0cpositionInfo\x12V\n\x0bgimbal_info\x18\x05 \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.telemetry.GimbalInfoR\ngimbalInfo\x12S\n\nalert_info\x18\x06 \x01(\x0b\x32\x34.steeleagle_protocol.v1.messages.telemetry.AlertInfoR\talertInfo\x12H\n\x04mode\x18\x07 \x01(\x0e\x32/.steeleagle_protocol.v1.messages.telemetry.ModeH\x00R\x04mode\x88\x01\x01\x12\x61\n\rmotion_status\x18\x08 \x01(\x0e\x32\x37.steeleagle_protocol.v1.messages.telemetry.MotionStatusH\x01R\x0cmotionStatus\x88\x01\x01\x42\x07\n\x05_modeB\x10\n\x0e_motion_status\"\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\x12\\\n\rposition_info\x18\x08 \x01(\x0b\x32\x37.steeleagle_protocol.v1.messages.telemetry.PositionInfoR\x0cpositionInfo\x12V\n\x0bgimbal_info\x18\t \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.telemetry.GimbalInfoR\ngimbalInfo\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\x12V\n\x0bgimbal_info\x18\x04 \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.telemetry.GimbalInfoR\ngimbalInfo\x12\\\n\rposition_info\x18\x05 \x01(\x0b\x32\x37.steeleagle_protocol.v1.messages.telemetry.PositionInfoR\x0cpositionInfo\x12\x1b\n\tcamera_id\x18\x06 \x01(\x04R\x08\x63\x61meraId*\xaa\x01\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_TAKEOFF\x10\x01\x12\r\n\tMODE_LAND\x10\x02\x12\x0e\n\nMODE_STAND\x10\x03\x12\x0c\n\x08MODE_SIT\x10\x04\x12\x0f\n\x0bMODE_LOITER\x10\x05\x12\x0f\n\x0bMODE_GUIDED\x10\x06\x12\x17\n\x13MODE_RETURN_TO_HOME\x10\x07\x12\x12\n\x0eMODE_EMERGENCY\x10\x08*\x81\x01\n\x0cMotionStatus\x12\x1d\n\x19MOTION_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15MOTION_STATUS_HOLDING\x10\x01\x12\x1c\n\x18MOTION_STATUS_IN_TRANSIT\x10\x02\x12\x19\n\x15MOTION_STATUS_STOPPED\x10\x03\x42\xd7\x02\n-com.steeleagle_protocol.v1.messages.telemetryB\x0eTelemetryProtoP\x01ZRgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/messages/telemetry\xa2\x02\x04SVMT\xaa\x02(SteeleagleProtocol.V1.Messages.Telemetry\xca\x02(SteeleagleProtocol\\V1\\Messages\\Telemetry\xe2\x02\x34SteeleagleProtocol\\V1\\Messages\\Telemetry\\GPBMetadata\xea\x02+SteeleagleProtocol::V1::Messages::Telemetryb\x06proto3')
31
31
 
32
32
  _globals = globals()
33
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -36,9 +36,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
36
36
  _globals['DESCRIPTOR']._loaded_options = None
37
37
  _globals['DESCRIPTOR']._serialized_options = b'\n-com.steeleagle_protocol.v1.messages.telemetryB\016TelemetryProtoP\001ZRgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/messages/telemetry\242\002\004SVMT\252\002(SteeleagleProtocol.V1.Messages.Telemetry\312\002(SteeleagleProtocol\\V1\\Messages\\Telemetry\342\0024SteeleagleProtocol\\V1\\Messages\\Telemetry\\GPBMetadata\352\002+SteeleagleProtocol::V1::Messages::Telemetry'
38
38
  _globals['_MODE']._serialized_start=3998
39
- _globals['_MODE']._serialized_end=4138
40
- _globals['_MOTIONSTATUS']._serialized_start=4141
41
- _globals['_MOTIONSTATUS']._serialized_end=4270
39
+ _globals['_MODE']._serialized_end=4168
40
+ _globals['_MOTIONSTATUS']._serialized_start=4171
41
+ _globals['_MOTIONSTATUS']._serialized_end=4300
42
42
  _globals['_BATTERYINFO']._serialized_start=208
43
43
  _globals['_BATTERYINFO']._serialized_end=273
44
44
  _globals['_GPSINFO']._serialized_start=275
@@ -16,6 +16,8 @@ class Mode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
16
16
  MODE_UNSPECIFIED: _ClassVar[Mode]
17
17
  MODE_TAKEOFF: _ClassVar[Mode]
18
18
  MODE_LAND: _ClassVar[Mode]
19
+ MODE_STAND: _ClassVar[Mode]
20
+ MODE_SIT: _ClassVar[Mode]
19
21
  MODE_LOITER: _ClassVar[Mode]
20
22
  MODE_GUIDED: _ClassVar[Mode]
21
23
  MODE_RETURN_TO_HOME: _ClassVar[Mode]
@@ -30,6 +32,8 @@ class MotionStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
30
32
  MODE_UNSPECIFIED: Mode
31
33
  MODE_TAKEOFF: Mode
32
34
  MODE_LAND: Mode
35
+ MODE_STAND: Mode
36
+ MODE_SIT: Mode
33
37
  MODE_LOITER: Mode
34
38
  MODE_GUIDED: Mode
35
39
  MODE_RETURN_TO_HOME: Mode
@@ -0,0 +1,4 @@
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
+
@@ -0,0 +1,93 @@
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/daemon/daemon.proto
5
+ # Protobuf Python Version: 7.36.0
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
+ 36,
16
+ 0,
17
+ '',
18
+ 'steeleagle_protocol/v1/services/daemon/daemon.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
+ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3steeleagle_protocol/v1/services/daemon/daemon.proto\x12&steeleagle_protocol.v1.services.daemon\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\"\xb3\x02\n\x07Service\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12S\n\x08\x63\x61tegory\x18\x02 \x01(\x0e\x32\x37.steeleagle_protocol.v1.services.daemon.ServiceCategoryR\x08\x63\x61tegory\x12\x16\n\x06plugin\x18\x03 \x01(\tR\x06plugin\x12\x10\n\x03uri\x18\x04 \x01(\tR\x03uri\x12\x16\n\x06\x63onfig\x18\x05 \x01(\x0cR\x06\x63onfig\x12O\n\tisolation\x18\x06 \x01(\x0e\x32\x31.steeleagle_protocol.v1.services.daemon.IsolationR\tisolation\x12\x18\n\x07running\x18\x07 \x01(\x08R\x07running\x12\x12\n\x04\x61uth\x18\x08 \x01(\tR\x04\x61uth\"n\n\x06\x44\x61\x65mon\x12\x0e\n\x02ip\x18\x01 \x01(\tR\x02ip\x12\x1a\n\x08hostname\x18\x02 \x01(\tR\x08hostname\x12\x12\n\x04\x61rch\x18\x03 \x01(\tR\x04\x61rch\x12\x0e\n\x02os\x18\x04 \x01(\tR\x02os\x12\x14\n\x05\x65rror\x18\x05 \x01(\tR\x05\x65rror\"\xbe\x01\n\x1bRegisterOrchestratorRequest\x12K\n\x08services\x18\x01 \x03(\x0b\x32/.steeleagle_protocol.v1.services.daemon.ServiceR\x08services\x12\x1a\n\x08hostname\x18\x02 \x01(\tR\x08hostname\x12\x12\n\x04port\x18\x03 \x01(\x05R\x04port\x12\x12\n\x04\x61rch\x18\x04 \x01(\tR\x04\x61rch\x12\x0e\n\x02os\x18\x05 \x01(\tR\x02os\"\xb6\x01\n\x1cRegisterOrchestratorResponse\x12K\n\x08services\x18\x01 \x03(\x0b\x32/.steeleagle_protocol.v1.services.daemon.ServiceR\x08services\x12\x1a\n\x08hostname\x18\x02 \x01(\tR\x08hostname\x12\x12\n\x04\x63\x65rt\x18\x03 \x01(\x0cR\x04\x63\x65rt\x12\x19\n\x08lcs_port\x18\x04 \x01(\x05R\x07lcsPort\"\x1c\n\x1aGetConnectionStatusRequest\";\n\x1bGetConnectionStatusResponse\x12\x1c\n\tconnected\x18\x01 \x01(\x08R\tconnected\"3\n\x10\x43onfigureRequest\x12\x1f\n\x0b\x63onfig_toml\x18\x01 \x01(\tR\nconfigToml\"\x13\n\x11\x43onfigureResponse\"\x19\n\x17GetConfigurationRequest\";\n\x18GetConfigurationResponse\x12\x1f\n\x0b\x63onfig_toml\x18\x01 \x01(\x0cR\nconfigToml\"\x15\n\x13ListServicesRequest\"\xad\x01\n\x14ListServicesResponse\x12K\n\x08services\x18\x01 \x03(\x0b\x32/.steeleagle_protocol.v1.services.daemon.ServiceR\x08services\x12H\n\x07remotes\x18\x02 \x03(\x0b\x32..steeleagle_protocol.v1.services.daemon.DaemonR\x07remotes\"<\n\x15RestartServiceRequest\x12#\n\rservice_names\x18\x01 \x01(\tR\x0cserviceNames\"\x18\n\x16RestartServiceResponse\"\x10\n\x0eRestartRequest\"\x11\n\x0fRestartResponse\")\n\x15InstallPackageRequest\x12\x10\n\x03uri\x18\x01 \x01(\tR\x03uri\"\x18\n\x16InstallPackageResponse\"\xe7\x01\n\x07Package\x12\x10\n\x03uri\x18\x01 \x01(\tR\x03uri\x12V\n\x07plugins\x18\x02 \x03(\x0b\x32<.steeleagle_protocol.v1.services.daemon.Package.PluginsEntryR\x07plugins\x12\x36\n\x08modified\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08modified\x1a:\n\x0cPluginsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value:\x02\x38\x01\"\x15\n\x13ListPackagesRequest\"c\n\x14ListPackagesResponse\x12K\n\x08packages\x18\x01 \x03(\x0b\x32/.steeleagle_protocol.v1.services.daemon.PackageR\x08packages\"(\n\x14RemovePackageRequest\x12\x10\n\x03uri\x18\x01 \x01(\tR\x03uri\"\x17\n\x15RemovePackageResponse*\xaa\x01\n\x0fServiceCategory\x12 \n\x1cSERVICE_CATEGORY_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSERVICE_CATEGORY_SIMULATOR\x10\x01\x12\x1c\n\x18SERVICE_CATEGORY_VEHICLE\x10\x02\x12\x1b\n\x17SERVICE_CATEGORY_ENGINE\x10\x03\x12\x1a\n\x16SERVICE_CATEGORY_EXTRA\x10\x04*m\n\tIsolation\x12\x19\n\x15ISOLATION_UNSPECIFIED\x10\x00\x12\x15\n\x11ISOLATION_PROCESS\x10\x01\x12\x15\n\x11ISOLATION_SANDBOX\x10\x02\x12\x17\n\x13ISOLATION_CONTAINER\x10\x03\x32\xce\x0b\n\rDaemonService\x12\xa7\x01\n\x14RegisterOrchestrator\x12\x43.steeleagle_protocol.v1.services.daemon.RegisterOrchestratorRequest\x1a\x44.steeleagle_protocol.v1.services.daemon.RegisterOrchestratorResponse\"\x00(\x01\x30\x01\x12\xa0\x01\n\x13GetConnectionStatus\x12\x42.steeleagle_protocol.v1.services.daemon.GetConnectionStatusRequest\x1a\x43.steeleagle_protocol.v1.services.daemon.GetConnectionStatusResponse\"\x00\x12\x82\x01\n\tConfigure\x12\x38.steeleagle_protocol.v1.services.daemon.ConfigureRequest\x1a\x39.steeleagle_protocol.v1.services.daemon.ConfigureResponse\"\x00\x12\x97\x01\n\x10GetConfiguration\x12?.steeleagle_protocol.v1.services.daemon.GetConfigurationRequest\x1a@.steeleagle_protocol.v1.services.daemon.GetConfigurationResponse\"\x00\x12\x8b\x01\n\x0cListServices\x12;.steeleagle_protocol.v1.services.daemon.ListServicesRequest\x1a<.steeleagle_protocol.v1.services.daemon.ListServicesResponse\"\x00\x12\x91\x01\n\x0eRestartService\x12=.steeleagle_protocol.v1.services.daemon.RestartServiceRequest\x1a>.steeleagle_protocol.v1.services.daemon.RestartServiceResponse\"\x00\x12|\n\x07Restart\x12\x36.steeleagle_protocol.v1.services.daemon.RestartRequest\x1a\x37.steeleagle_protocol.v1.services.daemon.RestartResponse\"\x00\x12\x91\x01\n\x0eInstallPackage\x12=.steeleagle_protocol.v1.services.daemon.InstallPackageRequest\x1a>.steeleagle_protocol.v1.services.daemon.InstallPackageResponse\"\x00\x12\x8b\x01\n\x0cListPackages\x12;.steeleagle_protocol.v1.services.daemon.ListPackagesRequest\x1a<.steeleagle_protocol.v1.services.daemon.ListPackagesResponse\"\x00\x12\x8e\x01\n\rRemovePackage\x12<.steeleagle_protocol.v1.services.daemon.RemovePackageRequest\x1a=.steeleagle_protocol.v1.services.daemon.RemovePackageResponse\"\x00\x42\xc2\x02\n*com.steeleagle_protocol.v1.services.daemonB\x0b\x44\x61\x65monProtoP\x01ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/daemon\xa2\x02\x04SVSD\xaa\x02%SteeleagleProtocol.V1.Services.Daemon\xca\x02%SteeleagleProtocol\\V1\\Services\\Daemon\xe2\x02\x31SteeleagleProtocol\\V1\\Services\\Daemon\\GPBMetadata\xea\x02(SteeleagleProtocol::V1::Services::Daemonb\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.services.daemon.daemon_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.services.daemonB\013DaemonProtoP\001ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/daemon\242\002\004SVSD\252\002%SteeleagleProtocol.V1.Services.Daemon\312\002%SteeleagleProtocol\\V1\\Services\\Daemon\342\0021SteeleagleProtocol\\V1\\Services\\Daemon\\GPBMetadata\352\002(SteeleagleProtocol::V1::Services::Daemon'
37
+ _globals['_PACKAGE_PLUGINSENTRY']._loaded_options = None
38
+ _globals['_PACKAGE_PLUGINSENTRY']._serialized_options = b'8\001'
39
+ _globals['_SERVICECATEGORY']._serialized_start=2032
40
+ _globals['_SERVICECATEGORY']._serialized_end=2202
41
+ _globals['_ISOLATION']._serialized_start=2204
42
+ _globals['_ISOLATION']._serialized_end=2313
43
+ _globals['_SERVICE']._serialized_start=161
44
+ _globals['_SERVICE']._serialized_end=468
45
+ _globals['_DAEMON']._serialized_start=470
46
+ _globals['_DAEMON']._serialized_end=580
47
+ _globals['_REGISTERORCHESTRATORREQUEST']._serialized_start=583
48
+ _globals['_REGISTERORCHESTRATORREQUEST']._serialized_end=773
49
+ _globals['_REGISTERORCHESTRATORRESPONSE']._serialized_start=776
50
+ _globals['_REGISTERORCHESTRATORRESPONSE']._serialized_end=958
51
+ _globals['_GETCONNECTIONSTATUSREQUEST']._serialized_start=960
52
+ _globals['_GETCONNECTIONSTATUSREQUEST']._serialized_end=988
53
+ _globals['_GETCONNECTIONSTATUSRESPONSE']._serialized_start=990
54
+ _globals['_GETCONNECTIONSTATUSRESPONSE']._serialized_end=1049
55
+ _globals['_CONFIGUREREQUEST']._serialized_start=1051
56
+ _globals['_CONFIGUREREQUEST']._serialized_end=1102
57
+ _globals['_CONFIGURERESPONSE']._serialized_start=1104
58
+ _globals['_CONFIGURERESPONSE']._serialized_end=1123
59
+ _globals['_GETCONFIGURATIONREQUEST']._serialized_start=1125
60
+ _globals['_GETCONFIGURATIONREQUEST']._serialized_end=1150
61
+ _globals['_GETCONFIGURATIONRESPONSE']._serialized_start=1152
62
+ _globals['_GETCONFIGURATIONRESPONSE']._serialized_end=1211
63
+ _globals['_LISTSERVICESREQUEST']._serialized_start=1213
64
+ _globals['_LISTSERVICESREQUEST']._serialized_end=1234
65
+ _globals['_LISTSERVICESRESPONSE']._serialized_start=1237
66
+ _globals['_LISTSERVICESRESPONSE']._serialized_end=1410
67
+ _globals['_RESTARTSERVICEREQUEST']._serialized_start=1412
68
+ _globals['_RESTARTSERVICEREQUEST']._serialized_end=1472
69
+ _globals['_RESTARTSERVICERESPONSE']._serialized_start=1474
70
+ _globals['_RESTARTSERVICERESPONSE']._serialized_end=1498
71
+ _globals['_RESTARTREQUEST']._serialized_start=1500
72
+ _globals['_RESTARTREQUEST']._serialized_end=1516
73
+ _globals['_RESTARTRESPONSE']._serialized_start=1518
74
+ _globals['_RESTARTRESPONSE']._serialized_end=1535
75
+ _globals['_INSTALLPACKAGEREQUEST']._serialized_start=1537
76
+ _globals['_INSTALLPACKAGEREQUEST']._serialized_end=1578
77
+ _globals['_INSTALLPACKAGERESPONSE']._serialized_start=1580
78
+ _globals['_INSTALLPACKAGERESPONSE']._serialized_end=1604
79
+ _globals['_PACKAGE']._serialized_start=1607
80
+ _globals['_PACKAGE']._serialized_end=1838
81
+ _globals['_PACKAGE_PLUGINSENTRY']._serialized_start=1780
82
+ _globals['_PACKAGE_PLUGINSENTRY']._serialized_end=1838
83
+ _globals['_LISTPACKAGESREQUEST']._serialized_start=1840
84
+ _globals['_LISTPACKAGESREQUEST']._serialized_end=1861
85
+ _globals['_LISTPACKAGESRESPONSE']._serialized_start=1863
86
+ _globals['_LISTPACKAGESRESPONSE']._serialized_end=1962
87
+ _globals['_REMOVEPACKAGEREQUEST']._serialized_start=1964
88
+ _globals['_REMOVEPACKAGEREQUEST']._serialized_end=2004
89
+ _globals['_REMOVEPACKAGERESPONSE']._serialized_start=2006
90
+ _globals['_REMOVEPACKAGERESPONSE']._serialized_end=2029
91
+ _globals['_DAEMONSERVICE']._serialized_start=2316
92
+ _globals['_DAEMONSERVICE']._serialized_end=3802
93
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,203 @@
1
+ import datetime
2
+
3
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
4
+ from google.protobuf import duration_pb2 as _duration_pb2
5
+ from google.protobuf.internal import containers as _containers
6
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import message as _message
9
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
10
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
11
+
12
+ DESCRIPTOR: _descriptor.FileDescriptor
13
+
14
+ class ServiceCategory(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
15
+ __slots__ = ()
16
+ SERVICE_CATEGORY_UNSPECIFIED: _ClassVar[ServiceCategory]
17
+ SERVICE_CATEGORY_SIMULATOR: _ClassVar[ServiceCategory]
18
+ SERVICE_CATEGORY_VEHICLE: _ClassVar[ServiceCategory]
19
+ SERVICE_CATEGORY_ENGINE: _ClassVar[ServiceCategory]
20
+ SERVICE_CATEGORY_EXTRA: _ClassVar[ServiceCategory]
21
+
22
+ class Isolation(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
23
+ __slots__ = ()
24
+ ISOLATION_UNSPECIFIED: _ClassVar[Isolation]
25
+ ISOLATION_PROCESS: _ClassVar[Isolation]
26
+ ISOLATION_SANDBOX: _ClassVar[Isolation]
27
+ ISOLATION_CONTAINER: _ClassVar[Isolation]
28
+ SERVICE_CATEGORY_UNSPECIFIED: ServiceCategory
29
+ SERVICE_CATEGORY_SIMULATOR: ServiceCategory
30
+ SERVICE_CATEGORY_VEHICLE: ServiceCategory
31
+ SERVICE_CATEGORY_ENGINE: ServiceCategory
32
+ SERVICE_CATEGORY_EXTRA: ServiceCategory
33
+ ISOLATION_UNSPECIFIED: Isolation
34
+ ISOLATION_PROCESS: Isolation
35
+ ISOLATION_SANDBOX: Isolation
36
+ ISOLATION_CONTAINER: Isolation
37
+
38
+ class Service(_message.Message):
39
+ __slots__ = ("name", "category", "plugin", "uri", "config", "isolation", "running", "auth")
40
+ NAME_FIELD_NUMBER: _ClassVar[int]
41
+ CATEGORY_FIELD_NUMBER: _ClassVar[int]
42
+ PLUGIN_FIELD_NUMBER: _ClassVar[int]
43
+ URI_FIELD_NUMBER: _ClassVar[int]
44
+ CONFIG_FIELD_NUMBER: _ClassVar[int]
45
+ ISOLATION_FIELD_NUMBER: _ClassVar[int]
46
+ RUNNING_FIELD_NUMBER: _ClassVar[int]
47
+ AUTH_FIELD_NUMBER: _ClassVar[int]
48
+ name: str
49
+ category: ServiceCategory
50
+ plugin: str
51
+ uri: str
52
+ config: bytes
53
+ isolation: Isolation
54
+ running: bool
55
+ auth: str
56
+ def __init__(self, name: _Optional[str] = ..., category: _Optional[_Union[ServiceCategory, str]] = ..., plugin: _Optional[str] = ..., uri: _Optional[str] = ..., config: _Optional[bytes] = ..., isolation: _Optional[_Union[Isolation, str]] = ..., running: _Optional[bool] = ..., auth: _Optional[str] = ...) -> None: ...
57
+
58
+ class Daemon(_message.Message):
59
+ __slots__ = ("ip", "hostname", "arch", "os", "error")
60
+ IP_FIELD_NUMBER: _ClassVar[int]
61
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
62
+ ARCH_FIELD_NUMBER: _ClassVar[int]
63
+ OS_FIELD_NUMBER: _ClassVar[int]
64
+ ERROR_FIELD_NUMBER: _ClassVar[int]
65
+ ip: str
66
+ hostname: str
67
+ arch: str
68
+ os: str
69
+ error: str
70
+ def __init__(self, ip: _Optional[str] = ..., hostname: _Optional[str] = ..., arch: _Optional[str] = ..., os: _Optional[str] = ..., error: _Optional[str] = ...) -> None: ...
71
+
72
+ class RegisterOrchestratorRequest(_message.Message):
73
+ __slots__ = ("services", "hostname", "port", "arch", "os")
74
+ SERVICES_FIELD_NUMBER: _ClassVar[int]
75
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
76
+ PORT_FIELD_NUMBER: _ClassVar[int]
77
+ ARCH_FIELD_NUMBER: _ClassVar[int]
78
+ OS_FIELD_NUMBER: _ClassVar[int]
79
+ services: _containers.RepeatedCompositeFieldContainer[Service]
80
+ hostname: str
81
+ port: int
82
+ arch: str
83
+ os: str
84
+ def __init__(self, services: _Optional[_Iterable[_Union[Service, _Mapping]]] = ..., hostname: _Optional[str] = ..., port: _Optional[int] = ..., arch: _Optional[str] = ..., os: _Optional[str] = ...) -> None: ...
85
+
86
+ class RegisterOrchestratorResponse(_message.Message):
87
+ __slots__ = ("services", "hostname", "cert", "lcs_port")
88
+ SERVICES_FIELD_NUMBER: _ClassVar[int]
89
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
90
+ CERT_FIELD_NUMBER: _ClassVar[int]
91
+ LCS_PORT_FIELD_NUMBER: _ClassVar[int]
92
+ services: _containers.RepeatedCompositeFieldContainer[Service]
93
+ hostname: str
94
+ cert: bytes
95
+ lcs_port: int
96
+ def __init__(self, services: _Optional[_Iterable[_Union[Service, _Mapping]]] = ..., hostname: _Optional[str] = ..., cert: _Optional[bytes] = ..., lcs_port: _Optional[int] = ...) -> None: ...
97
+
98
+ class GetConnectionStatusRequest(_message.Message):
99
+ __slots__ = ()
100
+ def __init__(self) -> None: ...
101
+
102
+ class GetConnectionStatusResponse(_message.Message):
103
+ __slots__ = ("connected",)
104
+ CONNECTED_FIELD_NUMBER: _ClassVar[int]
105
+ connected: bool
106
+ def __init__(self, connected: _Optional[bool] = ...) -> None: ...
107
+
108
+ class ConfigureRequest(_message.Message):
109
+ __slots__ = ("config_toml",)
110
+ CONFIG_TOML_FIELD_NUMBER: _ClassVar[int]
111
+ config_toml: str
112
+ def __init__(self, config_toml: _Optional[str] = ...) -> None: ...
113
+
114
+ class ConfigureResponse(_message.Message):
115
+ __slots__ = ()
116
+ def __init__(self) -> None: ...
117
+
118
+ class GetConfigurationRequest(_message.Message):
119
+ __slots__ = ()
120
+ def __init__(self) -> None: ...
121
+
122
+ class GetConfigurationResponse(_message.Message):
123
+ __slots__ = ("config_toml",)
124
+ CONFIG_TOML_FIELD_NUMBER: _ClassVar[int]
125
+ config_toml: bytes
126
+ def __init__(self, config_toml: _Optional[bytes] = ...) -> None: ...
127
+
128
+ class ListServicesRequest(_message.Message):
129
+ __slots__ = ()
130
+ def __init__(self) -> None: ...
131
+
132
+ class ListServicesResponse(_message.Message):
133
+ __slots__ = ("services", "remotes")
134
+ SERVICES_FIELD_NUMBER: _ClassVar[int]
135
+ REMOTES_FIELD_NUMBER: _ClassVar[int]
136
+ services: _containers.RepeatedCompositeFieldContainer[Service]
137
+ remotes: _containers.RepeatedCompositeFieldContainer[Daemon]
138
+ def __init__(self, services: _Optional[_Iterable[_Union[Service, _Mapping]]] = ..., remotes: _Optional[_Iterable[_Union[Daemon, _Mapping]]] = ...) -> None: ...
139
+
140
+ class RestartServiceRequest(_message.Message):
141
+ __slots__ = ("service_names",)
142
+ SERVICE_NAMES_FIELD_NUMBER: _ClassVar[int]
143
+ service_names: str
144
+ def __init__(self, service_names: _Optional[str] = ...) -> None: ...
145
+
146
+ class RestartServiceResponse(_message.Message):
147
+ __slots__ = ()
148
+ def __init__(self) -> None: ...
149
+
150
+ class RestartRequest(_message.Message):
151
+ __slots__ = ()
152
+ def __init__(self) -> None: ...
153
+
154
+ class RestartResponse(_message.Message):
155
+ __slots__ = ()
156
+ def __init__(self) -> None: ...
157
+
158
+ class InstallPackageRequest(_message.Message):
159
+ __slots__ = ("uri",)
160
+ URI_FIELD_NUMBER: _ClassVar[int]
161
+ uri: str
162
+ def __init__(self, uri: _Optional[str] = ...) -> None: ...
163
+
164
+ class InstallPackageResponse(_message.Message):
165
+ __slots__ = ()
166
+ def __init__(self) -> None: ...
167
+
168
+ class Package(_message.Message):
169
+ __slots__ = ("uri", "plugins", "modified")
170
+ class PluginsEntry(_message.Message):
171
+ __slots__ = ("key", "value")
172
+ KEY_FIELD_NUMBER: _ClassVar[int]
173
+ VALUE_FIELD_NUMBER: _ClassVar[int]
174
+ key: str
175
+ value: bytes
176
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[bytes] = ...) -> None: ...
177
+ URI_FIELD_NUMBER: _ClassVar[int]
178
+ PLUGINS_FIELD_NUMBER: _ClassVar[int]
179
+ MODIFIED_FIELD_NUMBER: _ClassVar[int]
180
+ uri: str
181
+ plugins: _containers.ScalarMap[str, bytes]
182
+ modified: _timestamp_pb2.Timestamp
183
+ def __init__(self, uri: _Optional[str] = ..., plugins: _Optional[_Mapping[str, bytes]] = ..., modified: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
184
+
185
+ class ListPackagesRequest(_message.Message):
186
+ __slots__ = ()
187
+ def __init__(self) -> None: ...
188
+
189
+ class ListPackagesResponse(_message.Message):
190
+ __slots__ = ("packages",)
191
+ PACKAGES_FIELD_NUMBER: _ClassVar[int]
192
+ packages: _containers.RepeatedCompositeFieldContainer[Package]
193
+ def __init__(self, packages: _Optional[_Iterable[_Union[Package, _Mapping]]] = ...) -> None: ...
194
+
195
+ class RemovePackageRequest(_message.Message):
196
+ __slots__ = ("uri",)
197
+ URI_FIELD_NUMBER: _ClassVar[int]
198
+ uri: str
199
+ def __init__(self, uri: _Optional[str] = ...) -> None: ...
200
+
201
+ class RemovePackageResponse(_message.Message):
202
+ __slots__ = ()
203
+ def __init__(self) -> None: ...