viam-sdk 0.25.2__py3-none-linux_armv7l.whl → 0.62.0__py3-none-linux_armv7l.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. viam/app/_logs.py +3 -6
  2. viam/app/app_client.py +606 -262
  3. viam/app/billing_client.py +60 -18
  4. viam/app/data_client.py +1086 -315
  5. viam/app/ml_training_client.py +51 -48
  6. viam/app/provisioning_client.py +3 -5
  7. viam/app/viam_client.py +105 -11
  8. viam/components/arm/__init__.py +1 -25
  9. viam/components/arm/arm.py +21 -22
  10. viam/components/arm/client.py +27 -30
  11. viam/components/arm/service.py +3 -3
  12. viam/components/audio_in/__init__.py +24 -0
  13. viam/components/audio_in/audio_in.py +74 -0
  14. viam/components/audio_in/client.py +76 -0
  15. viam/components/audio_in/service.py +83 -0
  16. viam/components/audio_input/__init__.py +1 -1
  17. viam/components/audio_input/audio_input.py +4 -3
  18. viam/components/audio_input/client.py +19 -8
  19. viam/components/audio_input/service.py +10 -0
  20. viam/components/audio_out/__init__.py +21 -0
  21. viam/components/audio_out/audio_out.py +72 -0
  22. viam/components/audio_out/client.py +67 -0
  23. viam/components/audio_out/service.py +63 -0
  24. viam/components/base/__init__.py +2 -10
  25. viam/components/base/base.py +20 -20
  26. viam/components/base/client.py +27 -30
  27. viam/components/board/__init__.py +2 -25
  28. viam/components/board/board.py +39 -77
  29. viam/components/board/client.py +39 -73
  30. viam/components/button/__init__.py +10 -0
  31. viam/components/button/button.py +41 -0
  32. viam/components/button/client.py +52 -0
  33. viam/components/button/service.py +46 -0
  34. viam/components/camera/__init__.py +1 -1
  35. viam/components/camera/camera.py +31 -22
  36. viam/components/camera/client.py +30 -20
  37. viam/components/camera/service.py +14 -12
  38. viam/components/component_base.py +10 -7
  39. viam/components/encoder/__init__.py +1 -1
  40. viam/components/encoder/client.py +15 -16
  41. viam/components/encoder/encoder.py +9 -9
  42. viam/components/gantry/__init__.py +1 -13
  43. viam/components/gantry/client.py +41 -28
  44. viam/components/gantry/gantry.py +48 -17
  45. viam/components/gantry/service.py +21 -5
  46. viam/components/generic/__init__.py +1 -1
  47. viam/components/generic/client.py +11 -7
  48. viam/components/generic/generic.py +3 -3
  49. viam/components/gripper/__init__.py +3 -12
  50. viam/components/gripper/client.py +43 -20
  51. viam/components/gripper/gripper.py +87 -12
  52. viam/components/gripper/service.py +32 -3
  53. viam/components/input/__init__.py +1 -14
  54. viam/components/input/client.py +22 -23
  55. viam/components/input/input.py +18 -12
  56. viam/components/motor/__init__.py +1 -21
  57. viam/components/motor/client.py +36 -42
  58. viam/components/motor/motor.py +24 -24
  59. viam/components/movement_sensor/__init__.py +1 -1
  60. viam/components/movement_sensor/client.py +33 -40
  61. viam/components/movement_sensor/movement_sensor.py +12 -12
  62. viam/components/pose_tracker/__init__.py +1 -1
  63. viam/components/pose_tracker/client.py +9 -8
  64. viam/components/pose_tracker/pose_tracker.py +2 -2
  65. viam/components/power_sensor/__init__.py +1 -1
  66. viam/components/power_sensor/client.py +15 -18
  67. viam/components/power_sensor/power_sensor.py +12 -12
  68. viam/components/sensor/__init__.py +1 -1
  69. viam/components/sensor/client.py +9 -8
  70. viam/components/sensor/sensor.py +5 -5
  71. viam/components/servo/__init__.py +1 -13
  72. viam/components/servo/client.py +18 -18
  73. viam/components/servo/servo.py +12 -12
  74. viam/components/switch/__init__.py +10 -0
  75. viam/components/switch/client.py +83 -0
  76. viam/components/switch/service.py +72 -0
  77. viam/components/switch/switch.py +95 -0
  78. viam/gen/app/agent/v1/agent_pb2.py +40 -29
  79. viam/gen/app/agent/v1/agent_pb2.pyi +73 -11
  80. viam/gen/app/cloudslam/v1/cloud_slam_pb2.py +45 -42
  81. viam/gen/app/data/v1/data_grpc.py +98 -2
  82. viam/gen/app/data/v1/data_pb2.py +238 -119
  83. viam/gen/app/data/v1/data_pb2.pyi +804 -34
  84. viam/gen/app/datapipelines/v1/data_pipelines_grpc.py +84 -0
  85. viam/gen/app/datapipelines/v1/data_pipelines_pb2.py +57 -0
  86. viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +387 -0
  87. viam/gen/app/dataset/v1/dataset_grpc.py +10 -2
  88. viam/gen/app/dataset/v1/dataset_pb2.py +38 -31
  89. viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
  90. viam/gen/app/datasync/v1/data_sync_grpc.py +1 -1
  91. viam/gen/app/datasync/v1/data_sync_pb2.py +61 -51
  92. viam/gen/app/datasync/v1/data_sync_pb2.pyi +52 -12
  93. viam/gen/app/mlinference/__init__.py +0 -0
  94. viam/gen/app/mlinference/v1/__init__.py +0 -0
  95. viam/gen/app/mlinference/v1/ml_inference_grpc.py +28 -0
  96. viam/gen/app/mlinference/v1/ml_inference_pb2.py +23 -0
  97. viam/gen/app/mlinference/v1/ml_inference_pb2.pyi +63 -0
  98. viam/gen/app/mltraining/v1/ml_training_grpc.py +18 -2
  99. viam/gen/app/mltraining/v1/ml_training_pb2.py +134 -101
  100. viam/gen/app/mltraining/v1/ml_training_pb2.pyi +193 -7
  101. viam/gen/app/packages/v1/packages_pb2.py +43 -40
  102. viam/gen/app/v1/app_grpc.py +290 -2
  103. viam/gen/app/v1/app_pb2.py +670 -453
  104. viam/gen/app/v1/app_pb2.pyi +3133 -947
  105. viam/gen/app/v1/billing_grpc.py +34 -2
  106. viam/gen/app/v1/billing_pb2.py +94 -35
  107. viam/gen/app/v1/billing_pb2.pyi +314 -61
  108. viam/gen/app/v1/end_user_pb2.py +50 -29
  109. viam/gen/app/v1/robot_pb2.py +120 -111
  110. viam/gen/app/v1/robot_pb2.pyi +137 -15
  111. viam/gen/common/v1/common_pb2.py +86 -66
  112. viam/gen/common/v1/common_pb2.pyi +184 -8
  113. viam/gen/component/arm/v1/arm_grpc.py +18 -2
  114. viam/gen/component/arm/v1/arm_pb2.py +68 -55
  115. viam/gen/component/arm/v1/arm_pb2.pyi +73 -3
  116. viam/gen/component/audioin/__init__.py +0 -0
  117. viam/gen/component/audioin/v1/__init__.py +0 -0
  118. viam/gen/component/audioin/v1/audioin_grpc.py +54 -0
  119. viam/gen/component/audioin/v1/audioin_pb2.py +34 -0
  120. viam/gen/component/audioin/v1/audioin_pb2.pyi +94 -0
  121. viam/gen/component/audioinput/v1/audioinput_pb2.py +35 -32
  122. viam/gen/component/audioout/__init__.py +0 -0
  123. viam/gen/component/audioout/v1/__init__.py +0 -0
  124. viam/gen/component/audioout/v1/audioout_grpc.py +54 -0
  125. viam/gen/component/audioout/v1/audioout_pb2.py +32 -0
  126. viam/gen/component/audioout/v1/audioout_pb2.pyi +47 -0
  127. viam/gen/component/base/v1/base_pb2.py +57 -54
  128. viam/gen/component/board/v1/board_pb2.py +93 -90
  129. viam/gen/component/button/__init__.py +0 -0
  130. viam/gen/component/button/v1/__init__.py +0 -0
  131. viam/gen/component/button/v1/button_grpc.py +38 -0
  132. viam/gen/component/button/v1/button_pb2.py +28 -0
  133. viam/gen/component/button/v1/button_pb2.pyi +39 -0
  134. viam/gen/component/camera/v1/camera_pb2.py +58 -55
  135. viam/gen/component/camera/v1/camera_pb2.pyi +31 -7
  136. viam/gen/component/encoder/v1/encoder_pb2.py +35 -32
  137. viam/gen/component/gantry/v1/gantry_grpc.py +9 -1
  138. viam/gen/component/gantry/v1/gantry_pb2.py +56 -51
  139. viam/gen/component/generic/v1/generic_pb2.py +15 -12
  140. viam/gen/component/gripper/v1/gripper_grpc.py +18 -2
  141. viam/gen/component/gripper/v1/gripper_pb2.py +48 -37
  142. viam/gen/component/gripper/v1/gripper_pb2.pyi +43 -1
  143. viam/gen/component/inputcontroller/v1/input_controller_pb2.py +45 -42
  144. viam/gen/component/motor/v1/motor_pb2.py +77 -74
  145. viam/gen/component/movementsensor/v1/movementsensor_pb2.py +69 -66
  146. viam/gen/component/posetracker/v1/pose_tracker_pb2.py +25 -22
  147. viam/gen/component/powersensor/v1/powersensor_pb2.py +33 -30
  148. viam/gen/component/sensor/v1/sensor_pb2.py +17 -14
  149. viam/gen/component/servo/v1/servo_pb2.py +41 -38
  150. viam/gen/component/switch/__init__.py +0 -0
  151. viam/gen/component/switch/v1/__init__.py +0 -0
  152. viam/gen/component/switch/v1/switch_grpc.py +54 -0
  153. viam/gen/component/switch/v1/switch_pb2.py +40 -0
  154. viam/gen/component/switch/v1/switch_pb2.pyi +116 -0
  155. viam/gen/component/testecho/v1/testecho_pb2.py +29 -26
  156. viam/gen/module/v1/module_pb2.py +36 -33
  157. viam/gen/module/v1/module_pb2.pyi +7 -2
  158. viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +26 -23
  159. viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.py +23 -20
  160. viam/gen/proto/rpc/v1/auth_pb2.py +27 -24
  161. viam/gen/proto/rpc/webrtc/v1/grpc_pb2.py +35 -32
  162. viam/gen/proto/rpc/webrtc/v1/signaling_pb2.py +62 -57
  163. viam/gen/proto/rpc/webrtc/v1/signaling_pb2.pyi +18 -4
  164. viam/gen/provisioning/v1/provisioning_grpc.py +10 -2
  165. viam/gen/provisioning/v1/provisioning_pb2.py +38 -31
  166. viam/gen/provisioning/v1/provisioning_pb2.pyi +20 -2
  167. viam/gen/robot/v1/robot_grpc.py +61 -29
  168. viam/gen/robot/v1/robot_pb2.py +186 -155
  169. viam/gen/robot/v1/robot_pb2.pyi +278 -59
  170. viam/gen/service/datamanager/v1/data_manager_grpc.py +11 -2
  171. viam/gen/service/datamanager/v1/data_manager_pb2.py +27 -17
  172. viam/gen/service/datamanager/v1/data_manager_pb2.pyi +47 -1
  173. viam/gen/service/discovery/__init__.py +0 -0
  174. viam/gen/service/discovery/v1/__init__.py +0 -0
  175. viam/gen/service/discovery/v1/discovery_grpc.py +39 -0
  176. viam/gen/service/discovery/v1/discovery_pb2.py +29 -0
  177. viam/gen/service/discovery/v1/discovery_pb2.pyi +51 -0
  178. viam/gen/service/generic/v1/generic_pb2.py +13 -10
  179. viam/gen/service/mlmodel/v1/mlmodel_pb2.py +75 -72
  180. viam/gen/service/motion/v1/motion_pb2.py +118 -85
  181. viam/gen/service/motion/v1/motion_pb2.pyi +130 -68
  182. viam/gen/service/navigation/v1/navigation_pb2.py +75 -72
  183. viam/gen/service/sensors/v1/sensors_pb2.py +59 -56
  184. viam/gen/service/shell/v1/shell_pb2.py +35 -32
  185. viam/gen/service/slam/v1/slam_pb2.py +43 -40
  186. viam/gen/service/slam/v1/slam_pb2.pyi +1 -1
  187. viam/gen/service/video/__init__.py +0 -0
  188. viam/gen/service/video/v1/__init__.py +0 -0
  189. viam/gen/service/video/v1/video_grpc.py +39 -0
  190. viam/gen/service/video/v1/video_pb2.py +29 -0
  191. viam/gen/service/video/v1/video_pb2.pyi +72 -0
  192. viam/gen/service/vision/v1/vision_pb2.py +60 -57
  193. viam/gen/service/vision/v1/vision_pb2.pyi +28 -3
  194. viam/gen/service/worldstatestore/__init__.py +0 -0
  195. viam/gen/service/worldstatestore/v1/__init__.py +0 -0
  196. viam/gen/service/worldstatestore/v1/world_state_store_grpc.py +55 -0
  197. viam/gen/service/worldstatestore/v1/world_state_store_pb2.py +39 -0
  198. viam/gen/service/worldstatestore/v1/world_state_store_pb2.pyi +171 -0
  199. viam/gen/stream/v1/stream_grpc.py +17 -1
  200. viam/gen/stream/v1/stream_pb2.py +34 -21
  201. viam/gen/stream/v1/stream_pb2.pyi +79 -1
  202. viam/gen/tagger/v1/tagger_pb2.py +9 -8
  203. viam/logging.py +77 -18
  204. viam/media/audio.py +28 -0
  205. viam/media/utils/pil/__init__.py +7 -3
  206. viam/media/video.py +80 -17
  207. viam/module/module.py +111 -38
  208. viam/module/resource_data_consumer.py +41 -0
  209. viam/module/service.py +9 -1
  210. viam/module/types.py +2 -4
  211. viam/proto/app/__init__.py +199 -0
  212. viam/proto/app/agent/__init__.py +5 -2
  213. viam/proto/app/billing.py +31 -4
  214. viam/proto/app/cloudslam/__init__.py +1 -0
  215. viam/proto/app/data/__init__.py +63 -0
  216. viam/proto/app/datapipelines/__init__.py +56 -0
  217. viam/proto/app/dataset/__init__.py +5 -0
  218. viam/proto/app/datasync/__init__.py +3 -0
  219. viam/proto/app/end_user.py +1 -0
  220. viam/proto/app/mlinference/__init__.py +15 -0
  221. viam/proto/app/mltraining/__init__.py +13 -0
  222. viam/proto/app/packages/__init__.py +1 -0
  223. viam/proto/app/robot.py +7 -0
  224. viam/proto/common/__init__.py +15 -0
  225. viam/proto/component/arm/__init__.py +7 -0
  226. viam/proto/component/audioin/__init__.py +16 -0
  227. viam/proto/component/audioinput/__init__.py +1 -0
  228. viam/proto/component/audioout/__init__.py +15 -0
  229. viam/proto/component/base/__init__.py +1 -0
  230. viam/proto/component/board/__init__.py +1 -0
  231. viam/proto/component/button/__init__.py +15 -0
  232. viam/proto/component/camera/__init__.py +1 -0
  233. viam/proto/component/encoder/__init__.py +1 -0
  234. viam/proto/component/gantry/__init__.py +1 -0
  235. viam/proto/component/generic/__init__.py +1 -0
  236. viam/proto/component/gripper/__init__.py +5 -0
  237. viam/proto/component/inputcontroller/__init__.py +1 -0
  238. viam/proto/component/motor/__init__.py +1 -0
  239. viam/proto/component/movementsensor/__init__.py +1 -0
  240. viam/proto/component/posetracker/__init__.py +1 -0
  241. viam/proto/component/powersensor/__init__.py +1 -0
  242. viam/proto/component/sensor/__init__.py +1 -0
  243. viam/proto/component/servo/__init__.py +1 -0
  244. viam/proto/component/switch/__init__.py +26 -0
  245. viam/proto/component/testecho/__init__.py +1 -0
  246. viam/proto/module/__init__.py +1 -0
  247. viam/proto/provisioning/__init__.py +5 -0
  248. viam/proto/robot/__init__.py +29 -8
  249. viam/proto/rpc/auth.py +1 -0
  250. viam/proto/rpc/examples/echo/__init__.py +1 -0
  251. viam/proto/rpc/examples/echoresource/__init__.py +1 -0
  252. viam/proto/rpc/webrtc/grpc.py +1 -0
  253. viam/proto/rpc/webrtc/signaling.py +3 -0
  254. viam/proto/service/datamanager/__init__.py +9 -1
  255. viam/proto/service/discovery/__init__.py +15 -0
  256. viam/proto/service/generic/__init__.py +1 -0
  257. viam/proto/service/mlmodel/__init__.py +1 -0
  258. viam/proto/service/motion/__init__.py +3 -0
  259. viam/proto/service/navigation/__init__.py +1 -0
  260. viam/proto/service/sensors/__init__.py +1 -0
  261. viam/proto/service/shell/__init__.py +1 -0
  262. viam/proto/service/slam/__init__.py +1 -0
  263. viam/proto/service/video/__init__.py +15 -0
  264. viam/proto/service/vision/__init__.py +1 -0
  265. viam/proto/service/worldstatestore/__init__.py +32 -0
  266. viam/proto/stream/__init__.py +11 -0
  267. viam/py.typed +0 -0
  268. viam/resource/base.py +12 -8
  269. viam/resource/easy_resource.py +24 -13
  270. viam/resource/manager.py +6 -5
  271. viam/resource/registry.py +39 -51
  272. viam/resource/rpc_client_base.py +33 -1
  273. viam/resource/types.py +13 -14
  274. viam/robot/client.py +190 -122
  275. viam/robot/service.py +2 -50
  276. viam/rpc/dial.py +54 -4
  277. viam/rpc/libviam_rust_utils.so +0 -0
  278. viam/rpc/server.py +25 -11
  279. viam/rpc/types.py +2 -4
  280. viam/services/discovery/__init__.py +12 -0
  281. viam/services/discovery/client.py +55 -0
  282. viam/services/discovery/discovery.py +52 -0
  283. viam/services/discovery/service.py +43 -0
  284. viam/services/generic/__init__.py +1 -1
  285. viam/services/generic/client.py +8 -5
  286. viam/services/generic/generic.py +2 -2
  287. viam/services/mlmodel/__init__.py +1 -1
  288. viam/services/mlmodel/client.py +17 -7
  289. viam/services/mlmodel/mlmodel.py +23 -12
  290. viam/services/mlmodel/service.py +5 -2
  291. viam/services/mlmodel/utils.py +11 -1
  292. viam/services/motion/__init__.py +2 -2
  293. viam/services/motion/client.py +32 -32
  294. viam/services/motion/motion.py +66 -62
  295. viam/services/navigation/__init__.py +1 -1
  296. viam/services/navigation/client.py +30 -20
  297. viam/services/navigation/navigation.py +23 -23
  298. viam/services/service_base.py +13 -9
  299. viam/services/service_client_base.py +3 -3
  300. viam/services/slam/__init__.py +1 -1
  301. viam/services/slam/client.py +15 -10
  302. viam/services/slam/slam.py +11 -11
  303. viam/services/vision/__init__.py +1 -1
  304. viam/services/vision/client.py +31 -24
  305. viam/services/vision/service.py +8 -8
  306. viam/services/vision/vision.py +36 -53
  307. viam/services/worldstatestore/__init__.py +18 -0
  308. viam/services/worldstatestore/client.py +94 -0
  309. viam/services/worldstatestore/service.py +55 -0
  310. viam/services/worldstatestore/worldstatestore.py +90 -0
  311. viam/sessions_client.py +115 -46
  312. viam/streams.py +3 -6
  313. viam/utils.py +44 -14
  314. viam/version_metadata.py +4 -0
  315. {viam_sdk-0.25.2.dist-info → viam_sdk-0.62.0.dist-info}/METADATA +27 -28
  316. viam_sdk-0.62.0.dist-info/RECORD +514 -0
  317. {viam_sdk-0.25.2.dist-info → viam_sdk-0.62.0.dist-info}/WHEEL +1 -1
  318. viam/gen/proto/rpc/examples/fileupload/v1/fileupload_grpc.py +0 -27
  319. viam/gen/proto/rpc/examples/fileupload/v1/fileupload_pb2.py +0 -18
  320. viam/gen/proto/rpc/examples/fileupload/v1/fileupload_pb2.pyi +0 -45
  321. viam/proto/rpc/examples/fileupload/__init__.py +0 -18
  322. viam/services/sensors/__init__.py +0 -5
  323. viam/services/sensors/client.py +0 -65
  324. viam_sdk-0.25.2.dist-info/LICENSE +0 -202
  325. viam_sdk-0.25.2.dist-info/RECORD +0 -442
  326. /viam/gen/{proto/rpc/examples/fileupload → app/datapipelines}/__init__.py +0 -0
  327. /viam/gen/{proto/rpc/examples/fileupload → app/datapipelines}/v1/__init__.py +0 -0
  328. /LICENSE → /viam_sdk-0.62.0.dist-info/licenses/LICENSE +0 -0
