@viamrobotics/sdk 0.25.0 → 0.26.1

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 (330) hide show
  1. package/dist/api-version.d.ts +1 -1
  2. package/dist/app/app-client.d.ts +93 -90
  3. package/dist/app/billing-client.d.ts +7 -8
  4. package/dist/app/billing-client.spec.d.ts +1 -0
  5. package/dist/app/data-client.d.ts +42 -50
  6. package/dist/app/data-client.spec.d.ts +1 -0
  7. package/dist/app/ml-training-client.d.ts +9 -14
  8. package/dist/app/ml-training-client.spec.d.ts +1 -0
  9. package/dist/app/provisioning-client.d.ts +7 -7
  10. package/dist/app/provisioning-client.spec.d.ts +1 -0
  11. package/dist/app/viam-client.d.ts +13 -15
  12. package/dist/app/viam-transport.d.ts +4 -12
  13. package/dist/components/arm/arm.d.ts +10 -8
  14. package/dist/components/arm/client.d.ts +6 -6
  15. package/dist/components/arm.d.ts +1 -1
  16. package/dist/components/base/base.d.ts +11 -10
  17. package/dist/components/base/client.d.ts +4 -5
  18. package/dist/components/base.d.ts +1 -1
  19. package/dist/components/board/board.d.ts +17 -21
  20. package/dist/components/board/client.d.ts +7 -8
  21. package/dist/components/board/client.spec.d.ts +1 -0
  22. package/dist/components/board.d.ts +1 -1
  23. package/dist/components/camera/camera.d.ts +2 -2
  24. package/dist/components/camera/client.d.ts +4 -5
  25. package/dist/components/encoder/client.d.ts +6 -7
  26. package/dist/components/encoder/encoder.d.ts +9 -10
  27. package/dist/components/encoder.d.ts +1 -2
  28. package/dist/components/gantry/client.d.ts +3 -3
  29. package/dist/components/gantry/gantry.d.ts +7 -6
  30. package/dist/components/generic/client.d.ts +3 -3
  31. package/dist/components/gripper/client.d.ts +3 -3
  32. package/dist/components/gripper/gripper.d.ts +5 -4
  33. package/dist/components/input-controller/client.d.ts +5 -6
  34. package/dist/components/input-controller/input-controller.d.ts +7 -5
  35. package/dist/components/inputcontroller.d.ts +1 -1
  36. package/dist/components/motor/client.d.ts +3 -3
  37. package/dist/components/motor/motor.d.ts +11 -10
  38. package/dist/components/movement-sensor/client.d.ts +11 -12
  39. package/dist/components/movement-sensor/client.spec.d.ts +1 -0
  40. package/dist/components/movement-sensor/movement-sensor.d.ts +16 -14
  41. package/dist/components/movementsensor.d.ts +1 -1
  42. package/dist/components/power-sensor/client.d.ts +4 -4
  43. package/dist/components/power-sensor/client.spec.d.ts +1 -0
  44. package/dist/components/power-sensor/power-sensor.d.ts +5 -5
  45. package/dist/components/sensor/client.d.ts +4 -4
  46. package/dist/components/sensor/sensor.d.ts +3 -2
  47. package/dist/components/servo/client.d.ts +5 -5
  48. package/dist/components/servo/servo.d.ts +5 -4
  49. package/dist/extra/stream/client.d.ts +0 -1
  50. package/dist/extra/stream/client.spec.d.ts +1 -0
  51. package/dist/gen/app/agent/v1/agent_connect.d.ts +28 -0
  52. package/dist/gen/app/agent/v1/agent_pb.d.ts +244 -153
  53. package/dist/gen/app/build/v1/build_connect.d.ts +129 -0
  54. package/dist/gen/app/build/v1/build_pb.d.ts +668 -493
  55. package/dist/gen/app/cloudslam/v1/cloud_slam_connect.d.ts +71 -0
  56. package/dist/gen/app/cloudslam/v1/cloud_slam_pb.d.ts +548 -420
  57. package/dist/gen/app/data/v1/data_connect.d.ts +252 -0
  58. package/dist/gen/app/data/v1/data_pb.d.ts +1672 -1331
  59. package/dist/gen/app/dataset/v1/dataset_connect.d.ts +74 -0
  60. package/dist/gen/app/dataset/v1/dataset_pb.d.ts +272 -213
  61. package/dist/gen/app/datasync/v1/data_sync_connect.d.ts +52 -0
  62. package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +457 -376
  63. package/dist/gen/app/mlinference/v1/ml_inference_connect.d.ts +26 -0
  64. package/dist/gen/app/mlinference/v1/ml_inference_pb.d.ts +71 -0
  65. package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +94 -0
  66. package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +566 -429
  67. package/dist/gen/app/packages/v1/packages_connect.d.ts +64 -0
  68. package/dist/gen/app/packages/v1/packages_pb.d.ts +396 -336
  69. package/dist/gen/app/v1/app_connect.d.ts +788 -0
  70. package/dist/gen/app/v1/app_pb.d.ts +5593 -4578
  71. package/dist/gen/app/v1/billing_connect.d.ts +72 -0
  72. package/dist/gen/app/v1/billing_pb.d.ts +564 -394
  73. package/dist/gen/app/v1/end_user_connect.d.ts +73 -0
  74. package/dist/gen/app/v1/end_user_pb.d.ts +292 -244
  75. package/dist/gen/app/v1/robot_connect.d.ts +63 -0
  76. package/dist/gen/app/v1/robot_pb.d.ts +1608 -1289
  77. package/dist/gen/common/v1/common_pb.d.ts +886 -662
  78. package/dist/gen/component/arm/v1/arm_connect.d.ts +121 -0
  79. package/dist/gen/component/arm/v1/arm_pb.d.ts +371 -294
  80. package/dist/gen/component/audioinput/v1/audioinput_connect.d.ts +78 -0
  81. package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +246 -189
  82. package/dist/gen/component/base/v1/base_connect.d.ts +122 -0
  83. package/dist/gen/component/base/v1/base_pb.d.ts +393 -307
  84. package/dist/gen/component/board/v1/board_connect.d.ts +161 -0
  85. package/dist/gen/component/board/v1/board_pb.d.ts +684 -535
  86. package/dist/gen/component/camera/v1/camera_connect.d.ts +99 -0
  87. package/dist/gen/component/camera/v1/camera_pb.d.ts +549 -399
  88. package/dist/gen/component/encoder/v1/encoder_connect.d.ts +71 -0
  89. package/dist/gen/component/encoder/v1/encoder_pb.d.ts +201 -144
  90. package/dist/gen/component/gantry/v1/gantry_connect.d.ts +108 -0
  91. package/dist/gen/component/gantry/v1/gantry_pb.d.ts +334 -279
  92. package/dist/gen/component/generic/v1/generic_connect.d.ts +41 -0
  93. package/dist/gen/component/gripper/v1/gripper_connect.d.ts +86 -0
  94. package/dist/gen/component/gripper/v1/gripper_pb.d.ts +188 -160
  95. package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +87 -0
  96. package/dist/gen/component/inputcontroller/v1/input_controller_pb.d.ts +334 -264
  97. package/dist/gen/component/motor/v1/motor_connect.d.ts +162 -0
  98. package/dist/gen/component/motor/v1/motor_pb.d.ts +577 -432
  99. package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +121 -0
  100. package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +476 -379
  101. package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +53 -0
  102. package/dist/gen/component/posetracker/v1/pose_tracker_pb.d.ts +71 -53
  103. package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +75 -0
  104. package/dist/gen/component/powersensor/v1/powersensor_pb.d.ts +181 -136
  105. package/dist/gen/component/sensor/v1/sensor_connect.d.ts +52 -0
  106. package/dist/gen/component/servo/v1/servo_connect.d.ts +87 -0
  107. package/dist/gen/component/servo/v1/servo_pb.d.ts +228 -179
  108. package/dist/gen/component/testecho/v1/testecho_connect.d.ts +53 -0
  109. package/dist/gen/component/testecho/v1/testecho_pb.d.ts +186 -150
  110. package/dist/gen/google/api/annotations_pb.d.ts +26 -6
  111. package/dist/gen/google/api/client_pb.d.ts +895 -453
  112. package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +758 -438
  113. package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +236 -132
  114. package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +98 -54
  115. package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +943 -554
  116. package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +274 -197
  117. package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +200 -131
  118. package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +262 -151
  119. package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +614 -402
  120. package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +115 -56
  121. package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +275 -197
  122. package/dist/gen/google/api/field_behavior_pb.d.ts +139 -19
  123. package/dist/gen/google/api/field_info_pb.d.ts +169 -56
  124. package/dist/gen/google/api/http_pb.d.ts +480 -127
  125. package/dist/gen/google/api/httpbody_pb.d.ts +104 -35
  126. package/dist/gen/google/api/launch_stage_pb.d.ts +102 -16
  127. package/dist/gen/google/api/resource_pb.d.ts +334 -88
  128. package/dist/gen/google/api/visibility_pb.d.ts +157 -52
  129. package/dist/gen/google/bytestream/bytestream_connect.d.ts +124 -0
  130. package/dist/gen/google/bytestream/bytestream_pb.d.ts +241 -130
  131. package/dist/gen/google/geo/type/viewport_pb.d.ts +90 -31
  132. package/dist/gen/google/longrunning/operations_connect.d.ts +127 -0
  133. package/dist/gen/google/longrunning/operations_pb.d.ts +351 -202
  134. package/dist/gen/google/rpc/code_pb.d.ts +252 -25
  135. package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +664 -352
  136. package/dist/gen/google/rpc/error_details_pb.d.ts +604 -311
  137. package/dist/gen/google/rpc/status_pb.d.ts +72 -33
  138. package/dist/gen/google/type/calendar_period_pb.d.ts +86 -16
  139. package/dist/gen/google/type/color_pb.d.ts +201 -37
  140. package/dist/gen/google/type/date_pb.d.ts +72 -25
  141. package/dist/gen/google/type/datetime_pb.d.ts +176 -83
  142. package/dist/gen/google/type/dayofweek_pb.d.ts +80 -16
  143. package/dist/gen/google/type/decimal_pb.d.ts +112 -22
  144. package/dist/gen/google/type/expr_pb.d.ts +97 -28
  145. package/dist/gen/google/type/fraction_pb.d.ts +55 -26
  146. package/dist/gen/google/type/interval_pb.d.ts +65 -31
  147. package/dist/gen/google/type/latlng_pb.d.ts +58 -26
  148. package/dist/gen/google/type/localized_text_pb.d.ts +57 -26
  149. package/dist/gen/google/type/money_pb.d.ts +62 -25
  150. package/dist/gen/google/type/month_pb.d.ts +115 -21
  151. package/dist/gen/google/type/phone_number_pb.d.ts +169 -64
  152. package/dist/gen/google/type/postal_address_pb.d.ts +178 -53
  153. package/dist/gen/google/type/quaternion_pb.d.ts +117 -28
  154. package/dist/gen/google/type/timeofday_pb.d.ts +67 -28
  155. package/dist/gen/proto/rpc/examples/echo/v1/echo_connect.d.ts +44 -0
  156. package/dist/gen/proto/rpc/examples/echo/v1/echo_pb.d.ts +134 -108
  157. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_connect.d.ts +44 -0
  158. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb.d.ts +149 -119
  159. package/dist/gen/proto/rpc/v1/auth_connect.d.ts +69 -0
  160. package/dist/gen/proto/rpc/v1/auth_pb.d.ts +145 -101
  161. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +349 -291
  162. package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +78 -0
  163. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +676 -529
  164. package/dist/gen/provisioning/v1/provisioning_connect.d.ts +63 -0
  165. package/dist/gen/provisioning/v1/provisioning_pb.d.ts +285 -231
  166. package/dist/gen/robot/v1/robot_connect.d.ts +239 -0
  167. package/dist/gen/robot/v1/robot_pb.d.ts +1332 -1087
  168. package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +42 -0
  169. package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +52 -44
  170. package/dist/gen/service/generic/v1/generic_connect.d.ts +30 -0
  171. package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +42 -0
  172. package/dist/gen/service/mlmodel/v1/mlmodel_pb.d.ts +620 -510
  173. package/dist/gen/service/motion/v1/motion_connect.d.ts +118 -0
  174. package/dist/gen/service/motion/v1/motion_pb.d.ts +1063 -795
  175. package/dist/gen/service/navigation/v1/navigation_connect.d.ts +115 -0
  176. package/dist/gen/service/navigation/v1/navigation_pb.d.ts +567 -435
  177. package/dist/gen/service/sensors/v1/sensors_connect.d.ts +58 -0
  178. package/dist/gen/service/sensors/v1/sensors_pb.d.ts +154 -120
  179. package/dist/gen/service/shell/v1/shell_connect.d.ts +78 -0
  180. package/dist/gen/service/shell/v1/shell_pb.d.ts +423 -309
  181. package/dist/gen/service/slam/v1/slam_connect.d.ts +81 -0
  182. package/dist/gen/service/slam/v1/slam_pb.d.ts +305 -204
  183. package/dist/gen/service/vision/v1/vision_connect.d.ts +108 -0
  184. package/dist/gen/service/vision/v1/vision_pb.d.ts +615 -471
  185. package/dist/gen/stream/v1/stream_connect.d.ts +56 -0
  186. package/dist/gen/stream/v1/stream_pb.d.ts +131 -97
  187. package/dist/gen/tagger/v1/tagger_pb.d.ts +17 -6
  188. package/dist/main.d.ts +81 -92
  189. package/dist/main.es.js +21120 -69216
  190. package/dist/main.umd.js +6 -13
  191. package/dist/robot/client.d.ts +990 -59
  192. package/dist/robot/dial.d.ts +2 -4
  193. package/dist/robot/grpc-connection-manager.d.ts +5 -7
  194. package/dist/robot/grpc-connection-manager.spec.d.ts +1 -0
  195. package/dist/robot/robot.d.ts +9 -10
  196. package/dist/robot/session-manager.d.ts +6 -8
  197. package/dist/robot/session-manager.spec.d.ts +1 -0
  198. package/dist/robot/session-transport.d.ts +8 -11
  199. package/dist/robot.d.ts +2 -2
  200. package/dist/rpc/base-channel.d.ts +2 -2
  201. package/dist/rpc/base-stream.d.ts +3 -6
  202. package/dist/rpc/client-channel.d.ts +5 -3
  203. package/dist/rpc/client-stream.d.ts +26 -12
  204. package/dist/rpc/dial.d.ts +49 -9
  205. package/dist/rpc/index.d.ts +3 -5
  206. package/dist/rpc/signaling-exchange.d.ts +33 -0
  207. package/dist/rpc/stream-client-stream.d.ts +16 -0
  208. package/dist/rpc/unary-client-stream.d.ts +13 -0
  209. package/dist/services/data-manager/client.d.ts +3 -3
  210. package/dist/services/data-manager/data-manager.d.ts +3 -2
  211. package/dist/services/generic/client.d.ts +3 -3
  212. package/dist/services/motion/client.d.ts +7 -8
  213. package/dist/services/motion/client.spec.d.ts +1 -0
  214. package/dist/services/motion/motion.d.ts +10 -9
  215. package/dist/services/motion/types.d.ts +12 -16
  216. package/dist/services/motion.d.ts +2 -2
  217. package/dist/services/navigation/client.d.ts +11 -12
  218. package/dist/services/navigation/client.spec.d.ts +1 -0
  219. package/dist/services/navigation/navigation.d.ts +11 -10
  220. package/dist/services/navigation/types.d.ts +8 -6
  221. package/dist/services/navigation.d.ts +2 -2
  222. package/dist/services/slam/client.d.ts +5 -6
  223. package/dist/services/slam/client.spec.d.ts +1 -0
  224. package/dist/services/slam/types.d.ts +4 -3
  225. package/dist/services/slam.d.ts +2 -2
  226. package/dist/services/vision/client.d.ts +13 -19
  227. package/dist/services/vision/types.d.ts +10 -7
  228. package/dist/services/vision/vision.d.ts +10 -9
  229. package/dist/services/vision.d.ts +2 -2
  230. package/dist/types.d.ts +21 -18
  231. package/dist/utils.d.ts +7 -37
  232. package/package.json +11 -8
  233. package/dist/gen/app/agent/v1/agent_pb_service.d.ts +0 -63
  234. package/dist/gen/app/build/v1/build_pb_service.d.ts +0 -226
  235. package/dist/gen/app/cloudslam/v1/cloud_slam_pb_service.d.ts +0 -158
  236. package/dist/gen/app/data/v1/data_pb_service.d.ts +0 -443
  237. package/dist/gen/app/dataset/v1/dataset_pb_service.d.ts +0 -139
  238. package/dist/gen/app/datasync/v1/data_sync_pb_service.d.ts +0 -85
  239. package/dist/gen/app/mltraining/v1/ml_training_pb_service.d.ts +0 -177
  240. package/dist/gen/app/packages/v1/packages_pb_service.d.ts +0 -112
  241. package/dist/gen/app/v1/app_pb_service.d.ts +0 -1415
  242. package/dist/gen/app/v1/billing_pb_service.d.ts +0 -131
  243. package/dist/gen/app/v1/end_user_pb_service.d.ts +0 -139
  244. package/dist/gen/app/v1/robot_pb_service.d.ts +0 -120
  245. package/dist/gen/common/v1/common_pb_service.d.ts +0 -3
  246. package/dist/gen/component/arm/v1/arm_pb_service.d.ts +0 -216
  247. package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +0 -133
  248. package/dist/gen/component/base/v1/base_pb_service.d.ts +0 -216
  249. package/dist/gen/component/board/v1/board_pb_service.d.ts +0 -284
  250. package/dist/gen/component/camera/v1/camera_pb_service.d.ts +0 -179
  251. package/dist/gen/component/encoder/v1/encoder_pb_service.d.ts +0 -140
  252. package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +0 -197
  253. package/dist/gen/component/generic/v1/generic_pb.d.ts +0 -7
  254. package/dist/gen/component/generic/v1/generic_pb_service.d.ts +0 -83
  255. package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +0 -159
  256. package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +0 -151
  257. package/dist/gen/component/motor/v1/motor_pb_service.d.ts +0 -273
  258. package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +0 -254
  259. package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +0 -102
  260. package/dist/gen/component/powersensor/v1/powersensor_pb_service.d.ts +0 -140
  261. package/dist/gen/component/sensor/v1/sensor_pb.d.ts +0 -7
  262. package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +0 -102
  263. package/dist/gen/component/servo/v1/servo_pb_service.d.ts +0 -159
  264. package/dist/gen/component/testecho/v1/testecho_pb_service.d.ts +0 -104
  265. package/dist/gen/google/api/annotations_pb_service.d.ts +0 -3
  266. package/dist/gen/google/api/client_pb_service.d.ts +0 -3
  267. package/dist/gen/google/api/expr/v1alpha1/checked_pb_service.d.ts +0 -3
  268. package/dist/gen/google/api/expr/v1alpha1/eval_pb_service.d.ts +0 -3
  269. package/dist/gen/google/api/expr/v1alpha1/explain_pb_service.d.ts +0 -3
  270. package/dist/gen/google/api/expr/v1alpha1/syntax_pb_service.d.ts +0 -3
  271. package/dist/gen/google/api/expr/v1alpha1/value_pb_service.d.ts +0 -3
  272. package/dist/gen/google/api/expr/v1beta1/decl_pb_service.d.ts +0 -3
  273. package/dist/gen/google/api/expr/v1beta1/eval_pb_service.d.ts +0 -3
  274. package/dist/gen/google/api/expr/v1beta1/expr_pb_service.d.ts +0 -3
  275. package/dist/gen/google/api/expr/v1beta1/source_pb_service.d.ts +0 -3
  276. package/dist/gen/google/api/expr/v1beta1/value_pb_service.d.ts +0 -3
  277. package/dist/gen/google/api/field_behavior_pb_service.d.ts +0 -3
  278. package/dist/gen/google/api/field_info_pb_service.d.ts +0 -3
  279. package/dist/gen/google/api/http_pb_service.d.ts +0 -3
  280. package/dist/gen/google/api/httpbody_pb_service.d.ts +0 -3
  281. package/dist/gen/google/api/launch_stage_pb_service.d.ts +0 -3
  282. package/dist/gen/google/api/resource_pb_service.d.ts +0 -3
  283. package/dist/gen/google/api/visibility_pb_service.d.ts +0 -3
  284. package/dist/gen/google/bytestream/bytestream_pb_service.d.ts +0 -85
  285. package/dist/gen/google/geo/type/viewport_pb_service.d.ts +0 -3
  286. package/dist/gen/google/longrunning/operations_pb_service.d.ts +0 -140
  287. package/dist/gen/google/rpc/code_pb_service.d.ts +0 -3
  288. package/dist/gen/google/rpc/context/attribute_context_pb_service.d.ts +0 -3
  289. package/dist/gen/google/rpc/error_details_pb_service.d.ts +0 -3
  290. package/dist/gen/google/rpc/status_pb_service.d.ts +0 -3
  291. package/dist/gen/google/type/calendar_period_pb_service.d.ts +0 -3
  292. package/dist/gen/google/type/color_pb_service.d.ts +0 -3
  293. package/dist/gen/google/type/date_pb_service.d.ts +0 -3
  294. package/dist/gen/google/type/datetime_pb_service.d.ts +0 -3
  295. package/dist/gen/google/type/dayofweek_pb_service.d.ts +0 -3
  296. package/dist/gen/google/type/decimal_pb_service.d.ts +0 -3
  297. package/dist/gen/google/type/expr_pb_service.d.ts +0 -3
  298. package/dist/gen/google/type/fraction_pb_service.d.ts +0 -3
  299. package/dist/gen/google/type/interval_pb_service.d.ts +0 -3
  300. package/dist/gen/google/type/latlng_pb_service.d.ts +0 -3
  301. package/dist/gen/google/type/localized_text_pb_service.d.ts +0 -3
  302. package/dist/gen/google/type/money_pb_service.d.ts +0 -3
  303. package/dist/gen/google/type/month_pb_service.d.ts +0 -3
  304. package/dist/gen/google/type/phone_number_pb_service.d.ts +0 -3
  305. package/dist/gen/google/type/postal_address_pb_service.d.ts +0 -3
  306. package/dist/gen/google/type/quaternion_pb_service.d.ts +0 -3
  307. package/dist/gen/google/type/timeofday_pb_service.d.ts +0 -3
  308. package/dist/gen/proto/rpc/examples/echo/v1/echo_pb_service.d.ts +0 -85
  309. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb_service.d.ts +0 -85
  310. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +0 -66
  311. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +0 -55
  312. package/dist/gen/proto/rpc/v1/auth_pb_service.d.ts +0 -92
  313. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb_service.d.ts +0 -3
  314. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb_service.d.ts +0 -104
  315. package/dist/gen/provisioning/v1/provisioning_pb_service.d.ts +0 -120
  316. package/dist/gen/robot/v1/robot_pb_service.d.ts +0 -435
  317. package/dist/gen/service/datamanager/v1/data_manager_pb_service.d.ts +0 -83
  318. package/dist/gen/service/generic/v1/generic_pb.d.ts +0 -7
  319. package/dist/gen/service/generic/v1/generic_pb_service.d.ts +0 -64
  320. package/dist/gen/service/mlmodel/v1/mlmodel_pb_service.d.ts +0 -82
  321. package/dist/gen/service/motion/v1/motion_pb_service.d.ts +0 -197
  322. package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +0 -235
  323. package/dist/gen/service/sensors/v1/sensors_pb_service.d.ts +0 -102
  324. package/dist/gen/service/shell/v1/shell_pb_service.d.ts +0 -97
  325. package/dist/gen/service/slam/v1/slam_pb_service.d.ts +0 -124
  326. package/dist/gen/service/vision/v1/vision_pb_service.d.ts +0 -197
  327. package/dist/gen/stream/v1/stream_pb_service.d.ts +0 -101
  328. package/dist/gen/tagger/v1/tagger_pb_service.d.ts +0 -3
  329. package/dist/responses.d.ts +0 -8
  330. package/dist/rpc/grpc-error.d.ts +0 -6
@@ -1,876 +1,1144 @@
1
- // package: viam.service.motion.v1
2
- // file: service/motion/v1/motion.proto
3
-
4
- import * as jspb from "google-protobuf";
5
- import * as common_v1_common_pb from "../../../common/v1/common_pb";
6
- import * as google_api_annotations_pb from "../../../google/api/annotations_pb";
7
- import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
8
- import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
9
-
10
- export class MoveRequest extends jspb.Message {
11
- getName(): string;
12
- setName(value: string): void;
13
-
14
- hasDestination(): boolean;
15
- clearDestination(): void;
16
- getDestination(): common_v1_common_pb.PoseInFrame | undefined;
17
- setDestination(value?: common_v1_common_pb.PoseInFrame): void;
18
-
19
- hasComponentName(): boolean;
20
- clearComponentName(): void;
21
- getComponentName(): common_v1_common_pb.ResourceName | undefined;
22
- setComponentName(value?: common_v1_common_pb.ResourceName): void;
23
-
24
- hasWorldState(): boolean;
25
- clearWorldState(): void;
26
- getWorldState(): common_v1_common_pb.WorldState | undefined;
27
- setWorldState(value?: common_v1_common_pb.WorldState): void;
28
-
29
- hasConstraints(): boolean;
30
- clearConstraints(): void;
31
- getConstraints(): Constraints | undefined;
32
- setConstraints(value?: Constraints): void;
33
-
34
- hasExtra(): boolean;
35
- clearExtra(): void;
36
- getExtra(): google_protobuf_struct_pb.Struct | undefined;
37
- setExtra(value?: google_protobuf_struct_pb.Struct): void;
38
-
39
- serializeBinary(): Uint8Array;
40
- toObject(includeInstance?: boolean): MoveRequest.AsObject;
41
- static toObject(includeInstance: boolean, msg: MoveRequest): MoveRequest.AsObject;
42
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
43
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
44
- static serializeBinaryToWriter(message: MoveRequest, writer: jspb.BinaryWriter): void;
45
- static deserializeBinary(bytes: Uint8Array): MoveRequest;
46
- static deserializeBinaryFromReader(message: MoveRequest, reader: jspb.BinaryReader): MoveRequest;
1
+ // @generated by protoc-gen-es v1.10.0
2
+ // @generated from file service/motion/v1/motion.proto (package viam.service.motion.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
7
+ import { Message, proto3 } from "@bufbuild/protobuf";
8
+ import type { GeoGeometry, Geometry, GeoPoint, Pose, PoseInFrame, ResourceName, Transform, WorldState } from "../../../common/v1/common_pb.js";
9
+
10
+ /**
11
+ * The states that a plan can be in.
12
+ * InProgress if the plan is executing.
13
+ * Stopped if the plan was stopped.
14
+ * Suceeded if the robot reached its destination successfully.
15
+ * Failed if the robot did not reach its destination.
16
+ *
17
+ * @generated from enum viam.service.motion.v1.PlanState
18
+ */
19
+ export declare enum PlanState {
20
+ /**
21
+ * @generated from enum value: PLAN_STATE_UNSPECIFIED = 0;
22
+ */
23
+ UNSPECIFIED = 0,
24
+
25
+ /**
26
+ * @generated from enum value: PLAN_STATE_IN_PROGRESS = 1;
27
+ */
28
+ IN_PROGRESS = 1,
29
+
30
+ /**
31
+ * @generated from enum value: PLAN_STATE_STOPPED = 2;
32
+ */
33
+ STOPPED = 2,
34
+
35
+ /**
36
+ * @generated from enum value: PLAN_STATE_SUCCEEDED = 3;
37
+ */
38
+ SUCCEEDED = 3,
39
+
40
+ /**
41
+ * @generated from enum value: PLAN_STATE_FAILED = 4;
42
+ */
43
+ FAILED = 4,
47
44
  }
48
45
 
49
- export namespace MoveRequest {
50
- export type AsObject = {
51
- name: string,
52
- destination?: common_v1_common_pb.PoseInFrame.AsObject,
53
- componentName?: common_v1_common_pb.ResourceName.AsObject,
54
- worldState?: common_v1_common_pb.WorldState.AsObject,
55
- constraints?: Constraints.AsObject,
56
- extra?: google_protobuf_struct_pb.Struct.AsObject,
57
- }
46
+ /**
47
+ * Moves any component on the robot to a specified destination which can be from the reference frame of any other component on the robot.
48
+ *
49
+ * @generated from message viam.service.motion.v1.MoveRequest
50
+ */
51
+ export declare class MoveRequest extends Message<MoveRequest> {
52
+ /**
53
+ * Name of the motion service
54
+ *
55
+ * @generated from field: string name = 1;
56
+ */
57
+ name: string;
58
+
59
+ /**
60
+ * Destination to move to, which can a pose in the reference frame of any frame in the robot's frame system
61
+ *
62
+ * @generated from field: viam.common.v1.PoseInFrame destination = 2;
63
+ */
64
+ destination?: PoseInFrame;
65
+
66
+ /**
67
+ * Component on the robot to move to the specified destination
68
+ *
69
+ * @generated from field: viam.common.v1.ResourceName component_name = 3;
70
+ */
71
+ componentName?: ResourceName;
72
+
73
+ /**
74
+ * Avoid obstacles by specifying their geometries in the world state
75
+ * Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the Move
76
+ *
77
+ * @generated from field: optional viam.common.v1.WorldState world_state = 4;
78
+ */
79
+ worldState?: WorldState;
80
+
81
+ /**
82
+ * Constrain the way the robot will move
83
+ *
84
+ * @generated from field: optional viam.service.motion.v1.Constraints constraints = 5;
85
+ */
86
+ constraints?: Constraints;
87
+
88
+ /**
89
+ * Additional arguments to the method
90
+ *
91
+ * @generated from field: google.protobuf.Struct extra = 99;
92
+ */
93
+ extra?: Struct;
94
+
95
+ constructor(data?: PartialMessage<MoveRequest>);
96
+
97
+ static readonly runtime: typeof proto3;
98
+ static readonly typeName = "viam.service.motion.v1.MoveRequest";
99
+ static readonly fields: FieldList;
100
+
101
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveRequest;
102
+
103
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveRequest;
104
+
105
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveRequest;
106
+
107
+ static equals(a: MoveRequest | PlainMessage<MoveRequest> | undefined, b: MoveRequest | PlainMessage<MoveRequest> | undefined): boolean;
58
108
  }
59
109
 
60
- export class MoveResponse extends jspb.Message {
61
- getSuccess(): boolean;
62
- setSuccess(value: boolean): void;
63
-
64
- serializeBinary(): Uint8Array;
65
- toObject(includeInstance?: boolean): MoveResponse.AsObject;
66
- static toObject(includeInstance: boolean, msg: MoveResponse): MoveResponse.AsObject;
67
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
68
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
69
- static serializeBinaryToWriter(message: MoveResponse, writer: jspb.BinaryWriter): void;
70
- static deserializeBinary(bytes: Uint8Array): MoveResponse;
71
- static deserializeBinaryFromReader(message: MoveResponse, reader: jspb.BinaryReader): MoveResponse;
72
- }
110
+ /**
111
+ * @generated from message viam.service.motion.v1.MoveResponse
112
+ */
113
+ export declare class MoveResponse extends Message<MoveResponse> {
114
+ /**
115
+ * @generated from field: bool success = 1;
116
+ */
117
+ success: boolean;
73
118
 
74
- export namespace MoveResponse {
75
- export type AsObject = {
76
- success: boolean,
77
- }
78
- }
119
+ constructor(data?: PartialMessage<MoveResponse>);
79
120
 
80
- export class MoveOnMapRequest extends jspb.Message {
81
- getName(): string;
82
- setName(value: string): void;
83
-
84
- hasDestination(): boolean;
85
- clearDestination(): void;
86
- getDestination(): common_v1_common_pb.Pose | undefined;
87
- setDestination(value?: common_v1_common_pb.Pose): void;
88
-
89
- hasComponentName(): boolean;
90
- clearComponentName(): void;
91
- getComponentName(): common_v1_common_pb.ResourceName | undefined;
92
- setComponentName(value?: common_v1_common_pb.ResourceName): void;
93
-
94
- hasSlamServiceName(): boolean;
95
- clearSlamServiceName(): void;
96
- getSlamServiceName(): common_v1_common_pb.ResourceName | undefined;
97
- setSlamServiceName(value?: common_v1_common_pb.ResourceName): void;
98
-
99
- hasMotionConfiguration(): boolean;
100
- clearMotionConfiguration(): void;
101
- getMotionConfiguration(): MotionConfiguration | undefined;
102
- setMotionConfiguration(value?: MotionConfiguration): void;
103
-
104
- clearObstaclesList(): void;
105
- getObstaclesList(): Array<common_v1_common_pb.Geometry>;
106
- setObstaclesList(value: Array<common_v1_common_pb.Geometry>): void;
107
- addObstacles(value?: common_v1_common_pb.Geometry, index?: number): common_v1_common_pb.Geometry;
108
-
109
- hasExtra(): boolean;
110
- clearExtra(): void;
111
- getExtra(): google_protobuf_struct_pb.Struct | undefined;
112
- setExtra(value?: google_protobuf_struct_pb.Struct): void;
113
-
114
- serializeBinary(): Uint8Array;
115
- toObject(includeInstance?: boolean): MoveOnMapRequest.AsObject;
116
- static toObject(includeInstance: boolean, msg: MoveOnMapRequest): MoveOnMapRequest.AsObject;
117
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
118
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
119
- static serializeBinaryToWriter(message: MoveOnMapRequest, writer: jspb.BinaryWriter): void;
120
- static deserializeBinary(bytes: Uint8Array): MoveOnMapRequest;
121
- static deserializeBinaryFromReader(message: MoveOnMapRequest, reader: jspb.BinaryReader): MoveOnMapRequest;
122
- }
121
+ static readonly runtime: typeof proto3;
122
+ static readonly typeName = "viam.service.motion.v1.MoveResponse";
123
+ static readonly fields: FieldList;
123
124
 
124
- export namespace MoveOnMapRequest {
125
- export type AsObject = {
126
- name: string,
127
- destination?: common_v1_common_pb.Pose.AsObject,
128
- componentName?: common_v1_common_pb.ResourceName.AsObject,
129
- slamServiceName?: common_v1_common_pb.ResourceName.AsObject,
130
- motionConfiguration?: MotionConfiguration.AsObject,
131
- obstaclesList: Array<common_v1_common_pb.Geometry.AsObject>,
132
- extra?: google_protobuf_struct_pb.Struct.AsObject,
133
- }
134
- }
125
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveResponse;
135
126
 
136
- export class MoveOnMapResponse extends jspb.Message {
137
- getExecutionId(): string;
138
- setExecutionId(value: string): void;
139
-
140
- serializeBinary(): Uint8Array;
141
- toObject(includeInstance?: boolean): MoveOnMapResponse.AsObject;
142
- static toObject(includeInstance: boolean, msg: MoveOnMapResponse): MoveOnMapResponse.AsObject;
143
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
144
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
145
- static serializeBinaryToWriter(message: MoveOnMapResponse, writer: jspb.BinaryWriter): void;
146
- static deserializeBinary(bytes: Uint8Array): MoveOnMapResponse;
147
- static deserializeBinaryFromReader(message: MoveOnMapResponse, reader: jspb.BinaryReader): MoveOnMapResponse;
148
- }
127
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveResponse;
149
128
 
150
- export namespace MoveOnMapResponse {
151
- export type AsObject = {
152
- executionId: string,
153
- }
154
- }
129
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveResponse;
155
130
 
156
- export class ObstacleDetector extends jspb.Message {
157
- hasVisionService(): boolean;
158
- clearVisionService(): void;
159
- getVisionService(): common_v1_common_pb.ResourceName | undefined;
160
- setVisionService(value?: common_v1_common_pb.ResourceName): void;
161
-
162
- hasCamera(): boolean;
163
- clearCamera(): void;
164
- getCamera(): common_v1_common_pb.ResourceName | undefined;
165
- setCamera(value?: common_v1_common_pb.ResourceName): void;
166
-
167
- serializeBinary(): Uint8Array;
168
- toObject(includeInstance?: boolean): ObstacleDetector.AsObject;
169
- static toObject(includeInstance: boolean, msg: ObstacleDetector): ObstacleDetector.AsObject;
170
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
171
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
172
- static serializeBinaryToWriter(message: ObstacleDetector, writer: jspb.BinaryWriter): void;
173
- static deserializeBinary(bytes: Uint8Array): ObstacleDetector;
174
- static deserializeBinaryFromReader(message: ObstacleDetector, reader: jspb.BinaryReader): ObstacleDetector;
131
+ static equals(a: MoveResponse | PlainMessage<MoveResponse> | undefined, b: MoveResponse | PlainMessage<MoveResponse> | undefined): boolean;
175
132
  }
176
133
 
177
- export namespace ObstacleDetector {
178
- export type AsObject = {
179
- visionService?: common_v1_common_pb.ResourceName.AsObject,
180
- camera?: common_v1_common_pb.ResourceName.AsObject,
181
- }
134
+ /**
135
+ * @generated from message viam.service.motion.v1.MoveOnMapRequest
136
+ */
137
+ export declare class MoveOnMapRequest extends Message<MoveOnMapRequest> {
138
+ /**
139
+ * Name of the motion service
140
+ *
141
+ * @generated from field: string name = 1;
142
+ */
143
+ name: string;
144
+
145
+ /**
146
+ * Specify a destination to, which can be any pose with respect to the SLAM map's origin
147
+ *
148
+ * @generated from field: viam.common.v1.Pose destination = 2;
149
+ */
150
+ destination?: Pose;
151
+
152
+ /**
153
+ * Component on the robot to move to the specified destination
154
+ *
155
+ * @generated from field: viam.common.v1.ResourceName component_name = 3;
156
+ */
157
+ componentName?: ResourceName;
158
+
159
+ /**
160
+ * Name of the slam service from which the SLAM map is requested
161
+ *
162
+ * @generated from field: viam.common.v1.ResourceName slam_service_name = 4;
163
+ */
164
+ slamServiceName?: ResourceName;
165
+
166
+ /**
167
+ * Optional set of motion configuration options
168
+ *
169
+ * @generated from field: optional viam.service.motion.v1.MotionConfiguration motion_configuration = 5;
170
+ */
171
+ motionConfiguration?: MotionConfiguration;
172
+
173
+ /**
174
+ * Obstacles to be considered for motion planning
175
+ *
176
+ * @generated from field: repeated viam.common.v1.Geometry obstacles = 6;
177
+ */
178
+ obstacles: Geometry[];
179
+
180
+ /**
181
+ * Additional arguments to the method
182
+ *
183
+ * @generated from field: google.protobuf.Struct extra = 99;
184
+ */
185
+ extra?: Struct;
186
+
187
+ constructor(data?: PartialMessage<MoveOnMapRequest>);
188
+
189
+ static readonly runtime: typeof proto3;
190
+ static readonly typeName = "viam.service.motion.v1.MoveOnMapRequest";
191
+ static readonly fields: FieldList;
192
+
193
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveOnMapRequest;
194
+
195
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveOnMapRequest;
196
+
197
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveOnMapRequest;
198
+
199
+ static equals(a: MoveOnMapRequest | PlainMessage<MoveOnMapRequest> | undefined, b: MoveOnMapRequest | PlainMessage<MoveOnMapRequest> | undefined): boolean;
182
200
  }
183
201
 
184
- export class MotionConfiguration extends jspb.Message {
185
- clearObstacleDetectorsList(): void;
186
- getObstacleDetectorsList(): Array<ObstacleDetector>;
187
- setObstacleDetectorsList(value: Array<ObstacleDetector>): void;
188
- addObstacleDetectors(value?: ObstacleDetector, index?: number): ObstacleDetector;
189
-
190
- hasPositionPollingFrequencyHz(): boolean;
191
- clearPositionPollingFrequencyHz(): void;
192
- getPositionPollingFrequencyHz(): number;
193
- setPositionPollingFrequencyHz(value: number): void;
194
-
195
- hasObstaclePollingFrequencyHz(): boolean;
196
- clearObstaclePollingFrequencyHz(): void;
197
- getObstaclePollingFrequencyHz(): number;
198
- setObstaclePollingFrequencyHz(value: number): void;
199
-
200
- hasPlanDeviationM(): boolean;
201
- clearPlanDeviationM(): void;
202
- getPlanDeviationM(): number;
203
- setPlanDeviationM(value: number): void;
204
-
205
- hasLinearMPerSec(): boolean;
206
- clearLinearMPerSec(): void;
207
- getLinearMPerSec(): number;
208
- setLinearMPerSec(value: number): void;
209
-
210
- hasAngularDegsPerSec(): boolean;
211
- clearAngularDegsPerSec(): void;
212
- getAngularDegsPerSec(): number;
213
- setAngularDegsPerSec(value: number): void;
214
-
215
- serializeBinary(): Uint8Array;
216
- toObject(includeInstance?: boolean): MotionConfiguration.AsObject;
217
- static toObject(includeInstance: boolean, msg: MotionConfiguration): MotionConfiguration.AsObject;
218
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
219
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
220
- static serializeBinaryToWriter(message: MotionConfiguration, writer: jspb.BinaryWriter): void;
221
- static deserializeBinary(bytes: Uint8Array): MotionConfiguration;
222
- static deserializeBinaryFromReader(message: MotionConfiguration, reader: jspb.BinaryReader): MotionConfiguration;
223
- }
202
+ /**
203
+ * @generated from message viam.service.motion.v1.MoveOnMapResponse
204
+ */
205
+ export declare class MoveOnMapResponse extends Message<MoveOnMapResponse> {
206
+ /**
207
+ * The unique ID which identifies the execution.
208
+ * Multiple plans will share the same execution_id if they were
209
+ * generated due to replanning.
210
+ *
211
+ * @generated from field: string execution_id = 1;
212
+ */
213
+ executionId: string;
224
214
 
225
- export namespace MotionConfiguration {
226
- export type AsObject = {
227
- obstacleDetectorsList: Array<ObstacleDetector.AsObject>,
228
- positionPollingFrequencyHz: number,
229
- obstaclePollingFrequencyHz: number,
230
- planDeviationM: number,
231
- linearMPerSec: number,
232
- angularDegsPerSec: number,
233
- }
234
- }
215
+ constructor(data?: PartialMessage<MoveOnMapResponse>);
235
216
 
236
- export class MoveOnGlobeRequest extends jspb.Message {
237
- getName(): string;
238
- setName(value: string): void;
239
-
240
- hasDestination(): boolean;
241
- clearDestination(): void;
242
- getDestination(): common_v1_common_pb.GeoPoint | undefined;
243
- setDestination(value?: common_v1_common_pb.GeoPoint): void;
244
-
245
- hasHeading(): boolean;
246
- clearHeading(): void;
247
- getHeading(): number;
248
- setHeading(value: number): void;
249
-
250
- hasComponentName(): boolean;
251
- clearComponentName(): void;
252
- getComponentName(): common_v1_common_pb.ResourceName | undefined;
253
- setComponentName(value?: common_v1_common_pb.ResourceName): void;
254
-
255
- hasMovementSensorName(): boolean;
256
- clearMovementSensorName(): void;
257
- getMovementSensorName(): common_v1_common_pb.ResourceName | undefined;
258
- setMovementSensorName(value?: common_v1_common_pb.ResourceName): void;
259
-
260
- clearObstaclesList(): void;
261
- getObstaclesList(): Array<common_v1_common_pb.GeoGeometry>;
262
- setObstaclesList(value: Array<common_v1_common_pb.GeoGeometry>): void;
263
- addObstacles(value?: common_v1_common_pb.GeoGeometry, index?: number): common_v1_common_pb.GeoGeometry;
264
-
265
- hasMotionConfiguration(): boolean;
266
- clearMotionConfiguration(): void;
267
- getMotionConfiguration(): MotionConfiguration | undefined;
268
- setMotionConfiguration(value?: MotionConfiguration): void;
269
-
270
- clearBoundingRegionsList(): void;
271
- getBoundingRegionsList(): Array<common_v1_common_pb.GeoGeometry>;
272
- setBoundingRegionsList(value: Array<common_v1_common_pb.GeoGeometry>): void;
273
- addBoundingRegions(value?: common_v1_common_pb.GeoGeometry, index?: number): common_v1_common_pb.GeoGeometry;
274
-
275
- hasExtra(): boolean;
276
- clearExtra(): void;
277
- getExtra(): google_protobuf_struct_pb.Struct | undefined;
278
- setExtra(value?: google_protobuf_struct_pb.Struct): void;
279
-
280
- serializeBinary(): Uint8Array;
281
- toObject(includeInstance?: boolean): MoveOnGlobeRequest.AsObject;
282
- static toObject(includeInstance: boolean, msg: MoveOnGlobeRequest): MoveOnGlobeRequest.AsObject;
283
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
284
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
285
- static serializeBinaryToWriter(message: MoveOnGlobeRequest, writer: jspb.BinaryWriter): void;
286
- static deserializeBinary(bytes: Uint8Array): MoveOnGlobeRequest;
287
- static deserializeBinaryFromReader(message: MoveOnGlobeRequest, reader: jspb.BinaryReader): MoveOnGlobeRequest;
288
- }
217
+ static readonly runtime: typeof proto3;
218
+ static readonly typeName = "viam.service.motion.v1.MoveOnMapResponse";
219
+ static readonly fields: FieldList;
289
220
 
290
- export namespace MoveOnGlobeRequest {
291
- export type AsObject = {
292
- name: string,
293
- destination?: common_v1_common_pb.GeoPoint.AsObject,
294
- heading: number,
295
- componentName?: common_v1_common_pb.ResourceName.AsObject,
296
- movementSensorName?: common_v1_common_pb.ResourceName.AsObject,
297
- obstaclesList: Array<common_v1_common_pb.GeoGeometry.AsObject>,
298
- motionConfiguration?: MotionConfiguration.AsObject,
299
- boundingRegionsList: Array<common_v1_common_pb.GeoGeometry.AsObject>,
300
- extra?: google_protobuf_struct_pb.Struct.AsObject,
301
- }
302
- }
221
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveOnMapResponse;
303
222
 
304
- export class MoveOnGlobeResponse extends jspb.Message {
305
- getExecutionId(): string;
306
- setExecutionId(value: string): void;
307
-
308
- serializeBinary(): Uint8Array;
309
- toObject(includeInstance?: boolean): MoveOnGlobeResponse.AsObject;
310
- static toObject(includeInstance: boolean, msg: MoveOnGlobeResponse): MoveOnGlobeResponse.AsObject;
311
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
312
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
313
- static serializeBinaryToWriter(message: MoveOnGlobeResponse, writer: jspb.BinaryWriter): void;
314
- static deserializeBinary(bytes: Uint8Array): MoveOnGlobeResponse;
315
- static deserializeBinaryFromReader(message: MoveOnGlobeResponse, reader: jspb.BinaryReader): MoveOnGlobeResponse;
316
- }
223
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveOnMapResponse;
317
224
 
318
- export namespace MoveOnGlobeResponse {
319
- export type AsObject = {
320
- executionId: string,
321
- }
322
- }
225
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveOnMapResponse;
323
226
 
324
- export class GetPoseRequest extends jspb.Message {
325
- getName(): string;
326
- setName(value: string): void;
327
-
328
- hasComponentName(): boolean;
329
- clearComponentName(): void;
330
- getComponentName(): common_v1_common_pb.ResourceName | undefined;
331
- setComponentName(value?: common_v1_common_pb.ResourceName): void;
332
-
333
- getDestinationFrame(): string;
334
- setDestinationFrame(value: string): void;
335
-
336
- clearSupplementalTransformsList(): void;
337
- getSupplementalTransformsList(): Array<common_v1_common_pb.Transform>;
338
- setSupplementalTransformsList(value: Array<common_v1_common_pb.Transform>): void;
339
- addSupplementalTransforms(value?: common_v1_common_pb.Transform, index?: number): common_v1_common_pb.Transform;
340
-
341
- hasExtra(): boolean;
342
- clearExtra(): void;
343
- getExtra(): google_protobuf_struct_pb.Struct | undefined;
344
- setExtra(value?: google_protobuf_struct_pb.Struct): void;
345
-
346
- serializeBinary(): Uint8Array;
347
- toObject(includeInstance?: boolean): GetPoseRequest.AsObject;
348
- static toObject(includeInstance: boolean, msg: GetPoseRequest): GetPoseRequest.AsObject;
349
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
350
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
351
- static serializeBinaryToWriter(message: GetPoseRequest, writer: jspb.BinaryWriter): void;
352
- static deserializeBinary(bytes: Uint8Array): GetPoseRequest;
353
- static deserializeBinaryFromReader(message: GetPoseRequest, reader: jspb.BinaryReader): GetPoseRequest;
227
+ static equals(a: MoveOnMapResponse | PlainMessage<MoveOnMapResponse> | undefined, b: MoveOnMapResponse | PlainMessage<MoveOnMapResponse> | undefined): boolean;
354
228
  }
355
229
 
356
- export namespace GetPoseRequest {
357
- export type AsObject = {
358
- name: string,
359
- componentName?: common_v1_common_pb.ResourceName.AsObject,
360
- destinationFrame: string,
361
- supplementalTransformsList: Array<common_v1_common_pb.Transform.AsObject>,
362
- extra?: google_protobuf_struct_pb.Struct.AsObject,
363
- }
364
- }
230
+ /**
231
+ * Pairs a vision service with a camera, informing the service about which camera it may use
232
+ *
233
+ * @generated from message viam.service.motion.v1.ObstacleDetector
234
+ */
235
+ export declare class ObstacleDetector extends Message<ObstacleDetector> {
236
+ /**
237
+ * @generated from field: viam.common.v1.ResourceName vision_service = 1;
238
+ */
239
+ visionService?: ResourceName;
365
240
 
366
- export class GetPoseResponse extends jspb.Message {
367
- hasPose(): boolean;
368
- clearPose(): void;
369
- getPose(): common_v1_common_pb.PoseInFrame | undefined;
370
- setPose(value?: common_v1_common_pb.PoseInFrame): void;
371
-
372
- serializeBinary(): Uint8Array;
373
- toObject(includeInstance?: boolean): GetPoseResponse.AsObject;
374
- static toObject(includeInstance: boolean, msg: GetPoseResponse): GetPoseResponse.AsObject;
375
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
376
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
377
- static serializeBinaryToWriter(message: GetPoseResponse, writer: jspb.BinaryWriter): void;
378
- static deserializeBinary(bytes: Uint8Array): GetPoseResponse;
379
- static deserializeBinaryFromReader(message: GetPoseResponse, reader: jspb.BinaryReader): GetPoseResponse;
380
- }
241
+ /**
242
+ * @generated from field: viam.common.v1.ResourceName camera = 2;
243
+ */
244
+ camera?: ResourceName;
381
245
 
382
- export namespace GetPoseResponse {
383
- export type AsObject = {
384
- pose?: common_v1_common_pb.PoseInFrame.AsObject,
385
- }
386
- }
246
+ constructor(data?: PartialMessage<ObstacleDetector>);
387
247
 
388
- export class StopPlanRequest extends jspb.Message {
389
- getName(): string;
390
- setName(value: string): void;
391
-
392
- hasComponentName(): boolean;
393
- clearComponentName(): void;
394
- getComponentName(): common_v1_common_pb.ResourceName | undefined;
395
- setComponentName(value?: common_v1_common_pb.ResourceName): void;
396
-
397
- hasExtra(): boolean;
398
- clearExtra(): void;
399
- getExtra(): google_protobuf_struct_pb.Struct | undefined;
400
- setExtra(value?: google_protobuf_struct_pb.Struct): void;
401
-
402
- serializeBinary(): Uint8Array;
403
- toObject(includeInstance?: boolean): StopPlanRequest.AsObject;
404
- static toObject(includeInstance: boolean, msg: StopPlanRequest): StopPlanRequest.AsObject;
405
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
406
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
407
- static serializeBinaryToWriter(message: StopPlanRequest, writer: jspb.BinaryWriter): void;
408
- static deserializeBinary(bytes: Uint8Array): StopPlanRequest;
409
- static deserializeBinaryFromReader(message: StopPlanRequest, reader: jspb.BinaryReader): StopPlanRequest;
410
- }
248
+ static readonly runtime: typeof proto3;
249
+ static readonly typeName = "viam.service.motion.v1.ObstacleDetector";
250
+ static readonly fields: FieldList;
411
251
 
412
- export namespace StopPlanRequest {
413
- export type AsObject = {
414
- name: string,
415
- componentName?: common_v1_common_pb.ResourceName.AsObject,
416
- extra?: google_protobuf_struct_pb.Struct.AsObject,
417
- }
418
- }
252
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ObstacleDetector;
419
253
 
420
- export class StopPlanResponse extends jspb.Message {
421
- serializeBinary(): Uint8Array;
422
- toObject(includeInstance?: boolean): StopPlanResponse.AsObject;
423
- static toObject(includeInstance: boolean, msg: StopPlanResponse): StopPlanResponse.AsObject;
424
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
425
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
426
- static serializeBinaryToWriter(message: StopPlanResponse, writer: jspb.BinaryWriter): void;
427
- static deserializeBinary(bytes: Uint8Array): StopPlanResponse;
428
- static deserializeBinaryFromReader(message: StopPlanResponse, reader: jspb.BinaryReader): StopPlanResponse;
429
- }
254
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ObstacleDetector;
430
255
 
431
- export namespace StopPlanResponse {
432
- export type AsObject = {
433
- }
434
- }
256
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ObstacleDetector;
435
257
 
436
- export class ListPlanStatusesRequest extends jspb.Message {
437
- getName(): string;
438
- setName(value: string): void;
439
-
440
- getOnlyActivePlans(): boolean;
441
- setOnlyActivePlans(value: boolean): void;
442
-
443
- hasExtra(): boolean;
444
- clearExtra(): void;
445
- getExtra(): google_protobuf_struct_pb.Struct | undefined;
446
- setExtra(value?: google_protobuf_struct_pb.Struct): void;
447
-
448
- serializeBinary(): Uint8Array;
449
- toObject(includeInstance?: boolean): ListPlanStatusesRequest.AsObject;
450
- static toObject(includeInstance: boolean, msg: ListPlanStatusesRequest): ListPlanStatusesRequest.AsObject;
451
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
452
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
453
- static serializeBinaryToWriter(message: ListPlanStatusesRequest, writer: jspb.BinaryWriter): void;
454
- static deserializeBinary(bytes: Uint8Array): ListPlanStatusesRequest;
455
- static deserializeBinaryFromReader(message: ListPlanStatusesRequest, reader: jspb.BinaryReader): ListPlanStatusesRequest;
258
+ static equals(a: ObstacleDetector | PlainMessage<ObstacleDetector> | undefined, b: ObstacleDetector | PlainMessage<ObstacleDetector> | undefined): boolean;
456
259
  }
457
260
 
458
- export namespace ListPlanStatusesRequest {
459
- export type AsObject = {
460
- name: string,
461
- onlyActivePlans: boolean,
462
- extra?: google_protobuf_struct_pb.Struct.AsObject,
463
- }
261
+ /**
262
+ * @generated from message viam.service.motion.v1.MotionConfiguration
263
+ */
264
+ export declare class MotionConfiguration extends Message<MotionConfiguration> {
265
+ /**
266
+ * The ObstacleDetectors that will be used for transient obstacle avoidance
267
+ *
268
+ * @generated from field: repeated viam.service.motion.v1.ObstacleDetector obstacle_detectors = 1;
269
+ */
270
+ obstacleDetectors: ObstacleDetector[];
271
+
272
+ /**
273
+ * Sets the frequency to poll for the position of the robot
274
+ *
275
+ * @generated from field: optional double position_polling_frequency_hz = 2;
276
+ */
277
+ positionPollingFrequencyHz?: number;
278
+
279
+ /**
280
+ * Sets the frequency to poll the vision service(s) for new obstacles
281
+ *
282
+ * @generated from field: optional double obstacle_polling_frequency_hz = 3;
283
+ */
284
+ obstaclePollingFrequencyHz?: number;
285
+
286
+ /**
287
+ * Sets the distance in meters that a robot is allowed to deviate from the motion plan
288
+ *
289
+ * @generated from field: optional double plan_deviation_m = 4;
290
+ */
291
+ planDeviationM?: number;
292
+
293
+ /**
294
+ * Optional linear velocity to target when moving
295
+ *
296
+ * @generated from field: optional double linear_m_per_sec = 5;
297
+ */
298
+ linearMPerSec?: number;
299
+
300
+ /**
301
+ * Optional angular velocity to target when turning
302
+ *
303
+ * @generated from field: optional double angular_degs_per_sec = 6;
304
+ */
305
+ angularDegsPerSec?: number;
306
+
307
+ constructor(data?: PartialMessage<MotionConfiguration>);
308
+
309
+ static readonly runtime: typeof proto3;
310
+ static readonly typeName = "viam.service.motion.v1.MotionConfiguration";
311
+ static readonly fields: FieldList;
312
+
313
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MotionConfiguration;
314
+
315
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MotionConfiguration;
316
+
317
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MotionConfiguration;
318
+
319
+ static equals(a: MotionConfiguration | PlainMessage<MotionConfiguration> | undefined, b: MotionConfiguration | PlainMessage<MotionConfiguration> | undefined): boolean;
464
320
  }
465
321
 
466
- export class ListPlanStatusesResponse extends jspb.Message {
467
- clearPlanStatusesWithIdsList(): void;
468
- getPlanStatusesWithIdsList(): Array<PlanStatusWithID>;
469
- setPlanStatusesWithIdsList(value: Array<PlanStatusWithID>): void;
470
- addPlanStatusesWithIds(value?: PlanStatusWithID, index?: number): PlanStatusWithID;
471
-
472
- serializeBinary(): Uint8Array;
473
- toObject(includeInstance?: boolean): ListPlanStatusesResponse.AsObject;
474
- static toObject(includeInstance: boolean, msg: ListPlanStatusesResponse): ListPlanStatusesResponse.AsObject;
475
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
476
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
477
- static serializeBinaryToWriter(message: ListPlanStatusesResponse, writer: jspb.BinaryWriter): void;
478
- static deserializeBinary(bytes: Uint8Array): ListPlanStatusesResponse;
479
- static deserializeBinaryFromReader(message: ListPlanStatusesResponse, reader: jspb.BinaryReader): ListPlanStatusesResponse;
322
+ /**
323
+ * @generated from message viam.service.motion.v1.MoveOnGlobeRequest
324
+ */
325
+ export declare class MoveOnGlobeRequest extends Message<MoveOnGlobeRequest> {
326
+ /**
327
+ * Name of the motion service
328
+ *
329
+ * @generated from field: string name = 1;
330
+ */
331
+ name: string;
332
+
333
+ /**
334
+ * Destination, encoded as a GeoPoint
335
+ *
336
+ * @generated from field: viam.common.v1.GeoPoint destination = 2;
337
+ */
338
+ destination?: GeoPoint;
339
+
340
+ /**
341
+ * Optional compass heading to achieve at the destination, in degrees [0-360)
342
+ *
343
+ * @generated from field: optional double heading = 3;
344
+ */
345
+ heading?: number;
346
+
347
+ /**
348
+ * Component on the robot to move to the specified destination
349
+ *
350
+ * @generated from field: viam.common.v1.ResourceName component_name = 4;
351
+ */
352
+ componentName?: ResourceName;
353
+
354
+ /**
355
+ * Name of the movement sensor which will be used to check robot location
356
+ *
357
+ * @generated from field: viam.common.v1.ResourceName movement_sensor_name = 5;
358
+ */
359
+ movementSensorName?: ResourceName;
360
+
361
+ /**
362
+ * Obstacles to be considered for motion planning
363
+ *
364
+ * @generated from field: repeated viam.common.v1.GeoGeometry obstacles = 6;
365
+ */
366
+ obstacles: GeoGeometry[];
367
+
368
+ /**
369
+ * Optional set of motion configuration options
370
+ *
371
+ * @generated from field: optional viam.service.motion.v1.MotionConfiguration motion_configuration = 7;
372
+ */
373
+ motionConfiguration?: MotionConfiguration;
374
+
375
+ /**
376
+ * Set of obstacles which the robot must remain within while navigating
377
+ *
378
+ * @generated from field: repeated viam.common.v1.GeoGeometry bounding_regions = 8;
379
+ */
380
+ boundingRegions: GeoGeometry[];
381
+
382
+ /**
383
+ * Additional arguments to the method
384
+ *
385
+ * @generated from field: google.protobuf.Struct extra = 99;
386
+ */
387
+ extra?: Struct;
388
+
389
+ constructor(data?: PartialMessage<MoveOnGlobeRequest>);
390
+
391
+ static readonly runtime: typeof proto3;
392
+ static readonly typeName = "viam.service.motion.v1.MoveOnGlobeRequest";
393
+ static readonly fields: FieldList;
394
+
395
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveOnGlobeRequest;
396
+
397
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveOnGlobeRequest;
398
+
399
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveOnGlobeRequest;
400
+
401
+ static equals(a: MoveOnGlobeRequest | PlainMessage<MoveOnGlobeRequest> | undefined, b: MoveOnGlobeRequest | PlainMessage<MoveOnGlobeRequest> | undefined): boolean;
480
402
  }
481
403
 
482
- export namespace ListPlanStatusesResponse {
483
- export type AsObject = {
484
- planStatusesWithIdsList: Array<PlanStatusWithID.AsObject>,
485
- }
486
- }
404
+ /**
405
+ * @generated from message viam.service.motion.v1.MoveOnGlobeResponse
406
+ */
407
+ export declare class MoveOnGlobeResponse extends Message<MoveOnGlobeResponse> {
408
+ /**
409
+ * The unique ID which identifies the execution.
410
+ * Multiple plans will share the same execution_id if they were
411
+ * generated due to replanning.
412
+ *
413
+ * @generated from field: string execution_id = 1;
414
+ */
415
+ executionId: string;
487
416
 
488
- export class GetPlanRequest extends jspb.Message {
489
- getName(): string;
490
- setName(value: string): void;
491
-
492
- hasComponentName(): boolean;
493
- clearComponentName(): void;
494
- getComponentName(): common_v1_common_pb.ResourceName | undefined;
495
- setComponentName(value?: common_v1_common_pb.ResourceName): void;
496
-
497
- getLastPlanOnly(): boolean;
498
- setLastPlanOnly(value: boolean): void;
499
-
500
- hasExecutionId(): boolean;
501
- clearExecutionId(): void;
502
- getExecutionId(): string;
503
- setExecutionId(value: string): void;
504
-
505
- hasExtra(): boolean;
506
- clearExtra(): void;
507
- getExtra(): google_protobuf_struct_pb.Struct | undefined;
508
- setExtra(value?: google_protobuf_struct_pb.Struct): void;
509
-
510
- serializeBinary(): Uint8Array;
511
- toObject(includeInstance?: boolean): GetPlanRequest.AsObject;
512
- static toObject(includeInstance: boolean, msg: GetPlanRequest): GetPlanRequest.AsObject;
513
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
514
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
515
- static serializeBinaryToWriter(message: GetPlanRequest, writer: jspb.BinaryWriter): void;
516
- static deserializeBinary(bytes: Uint8Array): GetPlanRequest;
517
- static deserializeBinaryFromReader(message: GetPlanRequest, reader: jspb.BinaryReader): GetPlanRequest;
518
- }
417
+ constructor(data?: PartialMessage<MoveOnGlobeResponse>);
519
418
 
520
- export namespace GetPlanRequest {
521
- export type AsObject = {
522
- name: string,
523
- componentName?: common_v1_common_pb.ResourceName.AsObject,
524
- lastPlanOnly: boolean,
525
- executionId: string,
526
- extra?: google_protobuf_struct_pb.Struct.AsObject,
527
- }
528
- }
419
+ static readonly runtime: typeof proto3;
420
+ static readonly typeName = "viam.service.motion.v1.MoveOnGlobeResponse";
421
+ static readonly fields: FieldList;
529
422
 
530
- export class GetPlanResponse extends jspb.Message {
531
- hasCurrentPlanWithStatus(): boolean;
532
- clearCurrentPlanWithStatus(): void;
533
- getCurrentPlanWithStatus(): PlanWithStatus | undefined;
534
- setCurrentPlanWithStatus(value?: PlanWithStatus): void;
535
-
536
- clearReplanHistoryList(): void;
537
- getReplanHistoryList(): Array<PlanWithStatus>;
538
- setReplanHistoryList(value: Array<PlanWithStatus>): void;
539
- addReplanHistory(value?: PlanWithStatus, index?: number): PlanWithStatus;
540
-
541
- serializeBinary(): Uint8Array;
542
- toObject(includeInstance?: boolean): GetPlanResponse.AsObject;
543
- static toObject(includeInstance: boolean, msg: GetPlanResponse): GetPlanResponse.AsObject;
544
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
545
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
546
- static serializeBinaryToWriter(message: GetPlanResponse, writer: jspb.BinaryWriter): void;
547
- static deserializeBinary(bytes: Uint8Array): GetPlanResponse;
548
- static deserializeBinaryFromReader(message: GetPlanResponse, reader: jspb.BinaryReader): GetPlanResponse;
549
- }
423
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveOnGlobeResponse;
550
424
 
551
- export namespace GetPlanResponse {
552
- export type AsObject = {
553
- currentPlanWithStatus?: PlanWithStatus.AsObject,
554
- replanHistoryList: Array<PlanWithStatus.AsObject>,
555
- }
556
- }
425
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveOnGlobeResponse;
557
426
 
558
- export class Constraints extends jspb.Message {
559
- clearLinearConstraintList(): void;
560
- getLinearConstraintList(): Array<LinearConstraint>;
561
- setLinearConstraintList(value: Array<LinearConstraint>): void;
562
- addLinearConstraint(value?: LinearConstraint, index?: number): LinearConstraint;
563
-
564
- clearOrientationConstraintList(): void;
565
- getOrientationConstraintList(): Array<OrientationConstraint>;
566
- setOrientationConstraintList(value: Array<OrientationConstraint>): void;
567
- addOrientationConstraint(value?: OrientationConstraint, index?: number): OrientationConstraint;
568
-
569
- clearCollisionSpecificationList(): void;
570
- getCollisionSpecificationList(): Array<CollisionSpecification>;
571
- setCollisionSpecificationList(value: Array<CollisionSpecification>): void;
572
- addCollisionSpecification(value?: CollisionSpecification, index?: number): CollisionSpecification;
573
-
574
- serializeBinary(): Uint8Array;
575
- toObject(includeInstance?: boolean): Constraints.AsObject;
576
- static toObject(includeInstance: boolean, msg: Constraints): Constraints.AsObject;
577
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
578
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
579
- static serializeBinaryToWriter(message: Constraints, writer: jspb.BinaryWriter): void;
580
- static deserializeBinary(bytes: Uint8Array): Constraints;
581
- static deserializeBinaryFromReader(message: Constraints, reader: jspb.BinaryReader): Constraints;
582
- }
427
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveOnGlobeResponse;
583
428
 
584
- export namespace Constraints {
585
- export type AsObject = {
586
- linearConstraintList: Array<LinearConstraint.AsObject>,
587
- orientationConstraintList: Array<OrientationConstraint.AsObject>,
588
- collisionSpecificationList: Array<CollisionSpecification.AsObject>,
589
- }
429
+ static equals(a: MoveOnGlobeResponse | PlainMessage<MoveOnGlobeResponse> | undefined, b: MoveOnGlobeResponse | PlainMessage<MoveOnGlobeResponse> | undefined): boolean;
590
430
  }
591
431
 
592
- export class LinearConstraint extends jspb.Message {
593
- hasLineToleranceMm(): boolean;
594
- clearLineToleranceMm(): void;
595
- getLineToleranceMm(): number;
596
- setLineToleranceMm(value: number): void;
597
-
598
- hasOrientationToleranceDegs(): boolean;
599
- clearOrientationToleranceDegs(): void;
600
- getOrientationToleranceDegs(): number;
601
- setOrientationToleranceDegs(value: number): void;
602
-
603
- serializeBinary(): Uint8Array;
604
- toObject(includeInstance?: boolean): LinearConstraint.AsObject;
605
- static toObject(includeInstance: boolean, msg: LinearConstraint): LinearConstraint.AsObject;
606
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
607
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
608
- static serializeBinaryToWriter(message: LinearConstraint, writer: jspb.BinaryWriter): void;
609
- static deserializeBinary(bytes: Uint8Array): LinearConstraint;
610
- static deserializeBinaryFromReader(message: LinearConstraint, reader: jspb.BinaryReader): LinearConstraint;
432
+ /**
433
+ * @generated from message viam.service.motion.v1.GetPoseRequest
434
+ */
435
+ export declare class GetPoseRequest extends Message<GetPoseRequest> {
436
+ /**
437
+ * @generated from field: string name = 1;
438
+ */
439
+ name: string;
440
+
441
+ /**
442
+ * the component whose pose is being requested
443
+ *
444
+ * @generated from field: viam.common.v1.ResourceName component_name = 2;
445
+ */
446
+ componentName?: ResourceName;
447
+
448
+ /**
449
+ * the reference frame in which the component's pose
450
+ * should be provided, if unset this defaults
451
+ * to the "world" reference frame
452
+ *
453
+ * @generated from field: string destination_frame = 3;
454
+ */
455
+ destinationFrame: string;
456
+
457
+ /**
458
+ * pose information on any additional reference frames that are needed
459
+ * to compute the component's pose
460
+ *
461
+ * @generated from field: repeated viam.common.v1.Transform supplemental_transforms = 4;
462
+ */
463
+ supplementalTransforms: Transform[];
464
+
465
+ /**
466
+ * Additional arguments to the method
467
+ *
468
+ * @generated from field: google.protobuf.Struct extra = 99;
469
+ */
470
+ extra?: Struct;
471
+
472
+ constructor(data?: PartialMessage<GetPoseRequest>);
473
+
474
+ static readonly runtime: typeof proto3;
475
+ static readonly typeName = "viam.service.motion.v1.GetPoseRequest";
476
+ static readonly fields: FieldList;
477
+
478
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPoseRequest;
479
+
480
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPoseRequest;
481
+
482
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPoseRequest;
483
+
484
+ static equals(a: GetPoseRequest | PlainMessage<GetPoseRequest> | undefined, b: GetPoseRequest | PlainMessage<GetPoseRequest> | undefined): boolean;
611
485
  }
612
486
 
613
- export namespace LinearConstraint {
614
- export type AsObject = {
615
- lineToleranceMm: number,
616
- orientationToleranceDegs: number,
617
- }
618
- }
487
+ /**
488
+ * @generated from message viam.service.motion.v1.GetPoseResponse
489
+ */
490
+ export declare class GetPoseResponse extends Message<GetPoseResponse> {
491
+ /**
492
+ * @generated from field: viam.common.v1.PoseInFrame pose = 1;
493
+ */
494
+ pose?: PoseInFrame;
619
495
 
620
- export class OrientationConstraint extends jspb.Message {
621
- hasOrientationToleranceDegs(): boolean;
622
- clearOrientationToleranceDegs(): void;
623
- getOrientationToleranceDegs(): number;
624
- setOrientationToleranceDegs(value: number): void;
625
-
626
- serializeBinary(): Uint8Array;
627
- toObject(includeInstance?: boolean): OrientationConstraint.AsObject;
628
- static toObject(includeInstance: boolean, msg: OrientationConstraint): OrientationConstraint.AsObject;
629
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
630
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
631
- static serializeBinaryToWriter(message: OrientationConstraint, writer: jspb.BinaryWriter): void;
632
- static deserializeBinary(bytes: Uint8Array): OrientationConstraint;
633
- static deserializeBinaryFromReader(message: OrientationConstraint, reader: jspb.BinaryReader): OrientationConstraint;
496
+ constructor(data?: PartialMessage<GetPoseResponse>);
497
+
498
+ static readonly runtime: typeof proto3;
499
+ static readonly typeName = "viam.service.motion.v1.GetPoseResponse";
500
+ static readonly fields: FieldList;
501
+
502
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPoseResponse;
503
+
504
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPoseResponse;
505
+
506
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPoseResponse;
507
+
508
+ static equals(a: GetPoseResponse | PlainMessage<GetPoseResponse> | undefined, b: GetPoseResponse | PlainMessage<GetPoseResponse> | undefined): boolean;
634
509
  }
635
510
 
636
- export namespace OrientationConstraint {
637
- export type AsObject = {
638
- orientationToleranceDegs: number,
639
- }
511
+ /**
512
+ * @generated from message viam.service.motion.v1.StopPlanRequest
513
+ */
514
+ export declare class StopPlanRequest extends Message<StopPlanRequest> {
515
+ /**
516
+ * The name of the motion service
517
+ *
518
+ * @generated from field: string name = 1;
519
+ */
520
+ name: string;
521
+
522
+ /**
523
+ * The component of the currently executing plan to stop
524
+ *
525
+ * @generated from field: viam.common.v1.ResourceName component_name = 2;
526
+ */
527
+ componentName?: ResourceName;
528
+
529
+ /**
530
+ * Additional arguments to the method
531
+ *
532
+ * @generated from field: google.protobuf.Struct extra = 99;
533
+ */
534
+ extra?: Struct;
535
+
536
+ constructor(data?: PartialMessage<StopPlanRequest>);
537
+
538
+ static readonly runtime: typeof proto3;
539
+ static readonly typeName = "viam.service.motion.v1.StopPlanRequest";
540
+ static readonly fields: FieldList;
541
+
542
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopPlanRequest;
543
+
544
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopPlanRequest;
545
+
546
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopPlanRequest;
547
+
548
+ static equals(a: StopPlanRequest | PlainMessage<StopPlanRequest> | undefined, b: StopPlanRequest | PlainMessage<StopPlanRequest> | undefined): boolean;
640
549
  }
641
550
 
642
- export class CollisionSpecification extends jspb.Message {
643
- clearAllowsList(): void;
644
- getAllowsList(): Array<CollisionSpecification.AllowedFrameCollisions>;
645
- setAllowsList(value: Array<CollisionSpecification.AllowedFrameCollisions>): void;
646
- addAllows(value?: CollisionSpecification.AllowedFrameCollisions, index?: number): CollisionSpecification.AllowedFrameCollisions;
647
-
648
- serializeBinary(): Uint8Array;
649
- toObject(includeInstance?: boolean): CollisionSpecification.AsObject;
650
- static toObject(includeInstance: boolean, msg: CollisionSpecification): CollisionSpecification.AsObject;
651
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
652
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
653
- static serializeBinaryToWriter(message: CollisionSpecification, writer: jspb.BinaryWriter): void;
654
- static deserializeBinary(bytes: Uint8Array): CollisionSpecification;
655
- static deserializeBinaryFromReader(message: CollisionSpecification, reader: jspb.BinaryReader): CollisionSpecification;
551
+ /**
552
+ * @generated from message viam.service.motion.v1.StopPlanResponse
553
+ */
554
+ export declare class StopPlanResponse extends Message<StopPlanResponse> {
555
+ constructor(data?: PartialMessage<StopPlanResponse>);
556
+
557
+ static readonly runtime: typeof proto3;
558
+ static readonly typeName = "viam.service.motion.v1.StopPlanResponse";
559
+ static readonly fields: FieldList;
560
+
561
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopPlanResponse;
562
+
563
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopPlanResponse;
564
+
565
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopPlanResponse;
566
+
567
+ static equals(a: StopPlanResponse | PlainMessage<StopPlanResponse> | undefined, b: StopPlanResponse | PlainMessage<StopPlanResponse> | undefined): boolean;
656
568
  }
657
569
 
658
- export namespace CollisionSpecification {
659
- export type AsObject = {
660
- allowsList: Array<CollisionSpecification.AllowedFrameCollisions.AsObject>,
661
- }
662
-
663
- export class AllowedFrameCollisions extends jspb.Message {
664
- getFrame1(): string;
665
- setFrame1(value: string): void;
666
-
667
- getFrame2(): string;
668
- setFrame2(value: string): void;
669
-
670
- serializeBinary(): Uint8Array;
671
- toObject(includeInstance?: boolean): AllowedFrameCollisions.AsObject;
672
- static toObject(includeInstance: boolean, msg: AllowedFrameCollisions): AllowedFrameCollisions.AsObject;
673
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
674
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
675
- static serializeBinaryToWriter(message: AllowedFrameCollisions, writer: jspb.BinaryWriter): void;
676
- static deserializeBinary(bytes: Uint8Array): AllowedFrameCollisions;
677
- static deserializeBinaryFromReader(message: AllowedFrameCollisions, reader: jspb.BinaryReader): AllowedFrameCollisions;
678
- }
679
-
680
- export namespace AllowedFrameCollisions {
681
- export type AsObject = {
682
- frame1: string,
683
- frame2: string,
684
- }
685
- }
570
+ /**
571
+ * @generated from message viam.service.motion.v1.ListPlanStatusesRequest
572
+ */
573
+ export declare class ListPlanStatusesRequest extends Message<ListPlanStatusesRequest> {
574
+ /**
575
+ * The name of the motion service
576
+ *
577
+ * @generated from field: string name = 1;
578
+ */
579
+ name: string;
580
+
581
+ /**
582
+ * If supplied, the response will filter the
583
+ * plan results for the supplied state
584
+ *
585
+ * @generated from field: bool only_active_plans = 2;
586
+ */
587
+ onlyActivePlans: boolean;
588
+
589
+ /**
590
+ * Additional arguments to the method
591
+ *
592
+ * @generated from field: google.protobuf.Struct extra = 99;
593
+ */
594
+ extra?: Struct;
595
+
596
+ constructor(data?: PartialMessage<ListPlanStatusesRequest>);
597
+
598
+ static readonly runtime: typeof proto3;
599
+ static readonly typeName = "viam.service.motion.v1.ListPlanStatusesRequest";
600
+ static readonly fields: FieldList;
601
+
602
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPlanStatusesRequest;
603
+
604
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPlanStatusesRequest;
605
+
606
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPlanStatusesRequest;
607
+
608
+ static equals(a: ListPlanStatusesRequest | PlainMessage<ListPlanStatusesRequest> | undefined, b: ListPlanStatusesRequest | PlainMessage<ListPlanStatusesRequest> | undefined): boolean;
686
609
  }
687
610
 
688
- export class PlanWithStatus extends jspb.Message {
689
- hasPlan(): boolean;
690
- clearPlan(): void;
691
- getPlan(): Plan | undefined;
692
- setPlan(value?: Plan): void;
693
-
694
- hasStatus(): boolean;
695
- clearStatus(): void;
696
- getStatus(): PlanStatus | undefined;
697
- setStatus(value?: PlanStatus): void;
698
-
699
- clearStatusHistoryList(): void;
700
- getStatusHistoryList(): Array<PlanStatus>;
701
- setStatusHistoryList(value: Array<PlanStatus>): void;
702
- addStatusHistory(value?: PlanStatus, index?: number): PlanStatus;
703
-
704
- serializeBinary(): Uint8Array;
705
- toObject(includeInstance?: boolean): PlanWithStatus.AsObject;
706
- static toObject(includeInstance: boolean, msg: PlanWithStatus): PlanWithStatus.AsObject;
707
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
708
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
709
- static serializeBinaryToWriter(message: PlanWithStatus, writer: jspb.BinaryWriter): void;
710
- static deserializeBinary(bytes: Uint8Array): PlanWithStatus;
711
- static deserializeBinaryFromReader(message: PlanWithStatus, reader: jspb.BinaryReader): PlanWithStatus;
611
+ /**
612
+ * Status of all executed / executing plan statuses with associated IDs within the 24 hour TTL
613
+ *
614
+ * @generated from message viam.service.motion.v1.ListPlanStatusesResponse
615
+ */
616
+ export declare class ListPlanStatusesResponse extends Message<ListPlanStatusesResponse> {
617
+ /**
618
+ * List of last known statuses with the associated IDs of all plans within the TTL
619
+ * ordered by timestamp in ascending order
620
+ *
621
+ * @generated from field: repeated viam.service.motion.v1.PlanStatusWithID plan_statuses_with_ids = 1;
622
+ */
623
+ planStatusesWithIds: PlanStatusWithID[];
624
+
625
+ constructor(data?: PartialMessage<ListPlanStatusesResponse>);
626
+
627
+ static readonly runtime: typeof proto3;
628
+ static readonly typeName = "viam.service.motion.v1.ListPlanStatusesResponse";
629
+ static readonly fields: FieldList;
630
+
631
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPlanStatusesResponse;
632
+
633
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPlanStatusesResponse;
634
+
635
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPlanStatusesResponse;
636
+
637
+ static equals(a: ListPlanStatusesResponse | PlainMessage<ListPlanStatusesResponse> | undefined, b: ListPlanStatusesResponse | PlainMessage<ListPlanStatusesResponse> | undefined): boolean;
712
638
  }
713
639
 
714
- export namespace PlanWithStatus {
715
- export type AsObject = {
716
- plan?: Plan.AsObject,
717
- status?: PlanStatus.AsObject,
718
- statusHistoryList: Array<PlanStatus.AsObject>,
719
- }
640
+ /**
641
+ * @generated from message viam.service.motion.v1.GetPlanRequest
642
+ */
643
+ export declare class GetPlanRequest extends Message<GetPlanRequest> {
644
+ /**
645
+ * The name of the motion service
646
+ *
647
+ * @generated from field: string name = 1;
648
+ */
649
+ name: string;
650
+
651
+ /**
652
+ * The name of the component which was requested to be moved.
653
+ *
654
+ * @generated from field: viam.common.v1.ResourceName component_name = 2;
655
+ */
656
+ componentName?: ResourceName;
657
+
658
+ /**
659
+ * If supplied, the response will only return
660
+ * the the last plan for the component / execution
661
+ *
662
+ * @generated from field: bool last_plan_only = 3;
663
+ */
664
+ lastPlanOnly: boolean;
665
+
666
+ /**
667
+ * If you want to know about the plans of a previous execution
668
+ *
669
+ * @generated from field: optional string execution_id = 4;
670
+ */
671
+ executionId?: string;
672
+
673
+ /**
674
+ * Additional arguments to the method
675
+ *
676
+ * @generated from field: google.protobuf.Struct extra = 99;
677
+ */
678
+ extra?: Struct;
679
+
680
+ constructor(data?: PartialMessage<GetPlanRequest>);
681
+
682
+ static readonly runtime: typeof proto3;
683
+ static readonly typeName = "viam.service.motion.v1.GetPlanRequest";
684
+ static readonly fields: FieldList;
685
+
686
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPlanRequest;
687
+
688
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPlanRequest;
689
+
690
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPlanRequest;
691
+
692
+ static equals(a: GetPlanRequest | PlainMessage<GetPlanRequest> | undefined, b: GetPlanRequest | PlainMessage<GetPlanRequest> | undefined): boolean;
720
693
  }
721
694
 
722
- export class PlanStatusWithID extends jspb.Message {
723
- getPlanId(): string;
724
- setPlanId(value: string): void;
725
-
726
- hasComponentName(): boolean;
727
- clearComponentName(): void;
728
- getComponentName(): common_v1_common_pb.ResourceName | undefined;
729
- setComponentName(value?: common_v1_common_pb.ResourceName): void;
730
-
731
- getExecutionId(): string;
732
- setExecutionId(value: string): void;
733
-
734
- hasStatus(): boolean;
735
- clearStatus(): void;
736
- getStatus(): PlanStatus | undefined;
737
- setStatus(value?: PlanStatus): void;
738
-
739
- serializeBinary(): Uint8Array;
740
- toObject(includeInstance?: boolean): PlanStatusWithID.AsObject;
741
- static toObject(includeInstance: boolean, msg: PlanStatusWithID): PlanStatusWithID.AsObject;
742
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
743
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
744
- static serializeBinaryToWriter(message: PlanStatusWithID, writer: jspb.BinaryWriter): void;
745
- static deserializeBinary(bytes: Uint8Array): PlanStatusWithID;
746
- static deserializeBinaryFromReader(message: PlanStatusWithID, reader: jspb.BinaryReader): PlanStatusWithID;
695
+ /**
696
+ * @generated from message viam.service.motion.v1.GetPlanResponse
697
+ */
698
+ export declare class GetPlanResponse extends Message<GetPlanResponse> {
699
+ /**
700
+ * The current plan and status that matches the request query
701
+ *
702
+ * @generated from field: viam.service.motion.v1.PlanWithStatus current_plan_with_status = 1;
703
+ */
704
+ currentPlanWithStatus?: PlanWithStatus;
705
+
706
+ /**
707
+ * Returns the history of all previous plans that were
708
+ * generated in ascending order.
709
+ * This field will be empty if the motion service
710
+ * did not need to re-plan.
711
+ *
712
+ * @generated from field: repeated viam.service.motion.v1.PlanWithStatus replan_history = 2;
713
+ */
714
+ replanHistory: PlanWithStatus[];
715
+
716
+ constructor(data?: PartialMessage<GetPlanResponse>);
717
+
718
+ static readonly runtime: typeof proto3;
719
+ static readonly typeName = "viam.service.motion.v1.GetPlanResponse";
720
+ static readonly fields: FieldList;
721
+
722
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPlanResponse;
723
+
724
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPlanResponse;
725
+
726
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPlanResponse;
727
+
728
+ static equals(a: GetPlanResponse | PlainMessage<GetPlanResponse> | undefined, b: GetPlanResponse | PlainMessage<GetPlanResponse> | undefined): boolean;
747
729
  }
748
730
 
749
- export namespace PlanStatusWithID {
750
- export type AsObject = {
751
- planId: string,
752
- componentName?: common_v1_common_pb.ResourceName.AsObject,
753
- executionId: string,
754
- status?: PlanStatus.AsObject,
755
- }
731
+ /**
732
+ * Constraints specifies all enumerated constraints to be passed to Viam's motion planning, along with any optional parameters
733
+ *
734
+ * @generated from message viam.service.motion.v1.Constraints
735
+ */
736
+ export declare class Constraints extends Message<Constraints> {
737
+ /**
738
+ * Typed message for a specific constraint
739
+ *
740
+ * @generated from field: repeated viam.service.motion.v1.LinearConstraint linear_constraint = 1;
741
+ */
742
+ linearConstraint: LinearConstraint[];
743
+
744
+ /**
745
+ * @generated from field: repeated viam.service.motion.v1.OrientationConstraint orientation_constraint = 2;
746
+ */
747
+ orientationConstraint: OrientationConstraint[];
748
+
749
+ /**
750
+ * Arc constraint, Time constraint, and others will be added here when they are supported
751
+ *
752
+ * @generated from field: repeated viam.service.motion.v1.CollisionSpecification collision_specification = 3;
753
+ */
754
+ collisionSpecification: CollisionSpecification[];
755
+
756
+ constructor(data?: PartialMessage<Constraints>);
757
+
758
+ static readonly runtime: typeof proto3;
759
+ static readonly typeName = "viam.service.motion.v1.Constraints";
760
+ static readonly fields: FieldList;
761
+
762
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Constraints;
763
+
764
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Constraints;
765
+
766
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Constraints;
767
+
768
+ static equals(a: Constraints | PlainMessage<Constraints> | undefined, b: Constraints | PlainMessage<Constraints> | undefined): boolean;
756
769
  }
757
770
 
758
- export class PlanStatus extends jspb.Message {
759
- getState(): PlanStateMap[keyof PlanStateMap];
760
- setState(value: PlanStateMap[keyof PlanStateMap]): void;
761
-
762
- hasTimestamp(): boolean;
763
- clearTimestamp(): void;
764
- getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
765
- setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): void;
766
-
767
- hasReason(): boolean;
768
- clearReason(): void;
769
- getReason(): string;
770
- setReason(value: string): void;
771
-
772
- serializeBinary(): Uint8Array;
773
- toObject(includeInstance?: boolean): PlanStatus.AsObject;
774
- static toObject(includeInstance: boolean, msg: PlanStatus): PlanStatus.AsObject;
775
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
776
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
777
- static serializeBinaryToWriter(message: PlanStatus, writer: jspb.BinaryWriter): void;
778
- static deserializeBinary(bytes: Uint8Array): PlanStatus;
779
- static deserializeBinaryFromReader(message: PlanStatus, reader: jspb.BinaryReader): PlanStatus;
771
+ /**
772
+ * LinearConstraint specifies that the component being moved should move linearly relative to its goal.
773
+ * It does not constrain the motion of components other than the `component_name` specified in motion.Move
774
+ *
775
+ * @generated from message viam.service.motion.v1.LinearConstraint
776
+ */
777
+ export declare class LinearConstraint extends Message<LinearConstraint> {
778
+ /**
779
+ * Max linear deviation from straight-line between start and goal, in mm.
780
+ *
781
+ * @generated from field: optional float line_tolerance_mm = 1;
782
+ */
783
+ lineToleranceMm?: number;
784
+
785
+ /**
786
+ * Max allowable orientation deviation, in degrees, while on the shortest path between start / goal states
787
+ *
788
+ * @generated from field: optional float orientation_tolerance_degs = 2;
789
+ */
790
+ orientationToleranceDegs?: number;
791
+
792
+ constructor(data?: PartialMessage<LinearConstraint>);
793
+
794
+ static readonly runtime: typeof proto3;
795
+ static readonly typeName = "viam.service.motion.v1.LinearConstraint";
796
+ static readonly fields: FieldList;
797
+
798
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LinearConstraint;
799
+
800
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LinearConstraint;
801
+
802
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LinearConstraint;
803
+
804
+ static equals(a: LinearConstraint | PlainMessage<LinearConstraint> | undefined, b: LinearConstraint | PlainMessage<LinearConstraint> | undefined): boolean;
780
805
  }
781
806
 
782
- export namespace PlanStatus {
783
- export type AsObject = {
784
- state: PlanStateMap[keyof PlanStateMap],
785
- timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
786
- reason: string,
787
- }
807
+ /**
808
+ * OrientationConstraint specifies that the component being moved will not deviate its orientation beyond some threshold relative
809
+ * to the goal. It does not constrain the motion of components other than the `component_name` specified in motion.Move
810
+ *
811
+ * @generated from message viam.service.motion.v1.OrientationConstraint
812
+ */
813
+ export declare class OrientationConstraint extends Message<OrientationConstraint> {
814
+ /**
815
+ * Max allowable orientation deviation, in degrees, while on the shortest path between start / goal states
816
+ *
817
+ * @generated from field: optional float orientation_tolerance_degs = 1;
818
+ */
819
+ orientationToleranceDegs?: number;
820
+
821
+ constructor(data?: PartialMessage<OrientationConstraint>);
822
+
823
+ static readonly runtime: typeof proto3;
824
+ static readonly typeName = "viam.service.motion.v1.OrientationConstraint";
825
+ static readonly fields: FieldList;
826
+
827
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OrientationConstraint;
828
+
829
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OrientationConstraint;
830
+
831
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OrientationConstraint;
832
+
833
+ static equals(a: OrientationConstraint | PlainMessage<OrientationConstraint> | undefined, b: OrientationConstraint | PlainMessage<OrientationConstraint> | undefined): boolean;
788
834
  }
789
835
 
790
- export class Plan extends jspb.Message {
791
- getId(): string;
792
- setId(value: string): void;
793
-
794
- hasComponentName(): boolean;
795
- clearComponentName(): void;
796
- getComponentName(): common_v1_common_pb.ResourceName | undefined;
797
- setComponentName(value?: common_v1_common_pb.ResourceName): void;
798
-
799
- getExecutionId(): string;
800
- setExecutionId(value: string): void;
801
-
802
- clearStepsList(): void;
803
- getStepsList(): Array<PlanStep>;
804
- setStepsList(value: Array<PlanStep>): void;
805
- addSteps(value?: PlanStep, index?: number): PlanStep;
806
-
807
- serializeBinary(): Uint8Array;
808
- toObject(includeInstance?: boolean): Plan.AsObject;
809
- static toObject(includeInstance: boolean, msg: Plan): Plan.AsObject;
810
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
811
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
812
- static serializeBinaryToWriter(message: Plan, writer: jspb.BinaryWriter): void;
813
- static deserializeBinary(bytes: Uint8Array): Plan;
814
- static deserializeBinaryFromReader(message: Plan, reader: jspb.BinaryReader): Plan;
836
+ /**
837
+ * CollisionSpecification is used to selectively apply obstacle avoidance to specific parts of the robot
838
+ *
839
+ * @generated from message viam.service.motion.v1.CollisionSpecification
840
+ */
841
+ export declare class CollisionSpecification extends Message<CollisionSpecification> {
842
+ /**
843
+ * Pairs of frame which should be allowed to collide with one another
844
+ *
845
+ * @generated from field: repeated viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1;
846
+ */
847
+ allows: CollisionSpecification_AllowedFrameCollisions[];
848
+
849
+ constructor(data?: PartialMessage<CollisionSpecification>);
850
+
851
+ static readonly runtime: typeof proto3;
852
+ static readonly typeName = "viam.service.motion.v1.CollisionSpecification";
853
+ static readonly fields: FieldList;
854
+
855
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CollisionSpecification;
856
+
857
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CollisionSpecification;
858
+
859
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CollisionSpecification;
860
+
861
+ static equals(a: CollisionSpecification | PlainMessage<CollisionSpecification> | undefined, b: CollisionSpecification | PlainMessage<CollisionSpecification> | undefined): boolean;
815
862
  }
816
863
 
817
- export namespace Plan {
818
- export type AsObject = {
819
- id: string,
820
- componentName?: common_v1_common_pb.ResourceName.AsObject,
821
- executionId: string,
822
- stepsList: Array<PlanStep.AsObject>,
823
- }
864
+ /**
865
+ * @generated from message viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions
866
+ */
867
+ export declare class CollisionSpecification_AllowedFrameCollisions extends Message<CollisionSpecification_AllowedFrameCollisions> {
868
+ /**
869
+ * @generated from field: string frame1 = 1;
870
+ */
871
+ frame1: string;
872
+
873
+ /**
874
+ * @generated from field: string frame2 = 2;
875
+ */
876
+ frame2: string;
877
+
878
+ constructor(data?: PartialMessage<CollisionSpecification_AllowedFrameCollisions>);
879
+
880
+ static readonly runtime: typeof proto3;
881
+ static readonly typeName = "viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions";
882
+ static readonly fields: FieldList;
883
+
884
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CollisionSpecification_AllowedFrameCollisions;
885
+
886
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CollisionSpecification_AllowedFrameCollisions;
887
+
888
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CollisionSpecification_AllowedFrameCollisions;
889
+
890
+ static equals(a: CollisionSpecification_AllowedFrameCollisions | PlainMessage<CollisionSpecification_AllowedFrameCollisions> | undefined, b: CollisionSpecification_AllowedFrameCollisions | PlainMessage<CollisionSpecification_AllowedFrameCollisions> | undefined): boolean;
824
891
  }
825
892
 
826
- export class PlanStep extends jspb.Message {
827
- getStepMap(): jspb.Map<string, ComponentState>;
828
- clearStepMap(): void;
829
- serializeBinary(): Uint8Array;
830
- toObject(includeInstance?: boolean): PlanStep.AsObject;
831
- static toObject(includeInstance: boolean, msg: PlanStep): PlanStep.AsObject;
832
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
833
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
834
- static serializeBinaryToWriter(message: PlanStep, writer: jspb.BinaryWriter): void;
835
- static deserializeBinary(bytes: Uint8Array): PlanStep;
836
- static deserializeBinaryFromReader(message: PlanStep, reader: jspb.BinaryReader): PlanStep;
893
+ /**
894
+ * Describes a plan, its current status & all status changes
895
+ * that have occured previously on that plan
896
+ *
897
+ * @generated from message viam.service.motion.v1.PlanWithStatus
898
+ */
899
+ export declare class PlanWithStatus extends Message<PlanWithStatus> {
900
+ /**
901
+ * The plan
902
+ *
903
+ * @generated from field: viam.service.motion.v1.Plan plan = 1;
904
+ */
905
+ plan?: Plan;
906
+
907
+ /**
908
+ * The current status of the plan
909
+ *
910
+ * @generated from field: viam.service.motion.v1.PlanStatus status = 2;
911
+ */
912
+ status?: PlanStatus;
913
+
914
+ /**
915
+ * The prior status changes that have happened during plan execution
916
+ *
917
+ * @generated from field: repeated viam.service.motion.v1.PlanStatus status_history = 3;
918
+ */
919
+ statusHistory: PlanStatus[];
920
+
921
+ constructor(data?: PartialMessage<PlanWithStatus>);
922
+
923
+ static readonly runtime: typeof proto3;
924
+ static readonly typeName = "viam.service.motion.v1.PlanWithStatus";
925
+ static readonly fields: FieldList;
926
+
927
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlanWithStatus;
928
+
929
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlanWithStatus;
930
+
931
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlanWithStatus;
932
+
933
+ static equals(a: PlanWithStatus | PlainMessage<PlanWithStatus> | undefined, b: PlanWithStatus | PlainMessage<PlanWithStatus> | undefined): boolean;
837
934
  }
838
935
 
839
- export namespace PlanStep {
840
- export type AsObject = {
841
- stepMap: Array<[string, ComponentState.AsObject]>,
842
- }
936
+ /**
937
+ * PlanStatusWithID describes the state of a given plan at a
938
+ * point in time plus the plan_id, component_name and execution_id
939
+ * the status is associated with
940
+ *
941
+ * @generated from message viam.service.motion.v1.PlanStatusWithID
942
+ */
943
+ export declare class PlanStatusWithID extends Message<PlanStatusWithID> {
944
+ /**
945
+ * The unique ID of the plan
946
+ *
947
+ * @generated from field: string plan_id = 1;
948
+ */
949
+ planId: string;
950
+
951
+ /**
952
+ * The component to be moved.
953
+ * Used for tracking & stopping.
954
+ * NOTE: A plan may move more components than just the
955
+ * component_name.
956
+ *
957
+ * @generated from field: viam.common.v1.ResourceName component_name = 2;
958
+ */
959
+ componentName?: ResourceName;
960
+
961
+ /**
962
+ * The unique ID which identifies the plan execution.
963
+ * Multiple plans will share the same execution_id if they were
964
+ * generated due to replanning.
965
+ *
966
+ * @generated from field: string execution_id = 3;
967
+ */
968
+ executionId: string;
969
+
970
+ /**
971
+ * @generated from field: viam.service.motion.v1.PlanStatus status = 4;
972
+ */
973
+ status?: PlanStatus;
974
+
975
+ constructor(data?: PartialMessage<PlanStatusWithID>);
976
+
977
+ static readonly runtime: typeof proto3;
978
+ static readonly typeName = "viam.service.motion.v1.PlanStatusWithID";
979
+ static readonly fields: FieldList;
980
+
981
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlanStatusWithID;
982
+
983
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlanStatusWithID;
984
+
985
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlanStatusWithID;
986
+
987
+ static equals(a: PlanStatusWithID | PlainMessage<PlanStatusWithID> | undefined, b: PlanStatusWithID | PlainMessage<PlanStatusWithID> | undefined): boolean;
843
988
  }
844
989
 
845
- export class ComponentState extends jspb.Message {
846
- hasPose(): boolean;
847
- clearPose(): void;
848
- getPose(): common_v1_common_pb.Pose | undefined;
849
- setPose(value?: common_v1_common_pb.Pose): void;
850
-
851
- serializeBinary(): Uint8Array;
852
- toObject(includeInstance?: boolean): ComponentState.AsObject;
853
- static toObject(includeInstance: boolean, msg: ComponentState): ComponentState.AsObject;
854
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
855
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
856
- static serializeBinaryToWriter(message: ComponentState, writer: jspb.BinaryWriter): void;
857
- static deserializeBinary(bytes: Uint8Array): ComponentState;
858
- static deserializeBinaryFromReader(message: ComponentState, reader: jspb.BinaryReader): ComponentState;
990
+ /**
991
+ * Plan status describes the state of a given plan at a
992
+ * point in time
993
+ *
994
+ * @generated from message viam.service.motion.v1.PlanStatus
995
+ */
996
+ export declare class PlanStatus extends Message<PlanStatus> {
997
+ /**
998
+ * The state of the plan execution
999
+ *
1000
+ * @generated from field: viam.service.motion.v1.PlanState state = 1;
1001
+ */
1002
+ state: PlanState;
1003
+
1004
+ /**
1005
+ * The time the executing plan transtioned to the state
1006
+ *
1007
+ * @generated from field: google.protobuf.Timestamp timestamp = 2;
1008
+ */
1009
+ timestamp?: Timestamp;
1010
+
1011
+ /**
1012
+ * The reason for the state change. If motion plan failed
1013
+ * this will return the error message.
1014
+ * If motion needed to re-plan, this will return
1015
+ * the re-plan reason.
1016
+ *
1017
+ * @generated from field: optional string reason = 3;
1018
+ */
1019
+ reason?: string;
1020
+
1021
+ constructor(data?: PartialMessage<PlanStatus>);
1022
+
1023
+ static readonly runtime: typeof proto3;
1024
+ static readonly typeName = "viam.service.motion.v1.PlanStatus";
1025
+ static readonly fields: FieldList;
1026
+
1027
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlanStatus;
1028
+
1029
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlanStatus;
1030
+
1031
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlanStatus;
1032
+
1033
+ static equals(a: PlanStatus | PlainMessage<PlanStatus> | undefined, b: PlanStatus | PlainMessage<PlanStatus> | undefined): boolean;
859
1034
  }
860
1035
 
861
- export namespace ComponentState {
862
- export type AsObject = {
863
- pose?: common_v1_common_pb.Pose.AsObject,
864
- }
1036
+ /**
1037
+ * A plan describes a motion plan
1038
+ *
1039
+ * @generated from message viam.service.motion.v1.Plan
1040
+ */
1041
+ export declare class Plan extends Message<Plan> {
1042
+ /**
1043
+ * The plan's unique ID
1044
+ *
1045
+ * @generated from field: string id = 1;
1046
+ */
1047
+ id: string;
1048
+
1049
+ /**
1050
+ * The component requested to be moved.
1051
+ * Used for tracking & stopping.
1052
+ * NOTE: A plan may move more components than just the
1053
+ * root component.
1054
+ *
1055
+ * @generated from field: viam.common.v1.ResourceName component_name = 2;
1056
+ */
1057
+ componentName?: ResourceName;
1058
+
1059
+ /**
1060
+ * The unique ID which identifies the execution.
1061
+ * Multiple plans will share the same execution_id if they were
1062
+ * generated due to replanning
1063
+ *
1064
+ * @generated from field: string execution_id = 3;
1065
+ */
1066
+ executionId: string;
1067
+
1068
+ /**
1069
+ * The steps of a plan is an ordered list of plan steps
1070
+ *
1071
+ * @generated from field: repeated viam.service.motion.v1.PlanStep steps = 4;
1072
+ */
1073
+ steps: PlanStep[];
1074
+
1075
+ constructor(data?: PartialMessage<Plan>);
1076
+
1077
+ static readonly runtime: typeof proto3;
1078
+ static readonly typeName = "viam.service.motion.v1.Plan";
1079
+ static readonly fields: FieldList;
1080
+
1081
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Plan;
1082
+
1083
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Plan;
1084
+
1085
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Plan;
1086
+
1087
+ static equals(a: Plan | PlainMessage<Plan> | undefined, b: Plan | PlainMessage<Plan> | undefined): boolean;
865
1088
  }
866
1089
 
867
- export interface PlanStateMap {
868
- PLAN_STATE_UNSPECIFIED: 0;
869
- PLAN_STATE_IN_PROGRESS: 1;
870
- PLAN_STATE_STOPPED: 2;
871
- PLAN_STATE_SUCCEEDED: 3;
872
- PLAN_STATE_FAILED: 4;
1090
+ /**
1091
+ * @generated from message viam.service.motion.v1.PlanStep
1092
+ */
1093
+ export declare class PlanStep extends Message<PlanStep> {
1094
+ /**
1095
+ * A step is the component state each
1096
+ * component resource should reach while executing
1097
+ * that step of the plan.
1098
+ * Keys are the fully qualified component name.
1099
+ *
1100
+ * @generated from field: map<string, viam.service.motion.v1.ComponentState> step = 1;
1101
+ */
1102
+ step: { [key: string]: ComponentState };
1103
+
1104
+ constructor(data?: PartialMessage<PlanStep>);
1105
+
1106
+ static readonly runtime: typeof proto3;
1107
+ static readonly typeName = "viam.service.motion.v1.PlanStep";
1108
+ static readonly fields: FieldList;
1109
+
1110
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlanStep;
1111
+
1112
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlanStep;
1113
+
1114
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlanStep;
1115
+
1116
+ static equals(a: PlanStep | PlainMessage<PlanStep> | undefined, b: PlanStep | PlainMessage<PlanStep> | undefined): boolean;
873
1117
  }
874
1118
 
875
- export const PlanState: PlanStateMap;
1119
+ /**
1120
+ * A pose
1121
+ *
1122
+ * @generated from message viam.service.motion.v1.ComponentState
1123
+ */
1124
+ export declare class ComponentState extends Message<ComponentState> {
1125
+ /**
1126
+ * @generated from field: viam.common.v1.Pose pose = 1;
1127
+ */
1128
+ pose?: Pose;
1129
+
1130
+ constructor(data?: PartialMessage<ComponentState>);
1131
+
1132
+ static readonly runtime: typeof proto3;
1133
+ static readonly typeName = "viam.service.motion.v1.ComponentState";
1134
+ static readonly fields: FieldList;
1135
+
1136
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ComponentState;
1137
+
1138
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ComponentState;
1139
+
1140
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ComponentState;
1141
+
1142
+ static equals(a: ComponentState | PlainMessage<ComponentState> | undefined, b: ComponentState | PlainMessage<ComponentState> | undefined): boolean;
1143
+ }
876
1144