def_pb2.pyi 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. from google.protobuf.internal import containers as _containers
  2. from google.protobuf import descriptor as _descriptor
  3. from google.protobuf import message as _message
  4. from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
  5. DESCRIPTOR: _descriptor.FileDescriptor
  6. class CoordinateTransformation3D(_message.Message):
  7. __slots__ = ["x", "y", "z", "roll", "pitch", "yaw"]
  8. X_FIELD_NUMBER: _ClassVar[int]
  9. Y_FIELD_NUMBER: _ClassVar[int]
  10. Z_FIELD_NUMBER: _ClassVar[int]
  11. ROLL_FIELD_NUMBER: _ClassVar[int]
  12. PITCH_FIELD_NUMBER: _ClassVar[int]
  13. YAW_FIELD_NUMBER: _ClassVar[int]
  14. x: float
  15. y: float
  16. z: float
  17. roll: float
  18. pitch: float
  19. yaw: float
  20. def __init__(self, x: _Optional[float] = ..., y: _Optional[float] = ..., z: _Optional[float] = ..., roll: _Optional[float] = ..., pitch: _Optional[float] = ..., yaw: _Optional[float] = ...) -> None: ...
  21. class RequestCmd(_message.Message):
  22. __slots__ = ["Id", "params"]
  23. ID_FIELD_NUMBER: _ClassVar[int]
  24. PARAMS_FIELD_NUMBER: _ClassVar[int]
  25. Id: int
  26. params: CoordinateTransformation3D
  27. def __init__(self, Id: _Optional[int] = ..., params: _Optional[_Union[CoordinateTransformation3D, _Mapping]] = ...) -> None: ...
  28. class Response(_message.Message):
  29. __slots__ = ["info"]
  30. INFO_FIELD_NUMBER: _ClassVar[int]
  31. info: str
  32. def __init__(self, info: _Optional[str] = ...) -> None: ...
  33. class Image(_message.Message):
  34. __slots__ = ["width", "height", "channel", "encode", "data"]
  35. WIDTH_FIELD_NUMBER: _ClassVar[int]
  36. HEIGHT_FIELD_NUMBER: _ClassVar[int]
  37. CHANNEL_FIELD_NUMBER: _ClassVar[int]
  38. ENCODE_FIELD_NUMBER: _ClassVar[int]
  39. DATA_FIELD_NUMBER: _ClassVar[int]
  40. width: int
  41. height: int
  42. channel: int
  43. encode: bool
  44. data: bytes
  45. def __init__(self, width: _Optional[int] = ..., height: _Optional[int] = ..., channel: _Optional[int] = ..., encode: bool = ..., data: _Optional[bytes] = ...) -> None: ...
  46. class PointCloud(_message.Message):
  47. __slots__ = ["size", "data"]
  48. SIZE_FIELD_NUMBER: _ClassVar[int]
  49. DATA_FIELD_NUMBER: _ClassVar[int]
  50. size: int
  51. data: bytes
  52. def __init__(self, size: _Optional[int] = ..., data: _Optional[bytes] = ...) -> None: ...
  53. class LabelImage(_message.Message):
  54. __slots__ = ["label", "ir"]
  55. LABEL_FIELD_NUMBER: _ClassVar[int]
  56. IR_FIELD_NUMBER: _ClassVar[int]
  57. label: int
  58. ir: Image
  59. def __init__(self, label: _Optional[int] = ..., ir: _Optional[_Union[Image, _Mapping]] = ...) -> None: ...
  60. class Line(_message.Message):
  61. __slots__ = ["begin", "end"]
  62. BEGIN_FIELD_NUMBER: _ClassVar[int]
  63. END_FIELD_NUMBER: _ClassVar[int]
  64. begin: int
  65. end: int
  66. def __init__(self, begin: _Optional[int] = ..., end: _Optional[int] = ...) -> None: ...
  67. class SegBox(_message.Message):
  68. __slots__ = ["x", "y", "width", "height", "confidence", "lines"]
  69. X_FIELD_NUMBER: _ClassVar[int]
  70. Y_FIELD_NUMBER: _ClassVar[int]
  71. WIDTH_FIELD_NUMBER: _ClassVar[int]
  72. HEIGHT_FIELD_NUMBER: _ClassVar[int]
  73. CONFIDENCE_FIELD_NUMBER: _ClassVar[int]
  74. LINES_FIELD_NUMBER: _ClassVar[int]
  75. x: int
  76. y: int
  77. width: int
  78. height: int
  79. confidence: float
  80. lines: _containers.RepeatedCompositeFieldContainer[Line]
  81. def __init__(self, x: _Optional[int] = ..., y: _Optional[int] = ..., width: _Optional[int] = ..., height: _Optional[int] = ..., confidence: _Optional[float] = ..., lines: _Optional[_Iterable[_Union[Line, _Mapping]]] = ...) -> None: ...
  82. class LabelYolo(_message.Message):
  83. __slots__ = ["label", "boxes"]
  84. LABEL_FIELD_NUMBER: _ClassVar[int]
  85. BOXES_FIELD_NUMBER: _ClassVar[int]
  86. label: int
  87. boxes: _containers.RepeatedCompositeFieldContainer[SegBox]
  88. def __init__(self, label: _Optional[int] = ..., boxes: _Optional[_Iterable[_Union[SegBox, _Mapping]]] = ...) -> None: ...
  89. class ResImage(_message.Message):
  90. __slots__ = ["img1", "img2", "img3", "img4"]
  91. IMG1_FIELD_NUMBER: _ClassVar[int]
  92. IMG2_FIELD_NUMBER: _ClassVar[int]
  93. IMG3_FIELD_NUMBER: _ClassVar[int]
  94. IMG4_FIELD_NUMBER: _ClassVar[int]
  95. img1: Image
  96. img2: Image
  97. img3: Image
  98. img4: Image
  99. def __init__(self, img1: _Optional[_Union[Image, _Mapping]] = ..., img2: _Optional[_Union[Image, _Mapping]] = ..., img3: _Optional[_Union[Image, _Mapping]] = ..., img4: _Optional[_Union[Image, _Mapping]] = ...) -> None: ...
  100. class ResCloud(_message.Message):
  101. __slots__ = ["cloud1", "cloud2", "cloud3", "cloud4"]
  102. CLOUD1_FIELD_NUMBER: _ClassVar[int]
  103. CLOUD2_FIELD_NUMBER: _ClassVar[int]
  104. CLOUD3_FIELD_NUMBER: _ClassVar[int]
  105. CLOUD4_FIELD_NUMBER: _ClassVar[int]
  106. cloud1: PointCloud
  107. cloud2: PointCloud
  108. cloud3: PointCloud
  109. cloud4: PointCloud
  110. def __init__(self, cloud1: _Optional[_Union[PointCloud, _Mapping]] = ..., cloud2: _Optional[_Union[PointCloud, _Mapping]] = ..., cloud3: _Optional[_Union[PointCloud, _Mapping]] = ..., cloud4: _Optional[_Union[PointCloud, _Mapping]] = ...) -> None: ...
  111. class MeasureInfo(_message.Message):
  112. __slots__ = ["x", "y", "trans_x", "trans_y", "theta", "width", "wheelbase", "ftheta", "border_plc", "border_display", "error"]
  113. X_FIELD_NUMBER: _ClassVar[int]
  114. Y_FIELD_NUMBER: _ClassVar[int]
  115. TRANS_X_FIELD_NUMBER: _ClassVar[int]
  116. TRANS_Y_FIELD_NUMBER: _ClassVar[int]
  117. THETA_FIELD_NUMBER: _ClassVar[int]
  118. WIDTH_FIELD_NUMBER: _ClassVar[int]
  119. WHEELBASE_FIELD_NUMBER: _ClassVar[int]
  120. FTHETA_FIELD_NUMBER: _ClassVar[int]
  121. BORDER_PLC_FIELD_NUMBER: _ClassVar[int]
  122. BORDER_DISPLAY_FIELD_NUMBER: _ClassVar[int]
  123. ERROR_FIELD_NUMBER: _ClassVar[int]
  124. x: float
  125. y: float
  126. trans_x: float
  127. trans_y: float
  128. theta: float
  129. width: float
  130. wheelbase: float
  131. ftheta: float
  132. border_plc: int
  133. border_display: int
  134. error: str
  135. def __init__(self, x: _Optional[float] = ..., y: _Optional[float] = ..., trans_x: _Optional[float] = ..., trans_y: _Optional[float] = ..., theta: _Optional[float] = ..., width: _Optional[float] = ..., wheelbase: _Optional[float] = ..., ftheta: _Optional[float] = ..., border_plc: _Optional[int] = ..., border_display: _Optional[int] = ..., error: _Optional[str] = ...) -> None: ...
  136. class ResFrame(_message.Message):
  137. __slots__ = ["images", "clouds", "measure_info"]
  138. IMAGES_FIELD_NUMBER: _ClassVar[int]
  139. CLOUDS_FIELD_NUMBER: _ClassVar[int]
  140. MEASURE_INFO_FIELD_NUMBER: _ClassVar[int]
  141. images: ResImage
  142. clouds: ResCloud
  143. measure_info: MeasureInfo
  144. def __init__(self, images: _Optional[_Union[ResImage, _Mapping]] = ..., clouds: _Optional[_Union[ResCloud, _Mapping]] = ..., measure_info: _Optional[_Union[MeasureInfo, _Mapping]] = ...) -> None: ...
  145. class Boundary(_message.Message):
  146. __slots__ = ["radius", "left", "right", "buttom", "minAngle", "maxAngle", "fwheelAngle"]
  147. RADIUS_FIELD_NUMBER: _ClassVar[int]
  148. LEFT_FIELD_NUMBER: _ClassVar[int]
  149. RIGHT_FIELD_NUMBER: _ClassVar[int]
  150. BUTTOM_FIELD_NUMBER: _ClassVar[int]
  151. MINANGLE_FIELD_NUMBER: _ClassVar[int]
  152. MAXANGLE_FIELD_NUMBER: _ClassVar[int]
  153. FWHEELANGLE_FIELD_NUMBER: _ClassVar[int]
  154. radius: float
  155. left: float
  156. right: float
  157. buttom: float
  158. minAngle: float
  159. maxAngle: float
  160. fwheelAngle: float
  161. def __init__(self, radius: _Optional[float] = ..., left: _Optional[float] = ..., right: _Optional[float] = ..., buttom: _Optional[float] = ..., minAngle: _Optional[float] = ..., maxAngle: _Optional[float] = ..., fwheelAngle: _Optional[float] = ...) -> None: ...
  162. class Limit(_message.Message):
  163. __slots__ = ["plc_limit", "display_limit", "maxWidth", "maxWheelBase"]
  164. PLC_LIMIT_FIELD_NUMBER: _ClassVar[int]
  165. DISPLAY_LIMIT_FIELD_NUMBER: _ClassVar[int]
  166. MAXWIDTH_FIELD_NUMBER: _ClassVar[int]
  167. MAXWHEELBASE_FIELD_NUMBER: _ClassVar[int]
  168. plc_limit: Boundary
  169. display_limit: Boundary
  170. maxWidth: float
  171. maxWheelBase: float
  172. def __init__(self, plc_limit: _Optional[_Union[Boundary, _Mapping]] = ..., display_limit: _Optional[_Union[Boundary, _Mapping]] = ..., maxWidth: _Optional[float] = ..., maxWheelBase: _Optional[float] = ...) -> None: ...