@@ -1,81 +1,84 @@
1
1
  """Generated protocol buffer code."""
2
- from google.protobuf.internal import builder as _builder
3
2
  from google.protobuf import descriptor as _descriptor
4
3
  from google.protobuf import descriptor_pool as _descriptor_pool
4
+ from google.protobuf import runtime_version as _runtime_version
5
5
  from google.protobuf import symbol_database as _symbol_database
6
+ from google.protobuf.internal import builder as _builder
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'service/navigation/v1/navigation.proto')
6
8
  _sym_db = _symbol_database.Default()
7
9
  from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
8
10
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
9
11
  from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
10
12
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&service/navigation/v1/navigation.proto\x12\x1aviam.service.navigation.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto"S\n\x0eGetModeRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"G\n\x0fGetModeResponse\x124\n\x04mode\x18\x01 \x01(\x0e2 .viam.service.navigation.v1.ModeR\x04mode"\x89\x01\n\x0eSetModeRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x124\n\x04mode\x18\x02 \x01(\x0e2 .viam.service.navigation.v1.ModeR\x04mode\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x11\n\x0fSetModeResponse"P\n\x08Waypoint\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x124\n\x08location\x18\x02 \x01(\x0b2\x18.viam.common.v1.GeoPointR\x08location"W\n\x12GetLocationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"t\n\x13GetLocationResponse\x124\n\x08location\x18\x01 \x01(\x0b2\x18.viam.common.v1.GeoPointR\x08location\x12\'\n\x0fcompass_heading\x18\x02 \x01(\x01R\x0ecompassHeading"X\n\x13GetWaypointsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"Z\n\x14GetWaypointsResponse\x12B\n\twaypoints\x18\x01 \x03(\x0b2$.viam.service.navigation.v1.WaypointR\twaypoints"\x8d\x01\n\x12AddWaypointRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x124\n\x08location\x18\x02 \x01(\x0b2\x18.viam.common.v1.GeoPointR\x08location\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x15\n\x13AddWaypointResponse"j\n\x15RemoveWaypointRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x18\n\x16RemoveWaypointResponse"X\n\x13GetObstaclesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"Q\n\x14GetObstaclesResponse\x129\n\tobstacles\x18\x01 \x03(\x0b2\x1b.viam.common.v1.GeoGeometryR\tobstacles"v\n\x04Path\x126\n\x17destination_waypoint_id\x18\x01 \x01(\tR\x15destinationWaypointId\x126\n\tgeopoints\x18\x02 \x03(\x0b2\x18.viam.common.v1.GeoPointR\tgeopoints"T\n\x0fGetPathsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"J\n\x10GetPathsResponse\x126\n\x05paths\x18\x01 \x03(\x0b2 .viam.service.navigation.v1.PathR\x05paths"*\n\x14GetPropertiesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"W\n\x15GetPropertiesResponse\x12>\n\x08map_type\x18\x01 \x01(\x0e2#.viam.service.navigation.v1.MapTypeR\x07mapType*H\n\x07MapType\x12\x18\n\x14MAP_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rMAP_TYPE_NONE\x10\x01\x12\x10\n\x0cMAP_TYPE_GPS\x10\x02*R\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bMODE_MANUAL\x10\x01\x12\x11\n\rMODE_WAYPOINT\x10\x02\x12\x10\n\x0cMODE_EXPLORE\x10\x032\x97\r\n\x11NavigationService\x12\x97\x01\n\x07GetMode\x12*.viam.service.navigation.v1.GetModeRequest\x1a+.viam.service.navigation.v1.GetModeResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/service/navigation/{name}/mode\x12\x97\x01\n\x07SetMode\x12*.viam.service.navigation.v1.SetModeRequest\x1a+.viam.service.navigation.v1.SetModeResponse"3\x82\xd3\xe4\x93\x02-\x1a+/viam/api/v1/service/navigation/{name}/mode\x12\xa7\x01\n\x0bGetLocation\x12..viam.service.navigation.v1.GetLocationRequest\x1a/.viam.service.navigation.v1.GetLocationResponse"7\x82\xd3\xe4\x93\x021\x12//viam/api/v1/service/navigation/{name}/location\x12\xab\x01\n\x0cGetWaypoints\x12/.viam.service.navigation.v1.GetWaypointsRequest\x1a0.viam.service.navigation.v1.GetWaypointsResponse"8\x82\xd3\xe4\x93\x022\x120/viam/api/v1/service/navigation/{name}/waypoints\x12\xa8\x01\n\x0bAddWaypoint\x12..viam.service.navigation.v1.AddWaypointRequest\x1a/.viam.service.navigation.v1.AddWaypointResponse"8\x82\xd3\xe4\x93\x022"0/viam/api/v1/service/navigation/{name}/waypoints\x12\xb6\x01\n\x0eRemoveWaypoint\x121.viam.service.navigation.v1.RemoveWaypointRequest\x1a2.viam.service.navigation.v1.RemoveWaypointResponse"=\x82\xd3\xe4\x93\x027*5/viam/api/v1/service/navigation/{name}/waypoints/{id}\x12\xaf\x01\n\x0cGetObstacles\x12/.viam.service.navigation.v1.GetObstaclesRequest\x1a0.viam.service.navigation.v1.GetObstaclesResponse"<\x82\xd3\xe4\x93\x026\x124/viam/api/v1/service/navigation/{name}/get_obstacles\x12\x9f\x01\n\x08GetPaths\x12+.viam.service.navigation.v1.GetPathsRequest\x1a,.viam.service.navigation.v1.GetPathsResponse"8\x82\xd3\xe4\x93\x022\x120/viam/api/v1/service/navigation/{name}/get_paths\x12\xaf\x01\n\rGetProperties\x120.viam.service.navigation.v1.GetPropertiesRequest\x1a1.viam.service.navigation.v1.GetPropertiesResponse"9\x82\xd3\xe4\x93\x023\x121/viam/api/v1/service/navigation/{name}/properties\x12\x8b\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"9\x82\xd3\xe4\x93\x023"1/viam/api/v1/service/navigation/{name}/do_commandBG\n\x1ecom.viam.service.navigation.v1Z%go.viam.com/api/service/navigation/v1b\x06proto3')
11
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
12
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'service.navigation.v1.navigation_pb2', globals())
13
- if _descriptor._USE_C_DESCRIPTORS == False:
14
- DESCRIPTOR._options = None
15
- DESCRIPTOR._serialized_options = b'\n\x1ecom.viam.service.navigation.v1Z%go.viam.com/api/service/navigation/v1'
16
- _NAVIGATIONSERVICE.methods_by_name['GetMode']._options = None
17
- _NAVIGATIONSERVICE.methods_by_name['GetMode']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/service/navigation/{name}/mode'
18
- _NAVIGATIONSERVICE.methods_by_name['SetMode']._options = None
19
- _NAVIGATIONSERVICE.methods_by_name['SetMode']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x1a+/viam/api/v1/service/navigation/{name}/mode'
20
- _NAVIGATIONSERVICE.methods_by_name['GetLocation']._options = None
21
- _NAVIGATIONSERVICE.methods_by_name['GetLocation']._serialized_options = b'\x82\xd3\xe4\x93\x021\x12//viam/api/v1/service/navigation/{name}/location'
22
- _NAVIGATIONSERVICE.methods_by_name['GetWaypoints']._options = None
23
- _NAVIGATIONSERVICE.methods_by_name['GetWaypoints']._serialized_options = b'\x82\xd3\xe4\x93\x022\x120/viam/api/v1/service/navigation/{name}/waypoints'
24
- _NAVIGATIONSERVICE.methods_by_name['AddWaypoint']._options = None
25
- _NAVIGATIONSERVICE.methods_by_name['AddWaypoint']._serialized_options = b'\x82\xd3\xe4\x93\x022"0/viam/api/v1/service/navigation/{name}/waypoints'
26
- _NAVIGATIONSERVICE.methods_by_name['RemoveWaypoint']._options = None
27
- _NAVIGATIONSERVICE.methods_by_name['RemoveWaypoint']._serialized_options = b'\x82\xd3\xe4\x93\x027*5/viam/api/v1/service/navigation/{name}/waypoints/{id}'
28
- _NAVIGATIONSERVICE.methods_by_name['GetObstacles']._options = None
29
- _NAVIGATIONSERVICE.methods_by_name['GetObstacles']._serialized_options = b'\x82\xd3\xe4\x93\x026\x124/viam/api/v1/service/navigation/{name}/get_obstacles'
30
- _NAVIGATIONSERVICE.methods_by_name['GetPaths']._options = None
31
- _NAVIGATIONSERVICE.methods_by_name['GetPaths']._serialized_options = b'\x82\xd3\xe4\x93\x022\x120/viam/api/v1/service/navigation/{name}/get_paths'
32
- _NAVIGATIONSERVICE.methods_by_name['GetProperties']._options = None
33
- _NAVIGATIONSERVICE.methods_by_name['GetProperties']._serialized_options = b'\x82\xd3\xe4\x93\x023\x121/viam/api/v1/service/navigation/{name}/properties'
34
- _NAVIGATIONSERVICE.methods_by_name['DoCommand']._options = None
35
- _NAVIGATIONSERVICE.methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x023"1/viam/api/v1/service/navigation/{name}/do_command'
36
- _MAPTYPE._serialized_start = 1831
37
- _MAPTYPE._serialized_end = 1903
38
- _MODE._serialized_start = 1905
39
- _MODE._serialized_end = 1987
40
- _GETMODEREQUEST._serialized_start = 154
41
- _GETMODEREQUEST._serialized_end = 237
42
- _GETMODERESPONSE._serialized_start = 239
43
- _GETMODERESPONSE._serialized_end = 310
44
- _SETMODEREQUEST._serialized_start = 313
45
- _SETMODEREQUEST._serialized_end = 450
46
- _SETMODERESPONSE._serialized_start = 452
47
- _SETMODERESPONSE._serialized_end = 469
48
- _WAYPOINT._serialized_start = 471
49
- _WAYPOINT._serialized_end = 551
50
- _GETLOCATIONREQUEST._serialized_start = 553
51
- _GETLOCATIONREQUEST._serialized_end = 640
52
- _GETLOCATIONRESPONSE._serialized_start = 642
53
- _GETLOCATIONRESPONSE._serialized_end = 758
54
- _GETWAYPOINTSREQUEST._serialized_start = 760
55
- _GETWAYPOINTSREQUEST._serialized_end = 848
56
- _GETWAYPOINTSRESPONSE._serialized_start = 850
57
- _GETWAYPOINTSRESPONSE._serialized_end = 940
58
- _ADDWAYPOINTREQUEST._serialized_start = 943
59
- _ADDWAYPOINTREQUEST._serialized_end = 1084
60
- _ADDWAYPOINTRESPONSE._serialized_start = 1086
61
- _ADDWAYPOINTRESPONSE._serialized_end = 1107
62
- _REMOVEWAYPOINTREQUEST._serialized_start = 1109
63
- _REMOVEWAYPOINTREQUEST._serialized_end = 1215
64
- _REMOVEWAYPOINTRESPONSE._serialized_start = 1217
65
- _REMOVEWAYPOINTRESPONSE._serialized_end = 1241
66
- _GETOBSTACLESREQUEST._serialized_start = 1243
67
- _GETOBSTACLESREQUEST._serialized_end = 1331
68
- _GETOBSTACLESRESPONSE._serialized_start = 1333
69
- _GETOBSTACLESRESPONSE._serialized_end = 1414
70
- _PATH._serialized_start = 1416
71
- _PATH._serialized_end = 1534
72
- _GETPATHSREQUEST._serialized_start = 1536
73
- _GETPATHSREQUEST._serialized_end = 1620
74
- _GETPATHSRESPONSE._serialized_start = 1622
75
- _GETPATHSRESPONSE._serialized_end = 1696
76
- _GETPROPERTIESREQUEST._serialized_start = 1698
77
- _GETPROPERTIESREQUEST._serialized_end = 1740
78
- _GETPROPERTIESRESPONSE._serialized_start = 1742
79
- _GETPROPERTIESRESPONSE._serialized_end = 1829
80
- _NAVIGATIONSERVICE._serialized_start = 1990
81
- _NAVIGATIONSERVICE._serialized_end = 3677
13
+ _globals = globals()
14
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
15
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'service.navigation.v1.navigation_pb2', _globals)
16
+ if not _descriptor._USE_C_DESCRIPTORS:
17
+ _globals['DESCRIPTOR']._loaded_options = None
18
+ _globals['DESCRIPTOR']._serialized_options = b'\n\x1ecom.viam.service.navigation.v1Z%go.viam.com/api/service/navigation/v1'
19
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['GetMode']._loaded_options = None
20
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['GetMode']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/service/navigation/{name}/mode'
21
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['SetMode']._loaded_options = None
22
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['SetMode']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x1a+/viam/api/v1/service/navigation/{name}/mode'
23
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['GetLocation']._loaded_options = None
24
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['GetLocation']._serialized_options = b'\x82\xd3\xe4\x93\x021\x12//viam/api/v1/service/navigation/{name}/location'
25
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['GetWaypoints']._loaded_options = None
26
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['GetWaypoints']._serialized_options = b'\x82\xd3\xe4\x93\x022\x120/viam/api/v1/service/navigation/{name}/waypoints'
27
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['AddWaypoint']._loaded_options = None
28
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['AddWaypoint']._serialized_options = b'\x82\xd3\xe4\x93\x022"0/viam/api/v1/service/navigation/{name}/waypoints'
29
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['RemoveWaypoint']._loaded_options = None
30
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['RemoveWaypoint']._serialized_options = b'\x82\xd3\xe4\x93\x027*5/viam/api/v1/service/navigation/{name}/waypoints/{id}'
31
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['GetObstacles']._loaded_options = None
32
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['GetObstacles']._serialized_options = b'\x82\xd3\xe4\x93\x026\x124/viam/api/v1/service/navigation/{name}/get_obstacles'
33
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['GetPaths']._loaded_options = None
34
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['GetPaths']._serialized_options = b'\x82\xd3\xe4\x93\x022\x120/viam/api/v1/service/navigation/{name}/get_paths'
35
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['GetProperties']._loaded_options = None
36
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['GetProperties']._serialized_options = b'\x82\xd3\xe4\x93\x023\x121/viam/api/v1/service/navigation/{name}/properties'
37
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['DoCommand']._loaded_options = None
38
+ _globals['_NAVIGATIONSERVICE'].methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x023"1/viam/api/v1/service/navigation/{name}/do_command'
39
+ _globals['_MAPTYPE']._serialized_start = 1831
40
+ _globals['_MAPTYPE']._serialized_end = 1903
41
+ _globals['_MODE']._serialized_start = 1905
42
+ _globals['_MODE']._serialized_end = 1987
43
+ _globals['_GETMODEREQUEST']._serialized_start = 154
44
+ _globals['_GETMODEREQUEST']._serialized_end = 237
45
+ _globals['_GETMODERESPONSE']._serialized_start = 239
46
+ _globals['_GETMODERESPONSE']._serialized_end = 310
47
+ _globals['_SETMODEREQUEST']._serialized_start = 313
48
+ _globals['_SETMODEREQUEST']._serialized_end = 450
49
+ _globals['_SETMODERESPONSE']._serialized_start = 452
50
+ _globals['_SETMODERESPONSE']._serialized_end = 469
51
+ _globals['_WAYPOINT']._serialized_start = 471
52
+ _globals['_WAYPOINT']._serialized_end = 551
53
+ _globals['_GETLOCATIONREQUEST']._serialized_start = 553
54
+ _globals['_GETLOCATIONREQUEST']._serialized_end = 640
55
+ _globals['_GETLOCATIONRESPONSE']._serialized_start = 642
56
+ _globals['_GETLOCATIONRESPONSE']._serialized_end = 758
57
+ _globals['_GETWAYPOINTSREQUEST']._serialized_start = 760
58
+ _globals['_GETWAYPOINTSREQUEST']._serialized_end = 848
59
+ _globals['_GETWAYPOINTSRESPONSE']._serialized_start = 850
60
+ _globals['_GETWAYPOINTSRESPONSE']._serialized_end = 940
61
+ _globals['_ADDWAYPOINTREQUEST']._serialized_start = 943
62
+ _globals['_ADDWAYPOINTREQUEST']._serialized_end = 1084
63
+ _globals['_ADDWAYPOINTRESPONSE']._serialized_start = 1086
64
+ _globals['_ADDWAYPOINTRESPONSE']._serialized_end = 1107
65
+ _globals['_REMOVEWAYPOINTREQUEST']._serialized_start = 1109
66
+ _globals['_REMOVEWAYPOINTREQUEST']._serialized_end = 1215
67
+ _globals['_REMOVEWAYPOINTRESPONSE']._serialized_start = 1217
68
+ _globals['_REMOVEWAYPOINTRESPONSE']._serialized_end = 1241
69
+ _globals['_GETOBSTACLESREQUEST']._serialized_start = 1243
70
+ _globals['_GETOBSTACLESREQUEST']._serialized_end = 1331
71
+ _globals['_GETOBSTACLESRESPONSE']._serialized_start = 1333
72
+ _globals['_GETOBSTACLESRESPONSE']._serialized_end = 1414
73
+ _globals['_PATH']._serialized_start = 1416
74
+ _globals['_PATH']._serialized_end = 1534
75
+ _globals['_GETPATHSREQUEST']._serialized_start = 1536
76
+ _globals['_GETPATHSREQUEST']._serialized_end = 1620
77
+ _globals['_GETPATHSRESPONSE']._serialized_start = 1622
78
+ _globals['_GETPATHSRESPONSE']._serialized_end = 1696
79
+ _globals['_GETPROPERTIESREQUEST']._serialized_start = 1698
80
+ _globals['_GETPROPERTIESREQUEST']._serialized_end = 1740
81
+ _globals['_GETPROPERTIESRESPONSE']._serialized_start = 1742
82
+ _globals['_GETPROPERTIESRESPONSE']._serialized_end = 1829
83
+ _globals['_NAVIGATIONSERVICE']._serialized_start = 1990
84
+ _globals['_NAVIGATIONSERVICE']._serialized_end = 3677
@@ -1,65 +1,68 @@
1
1
  """Generated protocol buffer code."""
