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,52 +1,55 @@
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, '', 'component/inputcontroller/v1/input_controller.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'\n3component/inputcontroller/v1/input_controller.proto\x12!viam.component.inputcontroller.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"c\n\x12GetControlsRequest\x12\x1e\n\ncontroller\x18\x01 \x01(\tR\ncontroller\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"1\n\x13GetControlsResponse\x12\x1a\n\x08controls\x18\x01 \x03(\tR\x08controls"a\n\x10GetEventsRequest\x12\x1e\n\ncontroller\x18\x01 \x01(\tR\ncontroller\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"U\n\x11GetEventsResponse\x12@\n\x06events\x18\x01 \x03(\x0b2(.viam.component.inputcontroller.v1.EventR\x06events"\xa4\x01\n\x13TriggerEventRequest\x12\x1e\n\ncontroller\x18\x01 \x01(\tR\ncontroller\x12>\n\x05event\x18\x02 \x01(\x0b2(.viam.component.inputcontroller.v1.EventR\x05event\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x16\n\x14TriggerEventResponse"}\n\x05Event\x12.\n\x04time\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\x04time\x12\x14\n\x05event\x18\x02 \x01(\tR\x05event\x12\x18\n\x07control\x18\x03 \x01(\tR\x07control\x12\x14\n\x05value\x18\x04 \x01(\x01R\x05value"\xa2\x02\n\x13StreamEventsRequest\x12\x1e\n\ncontroller\x18\x01 \x01(\tR\ncontroller\x12U\n\x06events\x18\x02 \x03(\x0b2=.viam.component.inputcontroller.v1.StreamEventsRequest.EventsR\x06events\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra\x1ae\n\x06Events\x12\x18\n\x07control\x18\x01 \x01(\tR\x07control\x12\x16\n\x06events\x18\x02 \x03(\tR\x06events\x12)\n\x10cancelled_events\x18\x03 \x03(\tR\x0fcancelledEvents"V\n\x14StreamEventsResponse\x12>\n\x05event\x18\x01 \x01(\x0b2(.viam.component.inputcontroller.v1.EventR\x05event"J\n\x06Status\x12@\n\x06events\x18\x01 \x03(\x0b2(.viam.component.inputcontroller.v1.EventR\x06events2\xa7\x08\n\x16InputControllerService\x12\xb8\x01\n\x0bGetControls\x125.viam.component.inputcontroller.v1.GetControlsRequest\x1a6.viam.component.inputcontroller.v1.GetControlsResponse":\x82\xd3\xe4\x93\x024\x122/viam/api/v1/component/input/{controller}/controls\x12\xb0\x01\n\tGetEvents\x123.viam.component.inputcontroller.v1.GetEventsRequest\x1a4.viam.component.inputcontroller.v1.GetEventsResponse"8\x82\xd3\xe4\x93\x022\x120/viam/api/v1/component/input/{controller}/events\x12\xc1\x01\n\x0cStreamEvents\x126.viam.component.inputcontroller.v1.StreamEventsRequest\x1a7.viam.component.inputcontroller.v1.StreamEventsResponse">\x82\xd3\xe4\x93\x028\x126/viam/api/v1/component/input/{controller}/event_stream0\x01\x12\xb8\x01\n\x0cTriggerEvent\x126.viam.component.inputcontroller.v1.TriggerEventRequest\x1a7.viam.component.inputcontroller.v1.TriggerEventResponse"7\x82\xd3\xe4\x93\x021"//viam/api/v1/component/input/{controller}/event\x12\x88\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"6\x82\xd3\xe4\x93\x020"./viam/api/v1/component/input/{name}/do_command\x12\x94\x01\n\rGetGeometries\x12$.viam.common.v1.GetGeometriesRequest\x1a%.viam.common.v1.GetGeometriesResponse"6\x82\xd3\xe4\x93\x020\x12./viam/api/v1/component/input/{name}/geometriesBU\n%com.viam.component.inputcontroller.v1Z,go.viam.com/api/component/inputcontroller/v1b\x06proto3')
12
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
13
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.inputcontroller.v1.input_controller_pb2', globals())
14
- if _descriptor._USE_C_DESCRIPTORS == False:
15
- DESCRIPTOR._options = None
16
- DESCRIPTOR._serialized_options = b'\n%com.viam.component.inputcontroller.v1Z,go.viam.com/api/component/inputcontroller/v1'
17
- _INPUTCONTROLLERSERVICE.methods_by_name['GetControls']._options = None
18
- _INPUTCONTROLLERSERVICE.methods_by_name['GetControls']._serialized_options = b'\x82\xd3\xe4\x93\x024\x122/viam/api/v1/component/input/{controller}/controls'
19
- _INPUTCONTROLLERSERVICE.methods_by_name['GetEvents']._options = None
20
- _INPUTCONTROLLERSERVICE.methods_by_name['GetEvents']._serialized_options = b'\x82\xd3\xe4\x93\x022\x120/viam/api/v1/component/input/{controller}/events'
21
- _INPUTCONTROLLERSERVICE.methods_by_name['StreamEvents']._options = None
22
- _INPUTCONTROLLERSERVICE.methods_by_name['StreamEvents']._serialized_options = b'\x82\xd3\xe4\x93\x028\x126/viam/api/v1/component/input/{controller}/event_stream'
23
- _INPUTCONTROLLERSERVICE.methods_by_name['TriggerEvent']._options = None
24
- _INPUTCONTROLLERSERVICE.methods_by_name['TriggerEvent']._serialized_options = b'\x82\xd3\xe4\x93\x021"//viam/api/v1/component/input/{controller}/event'
25
- _INPUTCONTROLLERSERVICE.methods_by_name['DoCommand']._options = None
26
- _INPUTCONTROLLERSERVICE.methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x020"./viam/api/v1/component/input/{name}/do_command'
27
- _INPUTCONTROLLERSERVICE.methods_by_name['GetGeometries']._options = None
28
- _INPUTCONTROLLERSERVICE.methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x020\x12./viam/api/v1/component/input/{name}/geometries'
29
- _GETCONTROLSREQUEST._serialized_start = 207
30
- _GETCONTROLSREQUEST._serialized_end = 306
31
- _GETCONTROLSRESPONSE._serialized_start = 308
32
- _GETCONTROLSRESPONSE._serialized_end = 357
33
- _GETEVENTSREQUEST._serialized_start = 359
34
- _GETEVENTSREQUEST._serialized_end = 456
35
- _GETEVENTSRESPONSE._serialized_start = 458
36
- _GETEVENTSRESPONSE._serialized_end = 543
37
- _TRIGGEREVENTREQUEST._serialized_start = 546
38
- _TRIGGEREVENTREQUEST._serialized_end = 710
39
- _TRIGGEREVENTRESPONSE._serialized_start = 712
40
- _TRIGGEREVENTRESPONSE._serialized_end = 734
41
- _EVENT._serialized_start = 736
42
- _EVENT._serialized_end = 861
43
- _STREAMEVENTSREQUEST._serialized_start = 864
44
- _STREAMEVENTSREQUEST._serialized_end = 1154
45
- _STREAMEVENTSREQUEST_EVENTS._serialized_start = 1053
46
- _STREAMEVENTSREQUEST_EVENTS._serialized_end = 1154
47
- _STREAMEVENTSRESPONSE._serialized_start = 1156
48
- _STREAMEVENTSRESPONSE._serialized_end = 1242
49
- _STATUS._serialized_start = 1244
50
- _STATUS._serialized_end = 1318
51
- _INPUTCONTROLLERSERVICE._serialized_start = 1321
52
- _INPUTCONTROLLERSERVICE._serialized_end = 2384
14
+ _globals = globals()
15
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
16
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.inputcontroller.v1.input_controller_pb2', _globals)
17
+ if not _descriptor._USE_C_DESCRIPTORS:
18
+ _globals['DESCRIPTOR']._loaded_options = None
19
+ _globals['DESCRIPTOR']._serialized_options = b'\n%com.viam.component.inputcontroller.v1Z,go.viam.com/api/component/inputcontroller/v1'
20
+ _globals['_INPUTCONTROLLERSERVICE'].methods_by_name['GetControls']._loaded_options = None
21
+ _globals['_INPUTCONTROLLERSERVICE'].methods_by_name['GetControls']._serialized_options = b'\x82\xd3\xe4\x93\x024\x122/viam/api/v1/component/input/{controller}/controls'
22
+ _globals['_INPUTCONTROLLERSERVICE'].methods_by_name['GetEvents']._loaded_options = None
23
+ _globals['_INPUTCONTROLLERSERVICE'].methods_by_name['GetEvents']._serialized_options = b'\x82\xd3\xe4\x93\x022\x120/viam/api/v1/component/input/{controller}/events'
24
+ _globals['_INPUTCONTROLLERSERVICE'].methods_by_name['StreamEvents']._loaded_options = None
25
+ _globals['_INPUTCONTROLLERSERVICE'].methods_by_name['StreamEvents']._serialized_options = b'\x82\xd3\xe4\x93\x028\x126/viam/api/v1/component/input/{controller}/event_stream'
26
+ _globals['_INPUTCONTROLLERSERVICE'].methods_by_name['TriggerEvent']._loaded_options = None
27
+ _globals['_INPUTCONTROLLERSERVICE'].methods_by_name['TriggerEvent']._serialized_options = b'\x82\xd3\xe4\x93\x021"//viam/api/v1/component/input/{controller}/event'
28
+ _globals['_INPUTCONTROLLERSERVICE'].methods_by_name['DoCommand']._loaded_options = None
29
+ _globals['_INPUTCONTROLLERSERVICE'].methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x020"./viam/api/v1/component/input/{name}/do_command'
30
+ _globals['_INPUTCONTROLLERSERVICE'].methods_by_name['GetGeometries']._loaded_options = None
31
+ _globals['_INPUTCONTROLLERSERVICE'].methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x020\x12./viam/api/v1/component/input/{name}/geometries'
32
+ _globals['_GETCONTROLSREQUEST']._serialized_start = 207
33
+ _globals['_GETCONTROLSREQUEST']._serialized_end = 306
34
+ _globals['_GETCONTROLSRESPONSE']._serialized_start = 308
35
+ _globals['_GETCONTROLSRESPONSE']._serialized_end = 357
36
+ _globals['_GETEVENTSREQUEST']._serialized_start = 359
37
+ _globals['_GETEVENTSREQUEST']._serialized_end = 456
38
+ _globals['_GETEVENTSRESPONSE']._serialized_start = 458
39
+ _globals['_GETEVENTSRESPONSE']._serialized_end = 543
40
+ _globals['_TRIGGEREVENTREQUEST']._serialized_start = 546
41
+ _globals['_TRIGGEREVENTREQUEST']._serialized_end = 710
42
+ _globals['_TRIGGEREVENTRESPONSE']._serialized_start = 712
43
+ _globals['_TRIGGEREVENTRESPONSE']._serialized_end = 734
44
+ _globals['_EVENT']._serialized_start = 736
45
+ _globals['_EVENT']._serialized_end = 861
46
+ _globals['_STREAMEVENTSREQUEST']._serialized_start = 864
47
+ _globals['_STREAMEVENTSREQUEST']._serialized_end = 1154
48
+ _globals['_STREAMEVENTSREQUEST_EVENTS']._serialized_start = 1053
49
+ _globals['_STREAMEVENTSREQUEST_EVENTS']._serialized_end = 1154
50
+ _globals['_STREAMEVENTSRESPONSE']._serialized_start = 1156
51
+ _globals['_STREAMEVENTSRESPONSE']._serialized_end = 1242
52
+ _globals['_STATUS']._serialized_start = 1244
53
+ _globals['_STATUS']._serialized_end = 1318
54
+ _globals['_INPUTCONTROLLERSERVICE']._serialized_start = 1321
55
+ _globals['_INPUTCONTROLLERSERVICE']._serialized_end = 2384
@@ -1,83 +1,86 @@
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, '', 'component/motor/v1/motor.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\x1ecomponent/motor/v1/motor.proto\x12\x17viam.component.motor.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto"q\n\x0fSetPowerRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tpower_pct\x18\x02 \x01(\x01R\x08powerPct\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x12\n\x10SetPowerResponse"\x85\x01\n\x0cGoForRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x10\n\x03rpm\x18\x02 \x01(\x01R\x03rpm\x12 \n\x0brevolutions\x18\x03 \x01(\x01R\x0brevolutions\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x0f\n\rGoForResponse"\x95\x01\n\x0bGoToRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x10\n\x03rpm\x18\x02 \x01(\x01R\x03rpm\x121\n\x14position_revolutions\x18\x03 \x01(\x01R\x13positionRevolutions\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x0e\n\x0cGoToResponse"d\n\rSetRPMRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x10\n\x03rpm\x18\x02 \x01(\x01R\x03rpm\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x10\n\x0eSetRPMResponse"u\n\x18ResetZeroPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06offset\x18\x02 \x01(\x01R\x06offset\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x1b\n\x19ResetZeroPositionResponse"W\n\x12GetPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"1\n\x13GetPositionResponse\x12\x1a\n\x08position\x18\x01 \x01(\x01R\x08position"P\n\x0bStopRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x0e\n\x0cStopResponse"U\n\x10IsPoweredRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"E\n\x11IsPoweredResponse\x12\x13\n\x05is_on\x18\x01 \x01(\x08R\x04isOn\x12\x1b\n\tpower_pct\x18\x02 \x01(\x01R\x08powerPct"Y\n\x14GetPropertiesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"F\n\x15GetPropertiesResponse\x12-\n\x12position_reporting\x18\x01 \x01(\x08R\x11positionReporting"`\n\x06Status\x12\x1d\n\nis_powered\x18\x01 \x01(\x08R\tisPowered\x12\x1a\n\x08position\x18\x03 \x01(\x01R\x08position\x12\x1b\n\tis_moving\x18\x04 \x01(\x08R\x08isMoving"%\n\x0fIsMovingRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"/\n\x10IsMovingResponse\x12\x1b\n\tis_moving\x18\x01 \x01(\x08R\x08isMoving2\xae\x0e\n\x0cMotorService\x12\x96\x01\n\x08SetPower\x12(.viam.component.motor.v1.SetPowerRequest\x1a).viam.component.motor.v1.SetPowerResponse"5\xa0\x92)\x01\x82\xd3\xe4\x93\x02+\x1a)/viam/api/v1/component/motor/{name}/power\x12\x8e\x01\n\x05GoFor\x12%.viam.component.motor.v1.GoForRequest\x1a&.viam.component.motor.v1.GoForResponse"6\xa0\x92)\x01\x82\xd3\xe4\x93\x02,\x1a*/viam/api/v1/component/motor/{name}/go_for\x12\x8a\x01\n\x04GoTo\x12$.viam.component.motor.v1.GoToRequest\x1a%.viam.component.motor.v1.GoToResponse"5\xa0\x92)\x01\x82\xd3\xe4\x93\x02+\x1a)/viam/api/v1/component/motor/{name}/go_to\x12\x92\x01\n\x06SetRPM\x12&.viam.component.motor.v1.SetRPMRequest\x1a\'.viam.component.motor.v1.SetRPMResponse"7\xa0\x92)\x01\x82\xd3\xe4\x93\x02-\x1a+/viam/api/v1/component/motor/{name}/set_rpm\x12\xac\x01\n\x11ResetZeroPosition\x121.viam.component.motor.v1.ResetZeroPositionRequest\x1a2.viam.component.motor.v1.ResetZeroPositionResponse"0\x82\xd3\xe4\x93\x02*\x1a(/viam/api/v1/component/motor/{name}/zero\x12\x9e\x01\n\x0bGetPosition\x12+.viam.component.motor.v1.GetPositionRequest\x1a,.viam.component.motor.v1.GetPositionResponse"4\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/motor/{name}/position\x12\xa4\x01\n\rGetProperties\x12-.viam.component.motor.v1.GetPropertiesRequest\x1a..viam.component.motor.v1.GetPropertiesResponse"4\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/motor/{name}/features\x12\x85\x01\n\x04Stop\x12$.viam.component.motor.v1.StopRequest\x1a%.viam.component.motor.v1.StopResponse"0\x82\xd3\xe4\x93\x02*\x1a(/viam/api/v1/component/motor/{name}/stop\x12\x97\x01\n\tIsPowered\x12).viam.component.motor.v1.IsPoweredRequest\x1a*.viam.component.motor.v1.IsPoweredResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/motor/{name}/powered\x12\x96\x01\n\x08IsMoving\x12(.viam.component.motor.v1.IsMovingRequest\x1a).viam.component.motor.v1.IsMovingResponse"5\x82\xd3\xe4\x93\x02/\x12-/viam/api/v1/component/motor/{name}/is_moving\x12\x88\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"6\x82\xd3\xe4\x93\x020"./viam/api/v1/component/motor/{name}/do_command\x12\x94\x01\n\rGetGeometries\x12$.viam.common.v1.GetGeometriesRequest\x1a%.viam.common.v1.GetGeometriesResponse"6\x82\xd3\xe4\x93\x020\x12./viam/api/v1/component/motor/{name}/geometriesBA\n\x1bcom.viam.component.motor.v1Z"go.viam.com/api/component/motor/v1b\x06proto3')
11
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
12
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.motor.v1.motor_pb2', globals())
13
- if _descriptor._USE_C_DESCRIPTORS == False:
14
- DESCRIPTOR._options = None
15
- DESCRIPTOR._serialized_options = b'\n\x1bcom.viam.component.motor.v1Z"go.viam.com/api/component/motor/v1'
16
- _MOTORSERVICE.methods_by_name['SetPower']._options = None
17
- _MOTORSERVICE.methods_by_name['SetPower']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02+\x1a)/viam/api/v1/component/motor/{name}/power'
18
- _MOTORSERVICE.methods_by_name['GoFor']._options = None
19
- _MOTORSERVICE.methods_by_name['GoFor']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02,\x1a*/viam/api/v1/component/motor/{name}/go_for'
20
- _MOTORSERVICE.methods_by_name['GoTo']._options = None
21
- _MOTORSERVICE.methods_by_name['GoTo']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02+\x1a)/viam/api/v1/component/motor/{name}/go_to'
22
- _MOTORSERVICE.methods_by_name['SetRPM']._options = None
23
- _MOTORSERVICE.methods_by_name['SetRPM']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02-\x1a+/viam/api/v1/component/motor/{name}/set_rpm'
24
- _MOTORSERVICE.methods_by_name['ResetZeroPosition']._options = None
25
- _MOTORSERVICE.methods_by_name['ResetZeroPosition']._serialized_options = b'\x82\xd3\xe4\x93\x02*\x1a(/viam/api/v1/component/motor/{name}/zero'
26
- _MOTORSERVICE.methods_by_name['GetPosition']._options = None
27
- _MOTORSERVICE.methods_by_name['GetPosition']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/motor/{name}/position'
28
- _MOTORSERVICE.methods_by_name['GetProperties']._options = None
29
- _MOTORSERVICE.methods_by_name['GetProperties']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/motor/{name}/features'
30
- _MOTORSERVICE.methods_by_name['Stop']._options = None
31
- _MOTORSERVICE.methods_by_name['Stop']._serialized_options = b'\x82\xd3\xe4\x93\x02*\x1a(/viam/api/v1/component/motor/{name}/stop'
32
- _MOTORSERVICE.methods_by_name['IsPowered']._options = None
33
- _MOTORSERVICE.methods_by_name['IsPowered']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/motor/{name}/powered'
34
- _MOTORSERVICE.methods_by_name['IsMoving']._options = None
35
- _MOTORSERVICE.methods_by_name['IsMoving']._serialized_options = b'\x82\xd3\xe4\x93\x02/\x12-/viam/api/v1/component/motor/{name}/is_moving'
36
- _MOTORSERVICE.methods_by_name['DoCommand']._options = None
37
- _MOTORSERVICE.methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x020"./viam/api/v1/component/motor/{name}/do_command'
38
- _MOTORSERVICE.methods_by_name['GetGeometries']._options = None
39
- _MOTORSERVICE.methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x020\x12./viam/api/v1/component/motor/{name}/geometries'
40
- _SETPOWERREQUEST._serialized_start = 143
41
- _SETPOWERREQUEST._serialized_end = 256
42
- _SETPOWERRESPONSE._serialized_start = 258
43
- _SETPOWERRESPONSE._serialized_end = 276
44
- _GOFORREQUEST._serialized_start = 279
45
- _GOFORREQUEST._serialized_end = 412
46
- _GOFORRESPONSE._serialized_start = 414
47
- _GOFORRESPONSE._serialized_end = 429
48
- _GOTOREQUEST._serialized_start = 432
49
- _GOTOREQUEST._serialized_end = 581
50
- _GOTORESPONSE._serialized_start = 583
51
- _GOTORESPONSE._serialized_end = 597
52
- _SETRPMREQUEST._serialized_start = 599
53
- _SETRPMREQUEST._serialized_end = 699
54
- _SETRPMRESPONSE._serialized_start = 701
55
- _SETRPMRESPONSE._serialized_end = 717
56
- _RESETZEROPOSITIONREQUEST._serialized_start = 719
57
- _RESETZEROPOSITIONREQUEST._serialized_end = 836
58
- _RESETZEROPOSITIONRESPONSE._serialized_start = 838
59
- _RESETZEROPOSITIONRESPONSE._serialized_end = 865
60
- _GETPOSITIONREQUEST._serialized_start = 867
61
- _GETPOSITIONREQUEST._serialized_end = 954
62
- _GETPOSITIONRESPONSE._serialized_start = 956
63
- _GETPOSITIONRESPONSE._serialized_end = 1005
64
- _STOPREQUEST._serialized_start = 1007
65
- _STOPREQUEST._serialized_end = 1087
66
- _STOPRESPONSE._serialized_start = 1089
67
- _STOPRESPONSE._serialized_end = 1103
68
- _ISPOWEREDREQUEST._serialized_start = 1105
69
- _ISPOWEREDREQUEST._serialized_end = 1190
70
- _ISPOWEREDRESPONSE._serialized_start = 1192
71
- _ISPOWEREDRESPONSE._serialized_end = 1261
72
- _GETPROPERTIESREQUEST._serialized_start = 1263
73
- _GETPROPERTIESREQUEST._serialized_end = 1352
74
- _GETPROPERTIESRESPONSE._serialized_start = 1354
75
- _GETPROPERTIESRESPONSE._serialized_end = 1424
76
- _STATUS._serialized_start = 1426
77
- _STATUS._serialized_end = 1522
78
- _ISMOVINGREQUEST._serialized_start = 1524
79
- _ISMOVINGREQUEST._serialized_end = 1561
80
- _ISMOVINGRESPONSE._serialized_start = 1563
81
- _ISMOVINGRESPONSE._serialized_end = 1610
82
- _MOTORSERVICE._serialized_start = 1613
83
- _MOTORSERVICE._serialized_end = 3451
13
+ _globals = globals()
14
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
15
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.motor.v1.motor_pb2', _globals)
16
+ if not _descriptor._USE_C_DESCRIPTORS:
17
+ _globals['DESCRIPTOR']._loaded_options = None
18
+ _globals['DESCRIPTOR']._serialized_options = b'\n\x1bcom.viam.component.motor.v1Z"go.viam.com/api/component/motor/v1'
19
+ _globals['_MOTORSERVICE'].methods_by_name['SetPower']._loaded_options = None
20
+ _globals['_MOTORSERVICE'].methods_by_name['SetPower']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02+\x1a)/viam/api/v1/component/motor/{name}/power'
21
+ _globals['_MOTORSERVICE'].methods_by_name['GoFor']._loaded_options = None
22
+ _globals['_MOTORSERVICE'].methods_by_name['GoFor']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02,\x1a*/viam/api/v1/component/motor/{name}/go_for'
23
+ _globals['_MOTORSERVICE'].methods_by_name['GoTo']._loaded_options = None
24
+ _globals['_MOTORSERVICE'].methods_by_name['GoTo']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02+\x1a)/viam/api/v1/component/motor/{name}/go_to'
25
+ _globals['_MOTORSERVICE'].methods_by_name['SetRPM']._loaded_options = None
26
+ _globals['_MOTORSERVICE'].methods_by_name['SetRPM']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02-\x1a+/viam/api/v1/component/motor/{name}/set_rpm'
27
+ _globals['_MOTORSERVICE'].methods_by_name['ResetZeroPosition']._loaded_options = None
28
+ _globals['_MOTORSERVICE'].methods_by_name['ResetZeroPosition']._serialized_options = b'\x82\xd3\xe4\x93\x02*\x1a(/viam/api/v1/component/motor/{name}/zero'
29
+ _globals['_MOTORSERVICE'].methods_by_name['GetPosition']._loaded_options = None
30
+ _globals['_MOTORSERVICE'].methods_by_name['GetPosition']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/motor/{name}/position'
31
+ _globals['_MOTORSERVICE'].methods_by_name['GetProperties']._loaded_options = None
32
+ _globals['_MOTORSERVICE'].methods_by_name['GetProperties']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/motor/{name}/features'
33
+ _globals['_MOTORSERVICE'].methods_by_name['Stop']._loaded_options = None
34
+ _globals['_MOTORSERVICE'].methods_by_name['Stop']._serialized_options = b'\x82\xd3\xe4\x93\x02*\x1a(/viam/api/v1/component/motor/{name}/stop'
35
+ _globals['_MOTORSERVICE'].methods_by_name['IsPowered']._loaded_options = None
36
+ _globals['_MOTORSERVICE'].methods_by_name['IsPowered']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/motor/{name}/powered'
37
+ _globals['_MOTORSERVICE'].methods_by_name['IsMoving']._loaded_options = None
38
+ _globals['_MOTORSERVICE'].methods_by_name['IsMoving']._serialized_options = b'\x82\xd3\xe4\x93\x02/\x12-/viam/api/v1/component/motor/{name}/is_moving'
39
+ _globals['_MOTORSERVICE'].methods_by_name['DoCommand']._loaded_options = None
40
+ _globals['_MOTORSERVICE'].methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x020"./viam/api/v1/component/motor/{name}/do_command'
41
+ _globals['_MOTORSERVICE'].methods_by_name['GetGeometries']._loaded_options = None
42
+ _globals['_MOTORSERVICE'].methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x020\x12./viam/api/v1/component/motor/{name}/geometries'
43
+ _globals['_SETPOWERREQUEST']._serialized_start = 143
44
+ _globals['_SETPOWERREQUEST']._serialized_end = 256
45
+ _globals['_SETPOWERRESPONSE']._serialized_start = 258
46
+ _globals['_SETPOWERRESPONSE']._serialized_end = 276
47
+ _globals['_GOFORREQUEST']._serialized_start = 279
48
+ _globals['_GOFORREQUEST']._serialized_end = 412
49
+ _globals['_GOFORRESPONSE']._serialized_start = 414
50
+ _globals['_GOFORRESPONSE']._serialized_end = 429
51
+ _globals['_GOTOREQUEST']._serialized_start = 432
52
+ _globals['_GOTOREQUEST']._serialized_end = 581
53
+ _globals['_GOTORESPONSE']._serialized_start = 583
54
+ _globals['_GOTORESPONSE']._serialized_end = 597
55
+ _globals['_SETRPMREQUEST']._serialized_start = 599
56
+ _globals['_SETRPMREQUEST']._serialized_end = 699
57
+ _globals['_SETRPMRESPONSE']._serialized_start = 701
58
+ _globals['_SETRPMRESPONSE']._serialized_end = 717
59
+ _globals['_RESETZEROPOSITIONREQUEST']._serialized_start = 719
60
+ _globals['_RESETZEROPOSITIONREQUEST']._serialized_end = 836
61
+ _globals['_RESETZEROPOSITIONRESPONSE']._serialized_start = 838
62
+ _globals['_RESETZEROPOSITIONRESPONSE']._serialized_end = 865
63
+ _globals['_GETPOSITIONREQUEST']._serialized_start = 867
64
+ _globals['_GETPOSITIONREQUEST']._serialized_end = 954
65
+ _globals['_GETPOSITIONRESPONSE']._serialized_start = 956
66
+ _globals['_GETPOSITIONRESPONSE']._serialized_end = 1005
67
+ _globals['_STOPREQUEST']._serialized_start = 1007
68
+ _globals['_STOPREQUEST']._serialized_end = 1087
69
+ _globals['_STOPRESPONSE']._serialized_start = 1089
70
+ _globals['_STOPRESPONSE']._serialized_end = 1103
71
+ _globals['_ISPOWEREDREQUEST']._serialized_start = 1105
72
+ _globals['_ISPOWEREDREQUEST']._serialized_end = 1190
73
+ _globals['_ISPOWEREDRESPONSE']._serialized_start = 1192
74
+ _globals['_ISPOWEREDRESPONSE']._serialized_end = 1261
75
+ _globals['_GETPROPERTIESREQUEST']._serialized_start = 1263
76
+ _globals['_GETPROPERTIESREQUEST']._serialized_end = 1352
77
+ _globals['_GETPROPERTIESRESPONSE']._serialized_start = 1354
78
+ _globals['_GETPROPERTIESRESPONSE']._serialized_end = 1424
79
+ _globals['_STATUS']._serialized_start = 1426
80
+ _globals['_STATUS']._serialized_end = 1522
81
+ _globals['_ISMOVINGREQUEST']._serialized_start = 1524
82
+ _globals['_ISMOVINGREQUEST']._serialized_end = 1561
83
+ _globals['_ISMOVINGRESPONSE']._serialized_start = 1563
84
+ _globals['_ISMOVINGRESPONSE']._serialized_end = 1610
85
+ _globals['_MOTORSERVICE']._serialized_start = 1613
86
+ _globals['_MOTORSERVICE']._serialized_end = 3451
@@ -1,75 +1,78 @@
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, '', 'component/movementsensor/v1/movementsensor.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'\n0component/movementsensor/v1/movementsensor.proto\x12 viam.component.movementsensor.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto"]\n\x18GetLinearVelocityRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"]\n\x19GetLinearVelocityResponse\x12@\n\x0flinear_velocity\x18\x01 \x01(\x0b2\x17.viam.common.v1.Vector3R\x0elinearVelocity"^\n\x19GetAngularVelocityRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"`\n\x1aGetAngularVelocityResponse\x12B\n\x10angular_velocity\x18\x01 \x01(\x0b2\x17.viam.common.v1.Vector3R\x0fangularVelocity"]\n\x18GetCompassHeadingRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"1\n\x19GetCompassHeadingResponse\x12\x14\n\x05value\x18\x01 \x01(\x01R\x05value"Z\n\x15GetOrientationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"W\n\x16GetOrientationResponse\x12=\n\x0borientation\x18\x01 \x01(\x0b2\x1b.viam.common.v1.OrientationR\x0borientation"W\n\x12GetPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"n\n\x13GetPositionResponse\x128\n\ncoordinate\x18\x01 \x01(\x0b2\x18.viam.common.v1.GeoPointR\ncoordinate\x12\x1d\n\naltitude_m\x18\x02 \x01(\x02R\taltitudeM"Y\n\x14GetPropertiesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xf5\x02\n\x15GetPropertiesResponse\x12:\n\x19linear_velocity_supported\x18\x01 \x01(\x08R\x17linearVelocitySupported\x12<\n\x1aangular_velocity_supported\x18\x02 \x01(\x08R\x18angularVelocitySupported\x123\n\x15orientation_supported\x18\x03 \x01(\x08R\x14orientationSupported\x12-\n\x12position_supported\x18\x04 \x01(\x08R\x11positionSupported\x12:\n\x19compass_heading_supported\x18\x05 \x01(\x08R\x17compassHeadingSupported\x12B\n\x1dlinear_acceleration_supported\x18\x06 \x01(\x08R\x1blinearAccelerationSupported"W\n\x12GetAccuracyRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xd0\x03\n\x13GetAccuracyResponse\x12_\n\x08accuracy\x18\x01 \x03(\x0b2C.viam.component.movementsensor.v1.GetAccuracyResponse.AccuracyEntryR\x08accuracy\x12(\n\rposition_hdop\x18\x02 \x01(\x02H\x00R\x0cpositionHdop\x88\x01\x01\x12(\n\rposition_vdop\x18\x03 \x01(\x02H\x01R\x0cpositionVdop\x88\x01\x01\x126\n\x15position_nmea_gga_fix\x18\x04 \x01(\x05H\x02R\x12positionNmeaGgaFix\x88\x01\x01\x127\n\x15compass_degrees_error\x18\x05 \x01(\x02H\x03R\x13compassDegreesError\x88\x01\x01\x1a;\n\rAccuracyEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x02R\x05value:\x028\x01B\x10\n\x0e_position_hdopB\x10\n\x0e_position_vdopB\x18\n\x16_position_nmea_gga_fixB\x18\n\x16_compass_degrees_error"a\n\x1cGetLinearAccelerationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"i\n\x1dGetLinearAccelerationResponse\x12H\n\x13linear_acceleration\x18\x01 \x01(\x0b2\x17.viam.common.v1.Vector3R\x12linearAcceleration2\xcf\x10\n\x15MovementSensorService\x12\xd2\x01\n\x11GetLinearVelocity\x12:.viam.component.movementsensor.v1.GetLinearVelocityRequest\x1a;.viam.component.movementsensor.v1.GetLinearVelocityResponse"D\x82\xd3\xe4\x93\x02>\x12</viam/api/v1/component/movementsensor/{name}/linear_velocity\x12\xd6\x01\n\x12GetAngularVelocity\x12;.viam.component.movementsensor.v1.GetAngularVelocityRequest\x1a<.viam.component.movementsensor.v1.GetAngularVelocityResponse"E\x82\xd3\xe4\x93\x02?\x12=/viam/api/v1/component/movementsensor/{name}/angular_velocity\x12\xd2\x01\n\x11GetCompassHeading\x12:.viam.component.movementsensor.v1.GetCompassHeadingRequest\x1a;.viam.component.movementsensor.v1.GetCompassHeadingResponse"D\x82\xd3\xe4\x93\x02>\x12</viam/api/v1/component/movementsensor/{name}/compass_heading\x12\xc5\x01\n\x0eGetOrientation\x127.viam.component.movementsensor.v1.GetOrientationRequest\x1a8.viam.component.movementsensor.v1.GetOrientationResponse"@\x82\xd3\xe4\x93\x02:\x128/viam/api/v1/component/movementsensor/{name}/orientation\x12\xb9\x01\n\x0bGetPosition\x124.viam.component.movementsensor.v1.GetPositionRequest\x1a5.viam.component.movementsensor.v1.GetPositionResponse"=\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/position\x12\xc1\x01\n\rGetProperties\x126.viam.component.movementsensor.v1.GetPropertiesRequest\x1a7.viam.component.movementsensor.v1.GetPropertiesResponse"?\x82\xd3\xe4\x93\x029\x127/viam/api/v1/component/movementsensor/{name}/properties\x12\xb9\x01\n\x0bGetAccuracy\x124.viam.component.movementsensor.v1.GetAccuracyRequest\x1a5.viam.component.movementsensor.v1.GetAccuracyResponse"=\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/accuracy\x12\xe2\x01\n\x15GetLinearAcceleration\x12>.viam.component.movementsensor.v1.GetLinearAccelerationRequest\x1a?.viam.component.movementsensor.v1.GetLinearAccelerationResponse"H\x82\xd3\xe4\x93\x02B\x12@/viam/api/v1/component/movementsensor/{name}/linear_acceleration\x12\x91\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"?\x82\xd3\xe4\x93\x029"7/viam/api/v1/component/movementsensor/{name}/do_command\x12\x9d\x01\n\rGetGeometries\x12$.viam.common.v1.GetGeometriesRequest\x1a%.viam.common.v1.GetGeometriesResponse"?\x82\xd3\xe4\x93\x029\x127/viam/api/v1/component/movementsensor/{name}/geometries\x12\x95\x01\n\x0bGetReadings\x12".viam.common.v1.GetReadingsRequest\x1a#.viam.common.v1.GetReadingsResponse"=\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/readingsBS\n$com.viam.component.movementsensor.v1Z+go.viam.com/api/component/movementsensor/v1b\x06proto3')
11
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
12
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.movementsensor.v1.movementsensor_pb2', globals())
13
- if _descriptor._USE_C_DESCRIPTORS == False:
14
- DESCRIPTOR._options = None
15
- DESCRIPTOR._serialized_options = b'\n$com.viam.component.movementsensor.v1Z+go.viam.com/api/component/movementsensor/v1'
16
- _GETACCURACYRESPONSE_ACCURACYENTRY._options = None
17
- _GETACCURACYRESPONSE_ACCURACYENTRY._serialized_options = b'8\x01'
18
- _MOVEMENTSENSORSERVICE.methods_by_name['GetLinearVelocity']._options = None
19
- _MOVEMENTSENSORSERVICE.methods_by_name['GetLinearVelocity']._serialized_options = b'\x82\xd3\xe4\x93\x02>\x12</viam/api/v1/component/movementsensor/{name}/linear_velocity'
20
- _MOVEMENTSENSORSERVICE.methods_by_name['GetAngularVelocity']._options = None
21
- _MOVEMENTSENSORSERVICE.methods_by_name['GetAngularVelocity']._serialized_options = b'\x82\xd3\xe4\x93\x02?\x12=/viam/api/v1/component/movementsensor/{name}/angular_velocity'
22
- _MOVEMENTSENSORSERVICE.methods_by_name['GetCompassHeading']._options = None
23
- _MOVEMENTSENSORSERVICE.methods_by_name['GetCompassHeading']._serialized_options = b'\x82\xd3\xe4\x93\x02>\x12</viam/api/v1/component/movementsensor/{name}/compass_heading'
24
- _MOVEMENTSENSORSERVICE.methods_by_name['GetOrientation']._options = None
25
- _MOVEMENTSENSORSERVICE.methods_by_name['GetOrientation']._serialized_options = b'\x82\xd3\xe4\x93\x02:\x128/viam/api/v1/component/movementsensor/{name}/orientation'
26
- _MOVEMENTSENSORSERVICE.methods_by_name['GetPosition']._options = None
27
- _MOVEMENTSENSORSERVICE.methods_by_name['GetPosition']._serialized_options = b'\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/position'
28
- _MOVEMENTSENSORSERVICE.methods_by_name['GetProperties']._options = None
29
- _MOVEMENTSENSORSERVICE.methods_by_name['GetProperties']._serialized_options = b'\x82\xd3\xe4\x93\x029\x127/viam/api/v1/component/movementsensor/{name}/properties'
30
- _MOVEMENTSENSORSERVICE.methods_by_name['GetAccuracy']._options = None
31
- _MOVEMENTSENSORSERVICE.methods_by_name['GetAccuracy']._serialized_options = b'\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/accuracy'
32
- _MOVEMENTSENSORSERVICE.methods_by_name['GetLinearAcceleration']._options = None
33
- _MOVEMENTSENSORSERVICE.methods_by_name['GetLinearAcceleration']._serialized_options = b'\x82\xd3\xe4\x93\x02B\x12@/viam/api/v1/component/movementsensor/{name}/linear_acceleration'
34
- _MOVEMENTSENSORSERVICE.methods_by_name['DoCommand']._options = None
35
- _MOVEMENTSENSORSERVICE.methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x029"7/viam/api/v1/component/movementsensor/{name}/do_command'
36
- _MOVEMENTSENSORSERVICE.methods_by_name['GetGeometries']._options = None
37
- _MOVEMENTSENSORSERVICE.methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x029\x127/viam/api/v1/component/movementsensor/{name}/geometries'
38
- _MOVEMENTSENSORSERVICE.methods_by_name['GetReadings']._options = None
39
- _MOVEMENTSENSORSERVICE.methods_by_name['GetReadings']._serialized_options = b'\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/readings'
40
- _GETLINEARVELOCITYREQUEST._serialized_start = 170
41
- _GETLINEARVELOCITYREQUEST._serialized_end = 263
42
- _GETLINEARVELOCITYRESPONSE._serialized_start = 265
43
- _GETLINEARVELOCITYRESPONSE._serialized_end = 358
44
- _GETANGULARVELOCITYREQUEST._serialized_start = 360
45
- _GETANGULARVELOCITYREQUEST._serialized_end = 454
46
- _GETANGULARVELOCITYRESPONSE._serialized_start = 456
47
- _GETANGULARVELOCITYRESPONSE._serialized_end = 552
48
- _GETCOMPASSHEADINGREQUEST._serialized_start = 554
49
- _GETCOMPASSHEADINGREQUEST._serialized_end = 647
50
- _GETCOMPASSHEADINGRESPONSE._serialized_start = 649
51
- _GETCOMPASSHEADINGRESPONSE._serialized_end = 698
52
- _GETORIENTATIONREQUEST._serialized_start = 700
53
- _GETORIENTATIONREQUEST._serialized_end = 790
54
- _GETORIENTATIONRESPONSE._serialized_start = 792
55
- _GETORIENTATIONRESPONSE._serialized_end = 879
56
- _GETPOSITIONREQUEST._serialized_start = 881
57
- _GETPOSITIONREQUEST._serialized_end = 968
58
- _GETPOSITIONRESPONSE._serialized_start = 970
59
- _GETPOSITIONRESPONSE._serialized_end = 1080
60
- _GETPROPERTIESREQUEST._serialized_start = 1082
61
- _GETPROPERTIESREQUEST._serialized_end = 1171
62
- _GETPROPERTIESRESPONSE._serialized_start = 1174
63
- _GETPROPERTIESRESPONSE._serialized_end = 1547
64
- _GETACCURACYREQUEST._serialized_start = 1549
65
- _GETACCURACYREQUEST._serialized_end = 1636
66
- _GETACCURACYRESPONSE._serialized_start = 1639
67
- _GETACCURACYRESPONSE._serialized_end = 2103
68
- _GETACCURACYRESPONSE_ACCURACYENTRY._serialized_start = 1956
69
- _GETACCURACYRESPONSE_ACCURACYENTRY._serialized_end = 2015
70
- _GETLINEARACCELERATIONREQUEST._serialized_start = 2105
71
- _GETLINEARACCELERATIONREQUEST._serialized_end = 2202
72
- _GETLINEARACCELERATIONRESPONSE._serialized_start = 2204
73
- _GETLINEARACCELERATIONRESPONSE._serialized_end = 2309
74
- _MOVEMENTSENSORSERVICE._serialized_start = 2312
75
- _MOVEMENTSENSORSERVICE._serialized_end = 4439
13
+ _globals = globals()
14
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
15
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.movementsensor.v1.movementsensor_pb2', _globals)
16
+ if not _descriptor._USE_C_DESCRIPTORS:
17
+ _globals['DESCRIPTOR']._loaded_options = None
18
+ _globals['DESCRIPTOR']._serialized_options = b'\n$com.viam.component.movementsensor.v1Z+go.viam.com/api/component/movementsensor/v1'
19
+ _globals['_GETACCURACYRESPONSE_ACCURACYENTRY']._loaded_options = None
20
+ _globals['_GETACCURACYRESPONSE_ACCURACYENTRY']._serialized_options = b'8\x01'
21
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetLinearVelocity']._loaded_options = None
22
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetLinearVelocity']._serialized_options = b'\x82\xd3\xe4\x93\x02>\x12</viam/api/v1/component/movementsensor/{name}/linear_velocity'
23
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetAngularVelocity']._loaded_options = None
24
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetAngularVelocity']._serialized_options = b'\x82\xd3\xe4\x93\x02?\x12=/viam/api/v1/component/movementsensor/{name}/angular_velocity'
25
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetCompassHeading']._loaded_options = None
26
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetCompassHeading']._serialized_options = b'\x82\xd3\xe4\x93\x02>\x12</viam/api/v1/component/movementsensor/{name}/compass_heading'
27
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetOrientation']._loaded_options = None
28
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetOrientation']._serialized_options = b'\x82\xd3\xe4\x93\x02:\x128/viam/api/v1/component/movementsensor/{name}/orientation'
29
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetPosition']._loaded_options = None
30
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetPosition']._serialized_options = b'\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/position'
31
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetProperties']._loaded_options = None
32
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetProperties']._serialized_options = b'\x82\xd3\xe4\x93\x029\x127/viam/api/v1/component/movementsensor/{name}/properties'
33
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetAccuracy']._loaded_options = None
34
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetAccuracy']._serialized_options = b'\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/accuracy'
35
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetLinearAcceleration']._loaded_options = None
36
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetLinearAcceleration']._serialized_options = b'\x82\xd3\xe4\x93\x02B\x12@/viam/api/v1/component/movementsensor/{name}/linear_acceleration'
37
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['DoCommand']._loaded_options = None
38
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x029"7/viam/api/v1/component/movementsensor/{name}/do_command'
39
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetGeometries']._loaded_options = None
40
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x029\x127/viam/api/v1/component/movementsensor/{name}/geometries'
41
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetReadings']._loaded_options = None
42
+ _globals['_MOVEMENTSENSORSERVICE'].methods_by_name['GetReadings']._serialized_options = b'\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/readings'
43
+ _globals['_GETLINEARVELOCITYREQUEST']._serialized_start = 170
44
+ _globals['_GETLINEARVELOCITYREQUEST']._serialized_end = 263
45
+ _globals['_GETLINEARVELOCITYRESPONSE']._serialized_start = 265
46
+ _globals['_GETLINEARVELOCITYRESPONSE']._serialized_end = 358
47
+ _globals['_GETANGULARVELOCITYREQUEST']._serialized_start = 360
48
+ _globals['_GETANGULARVELOCITYREQUEST']._serialized_end = 454
49
+ _globals['_GETANGULARVELOCITYRESPONSE']._serialized_start = 456
50
+ _globals['_GETANGULARVELOCITYRESPONSE']._serialized_end = 552
51
+ _globals['_GETCOMPASSHEADINGREQUEST']._serialized_start = 554
52
+ _globals['_GETCOMPASSHEADINGREQUEST']._serialized_end = 647
53
+ _globals['_GETCOMPASSHEADINGRESPONSE']._serialized_start = 649
54
+ _globals['_GETCOMPASSHEADINGRESPONSE']._serialized_end = 698
55
+ _globals['_GETORIENTATIONREQUEST']._serialized_start = 700
56
+ _globals['_GETORIENTATIONREQUEST']._serialized_end = 790
57
+ _globals['_GETORIENTATIONRESPONSE']._serialized_start = 792
58
+ _globals['_GETORIENTATIONRESPONSE']._serialized_end = 879
59
+ _globals['_GETPOSITIONREQUEST']._serialized_start = 881
60
+ _globals['_GETPOSITIONREQUEST']._serialized_end = 968
61
+ _globals['_GETPOSITIONRESPONSE']._serialized_start = 970
62
+ _globals['_GETPOSITIONRESPONSE']._serialized_end = 1080
63
+ _globals['_GETPROPERTIESREQUEST']._serialized_start = 1082
64
+ _globals['_GETPROPERTIESREQUEST']._serialized_end = 1171
65
+ _globals['_GETPROPERTIESRESPONSE']._serialized_start = 1174
66
+ _globals['_GETPROPERTIESRESPONSE']._serialized_end = 1547
67
+ _globals['_GETACCURACYREQUEST']._serialized_start = 1549
68
+ _globals['_GETACCURACYREQUEST']._serialized_end = 1636
69
+ _globals['_GETACCURACYRESPONSE']._serialized_start = 1639
70
+ _globals['_GETACCURACYRESPONSE']._serialized_end = 2103
71
+ _globals['_GETACCURACYRESPONSE_ACCURACYENTRY']._serialized_start = 1956
72
+ _globals['_GETACCURACYRESPONSE_ACCURACYENTRY']._serialized_end = 2015
73
+ _globals['_GETLINEARACCELERATIONREQUEST']._serialized_start = 2105
74
+ _globals['_GETLINEARACCELERATIONREQUEST']._serialized_end = 2202
75
+ _globals['_GETLINEARACCELERATIONRESPONSE']._serialized_start = 2204
76
+ _globals['_GETLINEARACCELERATIONRESPONSE']._serialized_end = 2309
77
+ _globals['_MOVEMENTSENSORSERVICE']._serialized_start = 2312
78
+ _globals['_MOVEMENTSENSORSERVICE']._serialized_end = 4439
@@ -1,31 +1,34 @@
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, '', 'component/posetracker/v1/pose_tracker.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+component/posetracker/v1/pose_tracker.proto\x12\x1dviam.component.posetracker.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto"s\n\x0fGetPosesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1d\n\nbody_names\x18\x02 \x03(\tR\tbodyNames\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xcc\x01\n\x10GetPosesResponse\x12]\n\nbody_poses\x18\x01 \x03(\x0b2>.viam.component.posetracker.v1.GetPosesResponse.BodyPosesEntryR\tbodyPoses\x1aY\n\x0eBodyPosesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x121\n\x05value\x18\x02 \x01(\x0b2\x1b.viam.common.v1.PoseInFrameR\x05value:\x028\x012\xec\x03\n\x12PoseTrackerService\x12\xa5\x01\n\x08GetPoses\x12..viam.component.posetracker.v1.GetPosesRequest\x1a/.viam.component.posetracker.v1.GetPosesResponse"8\x82\xd3\xe4\x93\x022\x120/viam/api/v1/component/pose_tracker/{name}/poses\x12\x8f\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"=\x82\xd3\xe4\x93\x027"5/viam/api/v1/component/pose_tracker/{name}/do_command\x12\x9b\x01\n\rGetGeometries\x12$.viam.common.v1.GetGeometriesRequest\x1a%.viam.common.v1.GetGeometriesResponse"=\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/pose_tracker/{name}/geometriesB5\n\x15com.viam.component.v1Z\x1cgo.viam.com/api/component/v1b\x06proto3')
11
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
12
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.posetracker.v1.pose_tracker_pb2', globals())
13
- if _descriptor._USE_C_DESCRIPTORS == False:
14
- DESCRIPTOR._options = None
15
- DESCRIPTOR._serialized_options = b'\n\x15com.viam.component.v1Z\x1cgo.viam.com/api/component/v1'
16
- _GETPOSESRESPONSE_BODYPOSESENTRY._options = None
17
- _GETPOSESRESPONSE_BODYPOSESENTRY._serialized_options = b'8\x01'
18
- _POSETRACKERSERVICE.methods_by_name['GetPoses']._options = None
19
- _POSETRACKERSERVICE.methods_by_name['GetPoses']._serialized_options = b'\x82\xd3\xe4\x93\x022\x120/viam/api/v1/component/pose_tracker/{name}/poses'
20
- _POSETRACKERSERVICE.methods_by_name['DoCommand']._options = None
21
- _POSETRACKERSERVICE.methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x027"5/viam/api/v1/component/pose_tracker/{name}/do_command'
22
- _POSETRACKERSERVICE.methods_by_name['GetGeometries']._options = None
23
- _POSETRACKERSERVICE.methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/pose_tracker/{name}/geometries'
24
- _GETPOSESREQUEST._serialized_start = 162
25
- _GETPOSESREQUEST._serialized_end = 277
26
- _GETPOSESRESPONSE._serialized_start = 280
27
- _GETPOSESRESPONSE._serialized_end = 484
28
- _GETPOSESRESPONSE_BODYPOSESENTRY._serialized_start = 395
29
- _GETPOSESRESPONSE_BODYPOSESENTRY._serialized_end = 484
30
- _POSETRACKERSERVICE._serialized_start = 487
31
- _POSETRACKERSERVICE._serialized_end = 979
13
+ _globals = globals()
14
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
15
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.posetracker.v1.pose_tracker_pb2', _globals)
16
+ if not _descriptor._USE_C_DESCRIPTORS:
17
+ _globals['DESCRIPTOR']._loaded_options = None
18
+ _globals['DESCRIPTOR']._serialized_options = b'\n\x15com.viam.component.v1Z\x1cgo.viam.com/api/component/v1'
19
+ _globals['_GETPOSESRESPONSE_BODYPOSESENTRY']._loaded_options = None
20
+ _globals['_GETPOSESRESPONSE_BODYPOSESENTRY']._serialized_options = b'8\x01'
21
+ _globals['_POSETRACKERSERVICE'].methods_by_name['GetPoses']._loaded_options = None
22
+ _globals['_POSETRACKERSERVICE'].methods_by_name['GetPoses']._serialized_options = b'\x82\xd3\xe4\x93\x022\x120/viam/api/v1/component/pose_tracker/{name}/poses'
23
+ _globals['_POSETRACKERSERVICE'].methods_by_name['DoCommand']._loaded_options = None
24
+ _globals['_POSETRACKERSERVICE'].methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x027"5/viam/api/v1/component/pose_tracker/{name}/do_command'
25
+ _globals['_POSETRACKERSERVICE'].methods_by_name['GetGeometries']._loaded_options = None
26
+ _globals['_POSETRACKERSERVICE'].methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/pose_tracker/{name}/geometries'
27
+ _globals['_GETPOSESREQUEST']._serialized_start = 162
28
+ _globals['_GETPOSESREQUEST']._serialized_end = 277
29
+ _globals['_GETPOSESRESPONSE']._serialized_start = 280
30
+ _globals['_GETPOSESRESPONSE']._serialized_end = 484
31
+ _globals['_GETPOSESRESPONSE_BODYPOSESENTRY']._serialized_start = 395
32
+ _globals['_GETPOSESRESPONSE_BODYPOSESENTRY']._serialized_end = 484
33
+ _globals['_POSETRACKERSERVICE']._serialized_start = 487
34
+ _globals['_POSETRACKERSERVICE']._serialized_end = 979