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
@@ -122,7 +122,7 @@ global___Orientation = Orientation
122
122
 
123
123
  @typing.final
124
124
  class PoseInFrame(google.protobuf.message.Message):
125
- """PoseInFrame contains a pose and the and the reference frame in which it was observed"""
125
+ """PoseInFrame contains a pose and the reference frame in which it was observed"""
126
126
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
127
127
  REFERENCE_FRAME_FIELD_NUMBER: builtins.int
128
128
  POSE_FIELD_NUMBER: builtins.int
@@ -209,6 +209,36 @@ class RectangularPrism(google.protobuf.message.Message):
209
209
  ...
210
210
  global___RectangularPrism = RectangularPrism
211
211
 
212
+ @typing.final
213
+ class Mesh(google.protobuf.message.Message):
214
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
215
+ CONTENT_TYPE_FIELD_NUMBER: builtins.int
216
+ MESH_FIELD_NUMBER: builtins.int
217
+ content_type: builtins.str
218
+ 'Content type of mesh (e.g. ply)'
219
+ mesh: builtins.bytes
220
+ 'Contents of mesh data in binary form defined by content_type'
221
+
222
+ def __init__(self, *, content_type: builtins.str=..., mesh: builtins.bytes=...) -> None:
223
+ ...
224
+
225
+ def ClearField(self, field_name: typing.Literal['content_type', b'content_type', 'mesh', b'mesh']) -> None:
226
+ ...
227
+ global___Mesh = Mesh
228
+
229
+ @typing.final
230
+ class PointCloud(google.protobuf.message.Message):
231
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
232
+ POINT_CLOUD_FIELD_NUMBER: builtins.int
233
+ point_cloud: builtins.bytes
234
+
235
+ def __init__(self, *, point_cloud: builtins.bytes=...) -> None:
236
+ ...
237
+
238
+ def ClearField(self, field_name: typing.Literal['point_cloud', b'point_cloud']) -> None:
239
+ ...
240
+ global___PointCloud = PointCloud
241
+
212
242
  @typing.final
213
243
  class Geometry(google.protobuf.message.Message):
214
244
  """Geometry contains the dimensions of a given geometry and the pose of its center. The geometry is one of either a sphere or a box."""
@@ -217,6 +247,8 @@ class Geometry(google.protobuf.message.Message):
217
247
  SPHERE_FIELD_NUMBER: builtins.int
218
248
  BOX_FIELD_NUMBER: builtins.int
219
249
  CAPSULE_FIELD_NUMBER: builtins.int
250
+ MESH_FIELD_NUMBER: builtins.int
251
+ POINTCLOUD_FIELD_NUMBER: builtins.int
220
252
  LABEL_FIELD_NUMBER: builtins.int
221
253
  label: builtins.str
222
254
  'Label of the geometry. If none supplied, will be an empty string.'
@@ -237,16 +269,24 @@ class Geometry(google.protobuf.message.Message):
237
269
  def capsule(self) -> global___Capsule:
238
270
  ...
239
271
 
240
- def __init__(self, *, center: global___Pose | None=..., sphere: global___Sphere | None=..., box: global___RectangularPrism | None=..., capsule: global___Capsule | None=..., label: builtins.str=...) -> None:
272
+ @property
273
+ def mesh(self) -> global___Mesh:
241
274
  ...
242
275
 
243
- def HasField(self, field_name: typing.Literal['box', b'box', 'capsule', b'capsule', 'center', b'center', 'geometry_type', b'geometry_type', 'sphere', b'sphere']) -> builtins.bool:
276
+ @property
277
+ def pointcloud(self) -> global___PointCloud:
244
278
  ...
245
279
 
246
- def ClearField(self, field_name: typing.Literal['box', b'box', 'capsule', b'capsule', 'center', b'center', 'geometry_type', b'geometry_type', 'label', b'label', 'sphere', b'sphere']) -> None:
280
+ def __init__(self, *, center: global___Pose | None=..., sphere: global___Sphere | None=..., box: global___RectangularPrism | None=..., capsule: global___Capsule | None=..., mesh: global___Mesh | None=..., pointcloud: global___PointCloud | None=..., label: builtins.str=...) -> None:
247
281
  ...
248
282
 
249
- def WhichOneof(self, oneof_group: typing.Literal['geometry_type', b'geometry_type']) -> typing.Literal['sphere', 'box', 'capsule'] | None:
283
+ def HasField(self, field_name: typing.Literal['box', b'box', 'capsule', b'capsule', 'center', b'center', 'geometry_type', b'geometry_type', 'mesh', b'mesh', 'pointcloud', b'pointcloud', 'sphere', b'sphere']) -> builtins.bool:
284
+ ...
285
+
286
+ def ClearField(self, field_name: typing.Literal['box', b'box', 'capsule', b'capsule', 'center', b'center', 'geometry_type', b'geometry_type', 'label', b'label', 'mesh', b'mesh', 'pointcloud', b'pointcloud', 'sphere', b'sphere']) -> None:
287
+ ...
288
+
289
+ def WhichOneof(self, oneof_group: typing.Literal['geometry_type', b'geometry_type']) -> typing.Literal['sphere', 'box', 'capsule', 'mesh', 'pointcloud'] | None:
250
290
  ...
251
291
  global___Geometry = Geometry
252
292
 
@@ -347,8 +387,12 @@ class Transform(google.protobuf.message.Message):
347
387
  REFERENCE_FRAME_FIELD_NUMBER: builtins.int
348
388
  POSE_IN_OBSERVER_FRAME_FIELD_NUMBER: builtins.int
349
389
  PHYSICAL_OBJECT_FIELD_NUMBER: builtins.int
390
+ UUID_FIELD_NUMBER: builtins.int
391
+ METADATA_FIELD_NUMBER: builtins.int
350
392
  reference_frame: builtins.str
351
393
  'the name of a given reference frame'
394
+ uuid: builtins.bytes
395
+ 'The UUID of the transform'
352
396
 
353
397
  @property
354
398
  def pose_in_observer_frame(self) -> global___PoseInFrame:
@@ -358,15 +402,24 @@ class Transform(google.protobuf.message.Message):
358
402
  def physical_object(self) -> global___Geometry:
359
403
  ...
360
404
 
361
- def __init__(self, *, reference_frame: builtins.str=..., pose_in_observer_frame: global___PoseInFrame | None=..., physical_object: global___Geometry | None=...) -> None:
405
+ @property
406
+ def metadata(self) -> google.protobuf.struct_pb2.Struct:
407
+ """Can hold information like color, opacity, points colors, collision_allowed, etc..."""
408
+
409
+ def __init__(self, *, reference_frame: builtins.str=..., pose_in_observer_frame: global___PoseInFrame | None=..., physical_object: global___Geometry | None=..., uuid: builtins.bytes=..., metadata: google.protobuf.struct_pb2.Struct | None=...) -> None:
410
+ ...
411
+
412
+ def HasField(self, field_name: typing.Literal['_metadata', b'_metadata', '_physical_object', b'_physical_object', 'metadata', b'metadata', 'physical_object', b'physical_object', 'pose_in_observer_frame', b'pose_in_observer_frame']) -> builtins.bool:
362
413
  ...
363
414
 
364
- def HasField(self, field_name: typing.Literal['_physical_object', b'_physical_object', 'physical_object', b'physical_object', 'pose_in_observer_frame', b'pose_in_observer_frame']) -> builtins.bool:
415
+ def ClearField(self, field_name: typing.Literal['_metadata', b'_metadata', '_physical_object', b'_physical_object', 'metadata', b'metadata', 'physical_object', b'physical_object', 'pose_in_observer_frame', b'pose_in_observer_frame', 'reference_frame', b'reference_frame', 'uuid', b'uuid']) -> None:
365
416
  ...
366
417
 
367
- def ClearField(self, field_name: typing.Literal['_physical_object', b'_physical_object', 'physical_object', b'physical_object', 'pose_in_observer_frame', b'pose_in_observer_frame', 'reference_frame', b'reference_frame']) -> None:
418
+ @typing.overload
419
+ def WhichOneof(self, oneof_group: typing.Literal['_metadata', b'_metadata']) -> typing.Literal['metadata'] | None:
368
420
  ...
369
421
 
422
+ @typing.overload
370
423
  def WhichOneof(self, oneof_group: typing.Literal['_physical_object', b'_physical_object']) -> typing.Literal['physical_object'] | None:
371
424
  ...
372
425
  global___Transform = Transform
@@ -557,6 +610,64 @@ class GetGeometriesResponse(google.protobuf.message.Message):
557
610
  ...
558
611
  global___GetGeometriesResponse = GetGeometriesResponse
559
612
 
613
+ @typing.final
614
+ class Get3DModelsRequest(google.protobuf.message.Message):
615
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
616
+ NAME_FIELD_NUMBER: builtins.int
617
+ EXTRA_FIELD_NUMBER: builtins.int
618
+ name: builtins.str
619
+ 'The component name'
620
+
621
+ @property
622
+ def extra(self) -> google.protobuf.struct_pb2.Struct:
623
+ """Additional arguments to the method"""
624
+
625
+ def __init__(self, *, name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
626
+ ...
627
+
628
+ def HasField(self, field_name: typing.Literal['extra', b'extra']) -> builtins.bool:
629
+ ...
630
+
631
+ def ClearField(self, field_name: typing.Literal['extra', b'extra', 'name', b'name']) -> None:
632
+ ...
633
+ global___Get3DModelsRequest = Get3DModelsRequest
634
+
635
+ @typing.final
636
+ class Get3DModelsResponse(google.protobuf.message.Message):
637
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
638
+
639
+ @typing.final
640
+ class ModelsEntry(google.protobuf.message.Message):
641
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
642
+ KEY_FIELD_NUMBER: builtins.int
643
+ VALUE_FIELD_NUMBER: builtins.int
644
+ key: builtins.str
645
+
646
+ @property
647
+ def value(self) -> global___Mesh:
648
+ ...
649
+
650
+ def __init__(self, *, key: builtins.str=..., value: global___Mesh | None=...) -> None:
651
+ ...
652
+
653
+ def HasField(self, field_name: typing.Literal['value', b'value']) -> builtins.bool:
654
+ ...
655
+
656
+ def ClearField(self, field_name: typing.Literal['key', b'key', 'value', b'value']) -> None:
657
+ ...
658
+ MODELS_FIELD_NUMBER: builtins.int
659
+
660
+ @property
661
+ def models(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Mesh]:
662
+ """the 3D models associated with the component"""
663
+
664
+ def __init__(self, *, models: collections.abc.Mapping[builtins.str, global___Mesh] | None=...) -> None:
665
+ ...
666
+
667
+ def ClearField(self, field_name: typing.Literal['models', b'models']) -> None:
668
+ ...
669
+ global___Get3DModelsResponse = Get3DModelsResponse
670
+
560
671
  @typing.final
561
672
  class GetReadingsRequest(google.protobuf.message.Message):
562
673
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -653,6 +764,71 @@ class LogEntry(google.protobuf.message.Message):
653
764
  def ClearField(self, field_name: typing.Literal['caller', b'caller', 'fields', b'fields', 'host', b'host', 'level', b'level', 'logger_name', b'logger_name', 'message', b'message', 'stack', b'stack', 'time', b'time']) -> None:
654
765
  ...
655
766
  global___LogEntry = LogEntry
767
+
768
+ @typing.final
769
+ class AudioInfo(google.protobuf.message.Message):
770
+ """Information about an audio stream or device."""
771
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
772
+ CODEC_FIELD_NUMBER: builtins.int
773
+ SAMPLE_RATE_HZ_FIELD_NUMBER: builtins.int
774
+ NUM_CHANNELS_FIELD_NUMBER: builtins.int
775
+ codec: builtins.str
776
+ 'Audio codec used for the stream or device (e.g., "pcm16", "pcm32float", "mp3")'
777
+ sample_rate_hz: builtins.int
778
+ 'Sample rate of the audio in Hz'
779
+ num_channels: builtins.int
780
+ 'Number of audio channels in the recording or playback'
781
+
782
+ def __init__(self, *, codec: builtins.str=..., sample_rate_hz: builtins.int=..., num_channels: builtins.int=...) -> None:
783
+ ...
784
+
785
+ def ClearField(self, field_name: typing.Literal['codec', b'codec', 'num_channels', b'num_channels', 'sample_rate_hz', b'sample_rate_hz']) -> None:
786
+ ...
787
+ global___AudioInfo = AudioInfo
788
+
789
+ @typing.final
790
+ class GetPropertiesRequest(google.protobuf.message.Message):
791
+ """Shared properties for AudioIn and AudioOut components."""
792
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
793
+ NAME_FIELD_NUMBER: builtins.int
794
+ EXTRA_FIELD_NUMBER: builtins.int
795
+ name: builtins.str
796
+
797
+ @property
798
+ def extra(self) -> google.protobuf.struct_pb2.Struct:
799
+ ...
800
+
801
+ def __init__(self, *, name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
802
+ ...
803
+
804
+ def HasField(self, field_name: typing.Literal['extra', b'extra']) -> builtins.bool:
805
+ ...
806
+
807
+ def ClearField(self, field_name: typing.Literal['extra', b'extra', 'name', b'name']) -> None:
808
+ ...
809
+ global___GetPropertiesRequest = GetPropertiesRequest
810
+
811
+ @typing.final
812
+ class GetPropertiesResponse(google.protobuf.message.Message):
813
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
814
+ SUPPORTED_CODECS_FIELD_NUMBER: builtins.int
815
+ SAMPLE_RATE_HZ_FIELD_NUMBER: builtins.int
816
+ NUM_CHANNELS_FIELD_NUMBER: builtins.int
817
+ sample_rate_hz: builtins.int
818
+ 'current sample rate in Hz'
819
+ num_channels: builtins.int
820
+ 'Maximum number of audio channels supported (e.g., 1 for mono, 2 for stereo)'
821
+
822
+ @property
823
+ def supported_codecs(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
824
+ """List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")"""
825
+
826
+ def __init__(self, *, supported_codecs: collections.abc.Iterable[builtins.str] | None=..., sample_rate_hz: builtins.int=..., num_channels: builtins.int=...) -> None:
827
+ ...
828
+
829
+ def ClearField(self, field_name: typing.Literal['num_channels', b'num_channels', 'sample_rate_hz', b'sample_rate_hz', 'supported_codecs', b'supported_codecs']) -> None:
830
+ ...
831
+ global___GetPropertiesResponse = GetPropertiesResponse
656
832
  SAFETY_HEARTBEAT_MONITORED_FIELD_NUMBER: builtins.int
657
833
  safety_heartbeat_monitored: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[google.protobuf.descriptor_pb2.MethodOptions, builtins.bool]
658
834
  'safety_heartbeat_monitored is used on methods to signify that if a session is in use\nand the session was the last to call this method, the resource associated with the\nmethod will be stopped.\n'
@@ -28,6 +28,10 @@ class ArmServiceBase(abc.ABC):
28
28
  async def MoveToJointPositions(self, stream: 'grpclib.server.Stream[component.arm.v1.arm_pb2.MoveToJointPositionsRequest, component.arm.v1.arm_pb2.MoveToJointPositionsResponse]') -> None:
29
29
  pass
30
30
 
31
+ @abc.abstractmethod
32
+ async def MoveThroughJointPositions(self, stream: 'grpclib.server.Stream[component.arm.v1.arm_pb2.MoveThroughJointPositionsRequest, component.arm.v1.arm_pb2.MoveThroughJointPositionsResponse]') -> None:
33
+ pass
34
+
31
35
  @abc.abstractmethod
32
36
  async def Stop(self, stream: 'grpclib.server.Stream[component.arm.v1.arm_pb2.StopRequest, component.arm.v1.arm_pb2.StopResponse]') -> None:
33
37
  pass
@@ -48,8 +52,12 @@ class ArmServiceBase(abc.ABC):
48
52
  async def GetGeometries(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse]') -> None:
49
53
  pass
50
54
 
55
+ @abc.abstractmethod
56
+ async def Get3DModels(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.Get3DModelsRequest, common.v1.common_pb2.Get3DModelsResponse]') -> None:
57
+ pass
58
+
51
59
  def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
52
- return {'/viam.component.arm.v1.ArmService/GetEndPosition': grpclib.const.Handler(self.GetEndPosition, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.GetEndPositionRequest, component.arm.v1.arm_pb2.GetEndPositionResponse), '/viam.component.arm.v1.ArmService/MoveToPosition': grpclib.const.Handler(self.MoveToPosition, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.MoveToPositionRequest, component.arm.v1.arm_pb2.MoveToPositionResponse), '/viam.component.arm.v1.ArmService/GetJointPositions': grpclib.const.Handler(self.GetJointPositions, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.GetJointPositionsRequest, component.arm.v1.arm_pb2.GetJointPositionsResponse), '/viam.component.arm.v1.ArmService/MoveToJointPositions': grpclib.const.Handler(self.MoveToJointPositions, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.MoveToJointPositionsRequest, component.arm.v1.arm_pb2.MoveToJointPositionsResponse), '/viam.component.arm.v1.ArmService/Stop': grpclib.const.Handler(self.Stop, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.StopRequest, component.arm.v1.arm_pb2.StopResponse), '/viam.component.arm.v1.ArmService/IsMoving': grpclib.const.Handler(self.IsMoving, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.IsMovingRequest, component.arm.v1.arm_pb2.IsMovingResponse), '/viam.component.arm.v1.ArmService/DoCommand': grpclib.const.Handler(self.DoCommand, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse), '/viam.component.arm.v1.ArmService/GetKinematics': grpclib.const.Handler(self.GetKinematics, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.GetKinematicsRequest, common.v1.common_pb2.GetKinematicsResponse), '/viam.component.arm.v1.ArmService/GetGeometries': grpclib.const.Handler(self.GetGeometries, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse)}
60
+ return {'/viam.component.arm.v1.ArmService/GetEndPosition': grpclib.const.Handler(self.GetEndPosition, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.GetEndPositionRequest, component.arm.v1.arm_pb2.GetEndPositionResponse), '/viam.component.arm.v1.ArmService/MoveToPosition': grpclib.const.Handler(self.MoveToPosition, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.MoveToPositionRequest, component.arm.v1.arm_pb2.MoveToPositionResponse), '/viam.component.arm.v1.ArmService/GetJointPositions': grpclib.const.Handler(self.GetJointPositions, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.GetJointPositionsRequest, component.arm.v1.arm_pb2.GetJointPositionsResponse), '/viam.component.arm.v1.ArmService/MoveToJointPositions': grpclib.const.Handler(self.MoveToJointPositions, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.MoveToJointPositionsRequest, component.arm.v1.arm_pb2.MoveToJointPositionsResponse), '/viam.component.arm.v1.ArmService/MoveThroughJointPositions': grpclib.const.Handler(self.MoveThroughJointPositions, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.MoveThroughJointPositionsRequest, component.arm.v1.arm_pb2.MoveThroughJointPositionsResponse), '/viam.component.arm.v1.ArmService/Stop': grpclib.const.Handler(self.Stop, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.StopRequest, component.arm.v1.arm_pb2.StopResponse), '/viam.component.arm.v1.ArmService/IsMoving': grpclib.const.Handler(self.IsMoving, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.IsMovingRequest, component.arm.v1.arm_pb2.IsMovingResponse), '/viam.component.arm.v1.ArmService/DoCommand': grpclib.const.Handler(self.DoCommand, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse), '/viam.component.arm.v1.ArmService/GetKinematics': grpclib.const.Handler(self.GetKinematics, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.GetKinematicsRequest, common.v1.common_pb2.GetKinematicsResponse), '/viam.component.arm.v1.ArmService/GetGeometries': grpclib.const.Handler(self.GetGeometries, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse), '/viam.component.arm.v1.ArmService/Get3DModels': grpclib.const.Handler(self.Get3DModels, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.Get3DModelsRequest, common.v1.common_pb2.Get3DModelsResponse)}
53
61
 
54
62
  class UnimplementedArmServiceBase(ArmServiceBase):
55
63
 
@@ -65,6 +73,9 @@ class UnimplementedArmServiceBase(ArmServiceBase):
65
73
  async def MoveToJointPositions(self, stream: 'grpclib.server.Stream[component.arm.v1.arm_pb2.MoveToJointPositionsRequest, component.arm.v1.arm_pb2.MoveToJointPositionsResponse]') -> None:
66
74
  raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
67
75
 
76
+ async def MoveThroughJointPositions(self, stream: 'grpclib.server.Stream[component.arm.v1.arm_pb2.MoveThroughJointPositionsRequest, component.arm.v1.arm_pb2.MoveThroughJointPositionsResponse]') -> None:
77
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
78
+
68
79
  async def Stop(self, stream: 'grpclib.server.Stream[component.arm.v1.arm_pb2.StopRequest, component.arm.v1.arm_pb2.StopResponse]') -> None:
69
80
  raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
70
81
 
@@ -80,6 +91,9 @@ class UnimplementedArmServiceBase(ArmServiceBase):
80
91
  async def GetGeometries(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse]') -> None:
81
92
  raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
82
93
 
94
+ async def Get3DModels(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.Get3DModelsRequest, common.v1.common_pb2.Get3DModelsResponse]') -> None:
95
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
96
+
83
97
  class ArmServiceStub:
84
98
 
85
99
  def __init__(self, channel: grpclib.client.Channel) -> None:
@@ -87,8 +101,10 @@ class ArmServiceStub:
87
101
  self.MoveToPosition = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/MoveToPosition', component.arm.v1.arm_pb2.MoveToPositionRequest, component.arm.v1.arm_pb2.MoveToPositionResponse)
88
102
  self.GetJointPositions = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/GetJointPositions', component.arm.v1.arm_pb2.GetJointPositionsRequest, component.arm.v1.arm_pb2.GetJointPositionsResponse)
89
103
  self.MoveToJointPositions = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/MoveToJointPositions', component.arm.v1.arm_pb2.MoveToJointPositionsRequest, component.arm.v1.arm_pb2.MoveToJointPositionsResponse)
104
+ self.MoveThroughJointPositions = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/MoveThroughJointPositions', component.arm.v1.arm_pb2.MoveThroughJointPositionsRequest, component.arm.v1.arm_pb2.MoveThroughJointPositionsResponse)
90
105
  self.Stop = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/Stop', component.arm.v1.arm_pb2.StopRequest, component.arm.v1.arm_pb2.StopResponse)
91
106
  self.IsMoving = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/IsMoving', component.arm.v1.arm_pb2.IsMovingRequest, component.arm.v1.arm_pb2.IsMovingResponse)
92
107
  self.DoCommand = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/DoCommand', common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse)
93
108
  self.GetKinematics = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/GetKinematics', common.v1.common_pb2.GetKinematicsRequest, common.v1.common_pb2.GetKinematicsResponse)
94
- self.GetGeometries = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/GetGeometries', common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse)
109
+ self.GetGeometries = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/GetGeometries', common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse)
110
+ self.Get3DModels = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/Get3DModels', common.v1.common_pb2.Get3DModelsRequest, common.v1.common_pb2.Get3DModelsResponse)
@@ -1,63 +1,76 @@
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/arm/v1/arm.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
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1acomponent/arm/v1/arm.proto\x12\x15viam.component.arm.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto"Z\n\x15GetEndPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"B\n\x16GetEndPositionResponse\x12(\n\x04pose\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x04pose"(\n\x0eJointPositions\x12\x16\n\x06values\x18\x01 \x03(\x01R\x06values"]\n\x18GetJointPositionsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"`\n\x19GetJointPositionsResponse\x12C\n\tpositions\x18\x01 \x01(\x0b2%.viam.component.arm.v1.JointPositionsR\tpositions"\x80\x01\n\x15MoveToPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12$\n\x02to\x18\x02 \x01(\x0b2\x14.viam.common.v1.PoseR\x02to\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x18\n\x16MoveToPositionResponse"\xa5\x01\n\x1bMoveToJointPositionsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\tpositions\x18\x02 \x01(\x0b2%.viam.component.arm.v1.JointPositionsR\tpositions\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x1e\n\x1cMoveToJointPositionsResponse"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"\xae\x01\n\x06Status\x127\n\x0cend_position\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x0bendPosition\x12N\n\x0fjoint_positions\x18\x02 \x01(\x0b2%.viam.component.arm.v1.JointPositionsR\x0ejointPositions\x12\x1b\n\tis_moving\x18\x03 \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\x94\x0b\n\nArmService\x12\xa1\x01\n\x0eGetEndPosition\x12,.viam.component.arm.v1.GetEndPositionRequest\x1a-.viam.component.arm.v1.GetEndPositionResponse"2\x82\xd3\xe4\x93\x02,\x12*/viam/api/v1/component/arm/{name}/position\x12\xa5\x01\n\x0eMoveToPosition\x12,.viam.component.arm.v1.MoveToPositionRequest\x1a-.viam.component.arm.v1.MoveToPositionResponse"6\xa0\x92)\x01\x82\xd3\xe4\x93\x02,\x1a*/viam/api/v1/component/arm/{name}/position\x12\xb1\x01\n\x11GetJointPositions\x12/.viam.component.arm.v1.GetJointPositionsRequest\x1a0.viam.component.arm.v1.GetJointPositionsResponse"9\x82\xd3\xe4\x93\x023\x121/viam/api/v1/component/arm/{name}/joint_positions\x12\xbe\x01\n\x14MoveToJointPositions\x122.viam.component.arm.v1.MoveToJointPositionsRequest\x1a3.viam.component.arm.v1.MoveToJointPositionsResponse"=\xa0\x92)\x01\x82\xd3\xe4\x93\x023\x1a1/viam/api/v1/component/arm/{name}/joint_positions\x12\x7f\n\x04Stop\x12".viam.component.arm.v1.StopRequest\x1a#.viam.component.arm.v1.StopResponse".\x82\xd3\xe4\x93\x02("&/viam/api/v1/component/arm/{name}/stop\x12\x90\x01\n\x08IsMoving\x12&.viam.component.arm.v1.IsMovingRequest\x1a\'.viam.component.arm.v1.IsMovingResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/arm/{name}/is_moving\x12\x86\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"4\x82\xd3\xe4\x93\x02.",/viam/api/v1/component/arm/{name}/do_command\x12\x92\x01\n\rGetKinematics\x12$.viam.common.v1.GetKinematicsRequest\x1a%.viam.common.v1.GetKinematicsResponse"4\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/kinematics\x12\x92\x01\n\rGetGeometries\x12$.viam.common.v1.GetGeometriesRequest\x1a%.viam.common.v1.GetGeometriesResponse"4\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/geometriesB=\n\x19com.viam.component.arm.v1Z go.viam.com/api/component/arm/v1b\x06proto3')
11
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
12
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.arm.v1.arm_pb2', globals())
13
- if _descriptor._USE_C_DESCRIPTORS == False:
14
- DESCRIPTOR._options = None
15
- DESCRIPTOR._serialized_options = b'\n\x19com.viam.component.arm.v1Z go.viam.com/api/component/arm/v1'
16
- _ARMSERVICE.methods_by_name['GetEndPosition']._options = None
17
- _ARMSERVICE.methods_by_name['GetEndPosition']._serialized_options = b'\x82\xd3\xe4\x93\x02,\x12*/viam/api/v1/component/arm/{name}/position'
18
- _ARMSERVICE.methods_by_name['MoveToPosition']._options = None
19
- _ARMSERVICE.methods_by_name['MoveToPosition']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02,\x1a*/viam/api/v1/component/arm/{name}/position'
20
- _ARMSERVICE.methods_by_name['GetJointPositions']._options = None
21
- _ARMSERVICE.methods_by_name['GetJointPositions']._serialized_options = b'\x82\xd3\xe4\x93\x023\x121/viam/api/v1/component/arm/{name}/joint_positions'
22
- _ARMSERVICE.methods_by_name['MoveToJointPositions']._options = None
23
- _ARMSERVICE.methods_by_name['MoveToJointPositions']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x023\x1a1/viam/api/v1/component/arm/{name}/joint_positions'
24
- _ARMSERVICE.methods_by_name['Stop']._options = None
25
- _ARMSERVICE.methods_by_name['Stop']._serialized_options = b'\x82\xd3\xe4\x93\x02("&/viam/api/v1/component/arm/{name}/stop'
26
- _ARMSERVICE.methods_by_name['IsMoving']._options = None
27
- _ARMSERVICE.methods_by_name['IsMoving']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/arm/{name}/is_moving'
28
- _ARMSERVICE.methods_by_name['DoCommand']._options = None
29
- _ARMSERVICE.methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x02.",/viam/api/v1/component/arm/{name}/do_command'
30
- _ARMSERVICE.methods_by_name['GetKinematics']._options = None
31
- _ARMSERVICE.methods_by_name['GetKinematics']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/kinematics'
32
- _ARMSERVICE.methods_by_name['GetGeometries']._options = None
33
- _ARMSERVICE.methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/geometries'
34
- _GETENDPOSITIONREQUEST._serialized_start = 137
35
- _GETENDPOSITIONREQUEST._serialized_end = 227
36
- _GETENDPOSITIONRESPONSE._serialized_start = 229
37
- _GETENDPOSITIONRESPONSE._serialized_end = 295
38
- _JOINTPOSITIONS._serialized_start = 297
39
- _JOINTPOSITIONS._serialized_end = 337
40
- _GETJOINTPOSITIONSREQUEST._serialized_start = 339
41
- _GETJOINTPOSITIONSREQUEST._serialized_end = 432
42
- _GETJOINTPOSITIONSRESPONSE._serialized_start = 434
43
- _GETJOINTPOSITIONSRESPONSE._serialized_end = 530
44
- _MOVETOPOSITIONREQUEST._serialized_start = 533
45
- _MOVETOPOSITIONREQUEST._serialized_end = 661
46
- _MOVETOPOSITIONRESPONSE._serialized_start = 663
47
- _MOVETOPOSITIONRESPONSE._serialized_end = 687
48
- _MOVETOJOINTPOSITIONSREQUEST._serialized_start = 690
49
- _MOVETOJOINTPOSITIONSREQUEST._serialized_end = 855
50
- _MOVETOJOINTPOSITIONSRESPONSE._serialized_start = 857
51
- _MOVETOJOINTPOSITIONSRESPONSE._serialized_end = 887
52
- _STOPREQUEST._serialized_start = 889
53
- _STOPREQUEST._serialized_end = 969
54
- _STOPRESPONSE._serialized_start = 971
55
- _STOPRESPONSE._serialized_end = 985
56
- _STATUS._serialized_start = 988
57
- _STATUS._serialized_end = 1162
58
- _ISMOVINGREQUEST._serialized_start = 1164
59
- _ISMOVINGREQUEST._serialized_end = 1201
60
- _ISMOVINGRESPONSE._serialized_start = 1203
61
- _ISMOVINGRESPONSE._serialized_end = 1250
62
- _ARMSERVICE._serialized_start = 1253
63
- _ARMSERVICE._serialized_end = 2681
12
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1acomponent/arm/v1/arm.proto\x12\x15viam.component.arm.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto"Z\n\x15GetEndPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"B\n\x16GetEndPositionResponse\x12(\n\x04pose\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x04pose"(\n\x0eJointPositions\x12\x16\n\x06values\x18\x01 \x03(\x01R\x06values"]\n\x18GetJointPositionsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"`\n\x19GetJointPositionsResponse\x12C\n\tpositions\x18\x01 \x01(\x0b2%.viam.component.arm.v1.JointPositionsR\tpositions"\x80\x01\n\x15MoveToPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12$\n\x02to\x18\x02 \x01(\x0b2\x14.viam.common.v1.PoseR\x02to\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x18\n\x16MoveToPositionResponse"\xa5\x01\n\x1bMoveToJointPositionsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\tpositions\x18\x02 \x01(\x0b2%.viam.component.arm.v1.JointPositionsR\tpositions\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x1e\n\x1cMoveToJointPositionsResponse"\xf9\x01\n MoveThroughJointPositionsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\tpositions\x18\x02 \x03(\x0b2%.viam.component.arm.v1.JointPositionsR\tpositions\x12A\n\x07options\x18\x03 \x01(\x0b2".viam.component.arm.v1.MoveOptionsH\x00R\x07options\x88\x01\x01\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extraB\n\n\x08_options"#\n!MoveThroughJointPositionsResponse"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"\xae\x01\n\x06Status\x127\n\x0cend_position\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x0bendPosition\x12N\n\x0fjoint_positions\x18\x02 \x01(\x0b2%.viam.component.arm.v1.JointPositionsR\x0ejointPositions\x12\x1b\n\tis_moving\x18\x03 \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\x08isMoving"\xac\x01\n\x0bMoveOptions\x123\n\x14max_vel_degs_per_sec\x18\x01 \x01(\x01H\x00R\x10maxVelDegsPerSec\x88\x01\x01\x125\n\x15max_acc_degs_per_sec2\x18\x02 \x01(\x01H\x01R\x11maxAccDegsPerSec2\x88\x01\x01B\x17\n\x15_max_vel_degs_per_secB\x18\n\x16_max_acc_degs_per_sec22\xff\r\n\nArmService\x12\xa1\x01\n\x0eGetEndPosition\x12,.viam.component.arm.v1.GetEndPositionRequest\x1a-.viam.component.arm.v1.GetEndPositionResponse"2\x82\xd3\xe4\x93\x02,\x12*/viam/api/v1/component/arm/{name}/position\x12\xa5\x01\n\x0eMoveToPosition\x12,.viam.component.arm.v1.MoveToPositionRequest\x1a-.viam.component.arm.v1.MoveToPositionResponse"6\xa0\x92)\x01\x82\xd3\xe4\x93\x02,\x1a*/viam/api/v1/component/arm/{name}/position\x12\xb1\x01\n\x11GetJointPositions\x12/.viam.component.arm.v1.GetJointPositionsRequest\x1a0.viam.component.arm.v1.GetJointPositionsResponse"9\x82\xd3\xe4\x93\x023\x121/viam/api/v1/component/arm/{name}/joint_positions\x12\xbe\x01\n\x14MoveToJointPositions\x122.viam.component.arm.v1.MoveToJointPositionsRequest\x1a3.viam.component.arm.v1.MoveToJointPositionsResponse"=\xa0\x92)\x01\x82\xd3\xe4\x93\x023\x1a1/viam/api/v1/component/arm/{name}/joint_positions\x12\xda\x01\n\x19MoveThroughJointPositions\x127.viam.component.arm.v1.MoveThroughJointPositionsRequest\x1a8.viam.component.arm.v1.MoveThroughJointPositionsResponse"J\xa0\x92)\x01\x82\xd3\xe4\x93\x02@">/viam/api/v1/component/arm/{name}/move_through_joint_positions\x12\x7f\n\x04Stop\x12".viam.component.arm.v1.StopRequest\x1a#.viam.component.arm.v1.StopResponse".\x82\xd3\xe4\x93\x02("&/viam/api/v1/component/arm/{name}/stop\x12\x90\x01\n\x08IsMoving\x12&.viam.component.arm.v1.IsMovingRequest\x1a\'.viam.component.arm.v1.IsMovingResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/arm/{name}/is_moving\x12\x86\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"4\x82\xd3\xe4\x93\x02.",/viam/api/v1/component/arm/{name}/do_command\x12\x92\x01\n\rGetKinematics\x12$.viam.common.v1.GetKinematicsRequest\x1a%.viam.common.v1.GetKinematicsResponse"4\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/kinematics\x12\x92\x01\n\rGetGeometries\x12$.viam.common.v1.GetGeometriesRequest\x1a%.viam.common.v1.GetGeometriesResponse"4\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/geometries\x12\x8b\x01\n\x0bGet3DModels\x12".viam.common.v1.Get3DModelsRequest\x1a#.viam.common.v1.Get3DModelsResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/arm/{name}/3d_modelsB=\n\x19com.viam.component.arm.v1Z go.viam.com/api/component/arm/v1b\x06proto3')
13
+ _globals = globals()
14
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
15
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.arm.v1.arm_pb2', _globals)
16
+ if not _descriptor._USE_C_DESCRIPTORS:
17
+ _globals['DESCRIPTOR']._loaded_options = None
18
+ _globals['DESCRIPTOR']._serialized_options = b'\n\x19com.viam.component.arm.v1Z go.viam.com/api/component/arm/v1'
19
+ _globals['_ARMSERVICE'].methods_by_name['GetEndPosition']._loaded_options = None
20
+ _globals['_ARMSERVICE'].methods_by_name['GetEndPosition']._serialized_options = b'\x82\xd3\xe4\x93\x02,\x12*/viam/api/v1/component/arm/{name}/position'
21
+ _globals['_ARMSERVICE'].methods_by_name['MoveToPosition']._loaded_options = None
22
+ _globals['_ARMSERVICE'].methods_by_name['MoveToPosition']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02,\x1a*/viam/api/v1/component/arm/{name}/position'
23
+ _globals['_ARMSERVICE'].methods_by_name['GetJointPositions']._loaded_options = None
24
+ _globals['_ARMSERVICE'].methods_by_name['GetJointPositions']._serialized_options = b'\x82\xd3\xe4\x93\x023\x121/viam/api/v1/component/arm/{name}/joint_positions'
25
+ _globals['_ARMSERVICE'].methods_by_name['MoveToJointPositions']._loaded_options = None
26
+ _globals['_ARMSERVICE'].methods_by_name['MoveToJointPositions']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x023\x1a1/viam/api/v1/component/arm/{name}/joint_positions'
27
+ _globals['_ARMSERVICE'].methods_by_name['MoveThroughJointPositions']._loaded_options = None
28
+ _globals['_ARMSERVICE'].methods_by_name['MoveThroughJointPositions']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02@">/viam/api/v1/component/arm/{name}/move_through_joint_positions'
29
+ _globals['_ARMSERVICE'].methods_by_name['Stop']._loaded_options = None
30
+ _globals['_ARMSERVICE'].methods_by_name['Stop']._serialized_options = b'\x82\xd3\xe4\x93\x02("&/viam/api/v1/component/arm/{name}/stop'
31
+ _globals['_ARMSERVICE'].methods_by_name['IsMoving']._loaded_options = None
32
+ _globals['_ARMSERVICE'].methods_by_name['IsMoving']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/arm/{name}/is_moving'
33
+ _globals['_ARMSERVICE'].methods_by_name['DoCommand']._loaded_options = None
34
+ _globals['_ARMSERVICE'].methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x02.",/viam/api/v1/component/arm/{name}/do_command'
35
+ _globals['_ARMSERVICE'].methods_by_name['GetKinematics']._loaded_options = None
36
+ _globals['_ARMSERVICE'].methods_by_name['GetKinematics']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/kinematics'
37
+ _globals['_ARMSERVICE'].methods_by_name['GetGeometries']._loaded_options = None
38
+ _globals['_ARMSERVICE'].methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/geometries'
39
+ _globals['_ARMSERVICE'].methods_by_name['Get3DModels']._loaded_options = None
40
+ _globals['_ARMSERVICE'].methods_by_name['Get3DModels']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/arm/{name}/3d_models'
41
+ _globals['_GETENDPOSITIONREQUEST']._serialized_start = 137
42
+ _globals['_GETENDPOSITIONREQUEST']._serialized_end = 227
43
+ _globals['_GETENDPOSITIONRESPONSE']._serialized_start = 229
44
+ _globals['_GETENDPOSITIONRESPONSE']._serialized_end = 295
45
+ _globals['_JOINTPOSITIONS']._serialized_start = 297
46
+ _globals['_JOINTPOSITIONS']._serialized_end = 337
47
+ _globals['_GETJOINTPOSITIONSREQUEST']._serialized_start = 339
48
+ _globals['_GETJOINTPOSITIONSREQUEST']._serialized_end = 432
49
+ _globals['_GETJOINTPOSITIONSRESPONSE']._serialized_start = 434
50
+ _globals['_GETJOINTPOSITIONSRESPONSE']._serialized_end = 530
51
+ _globals['_MOVETOPOSITIONREQUEST']._serialized_start = 533
52
+ _globals['_MOVETOPOSITIONREQUEST']._serialized_end = 661
53
+ _globals['_MOVETOPOSITIONRESPONSE']._serialized_start = 663
54
+ _globals['_MOVETOPOSITIONRESPONSE']._serialized_end = 687
55
+ _globals['_MOVETOJOINTPOSITIONSREQUEST']._serialized_start = 690
56
+ _globals['_MOVETOJOINTPOSITIONSREQUEST']._serialized_end = 855
57
+ _globals['_MOVETOJOINTPOSITIONSRESPONSE']._serialized_start = 857
58
+ _globals['_MOVETOJOINTPOSITIONSRESPONSE']._serialized_end = 887
59
+ _globals['_MOVETHROUGHJOINTPOSITIONSREQUEST']._serialized_start = 890
60
+ _globals['_MOVETHROUGHJOINTPOSITIONSREQUEST']._serialized_end = 1139
61
+ _globals['_MOVETHROUGHJOINTPOSITIONSRESPONSE']._serialized_start = 1141
62
+ _globals['_MOVETHROUGHJOINTPOSITIONSRESPONSE']._serialized_end = 1176
63
+ _globals['_STOPREQUEST']._serialized_start = 1178
64
+ _globals['_STOPREQUEST']._serialized_end = 1258
65
+ _globals['_STOPRESPONSE']._serialized_start = 1260
66
+ _globals['_STOPRESPONSE']._serialized_end = 1274
67
+ _globals['_STATUS']._serialized_start = 1277
68
+ _globals['_STATUS']._serialized_end = 1451
69
+ _globals['_ISMOVINGREQUEST']._serialized_start = 1453
70
+ _globals['_ISMOVINGREQUEST']._serialized_end = 1490
71
+ _globals['_ISMOVINGRESPONSE']._serialized_start = 1492
72
+ _globals['_ISMOVINGRESPONSE']._serialized_end = 1539
73
+ _globals['_MOVEOPTIONS']._serialized_start = 1542
74
+ _globals['_MOVEOPTIONS']._serialized_end = 1714
75
+ _globals['_ARMSERVICE']._serialized_start = 1717
76
+ _globals['_ARMSERVICE']._serialized_end = 3508
@@ -63,8 +63,7 @@ class JointPositions(google.protobuf.message.Message):
63
63
  @property
64
64
  def values(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]:
65
65
  """A list of joint positions. Rotations values are in degrees, translational values in mm.
66
- The numbers are ordered spatially from the base toward the end effector
67
- This is used in GetJointPositionsResponse and MoveToJointPositionsRequest
66
+ There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm
68
67
  """
69
68
 
70
69
  def __init__(self, *, values: collections.abc.Iterable[builtins.float] | None=...) -> None:
@@ -191,6 +190,49 @@ class MoveToJointPositionsResponse(google.protobuf.message.Message):
191
190
  ...
192
191
  global___MoveToJointPositionsResponse = MoveToJointPositionsResponse
193
192
 
193
+ @typing.final
194
+ class MoveThroughJointPositionsRequest(google.protobuf.message.Message):
195
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
196
+ NAME_FIELD_NUMBER: builtins.int
197
+ POSITIONS_FIELD_NUMBER: builtins.int
198
+ OPTIONS_FIELD_NUMBER: builtins.int
199
+ EXTRA_FIELD_NUMBER: builtins.int
200
+ name: builtins.str
201
+ 'Name of an arm'
202
+
203
+ @property
204
+ def positions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___JointPositions]:
205
+ """A list of joint positions which will be moved to in the order they are specified"""
206
+
207
+ @property
208
+ def options(self) -> global___MoveOptions:
209
+ """optional specifications to be obeyed during the motion"""
210
+
211
+ @property
212
+ def extra(self) -> google.protobuf.struct_pb2.Struct:
213
+ """Additional arguments to the method"""
214
+
215
+ def __init__(self, *, name: builtins.str=..., positions: collections.abc.Iterable[global___JointPositions] | None=..., options: global___MoveOptions | None=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
216
+ ...
217
+
218
+ def HasField(self, field_name: typing.Literal['_options', b'_options', 'extra', b'extra', 'options', b'options']) -> builtins.bool:
219
+ ...
220
+
221
+ def ClearField(self, field_name: typing.Literal['_options', b'_options', 'extra', b'extra', 'name', b'name', 'options', b'options', 'positions', b'positions']) -> None:
222
+ ...
223
+
224
+ def WhichOneof(self, oneof_group: typing.Literal['_options', b'_options']) -> typing.Literal['options'] | None:
225
+ ...
226
+ global___MoveThroughJointPositionsRequest = MoveThroughJointPositionsRequest
227
+
228
+ @typing.final
229
+ class MoveThroughJointPositionsResponse(google.protobuf.message.Message):
230
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
231
+
232
+ def __init__(self) -> None:
233
+ ...
234
+ global___MoveThroughJointPositionsResponse = MoveThroughJointPositionsResponse
235
+
194
236
  @typing.final
195
237
  class StopRequest(google.protobuf.message.Message):
196
238
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -271,4 +313,32 @@ class IsMovingResponse(google.protobuf.message.Message):
271
313
 
272
314
  def ClearField(self, field_name: typing.Literal['is_moving', b'is_moving']) -> None:
273
315
  ...
274
- global___IsMovingResponse = IsMovingResponse
316
+ global___IsMovingResponse = IsMovingResponse
317
+
318
+ @typing.final
319
+ class MoveOptions(google.protobuf.message.Message):
320
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
321
+ MAX_VEL_DEGS_PER_SEC_FIELD_NUMBER: builtins.int
322
+ MAX_ACC_DEGS_PER_SEC2_FIELD_NUMBER: builtins.int
323
+ max_vel_degs_per_sec: builtins.float
324
+ 'Maximum allowable velocity of an arm joint, in degrees per second'
325
+ max_acc_degs_per_sec2: builtins.float
326
+ 'Maximum allowable acceleration of an arm joint, in degrees per second squared'
327
+
328
+ def __init__(self, *, max_vel_degs_per_sec: builtins.float | None=..., max_acc_degs_per_sec2: builtins.float | None=...) -> None:
329
+ ...
330
+
331
+ def HasField(self, field_name: typing.Literal['_max_acc_degs_per_sec2', b'_max_acc_degs_per_sec2', '_max_vel_degs_per_sec', b'_max_vel_degs_per_sec', 'max_acc_degs_per_sec2', b'max_acc_degs_per_sec2', 'max_vel_degs_per_sec', b'max_vel_degs_per_sec']) -> builtins.bool:
332
+ ...
333
+
334
+ def ClearField(self, field_name: typing.Literal['_max_acc_degs_per_sec2', b'_max_acc_degs_per_sec2', '_max_vel_degs_per_sec', b'_max_vel_degs_per_sec', 'max_acc_degs_per_sec2', b'max_acc_degs_per_sec2', 'max_vel_degs_per_sec', b'max_vel_degs_per_sec']) -> None:
335
+ ...
336
+
337
+ @typing.overload
338
+ def WhichOneof(self, oneof_group: typing.Literal['_max_acc_degs_per_sec2', b'_max_acc_degs_per_sec2']) -> typing.Literal['max_acc_degs_per_sec2'] | None:
339
+ ...
340
+
341
+ @typing.overload
342
+ def WhichOneof(self, oneof_group: typing.Literal['_max_vel_degs_per_sec', b'_max_vel_degs_per_sec']) -> typing.Literal['max_vel_degs_per_sec'] | None:
343
+ ...
344
+ global___MoveOptions = MoveOptions
File without changes
File without changes