2
- from google.protobuf.internal import builder as _builder
3
2
  from google.protobuf import descriptor as _descriptor
4
3
  from google.protobuf import descriptor_pool as _descriptor_pool
4
+ from google.protobuf import runtime_version as _runtime_version
5
5
  from google.protobuf import symbol_database as _symbol_database
6
+ from google.protobuf.internal import builder as _builder
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'service/sensors/v1/sensors.proto')
6
8
  _sym_db = _symbol_database.Default()
7
9
  from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
8
10
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
9
11
  from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
10
12
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n service/sensors/v1/sensors.proto\x12\x17viam.service.sensors.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto"b\n\x11GetSensorsRequest\x12\x16\n\x04name\x18\x01 \x01(\tB\x02\x18\x01R\x04name\x121\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructB\x02\x18\x01R\x05extra:\x02\x18\x01"]\n\x12GetSensorsResponse\x12C\n\x0csensor_names\x18\x01 \x03(\x0b2\x1c.viam.common.v1.ResourceNameB\x02\x18\x01R\x0bsensorNames:\x02\x18\x01"\xa8\x01\n\x12GetReadingsRequest\x12\x16\n\x04name\x18\x01 \x01(\tB\x02\x18\x01R\x04name\x12C\n\x0csensor_names\x18\x02 \x03(\x0b2\x1c.viam.common.v1.ResourceNameB\x02\x18\x01R\x0bsensorNames\x121\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructB\x02\x18\x01R\x05extra:\x02\x18\x01"\xea\x01\n\x08Readings\x124\n\x04name\x18\x01 \x01(\x0b2\x1c.viam.common.v1.ResourceNameB\x02\x18\x01R\x04name\x12O\n\x08readings\x18\x02 \x03(\x0b2/.viam.service.sensors.v1.Readings.ReadingsEntryB\x02\x18\x01R\x08readings\x1aS\n\rReadingsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12,\n\x05value\x18\x02 \x01(\x0b2\x16.google.protobuf.ValueR\x05value:\x028\x01:\x02\x18\x01"\\\n\x13GetReadingsResponse\x12A\n\x08readings\x18\x01 \x03(\x0b2!.viam.service.sensors.v1.ReadingsB\x02\x18\x01R\x08readings:\x02\x18\x012\xda\x03\n\x0eSensorsService\x12\x95\x01\n\nGetSensors\x12*.viam.service.sensors.v1.GetSensorsRequest\x1a+.viam.service.sensors.v1.GetSensorsResponse".\x88\x02\x01\x82\xd3\xe4\x93\x02%\x12#/viam/api/v1/service/{name}/sensors\x12\xa1\x01\n\x0bGetReadings\x12+.viam.service.sensors.v1.GetReadingsRequest\x1a,.viam.service.sensors.v1.GetReadingsResponse"7\x88\x02\x01\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/service/sensors/{name}/readings\x12\x8b\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"9\x88\x02\x01\x82\xd3\xe4\x93\x020"./viam/api/v1/service/sensors/{name}/do_commandBD\n\x1bcom.viam.service.sensors.v1Z"go.viam.com/api/service/sensors/v1\xb8\x01\x01b\x06proto3')
11
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
12
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'service.sensors.v1.sensors_pb2', globals())
13
- if _descriptor._USE_C_DESCRIPTORS == False:
14
- DESCRIPTOR._options = None
15
- DESCRIPTOR._serialized_options = b'\n\x1bcom.viam.service.sensors.v1Z"go.viam.com/api/service/sensors/v1\xb8\x01\x01'
16
- _GETSENSORSREQUEST.fields_by_name['name']._options = None
17
- _GETSENSORSREQUEST.fields_by_name['name']._serialized_options = b'\x18\x01'
18
- _GETSENSORSREQUEST.fields_by_name['extra']._options = None
19
- _GETSENSORSREQUEST.fields_by_name['extra']._serialized_options = b'\x18\x01'
20
- _GETSENSORSREQUEST._options = None
21
- _GETSENSORSREQUEST._serialized_options = b'\x18\x01'
22
- _GETSENSORSRESPONSE.fields_by_name['sensor_names']._options = None
23
- _GETSENSORSRESPONSE.fields_by_name['sensor_names']._serialized_options = b'\x18\x01'
24
- _GETSENSORSRESPONSE._options = None
25
- _GETSENSORSRESPONSE._serialized_options = b'\x18\x01'
26
- _GETREADINGSREQUEST.fields_by_name['name']._options = None
27
- _GETREADINGSREQUEST.fields_by_name['name']._serialized_options = b'\x18\x01'
28
- _GETREADINGSREQUEST.fields_by_name['sensor_names']._options = None
29
- _GETREADINGSREQUEST.fields_by_name['sensor_names']._serialized_options = b'\x18\x01'
30
- _GETREADINGSREQUEST.fields_by_name['extra']._options = None
31
- _GETREADINGSREQUEST.fields_by_name['extra']._serialized_options = b'\x18\x01'
32
- _GETREADINGSREQUEST._options = None
33
- _GETREADINGSREQUEST._serialized_options = b'\x18\x01'
34
- _READINGS_READINGSENTRY._options = None
35
- _READINGS_READINGSENTRY._serialized_options = b'8\x01'
36
- _READINGS.fields_by_name['name']._options = None
37
- _READINGS.fields_by_name['name']._serialized_options = b'\x18\x01'
38
- _READINGS.fields_by_name['readings']._options = None
39
- _READINGS.fields_by_name['readings']._serialized_options = b'\x18\x01'
40
- _READINGS._options = None
41
- _READINGS._serialized_options = b'\x18\x01'
42
- _GETREADINGSRESPONSE.fields_by_name['readings']._options = None
43
- _GETREADINGSRESPONSE.fields_by_name['readings']._serialized_options = b'\x18\x01'
44
- _GETREADINGSRESPONSE._options = None
45
- _GETREADINGSRESPONSE._serialized_options = b'\x18\x01'
46
- _SENSORSSERVICE.methods_by_name['GetSensors']._options = None
47
- _SENSORSSERVICE.methods_by_name['GetSensors']._serialized_options = b'\x88\x02\x01\x82\xd3\xe4\x93\x02%\x12#/viam/api/v1/service/{name}/sensors'
48
- _SENSORSSERVICE.methods_by_name['GetReadings']._options = None
49
- _SENSORSSERVICE.methods_by_name['GetReadings']._serialized_options = b'\x88\x02\x01\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/service/sensors/{name}/readings'
50
- _SENSORSSERVICE.methods_by_name['DoCommand']._options = None
51
- _SENSORSSERVICE.methods_by_name['DoCommand']._serialized_options = b'\x88\x02\x01\x82\xd3\xe4\x93\x020"./viam/api/v1/service/sensors/{name}/do_command'
52
- _GETSENSORSREQUEST._serialized_start = 145
53
- _GETSENSORSREQUEST._serialized_end = 243
54
- _GETSENSORSRESPONSE._serialized_start = 245
55
- _GETSENSORSRESPONSE._serialized_end = 338
56
- _GETREADINGSREQUEST._serialized_start = 341
57
- _GETREADINGSREQUEST._serialized_end = 509
58
- _READINGS._serialized_start = 512
59
- _READINGS._serialized_end = 746
60
- _READINGS_READINGSENTRY._serialized_start = 659
61
- _READINGS_READINGSENTRY._serialized_end = 742
62
- _GETREADINGSRESPONSE._serialized_start = 748
63
- _GETREADINGSRESPONSE._serialized_end = 840
64
- _SENSORSSERVICE._serialized_start = 843
65
- _SENSORSSERVICE._serialized_end = 1317
13
+ _globals = globals()
14
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
15
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'service.sensors.v1.sensors_pb2', _globals)
16
+ if not _descriptor._USE_C_DESCRIPTORS:
17
+ _globals['DESCRIPTOR']._loaded_options = None
18
+ _globals['DESCRIPTOR']._serialized_options = b'\n\x1bcom.viam.service.sensors.v1Z"go.viam.com/api/service/sensors/v1\xb8\x01\x01'
19
+ _globals['_GETSENSORSREQUEST'].fields_by_name['name']._loaded_options = None
20
+ _globals['_GETSENSORSREQUEST'].fields_by_name['name']._serialized_options = b'\x18\x01'
21
+ _globals['_GETSENSORSREQUEST'].fields_by_name['extra']._loaded_options = None
22
+ _globals['_GETSENSORSREQUEST'].fields_by_name['extra']._serialized_options = b'\x18\x01'
23
+ _globals['_GETSENSORSREQUEST']._loaded_options = None
24
+ _globals['_GETSENSORSREQUEST']._serialized_options = b'\x18\x01'
25
+ _globals['_GETSENSORSRESPONSE'].fields_by_name['sensor_names']._loaded_options = None
26
+ _globals['_GETSENSORSRESPONSE'].fields_by_name['sensor_names']._serialized_options = b'\x18\x01'
27
+ _globals['_GETSENSORSRESPONSE']._loaded_options = None
28
+ _globals['_GETSENSORSRESPONSE']._serialized_options = b'\x18\x01'
29
+ _globals['_GETREADINGSREQUEST'].fields_by_name['name']._loaded_options = None
30
+ _globals['_GETREADINGSREQUEST'].fields_by_name['name']._serialized_options = b'\x18\x01'
31
+ _globals['_GETREADINGSREQUEST'].fields_by_name['sensor_names']._loaded_options = None
32
+ _globals['_GETREADINGSREQUEST'].fields_by_name['sensor_names']._serialized_options = b'\x18\x01'
33
+ _globals['_GETREADINGSREQUEST'].fields_by_name['extra']._loaded_options = None
34
+ _globals['_GETREADINGSREQUEST'].fields_by_name['extra']._serialized_options = b'\x18\x01'
35
+ _globals['_GETREADINGSREQUEST']._loaded_options = None
36
+ _globals['_GETREADINGSREQUEST']._serialized_options = b'\x18\x01'
37
+ _globals['_READINGS_READINGSENTRY']._loaded_options = None
38
+ _globals['_READINGS_READINGSENTRY']._serialized_options = b'8\x01'
39
+ _globals['_READINGS'].fields_by_name['name']._loaded_options = None
40
+ _globals['_READINGS'].fields_by_name['name']._serialized_options = b'\x18\x01'
41
+ _globals['_READINGS'].fields_by_name['readings']._loaded_options = None
42
+ _globals['_READINGS'].fields_by_name['readings']._serialized_options = b'\x18\x01'
43
+ _globals['_READINGS']._loaded_options = None
44
+ _globals['_READINGS']._serialized_options = b'\x18\x01'
45
+ _globals['_GETREADINGSRESPONSE'].fields_by_name['readings']._loaded_options = None
46
+ _globals['_GETREADINGSRESPONSE'].fields_by_name['readings']._serialized_options = b'\x18\x01'
47
+ _globals['_GETREADINGSRESPONSE']._loaded_options = None
48
+ _globals['_GETREADINGSRESPONSE']._serialized_options = b'\x18\x01'
49
+ _globals['_SENSORSSERVICE'].methods_by_name['GetSensors']._loaded_options = None
50
+ _globals['_SENSORSSERVICE'].methods_by_name['GetSensors']._serialized_options = b'\x88\x02\x01\x82\xd3\xe4\x93\x02%\x12#/viam/api/v1/service/{name}/sensors'
51
+ _globals['_SENSORSSERVICE'].methods_by_name['GetReadings']._loaded_options = None
52
+ _globals['_SENSORSSERVICE'].methods_by_name['GetReadings']._serialized_options = b'\x88\x02\x01\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/service/sensors/{name}/readings'
53
+ _globals['_SENSORSSERVICE'].methods_by_name['DoCommand']._loaded_options = None
54
+ _globals['_SENSORSSERVICE'].methods_by_name['DoCommand']._serialized_options = b'\x88\x02\x01\x82\xd3\xe4\x93\x020"./viam/api/v1/service/sensors/{name}/do_command'
55
+ _globals['_GETSENSORSREQUEST']._serialized_start = 145
56
+ _globals['_GETSENSORSREQUEST']._serialized_end = 243
57
+ _globals['_GETSENSORSRESPONSE']._serialized_start = 245
58
+ _globals['_GETSENSORSRESPONSE']._serialized_end = 338
59
+ _globals['_GETREADINGSREQUEST']._serialized_start = 341
60
+ _globals['_GETREADINGSREQUEST']._serialized_end = 509
61
+ _globals['_READINGS']._serialized_start = 512
62
+ _globals['_READINGS']._serialized_end = 746
63
+ _globals['_READINGS_READINGSENTRY']._serialized_start = 659
64
+ _globals['_READINGS_READINGSENTRY']._serialized_end = 742
65
+ _globals['_GETREADINGSRESPONSE']._serialized_start = 748
66
+ _globals['_GETREADINGSRESPONSE']._serialized_end = 840
67
+ _globals['_SENSORSSERVICE']._serialized_start = 843
68
+ _globals['_SENSORSSERVICE']._serialized_end = 1317
@@ -1,42 +1,45 @@
1
1
  """Generated protocol buffer code."""
2
- from google.protobuf.internal import builder as _builder
3
2
  from google.protobuf import descriptor as _descriptor
4
3
  from google.protobuf import descriptor_pool as _descriptor_pool
4
+ from google.protobuf import runtime_version as _runtime_version
5
5
  from google.protobuf import symbol_database as _symbol_database
6
+ from google.protobuf.internal import builder as _builder
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'service/shell/v1/shell.proto')
6
8
  _sym_db = _symbol_database.Default()
7
9
  from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
8
10
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
9
11
  from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
10
12
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
11
13
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cservice/shell/v1/shell.proto\x12\x15viam.service.shell.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"j\n\x0cShellRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x17\n\x07data_in\x18\x02 \x01(\tR\x06dataIn\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"W\n\rShellResponse\x12\x19\n\x08data_out\x18\x01 \x01(\tR\x07dataOut\x12\x19\n\x08data_err\x18\x02 \x01(\tR\x07dataErr\x12\x10\n\x03eof\x18\x03 \x01(\x08R\x03eof"\xda\x01\n\x08FileData\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04size\x18\x02 \x01(\x03R\x04size\x12\x15\n\x06is_dir\x18\x03 \x01(\x08R\x05isDir\x12\x12\n\x04data\x18\x04 \x01(\x0cR\x04data\x12\x10\n\x03eof\x18\x05 \x01(\x08R\x03eof\x12:\n\x08mod_time\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampH\x00R\x07modTime\x88\x01\x01\x12\x17\n\x04mode\x18\x07 \x01(\rH\x01R\x04mode\x88\x01\x01B\x0b\n\t_mod_timeB\x07\n\x05_mode"\xf1\x01\n!CopyFilesToMachineRequestMetadata\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12K\n\x0bsource_type\x18\x02 \x01(\x0e2*.viam.service.shell.v1.CopyFilesSourceTypeR\nsourceType\x12 \n\x0bdestination\x18\x03 \x01(\tR\x0bdestination\x12\x1a\n\x08preserve\x18\x04 \x01(\x08R\x08preserve\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xbe\x01\n\x19CopyFilesToMachineRequest\x12V\n\x08metadata\x18\x01 \x01(\x0b28.viam.service.shell.v1.CopyFilesToMachineRequestMetadataH\x00R\x08metadata\x12>\n\tfile_data\x18\x02 \x01(\x0b2\x1f.viam.service.shell.v1.FileDataH\x00R\x08fileDataB\t\n\x07request"@\n\x1aCopyFilesToMachineResponse\x12"\n\rack_last_file\x18\x01 \x01(\x08R\x0backLastFile"\xc3\x01\n#CopyFilesFromMachineRequestMetadata\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n\x05paths\x18\x02 \x03(\tR\x05paths\x12\'\n\x0fallow_recursion\x18\x03 \x01(\x08R\x0eallowRecursion\x12\x1a\n\x08preserve\x18\x04 \x01(\x08R\x08preserve\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xa8\x01\n\x1bCopyFilesFromMachineRequest\x12X\n\x08metadata\x18\x01 \x01(\x0b2:.viam.service.shell.v1.CopyFilesFromMachineRequestMetadataH\x00R\x08metadata\x12$\n\rack_last_file\x18\x02 \x01(\x08H\x00R\x0backLastFileB\t\n\x07request"s\n$CopyFilesFromMachineResponseMetadata\x12K\n\x0bsource_type\x18\x01 \x01(\x0e2*.viam.service.shell.v1.CopyFilesSourceTypeR\nsourceType"\xc5\x01\n\x1cCopyFilesFromMachineResponse\x12Y\n\x08metadata\x18\x01 \x01(\x0b2;.viam.service.shell.v1.CopyFilesFromMachineResponseMetadataH\x00R\x08metadata\x12>\n\tfile_data\x18\x02 \x01(\x0b2\x1f.viam.service.shell.v1.FileDataH\x00R\x08fileDataB\n\n\x08response*\xbd\x01\n\x13CopyFilesSourceType\x12&\n"COPY_FILES_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12&\n"COPY_FILES_SOURCE_TYPE_SINGLE_FILE\x10\x01\x12+\n\'COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY\x10\x02\x12)\n%COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES\x10\x032\xf4\x03\n\x0cShellService\x12V\n\x05Shell\x12#.viam.service.shell.v1.ShellRequest\x1a$.viam.service.shell.v1.ShellResponse(\x010\x01\x12}\n\x12CopyFilesToMachine\x120.viam.service.shell.v1.CopyFilesToMachineRequest\x1a1.viam.service.shell.v1.CopyFilesToMachineResponse(\x010\x01\x12\x83\x01\n\x14CopyFilesFromMachine\x122.viam.service.shell.v1.CopyFilesFromMachineRequest\x1a3.viam.service.shell.v1.CopyFilesFromMachineResponse(\x010\x01\x12\x86\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"4\x82\xd3\xe4\x93\x02.",/viam/api/v1/service/shell/{name}/do_commandB=\n\x19com.viam.service.shell.v1Z go.viam.com/api/service/shell/v1b\x06proto3')
12
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
13
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'service.shell.v1.shell_pb2', globals())
14
- if _descriptor._USE_C_DESCRIPTORS == False:
15
- DESCRIPTOR._options = None
16
- DESCRIPTOR._serialized_options = b'\n\x19com.viam.service.shell.v1Z go.viam.com/api/service/shell/v1'
17
- _SHELLSERVICE.methods_by_name['DoCommand']._options = None
18
- _SHELLSERVICE.methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x02.",/viam/api/v1/service/shell/{name}/do_command'
19
- _COPYFILESSOURCETYPE._serialized_start = 1780
20
- _COPYFILESSOURCETYPE._serialized_end = 1969
21
- _SHELLREQUEST._serialized_start = 172
22
- _SHELLREQUEST._serialized_end = 278
23
- _SHELLRESPONSE._serialized_start = 280
24
- _SHELLRESPONSE._serialized_end = 367
25
- _FILEDATA._serialized_start = 370
26
- _FILEDATA._serialized_end = 588
27
- _COPYFILESTOMACHINEREQUESTMETADATA._serialized_start = 591
28
- _COPYFILESTOMACHINEREQUESTMETADATA._serialized_end = 832
29
- _COPYFILESTOMACHINEREQUEST._serialized_start = 835
30
- _COPYFILESTOMACHINEREQUEST._serialized_end = 1025
31
- _COPYFILESTOMACHINERESPONSE._serialized_start = 1027
32
- _COPYFILESTOMACHINERESPONSE._serialized_end = 1091
33
- _COPYFILESFROMMACHINEREQUESTMETADATA._serialized_start = 1094
34
- _COPYFILESFROMMACHINEREQUESTMETADATA._serialized_end = 1289
35
- _COPYFILESFROMMACHINEREQUEST._serialized_start = 1292
36
- _COPYFILESFROMMACHINEREQUEST._serialized_end = 1460
37
- _COPYFILESFROMMACHINERESPONSEMETADATA._serialized_start = 1462
38
- _COPYFILESFROMMACHINERESPONSEMETADATA._serialized_end = 1577
39
- _COPYFILESFROMMACHINERESPONSE._serialized_start = 1580
40
- _COPYFILESFROMMACHINERESPONSE._serialized_end = 1777
41
- _SHELLSERVICE._serialized_start = 1972
42
- _SHELLSERVICE._serialized_end = 2472
14
+ _globals = globals()
15
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
16
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'service.shell.v1.shell_pb2', _globals)
17
+ if not _descriptor._USE_C_DESCRIPTORS:
18
+ _globals['DESCRIPTOR']._loaded_options = None
19
+ _globals['DESCRIPTOR']._serialized_options = b'\n\x19com.viam.service.shell.v1Z go.viam.com/api/service/shell/v1'
20
+ _globals['_SHELLSERVICE'].methods_by_name['DoCommand']._loaded_options = None
21
+ _globals['_SHELLSERVICE'].methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x02.",/viam/api/v1/service/shell/{name}/do_command'
22
+ _globals['_COPYFILESSOURCETYPE']._serialized_start = 1780
23
+ _globals['_COPYFILESSOURCETYPE']._serialized_end = 1969
24
+ _globals['_SHELLREQUEST']._serialized_start = 172
25
+ _globals['_SHELLREQUEST']._serialized_end = 278
26
+ _globals['_SHELLRESPONSE']._serialized_start = 280
27
+ _globals['_SHELLRESPONSE']._serialized_end = 367
28
+ _globals['_FILEDATA']._serialized_start = 370
29
+ _globals['_FILEDATA']._serialized_end = 588
30
+ _globals['_COPYFILESTOMACHINEREQUESTMETADATA']._serialized_start = 591
31
+ _globals['_COPYFILESTOMACHINEREQUESTMETADATA']._serialized_end = 832
32
+ _globals['_COPYFILESTOMACHINEREQUEST']._serialized_start = 835
33
+ _globals['_COPYFILESTOMACHINEREQUEST']._serialized_end = 1025
34
+ _globals['_COPYFILESTOMACHINERESPONSE']._serialized_start = 1027
35
+ _globals['_COPYFILESTOMACHINERESPONSE']._serialized_end = 1091
36
+ _globals['_COPYFILESFROMMACHINEREQUESTMETADATA']._serialized_start = 1094
37
+ _globals['_COPYFILESFROMMACHINEREQUESTMETADATA']._serialized_end = 1289
38
+ _globals['_COPYFILESFROMMACHINEREQUEST']._serialized_start = 1292
39
+ _globals['_COPYFILESFROMMACHINEREQUEST']._serialized_end = 1460
40
+ _globals['_COPYFILESFROMMACHINERESPONSEMETADATA']._serialized_start = 1462
41
+ _globals['_COPYFILESFROMMACHINERESPONSEMETADATA']._serialized_end = 1577
42
+ _globals['_COPYFILESFROMMACHINERESPONSE']._serialized_start = 1580
43
+ _globals['_COPYFILESFROMMACHINERESPONSE']._serialized_end = 1777
44
+ _globals['_SHELLSERVICE']._serialized_start = 1972
45
+ _globals['_SHELLSERVICE']._serialized_end = 2472
@@ -1,48 +1,51 @@
1
1
  """Generated protocol buffer code."""
2
- from google.protobuf.internal import builder as _builder
3
2
  from google.protobuf import descriptor as _descriptor
4
3
  from google.protobuf import descriptor_pool as _descriptor_pool
4
+ from google.protobuf import runtime_version as _runtime_version
5
5
  from google.protobuf import symbol_database as _symbol_database
6
+ from google.protobuf.internal import builder as _builder
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'service/slam/v1/slam.proto')
6
8
  _sym_db = _symbol_database.Default()
7
9
  from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
8
10
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
9
11
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1aservice/slam/v1/slam.proto\x12\x14viam.service.slam.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto"(\n\x12GetPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"?\n\x13GetPositionResponse\x12(\n\x04pose\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x04pose"t\n\x17GetPointCloudMapRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12/\n\x11return_edited_map\x18\x02 \x01(\x08H\x00R\x0freturnEditedMap\x88\x01\x01B\x14\n\x12_return_edited_map"M\n\x18GetPointCloudMapResponse\x121\n\x15point_cloud_pcd_chunk\x18\x01 \x01(\x0cR\x12pointCloudPcdChunk"-\n\x17GetInternalStateRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"L\n\x18GetInternalStateResponse\x120\n\x14internal_state_chunk\x18\x01 \x01(\x0cR\x12internalStateChunk"*\n\x14GetPropertiesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"\x9a\x02\n\x15GetPropertiesResponse\x12\x1d\n\ncloud_slam\x18\x01 \x01(\x08R\tcloudSlam\x12D\n\x0cmapping_mode\x18\x02 \x01(\x0e2!.viam.service.slam.v1.MappingModeR\x0bmappingMode\x12<\n\x18internal_state_file_type\x18\x03 \x01(\tH\x00R\x15internalStateFileType\x88\x01\x01\x12A\n\x0bsensor_info\x18\x04 \x03(\x0b2 .viam.service.slam.v1.SensorInfoR\nsensorInfoB\x1b\n\x19_internal_state_file_type"V\n\nSensorInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x124\n\x04type\x18\x02 \x01(\x0e2 .viam.service.slam.v1.SensorTypeR\x04type*\x92\x01\n\x0bMappingMode\x12\x1c\n\x18MAPPING_MODE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bMAPPING_MODE_CREATE_NEW_MAP\x10\x01\x12\x1e\n\x1aMAPPING_MODE_LOCALIZE_ONLY\x10\x02\x12$\n MAPPING_MODE_UPDATE_EXISTING_MAP\x10\x03*b\n\nSensorType\x12\x1b\n\x17SENSOR_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12SENSOR_TYPE_CAMERA\x10\x01\x12\x1f\n\x1bSENSOR_TYPE_MOVEMENT_SENSOR\x10\x022\xac\x06\n\x0bSLAMService\x12\x95\x01\n\x0bGetPosition\x12(.viam.service.slam.v1.GetPositionRequest\x1a).viam.service.slam.v1.GetPositionResponse"1\x82\xd3\xe4\x93\x02+\x12)/viam/api/v1/service/slam/{name}/position\x12\xad\x01\n\x10GetPointCloudMap\x12-.viam.service.slam.v1.GetPointCloudMapRequest\x1a..viam.service.slam.v1.GetPointCloudMapResponse"8\x82\xd3\xe4\x93\x022\x120/viam/api/v1/service/slam/{name}/point_cloud_map0\x01\x12\xac\x01\n\x10GetInternalState\x12-.viam.service.slam.v1.GetInternalStateRequest\x1a..viam.service.slam.v1.GetInternalStateResponse"7\x82\xd3\xe4\x93\x021\x12//viam/api/v1/service/slam/{name}/internal_state0\x01\x12\x9d\x01\n\rGetProperties\x12*.viam.service.slam.v1.GetPropertiesRequest\x1a+.viam.service.slam.v1.GetPropertiesResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/service/slam/{name}/properties\x12\x85\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"3\x82\xd3\xe4\x93\x02-"+/viam/api/v1/service/slam/{name}/do_commandB;\n\x18com.viam.service.slam.v1Z\x1fgo.viam.com/api/service/slam/v1b\x06proto3')
10
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
11
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'service.slam.v1.slam_pb2', globals())
12
- if _descriptor._USE_C_DESCRIPTORS == False:
13
- DESCRIPTOR._options = None
14
- DESCRIPTOR._serialized_options = b'\n\x18com.viam.service.slam.v1Z\x1fgo.viam.com/api/service/slam/v1'
15
- _SLAMSERVICE.methods_by_name['GetPosition']._options = None
16
- _SLAMSERVICE.methods_by_name['GetPosition']._serialized_options = b'\x82\xd3\xe4\x93\x02+\x12)/viam/api/v1/service/slam/{name}/position'
17
- _SLAMSERVICE.methods_by_name['GetPointCloudMap']._options = None
18
- _SLAMSERVICE.methods_by_name['GetPointCloudMap']._serialized_options = b'\x82\xd3\xe4\x93\x022\x120/viam/api/v1/service/slam/{name}/point_cloud_map'
19
- _SLAMSERVICE.methods_by_name['GetInternalState']._options = None
20
- _SLAMSERVICE.methods_by_name['GetInternalState']._serialized_options = b'\x82\xd3\xe4\x93\x021\x12//viam/api/v1/service/slam/{name}/internal_state'
21
- _SLAMSERVICE.methods_by_name['GetProperties']._options = None
22
- _SLAMSERVICE.methods_by_name['GetProperties']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/service/slam/{name}/properties'
23
- _SLAMSERVICE.methods_by_name['DoCommand']._options = None
24
- _SLAMSERVICE.methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x02-"+/viam/api/v1/service/slam/{name}/do_command'
25
- _MAPPINGMODE._serialized_start = 953
26
- _MAPPINGMODE._serialized_end = 1099
27
- _SENSORTYPE._serialized_start = 1101
28
- _SENSORTYPE._serialized_end = 1199
29
- _GETPOSITIONREQUEST._serialized_start = 106
30
- _GETPOSITIONREQUEST._serialized_end = 146
31
- _GETPOSITIONRESPONSE._serialized_start = 148
32
- _GETPOSITIONRESPONSE._serialized_end = 211
33
- _GETPOINTCLOUDMAPREQUEST._serialized_start = 213
34
- _GETPOINTCLOUDMAPREQUEST._serialized_end = 329
35
- _GETPOINTCLOUDMAPRESPONSE._serialized_start = 331
36
- _GETPOINTCLOUDMAPRESPONSE._serialized_end = 408
37
- _GETINTERNALSTATEREQUEST._serialized_start = 410
38
- _GETINTERNALSTATEREQUEST._serialized_end = 455
39
- _GETINTERNALSTATERESPONSE._serialized_start = 457
40
- _GETINTERNALSTATERESPONSE._serialized_end = 533
41
- _GETPROPERTIESREQUEST._serialized_start = 535
42
- _GETPROPERTIESREQUEST._serialized_end = 577
43
- _GETPROPERTIESRESPONSE._serialized_start = 580
44
- _GETPROPERTIESRESPONSE._serialized_end = 862
45
- _SENSORINFO._serialized_start = 864
46
- _SENSORINFO._serialized_end = 950
47
- _SLAMSERVICE._serialized_start = 1202
48
- _SLAMSERVICE._serialized_end = 2014
12
+ _globals = globals()
13
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
14
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'service.slam.v1.slam_pb2', _globals)
15
+ if not _descriptor._USE_C_DESCRIPTORS:
16
+ _globals['DESCRIPTOR']._loaded_options = None
17
+ _globals['DESCRIPTOR']._serialized_options = b'\n\x18com.viam.service.slam.v1Z\x1fgo.viam.com/api/service/slam/v1'
18
+ _globals['_SLAMSERVICE'].methods_by_name['GetPosition']._loaded_options = None
19
+ _globals['_SLAMSERVICE'].methods_by_name['GetPosition']._serialized_options = b'\x82\xd3\xe4\x93\x02+\x12)/viam/api/v1/service/slam/{name}/position'
20
+ _globals['_SLAMSERVICE'].methods_by_name['GetPointCloudMap']._loaded_options = None
21
+ _globals['_SLAMSERVICE'].methods_by_name['GetPointCloudMap']._serialized_options = b'\x82\xd3\xe4\x93\x022\x120/viam/api/v1/service/slam/{name}/point_cloud_map'
22
+ _globals['_SLAMSERVICE'].methods_by_name['GetInternalState']._loaded_options = None
23
+ _globals['_SLAMSERVICE'].methods_by_name['GetInternalState']._serialized_options = b'\x82\xd3\xe4\x93\x021\x12//viam/api/v1/service/slam/{name}/internal_state'
24
+ _globals['_SLAMSERVICE'].methods_by_name['GetProperties']._loaded_options = None
25
+ _globals['_SLAMSERVICE'].methods_by_name['GetProperties']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/service/slam/{name}/properties'
26
+ _globals['_SLAMSERVICE'].methods_by_name['DoCommand']._loaded_options = None
27
+ _globals['_SLAMSERVICE'].methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x02-"+/viam/api/v1/service/slam/{name}/do_command'
28
+ _globals['_MAPPINGMODE']._serialized_start = 953
29
+ _globals['_MAPPINGMODE']._serialized_end = 1099
30
+ _globals['_SENSORTYPE']._serialized_start = 1101
31
+ _globals['_SENSORTYPE']._serialized_end = 1199
32
+ _globals['_GETPOSITIONREQUEST']._serialized_start = 106
33
+ _globals['_GETPOSITIONREQUEST']._serialized_end = 146
34
+ _globals['_GETPOSITIONRESPONSE']._serialized_start = 148
35
+ _globals['_GETPOSITIONRESPONSE']._serialized_end = 211
36
+ _globals['_GETPOINTCLOUDMAPREQUEST']._serialized_start = 213
37
+ _globals['_GETPOINTCLOUDMAPREQUEST']._serialized_end = 329
38
+ _globals['_GETPOINTCLOUDMAPRESPONSE']._serialized_start = 331
39
+ _globals['_GETPOINTCLOUDMAPRESPONSE']._serialized_end = 408
40
+ _globals['_GETINTERNALSTATEREQUEST']._serialized_start = 410
41
+ _globals['_GETINTERNALSTATEREQUEST']._serialized_end = 455
42
+ _globals['_GETINTERNALSTATERESPONSE']._serialized_start = 457
43
+ _globals['_GETINTERNALSTATERESPONSE']._serialized_end = 533
44
+ _globals['_GETPROPERTIESREQUEST']._serialized_start = 535
45
+ _globals['_GETPROPERTIESREQUEST']._serialized_end = 577
46
+ _globals['_GETPROPERTIESRESPONSE']._serialized_start = 580
47
+ _globals['_GETPROPERTIESRESPONSE']._serialized_end = 862
48
+ _globals['_SENSORINFO']._serialized_start = 864
49
+ _globals['_SENSORINFO']._serialized_end = 950
50
+ _globals['_SLAMSERVICE']._serialized_start = 1202
51
+ _globals['_SLAMSERVICE']._serialized_end = 2014
@@ -117,7 +117,7 @@ class GetPointCloudMapResponse(google.protobuf.message.Message):
117
117
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
118
118
  POINT_CLOUD_PCD_CHUNK_FIELD_NUMBER: builtins.int
119
119
  point_cloud_pcd_chunk: builtins.bytes
120
- 'One chunk of the PointCloud.\n For a given GetPointCloudMap request, concatenating all\n GetPointCloudMapResponse.point_cloud_pcd_chunk values in the\n order received result in the complete pointcloud in standard PCD\n format where XY is the ground plane and positive Z is up, following\n the Right Hand Rule.\n\n Read more about the pointcloud format here:\n https://pointclouds.org/documentation/tutorials/pcd_file_format.html\n\n Viam expects pointcloud data with fields "x y z" or "x y z rgb", and for\n this to be specified in the pointcloud header in the FIELDS entry. If color\n data is included in the pointcloud, Viam\'s services assume that the color\n value encodes a confidence score for that data point. Viam expects the\n confidence score to be encoded in the blue parameter of the RGB value, on a\n scale from 1-100.\n\n Pointclouds are little endian encoded.\n '
120
+ 'One chunk of the PointCloud.\n For a given GetPointCloudMap request, concatenating all\n GetPointCloudMapResponse.point_cloud_pcd_chunk values in the\n order received result in the complete pointcloud in standard PCD\n format where XY is the ground plane and positive Z is up, following\n the Right Hand Rule.\n\n Read more about the pointcloud format\n [in the docs](https://pointclouds.org/documentation/tutorials/pcd_file_format.html)\n\n Viam expects pointcloud data with fields "x y z" or "x y z rgb", and for\n this to be specified in the pointcloud header in the FIELDS entry. If color\n data is included in the pointcloud, Viam\'s services assume that the color\n value encodes a confidence score for that data point. Viam expects the\n confidence score to be encoded in the blue parameter of the RGB value, on a\n scale from 1-100.\n\n Pointclouds are little endian encoded.\n '
121
121
 
122
122
  def __init__(self, *, point_cloud_pcd_chunk: builtins.bytes=...) -> None:
123
123
  ...
File without changes
File without changes
@@ -0,0 +1,39 @@
1
+ import abc
2
+ import typing
3
+ import grpclib.const
4
+ import grpclib.client
5
+ import grpclib.exceptions
6
+ if typing.TYPE_CHECKING:
7
+ import grpclib.server
8
+ from .... import common
9
+ import google.api.annotations_pb2
10
+ import google.protobuf.struct_pb2
11
+ import google.protobuf.timestamp_pb2
12
+ from .... import service
13
+
14
+ class VideoServiceBase(abc.ABC):
15
+
16
+ @abc.abstractmethod
17
+ async def GetVideo(self, stream: 'grpclib.server.Stream[service.video.v1.video_pb2.GetVideoRequest, service.video.v1.video_pb2.GetVideoResponse]') -> None:
18
+ pass
19
+
20
+ @abc.abstractmethod
21
+ async def DoCommand(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse]') -> None:
22
+ pass
23
+
24
+ def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
25
+ return {'/viam.service.video.v1.VideoService/GetVideo': grpclib.const.Handler(self.GetVideo, grpclib.const.Cardinality.UNARY_STREAM, service.video.v1.video_pb2.GetVideoRequest, service.video.v1.video_pb2.GetVideoResponse), '/viam.service.video.v1.VideoService/DoCommand': grpclib.const.Handler(self.DoCommand, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse)}
26
+
27
+ class UnimplementedVideoServiceBase(VideoServiceBase):
28
+
29
+ async def GetVideo(self, stream: 'grpclib.server.Stream[service.video.v1.video_pb2.GetVideoRequest, service.video.v1.video_pb2.GetVideoResponse]') -> None:
30
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
31
+
32
+ async def DoCommand(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse]') -> None:
33
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
34
+
35
+ class VideoServiceStub:
36
+
37
+ def __init__(self, channel: grpclib.client.Channel) -> None:
38
+ self.GetVideo = grpclib.client.UnaryStreamMethod(channel, '/viam.service.video.v1.VideoService/GetVideo', service.video.v1.video_pb2.GetVideoRequest, service.video.v1.video_pb2.GetVideoResponse)
39
+ self.DoCommand = grpclib.client.UnaryUnaryMethod(channel, '/viam.service.video.v1.VideoService/DoCommand', common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse)