viam-sdk 0.41.1__py3-none-linux_armv6l.whl → 0.66.0__py3-none-linux_armv6l.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of viam-sdk might be problematic. Click here for more details.

Files changed (225) hide show
  1. viam/app/app_client.py +225 -51
  2. viam/app/billing_client.py +47 -5
  3. viam/app/data_client.py +771 -234
  4. viam/app/ml_training_client.py +3 -5
  5. viam/app/provisioning_client.py +3 -5
  6. viam/app/viam_client.py +58 -11
  7. viam/components/arm/arm.py +1 -1
  8. viam/components/arm/service.py +1 -1
  9. viam/components/audio_in/__init__.py +24 -0
  10. viam/components/audio_in/audio_in.py +74 -0
  11. viam/components/audio_in/client.py +76 -0
  12. viam/components/audio_in/service.py +83 -0
  13. viam/components/audio_out/__init__.py +21 -0
  14. viam/components/audio_out/audio_out.py +72 -0
  15. viam/components/audio_out/client.py +67 -0
  16. viam/components/audio_out/service.py +63 -0
  17. viam/components/base/base.py +1 -1
  18. viam/components/board/board.py +8 -2
  19. viam/components/board/client.py +2 -1
  20. viam/components/board/service.py +1 -0
  21. viam/components/button/__init__.py +10 -0
  22. viam/components/button/button.py +41 -0
  23. viam/components/button/client.py +52 -0
  24. viam/components/button/service.py +46 -0
  25. viam/components/camera/camera.py +15 -30
  26. viam/components/camera/client.py +10 -21
  27. viam/components/camera/service.py +15 -28
  28. viam/components/component_base.py +2 -2
  29. viam/components/gantry/client.py +17 -2
  30. viam/components/gantry/gantry.py +32 -1
  31. viam/components/gantry/service.py +21 -5
  32. viam/components/gripper/__init__.py +2 -0
  33. viam/components/gripper/client.py +25 -2
  34. viam/components/gripper/gripper.py +76 -1
  35. viam/components/gripper/service.py +32 -3
  36. viam/components/input/input.py +1 -1
  37. viam/components/motor/motor.py +1 -1
  38. viam/components/power_sensor/power_sensor.py +1 -1
  39. viam/components/switch/__init__.py +10 -0
  40. viam/components/switch/client.py +83 -0
  41. viam/components/switch/service.py +72 -0
  42. viam/components/switch/switch.py +98 -0
  43. viam/gen/app/agent/v1/agent_pb2.py +1 -1
  44. viam/gen/app/cloudslam/v1/cloud_slam_pb2.py +1 -1
  45. viam/gen/app/data/v1/data_grpc.py +74 -2
  46. viam/gen/app/data/v1/data_pb2.py +198 -104
  47. viam/gen/app/data/v1/data_pb2.pyi +563 -31
  48. viam/gen/app/datapipelines/__init__.py +0 -0
  49. viam/gen/app/datapipelines/v1/__init__.py +0 -0
  50. viam/gen/app/datapipelines/v1/data_pipelines_grpc.py +84 -0
  51. viam/gen/app/datapipelines/v1/data_pipelines_pb2.py +57 -0
  52. viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +387 -0
  53. viam/gen/app/dataset/v1/dataset_grpc.py +10 -2
  54. viam/gen/app/dataset/v1/dataset_pb2.py +8 -4
  55. viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
  56. viam/gen/app/datasync/v1/data_sync_pb2.py +39 -35
  57. viam/gen/app/datasync/v1/data_sync_pb2.pyi +21 -8
  58. viam/gen/app/mlinference/v1/ml_inference_pb2.py +7 -7
  59. viam/gen/app/mlinference/v1/ml_inference_pb2.pyi +4 -2
  60. viam/gen/app/mltraining/v1/ml_training_grpc.py +10 -2
  61. viam/gen/app/mltraining/v1/ml_training_pb2.py +63 -43
  62. viam/gen/app/mltraining/v1/ml_training_pb2.pyi +112 -7
  63. viam/gen/app/packages/v1/packages_pb2.py +1 -1
  64. viam/gen/app/v1/app_grpc.py +74 -3
  65. viam/gen/app/v1/app_pb2.py +600 -545
  66. viam/gen/app/v1/app_pb2.pyi +1108 -258
  67. viam/gen/app/v1/billing_grpc.py +26 -2
  68. viam/gen/app/v1/billing_pb2.py +52 -36
  69. viam/gen/app/v1/billing_pb2.pyi +158 -4
  70. viam/gen/app/v1/end_user_pb2.py +1 -1
  71. viam/gen/app/v1/robot_pb2.py +95 -89
  72. viam/gen/app/v1/robot_pb2.pyi +121 -9
  73. viam/gen/common/v1/common_pb2.py +76 -58
  74. viam/gen/common/v1/common_pb2.pyi +186 -17
  75. viam/gen/component/arm/v1/arm_grpc.py +10 -2
  76. viam/gen/component/arm/v1/arm_pb2.py +5 -3
  77. viam/gen/component/audioin/__init__.py +0 -0
  78. viam/gen/component/audioin/v1/__init__.py +0 -0
  79. viam/gen/component/audioin/v1/audioin_grpc.py +54 -0
  80. viam/gen/component/audioin/v1/audioin_pb2.py +34 -0
  81. viam/gen/component/audioin/v1/audioin_pb2.pyi +94 -0
  82. viam/gen/component/audioinput/v1/audioinput_pb2.py +1 -1
  83. viam/gen/component/audioout/__init__.py +0 -0
  84. viam/gen/component/audioout/v1/__init__.py +0 -0
  85. viam/gen/component/audioout/v1/audioout_grpc.py +54 -0
  86. viam/gen/component/audioout/v1/audioout_pb2.py +32 -0
  87. viam/gen/component/audioout/v1/audioout_pb2.pyi +47 -0
  88. viam/gen/component/base/v1/base_pb2.py +1 -1
  89. viam/gen/component/board/v1/board_pb2.py +1 -1
  90. viam/gen/component/button/v1/button_pb2.py +1 -1
  91. viam/gen/component/camera/v1/camera_grpc.py +1 -0
  92. viam/gen/component/camera/v1/camera_pb2.py +37 -36
  93. viam/gen/component/camera/v1/camera_pb2.pyi +31 -4
  94. viam/gen/component/encoder/v1/encoder_pb2.py +1 -1
  95. viam/gen/component/gantry/v1/gantry_grpc.py +9 -1
  96. viam/gen/component/gantry/v1/gantry_pb2.py +5 -3
  97. viam/gen/component/generic/v1/generic_pb2.py +1 -1
  98. viam/gen/component/gripper/v1/gripper_grpc.py +18 -2
  99. viam/gen/component/gripper/v1/gripper_pb2.py +12 -4
  100. viam/gen/component/gripper/v1/gripper_pb2.pyi +43 -1
  101. viam/gen/component/inputcontroller/v1/input_controller_pb2.py +1 -1
  102. viam/gen/component/motor/v1/motor_pb2.py +1 -1
  103. viam/gen/component/movementsensor/v1/movementsensor_pb2.py +1 -1
  104. viam/gen/component/posetracker/v1/pose_tracker_pb2.py +1 -1
  105. viam/gen/component/powersensor/v1/powersensor_pb2.py +1 -1
  106. viam/gen/component/sensor/v1/sensor_pb2.py +1 -1
  107. viam/gen/component/servo/v1/servo_pb2.py +1 -1
  108. viam/gen/component/switch/v1/switch_pb2.py +5 -5
  109. viam/gen/component/switch/v1/switch_pb2.pyi +9 -2
  110. viam/gen/component/testecho/v1/testecho_pb2.py +1 -1
  111. viam/gen/module/v1/module_pb2.py +5 -5
  112. viam/gen/module/v1/module_pb2.pyi +7 -2
  113. viam/gen/opentelemetry/__init__.py +0 -0
  114. viam/gen/opentelemetry/proto/__init__.py +0 -0
  115. viam/gen/opentelemetry/proto/common/__init__.py +0 -0
  116. viam/gen/opentelemetry/proto/common/v1/__init__.py +0 -0
  117. viam/gen/opentelemetry/proto/common/v1/common_grpc.py +0 -0
  118. viam/gen/opentelemetry/proto/common/v1/common_pb2.py +27 -0
  119. viam/gen/opentelemetry/proto/common/v1/common_pb2.pyi +208 -0
  120. viam/gen/opentelemetry/proto/resource/__init__.py +0 -0
  121. viam/gen/opentelemetry/proto/resource/v1/__init__.py +0 -0
  122. viam/gen/opentelemetry/proto/resource/v1/resource_grpc.py +0 -0
  123. viam/gen/opentelemetry/proto/resource/v1/resource_pb2.py +18 -0
  124. viam/gen/opentelemetry/proto/resource/v1/resource_pb2.pyi +59 -0
  125. viam/gen/opentelemetry/proto/trace/__init__.py +0 -0
  126. viam/gen/opentelemetry/proto/trace/v1/__init__.py +0 -0
  127. viam/gen/opentelemetry/proto/trace/v1/trace_grpc.py +0 -0
  128. viam/gen/opentelemetry/proto/trace/v1/trace_pb2.py +37 -0
  129. viam/gen/opentelemetry/proto/trace/v1/trace_pb2.pyi +402 -0
  130. viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +1 -1
  131. viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.py +1 -1
  132. viam/gen/proto/rpc/v1/auth_pb2.py +1 -1
  133. viam/gen/proto/rpc/webrtc/v1/grpc_pb2.py +1 -1
  134. viam/gen/proto/rpc/webrtc/v1/signaling_pb2.py +1 -1
  135. viam/gen/provisioning/v1/provisioning_grpc.py +10 -2
  136. viam/gen/provisioning/v1/provisioning_pb2.py +32 -26
  137. viam/gen/provisioning/v1/provisioning_pb2.pyi +46 -5
  138. viam/gen/robot/v1/robot_grpc.py +51 -34
  139. viam/gen/robot/v1/robot_pb2.py +147 -142
  140. viam/gen/robot/v1/robot_pb2.pyi +153 -86
  141. viam/gen/service/datamanager/v1/data_manager_grpc.py +11 -2
  142. viam/gen/service/datamanager/v1/data_manager_pb2.py +15 -8
  143. viam/gen/service/datamanager/v1/data_manager_pb2.pyi +47 -1
  144. viam/gen/service/discovery/v1/discovery_pb2.py +1 -1
  145. viam/gen/service/generic/v1/generic_pb2.py +1 -1
  146. viam/gen/service/mlmodel/v1/mlmodel_pb2.py +1 -1
  147. viam/gen/service/motion/v1/motion_pb2.py +92 -62
  148. viam/gen/service/motion/v1/motion_pb2.pyi +130 -68
  149. viam/gen/service/navigation/v1/navigation_pb2.py +1 -1
  150. viam/gen/service/sensors/v1/sensors_pb2.py +1 -1
  151. viam/gen/service/shell/v1/shell_pb2.py +1 -1
  152. viam/gen/service/slam/v1/slam_pb2.py +1 -1
  153. viam/gen/service/slam/v1/slam_pb2.pyi +1 -1
  154. viam/gen/service/video/__init__.py +0 -0
  155. viam/gen/service/video/v1/__init__.py +0 -0
  156. viam/gen/service/video/v1/video_grpc.py +39 -0
  157. viam/gen/service/video/v1/video_pb2.py +29 -0
  158. viam/gen/service/video/v1/video_pb2.pyi +72 -0
  159. viam/gen/service/vision/v1/vision_pb2.py +27 -27
  160. viam/gen/service/vision/v1/vision_pb2.pyi +28 -3
  161. viam/gen/service/worldstatestore/__init__.py +0 -0
  162. viam/gen/service/worldstatestore/v1/__init__.py +0 -0
  163. viam/gen/service/worldstatestore/v1/world_state_store_grpc.py +55 -0
  164. viam/gen/service/worldstatestore/v1/world_state_store_pb2.py +39 -0
  165. viam/gen/service/worldstatestore/v1/world_state_store_pb2.pyi +171 -0
  166. viam/gen/stream/v1/stream_pb2.py +1 -1
  167. viam/gen/tagger/v1/tagger_pb2.py +1 -1
  168. viam/logging.py +9 -8
  169. viam/media/audio.py +22 -10
  170. viam/media/utils/pil/__init__.py +5 -1
  171. viam/media/video.py +54 -40
  172. viam/module/module.py +85 -16
  173. viam/module/resource_data_consumer.py +41 -0
  174. viam/module/service.py +9 -1
  175. viam/proto/app/__init__.py +68 -0
  176. viam/proto/app/billing.py +16 -0
  177. viam/proto/app/data/__init__.py +48 -0
  178. viam/proto/app/datapipelines/__init__.py +56 -0
  179. viam/proto/app/dataset/__init__.py +4 -0
  180. viam/proto/app/mltraining/__init__.py +6 -0
  181. viam/proto/app/robot.py +6 -0
  182. viam/proto/common/__init__.py +14 -0
  183. viam/proto/component/audioin/__init__.py +16 -0
  184. viam/proto/component/audioout/__init__.py +15 -0
  185. viam/proto/component/camera/__init__.py +0 -2
  186. viam/proto/component/gripper/__init__.py +4 -0
  187. viam/proto/opentelemetry/__init__.py +0 -0
  188. viam/proto/opentelemetry/proto/__init__.py +0 -0
  189. viam/proto/opentelemetry/proto/common/__init__.py +15 -0
  190. viam/proto/opentelemetry/proto/resource/__init__.py +10 -0
  191. viam/proto/opentelemetry/proto/trace/__init__.py +15 -0
  192. viam/proto/provisioning/__init__.py +6 -0
  193. viam/proto/robot/__init__.py +16 -8
  194. viam/proto/service/datamanager/__init__.py +8 -1
  195. viam/proto/service/motion/__init__.py +2 -0
  196. viam/proto/service/video/__init__.py +15 -0
  197. viam/proto/service/worldstatestore/__init__.py +32 -0
  198. viam/resource/easy_resource.py +5 -9
  199. viam/resource/manager.py +4 -3
  200. viam/resource/registry.py +2 -2
  201. viam/resource/types.py +2 -2
  202. viam/robot/client.py +38 -59
  203. viam/rpc/dial.py +48 -5
  204. viam/rpc/libviam_rust_utils.so +0 -0
  205. viam/rpc/server.py +24 -10
  206. viam/services/motion/client.py +8 -9
  207. viam/services/motion/motion.py +48 -46
  208. viam/services/navigation/navigation.py +2 -2
  209. viam/services/vision/client.py +1 -1
  210. viam/services/vision/service.py +5 -8
  211. viam/services/vision/vision.py +5 -3
  212. viam/services/worldstatestore/__init__.py +18 -0
  213. viam/services/worldstatestore/client.py +94 -0
  214. viam/services/worldstatestore/service.py +55 -0
  215. viam/services/worldstatestore/worldstatestore.py +90 -0
  216. viam/sessions_client.py +115 -46
  217. viam/version_metadata.py +2 -2
  218. {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/METADATA +10 -6
  219. {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/RECORD +221 -152
  220. {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/WHEEL +1 -1
  221. viam/components/audio_input/__init__.py +0 -18
  222. viam/components/audio_input/audio_input.py +0 -81
  223. viam/components/audio_input/client.py +0 -70
  224. viam/components/audio_input/service.py +0 -114
  225. {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/licenses/LICENSE +0 -0
@@ -51,20 +51,23 @@ class MoveRequest(google.protobuf.message.Message):
51
51
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
52
52
  NAME_FIELD_NUMBER: builtins.int
53
53
  DESTINATION_FIELD_NUMBER: builtins.int
54
- COMPONENT_NAME_FIELD_NUMBER: builtins.int
54
+ COMPONENT_NAME_DEPRECATED_FIELD_NUMBER: builtins.int
55
55
  WORLD_STATE_FIELD_NUMBER: builtins.int
56
56
  CONSTRAINTS_FIELD_NUMBER: builtins.int
57
+ COMPONENT_NAME_FIELD_NUMBER: builtins.int
57
58
  EXTRA_FIELD_NUMBER: builtins.int
58
59
  name: builtins.str
59
60
  'Name of the motion service'
61
+ component_name: builtins.str
62
+ 'Component on the robot to move to the specified destination'
60
63
 
61
64
  @property
62
65
  def destination(self) -> common.v1.common_pb2.PoseInFrame:
63
66
  """Destination to move to, which can a pose in the reference frame of any frame in the robot's frame system"""
64
67
 
65
68
  @property
66
- def component_name(self) -> common.v1.common_pb2.ResourceName:
67
- """Component on the robot to move to the specified destination"""
69
+ def component_name_deprecated(self) -> common.v1.common_pb2.ResourceName:
70
+ """Deprecated, use component_name field."""
68
71
 
69
72
  @property
70
73
  def world_state(self) -> common.v1.common_pb2.WorldState:
@@ -80,13 +83,13 @@ class MoveRequest(google.protobuf.message.Message):
80
83
  def extra(self) -> google.protobuf.struct_pb2.Struct:
81
84
  """Additional arguments to the method"""
82
85
 
83
- def __init__(self, *, name: builtins.str=..., destination: common.v1.common_pb2.PoseInFrame | None=..., component_name: common.v1.common_pb2.ResourceName | None=..., world_state: common.v1.common_pb2.WorldState | None=..., constraints: global___Constraints | None=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
86
+ def __init__(self, *, name: builtins.str=..., destination: common.v1.common_pb2.PoseInFrame | None=..., component_name_deprecated: common.v1.common_pb2.ResourceName | None=..., world_state: common.v1.common_pb2.WorldState | None=..., constraints: global___Constraints | None=..., component_name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
84
87
  ...
85
88
 
86
- def HasField(self, field_name: typing.Literal['_constraints', b'_constraints', '_world_state', b'_world_state', 'component_name', b'component_name', 'constraints', b'constraints', 'destination', b'destination', 'extra', b'extra', 'world_state', b'world_state']) -> builtins.bool:
89
+ def HasField(self, field_name: typing.Literal['_constraints', b'_constraints', '_world_state', b'_world_state', 'component_name_deprecated', b'component_name_deprecated', 'constraints', b'constraints', 'destination', b'destination', 'extra', b'extra', 'world_state', b'world_state']) -> builtins.bool:
87
90
  ...
88
91
 
89
- def ClearField(self, field_name: typing.Literal['_constraints', b'_constraints', '_world_state', b'_world_state', 'component_name', b'component_name', 'constraints', b'constraints', 'destination', b'destination', 'extra', b'extra', 'name', b'name', 'world_state', b'world_state']) -> None:
92
+ def ClearField(self, field_name: typing.Literal['_constraints', b'_constraints', '_world_state', b'_world_state', 'component_name', b'component_name', 'component_name_deprecated', b'component_name_deprecated', 'constraints', b'constraints', 'destination', b'destination', 'extra', b'extra', 'name', b'name', 'world_state', b'world_state']) -> None:
90
93
  ...
91
94
 
92
95
  @typing.overload
@@ -116,25 +119,31 @@ class MoveOnMapRequest(google.protobuf.message.Message):
116
119
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
117
120
  NAME_FIELD_NUMBER: builtins.int
118
121
  DESTINATION_FIELD_NUMBER: builtins.int
119
- COMPONENT_NAME_FIELD_NUMBER: builtins.int
120
- SLAM_SERVICE_NAME_FIELD_NUMBER: builtins.int
122
+ COMPONENT_NAME_DEPRECATED_FIELD_NUMBER: builtins.int
123
+ SLAM_SERVICE_NAME_DEPRECATED_FIELD_NUMBER: builtins.int
121
124
  MOTION_CONFIGURATION_FIELD_NUMBER: builtins.int
122
125
  OBSTACLES_FIELD_NUMBER: builtins.int
126
+ COMPONENT_NAME_FIELD_NUMBER: builtins.int
127
+ SLAM_SERVICE_NAME_FIELD_NUMBER: builtins.int
123
128
  EXTRA_FIELD_NUMBER: builtins.int
124
129
  name: builtins.str
125
130
  'Name of the motion service'
131
+ component_name: builtins.str
132
+ 'Component on the robot to move to the specified destination'
133
+ slam_service_name: builtins.str
134
+ 'Name of the slam service from which the SLAM map is requested'
126
135
 
127
136
  @property
128
137
  def destination(self) -> common.v1.common_pb2.Pose:
129
138
  """Specify a destination to, which can be any pose with respect to the SLAM map's origin"""
130
139
 
131
140
  @property
132
- def component_name(self) -> common.v1.common_pb2.ResourceName:
133
- """Component on the robot to move to the specified destination"""
141
+ def component_name_deprecated(self) -> common.v1.common_pb2.ResourceName:
142
+ """Deprecated, use component_name field."""
134
143
 
135
144
  @property
136
- def slam_service_name(self) -> common.v1.common_pb2.ResourceName:
137
- """Name of the slam service from which the SLAM map is requested"""
145
+ def slam_service_name_deprecated(self) -> common.v1.common_pb2.ResourceName:
146
+ """Deprecated, use slam_service_name field."""
138
147
 
139
148
  @property
140
149
  def motion_configuration(self) -> global___MotionConfiguration:
@@ -148,13 +157,13 @@ class MoveOnMapRequest(google.protobuf.message.Message):
148
157
  def extra(self) -> google.protobuf.struct_pb2.Struct:
149
158
  """Additional arguments to the method"""
150
159
 
151
- def __init__(self, *, name: builtins.str=..., destination: common.v1.common_pb2.Pose | None=..., component_name: common.v1.common_pb2.ResourceName | None=..., slam_service_name: common.v1.common_pb2.ResourceName | None=..., motion_configuration: global___MotionConfiguration | None=..., obstacles: collections.abc.Iterable[common.v1.common_pb2.Geometry] | None=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
160
+ def __init__(self, *, name: builtins.str=..., destination: common.v1.common_pb2.Pose | None=..., component_name_deprecated: common.v1.common_pb2.ResourceName | None=..., slam_service_name_deprecated: common.v1.common_pb2.ResourceName | None=..., motion_configuration: global___MotionConfiguration | None=..., obstacles: collections.abc.Iterable[common.v1.common_pb2.Geometry] | None=..., component_name: builtins.str=..., slam_service_name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
152
161
  ...
153
162
 
154
- def HasField(self, field_name: typing.Literal['_motion_configuration', b'_motion_configuration', 'component_name', b'component_name', 'destination', b'destination', 'extra', b'extra', 'motion_configuration', b'motion_configuration', 'slam_service_name', b'slam_service_name']) -> builtins.bool:
163
+ def HasField(self, field_name: typing.Literal['_motion_configuration', b'_motion_configuration', 'component_name_deprecated', b'component_name_deprecated', 'destination', b'destination', 'extra', b'extra', 'motion_configuration', b'motion_configuration', 'slam_service_name_deprecated', b'slam_service_name_deprecated']) -> builtins.bool:
155
164
  ...
156
165
 
157
- def ClearField(self, field_name: typing.Literal['_motion_configuration', b'_motion_configuration', 'component_name', b'component_name', 'destination', b'destination', 'extra', b'extra', 'motion_configuration', b'motion_configuration', 'name', b'name', 'obstacles', b'obstacles', 'slam_service_name', b'slam_service_name']) -> None:
166
+ def ClearField(self, field_name: typing.Literal['_motion_configuration', b'_motion_configuration', 'component_name', b'component_name', 'component_name_deprecated', b'component_name_deprecated', 'destination', b'destination', 'extra', b'extra', 'motion_configuration', b'motion_configuration', 'name', b'name', 'obstacles', b'obstacles', 'slam_service_name', b'slam_service_name', 'slam_service_name_deprecated', b'slam_service_name_deprecated']) -> None:
158
167
  ...
159
168
 
160
169
  def WhichOneof(self, oneof_group: typing.Literal['_motion_configuration', b'_motion_configuration']) -> typing.Literal['motion_configuration'] | None:
@@ -179,24 +188,28 @@ global___MoveOnMapResponse = MoveOnMapResponse
179
188
  class ObstacleDetector(google.protobuf.message.Message):
180
189
  """Pairs a vision service with a camera, informing the service about which camera it may use"""
181
190
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
191
+ VISION_SERVICE_DEPRECATED_FIELD_NUMBER: builtins.int
192
+ CAMERA_DEPRECATED_FIELD_NUMBER: builtins.int
182
193
  VISION_SERVICE_FIELD_NUMBER: builtins.int
183
194
  CAMERA_FIELD_NUMBER: builtins.int
195
+ vision_service: builtins.str
196
+ camera: builtins.str
184
197
 
185
198
  @property
186
- def vision_service(self) -> common.v1.common_pb2.ResourceName:
199
+ def vision_service_deprecated(self) -> common.v1.common_pb2.ResourceName:
187
200
  ...
188
201
 
189
202
  @property
190
- def camera(self) -> common.v1.common_pb2.ResourceName:
203
+ def camera_deprecated(self) -> common.v1.common_pb2.ResourceName:
191
204
  ...
192
205
 
193
- def __init__(self, *, vision_service: common.v1.common_pb2.ResourceName | None=..., camera: common.v1.common_pb2.ResourceName | None=...) -> None:
206
+ def __init__(self, *, vision_service_deprecated: common.v1.common_pb2.ResourceName | None=..., camera_deprecated: common.v1.common_pb2.ResourceName | None=..., vision_service: builtins.str=..., camera: builtins.str=...) -> None:
194
207
  ...
195
208
 
196
- def HasField(self, field_name: typing.Literal['camera', b'camera', 'vision_service', b'vision_service']) -> builtins.bool:
209
+ def HasField(self, field_name: typing.Literal['camera_deprecated', b'camera_deprecated', 'vision_service_deprecated', b'vision_service_deprecated']) -> builtins.bool:
197
210
  ...
198
211
 
199
- def ClearField(self, field_name: typing.Literal['camera', b'camera', 'vision_service', b'vision_service']) -> None:
212
+ def ClearField(self, field_name: typing.Literal['camera', b'camera', 'camera_deprecated', b'camera_deprecated', 'vision_service', b'vision_service', 'vision_service_deprecated', b'vision_service_deprecated']) -> None:
200
213
  ...
201
214
  global___ObstacleDetector = ObstacleDetector
202
215
 
@@ -260,28 +273,34 @@ class MoveOnGlobeRequest(google.protobuf.message.Message):
260
273
  NAME_FIELD_NUMBER: builtins.int
261
274
  DESTINATION_FIELD_NUMBER: builtins.int
262
275
  HEADING_FIELD_NUMBER: builtins.int
263
- COMPONENT_NAME_FIELD_NUMBER: builtins.int
264
- MOVEMENT_SENSOR_NAME_FIELD_NUMBER: builtins.int
276
+ COMPONENT_NAME_DEPRECATED_FIELD_NUMBER: builtins.int
277
+ MOVEMENT_SENSOR_NAME_DEPRECATED_FIELD_NUMBER: builtins.int
265
278
  OBSTACLES_FIELD_NUMBER: builtins.int
266
279
  MOTION_CONFIGURATION_FIELD_NUMBER: builtins.int
267
280
  BOUNDING_REGIONS_FIELD_NUMBER: builtins.int
281
+ COMPONENT_NAME_FIELD_NUMBER: builtins.int
282
+ MOVEMENT_SENSOR_NAME_FIELD_NUMBER: builtins.int
268
283
  EXTRA_FIELD_NUMBER: builtins.int
269
284
  name: builtins.str
270
285
  'Name of the motion service'
271
286
  heading: builtins.float
272
287
  'Optional compass heading to achieve at the destination, in degrees [0-360)'
288
+ component_name: builtins.str
289
+ 'Component on the robot to move to the specified destination'
290
+ movement_sensor_name: builtins.str
291
+ 'Name of the movement sensor which will be used to check robot location'
273
292
 
274
293
  @property
275
294
  def destination(self) -> common.v1.common_pb2.GeoPoint:
276
295
  """Destination, encoded as a GeoPoint"""
277
296
 
278
297
  @property
279
- def component_name(self) -> common.v1.common_pb2.ResourceName:
280
- """Component on the robot to move to the specified destination"""
298
+ def component_name_deprecated(self) -> common.v1.common_pb2.ResourceName:
299
+ """Deprecated, use component_name field."""
281
300
 
282
301
  @property
283
- def movement_sensor_name(self) -> common.v1.common_pb2.ResourceName:
284
- """Name of the movement sensor which will be used to check robot location"""
302
+ def movement_sensor_name_deprecated(self) -> common.v1.common_pb2.ResourceName:
303
+ """Deprecated, use movement_sensor_name field."""
285
304
 
286
305
  @property
287
306
  def obstacles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[common.v1.common_pb2.GeoGeometry]:
@@ -299,13 +318,13 @@ class MoveOnGlobeRequest(google.protobuf.message.Message):
299
318
  def extra(self) -> google.protobuf.struct_pb2.Struct:
300
319
  """Additional arguments to the method"""
301
320
 
302
- def __init__(self, *, name: builtins.str=..., destination: common.v1.common_pb2.GeoPoint | None=..., heading: builtins.float | None=..., component_name: common.v1.common_pb2.ResourceName | None=..., movement_sensor_name: common.v1.common_pb2.ResourceName | None=..., obstacles: collections.abc.Iterable[common.v1.common_pb2.GeoGeometry] | None=..., motion_configuration: global___MotionConfiguration | None=..., bounding_regions: collections.abc.Iterable[common.v1.common_pb2.GeoGeometry] | None=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
321
+ def __init__(self, *, name: builtins.str=..., destination: common.v1.common_pb2.GeoPoint | None=..., heading: builtins.float | None=..., component_name_deprecated: common.v1.common_pb2.ResourceName | None=..., movement_sensor_name_deprecated: common.v1.common_pb2.ResourceName | None=..., obstacles: collections.abc.Iterable[common.v1.common_pb2.GeoGeometry] | None=..., motion_configuration: global___MotionConfiguration | None=..., bounding_regions: collections.abc.Iterable[common.v1.common_pb2.GeoGeometry] | None=..., component_name: builtins.str=..., movement_sensor_name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
303
322
  ...
304
323
 
305
- def HasField(self, field_name: typing.Literal['_heading', b'_heading', '_motion_configuration', b'_motion_configuration', 'component_name', b'component_name', 'destination', b'destination', 'extra', b'extra', 'heading', b'heading', 'motion_configuration', b'motion_configuration', 'movement_sensor_name', b'movement_sensor_name']) -> builtins.bool:
324
+ def HasField(self, field_name: typing.Literal['_heading', b'_heading', '_motion_configuration', b'_motion_configuration', 'component_name_deprecated', b'component_name_deprecated', 'destination', b'destination', 'extra', b'extra', 'heading', b'heading', 'motion_configuration', b'motion_configuration', 'movement_sensor_name_deprecated', b'movement_sensor_name_deprecated']) -> builtins.bool:
306
325
  ...
307
326
 
308
- def ClearField(self, field_name: typing.Literal['_heading', b'_heading', '_motion_configuration', b'_motion_configuration', 'bounding_regions', b'bounding_regions', 'component_name', b'component_name', 'destination', b'destination', 'extra', b'extra', 'heading', b'heading', 'motion_configuration', b'motion_configuration', 'movement_sensor_name', b'movement_sensor_name', 'name', b'name', 'obstacles', b'obstacles']) -> None:
327
+ def ClearField(self, field_name: typing.Literal['_heading', b'_heading', '_motion_configuration', b'_motion_configuration', 'bounding_regions', b'bounding_regions', 'component_name', b'component_name', 'component_name_deprecated', b'component_name_deprecated', 'destination', b'destination', 'extra', b'extra', 'heading', b'heading', 'motion_configuration', b'motion_configuration', 'movement_sensor_name', b'movement_sensor_name', 'movement_sensor_name_deprecated', b'movement_sensor_name_deprecated', 'name', b'name', 'obstacles', b'obstacles']) -> None:
309
328
  ...
310
329
 
311
330
  @typing.overload
@@ -335,17 +354,20 @@ global___MoveOnGlobeResponse = MoveOnGlobeResponse
335
354
  class GetPoseRequest(google.protobuf.message.Message):
336
355
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
337
356
  NAME_FIELD_NUMBER: builtins.int
338
- COMPONENT_NAME_FIELD_NUMBER: builtins.int
357
+ COMPONENT_NAME_DEPRECATED_FIELD_NUMBER: builtins.int
339
358
  DESTINATION_FRAME_FIELD_NUMBER: builtins.int
340
359
  SUPPLEMENTAL_TRANSFORMS_FIELD_NUMBER: builtins.int
360
+ COMPONENT_NAME_FIELD_NUMBER: builtins.int
341
361
  EXTRA_FIELD_NUMBER: builtins.int
342
362
  name: builtins.str
343
363
  destination_frame: builtins.str
344
364
  'the reference frame in which the component\'s pose\n should be provided, if unset this defaults\n to the "world" reference frame\n '
365
+ component_name: builtins.str
366
+ 'the component whose pose is being requested'
345
367
 
346
368
  @property
347
- def component_name(self) -> common.v1.common_pb2.ResourceName:
348
- """the component whose pose is being requested"""
369
+ def component_name_deprecated(self) -> common.v1.common_pb2.ResourceName:
370
+ """Deprecated, use component_name field."""
349
371
 
350
372
  @property
351
373
  def supplemental_transforms(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[common.v1.common_pb2.Transform]:
@@ -357,13 +379,13 @@ class GetPoseRequest(google.protobuf.message.Message):
357
379
  def extra(self) -> google.protobuf.struct_pb2.Struct:
358
380
  """Additional arguments to the method"""
359
381
 
360
- def __init__(self, *, name: builtins.str=..., component_name: common.v1.common_pb2.ResourceName | None=..., destination_frame: builtins.str=..., supplemental_transforms: collections.abc.Iterable[common.v1.common_pb2.Transform] | None=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
382
+ def __init__(self, *, name: builtins.str=..., component_name_deprecated: common.v1.common_pb2.ResourceName | None=..., destination_frame: builtins.str=..., supplemental_transforms: collections.abc.Iterable[common.v1.common_pb2.Transform] | None=..., component_name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
361
383
  ...
362
384
 
363
- def HasField(self, field_name: typing.Literal['component_name', b'component_name', 'extra', b'extra']) -> builtins.bool:
385
+ def HasField(self, field_name: typing.Literal['component_name_deprecated', b'component_name_deprecated', 'extra', b'extra']) -> builtins.bool:
364
386
  ...
365
387
 
366
- def ClearField(self, field_name: typing.Literal['component_name', b'component_name', 'destination_frame', b'destination_frame', 'extra', b'extra', 'name', b'name', 'supplemental_transforms', b'supplemental_transforms']) -> None:
388
+ def ClearField(self, field_name: typing.Literal['component_name', b'component_name', 'component_name_deprecated', b'component_name_deprecated', 'destination_frame', b'destination_frame', 'extra', b'extra', 'name', b'name', 'supplemental_transforms', b'supplemental_transforms']) -> None:
367
389
  ...
368
390
  global___GetPoseRequest = GetPoseRequest
369
391
 
@@ -390,26 +412,29 @@ global___GetPoseResponse = GetPoseResponse
390
412
  class StopPlanRequest(google.protobuf.message.Message):
391
413
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
392
414
  NAME_FIELD_NUMBER: builtins.int
415
+ COMPONENT_NAME_DEPRECATED_FIELD_NUMBER: builtins.int
393
416
  COMPONENT_NAME_FIELD_NUMBER: builtins.int
394
417
  EXTRA_FIELD_NUMBER: builtins.int
395
418
  name: builtins.str
396
419
  'The name of the motion service'
420
+ component_name: builtins.str
421
+ 'The component of the currently executing plan to stop'
397
422
 
398
423
  @property
399
- def component_name(self) -> common.v1.common_pb2.ResourceName:
400
- """The component of the currently executing plan to stop"""
424
+ def component_name_deprecated(self) -> common.v1.common_pb2.ResourceName:
425
+ """Deprecated, use component_name field."""
401
426
 
402
427
  @property
403
428
  def extra(self) -> google.protobuf.struct_pb2.Struct:
404
429
  """Additional arguments to the method"""
405
430
 
406
- def __init__(self, *, name: builtins.str=..., component_name: common.v1.common_pb2.ResourceName | None=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
431
+ def __init__(self, *, name: builtins.str=..., component_name_deprecated: common.v1.common_pb2.ResourceName | None=..., component_name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
407
432
  ...
408
433
 
409
- def HasField(self, field_name: typing.Literal['component_name', b'component_name', 'extra', b'extra']) -> builtins.bool:
434
+ def HasField(self, field_name: typing.Literal['component_name_deprecated', b'component_name_deprecated', 'extra', b'extra']) -> builtins.bool:
410
435
  ...
411
436
 
412
- def ClearField(self, field_name: typing.Literal['component_name', b'component_name', 'extra', b'extra', 'name', b'name']) -> None:
437
+ def ClearField(self, field_name: typing.Literal['component_name', b'component_name', 'component_name_deprecated', b'component_name_deprecated', 'extra', b'extra', 'name', b'name']) -> None:
413
438
  ...
414
439
  global___StopPlanRequest = StopPlanRequest
415
440
 
@@ -469,9 +494,10 @@ global___ListPlanStatusesResponse = ListPlanStatusesResponse
469
494
  class GetPlanRequest(google.protobuf.message.Message):
470
495
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
471
496
  NAME_FIELD_NUMBER: builtins.int
472
- COMPONENT_NAME_FIELD_NUMBER: builtins.int
497
+ COMPONENT_NAME_DEPRECATED_FIELD_NUMBER: builtins.int
473
498
  LAST_PLAN_ONLY_FIELD_NUMBER: builtins.int
474
499
  EXECUTION_ID_FIELD_NUMBER: builtins.int
500
+ COMPONENT_NAME_FIELD_NUMBER: builtins.int
475
501
  EXTRA_FIELD_NUMBER: builtins.int
476
502
  name: builtins.str
477
503
  'The name of the motion service'
@@ -479,22 +505,24 @@ class GetPlanRequest(google.protobuf.message.Message):
479
505
  'If supplied, the response will only return\n the the last plan for the component / execution\n '
480
506
  execution_id: builtins.str
481
507
  'If you want to know about the plans of a previous execution'
508
+ component_name: builtins.str
509
+ 'The name of the component which was requested to be moved.'
482
510
 
483
511
  @property
484
- def component_name(self) -> common.v1.common_pb2.ResourceName:
485
- """The name of the component which was requested to be moved."""
512
+ def component_name_deprecated(self) -> common.v1.common_pb2.ResourceName:
513
+ """Deprecated, use component_name field."""
486
514
 
487
515
  @property
488
516
  def extra(self) -> google.protobuf.struct_pb2.Struct:
489
517
  """Additional arguments to the method"""
490
518
 
491
- def __init__(self, *, name: builtins.str=..., component_name: common.v1.common_pb2.ResourceName | None=..., last_plan_only: builtins.bool=..., execution_id: builtins.str | None=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
519
+ def __init__(self, *, name: builtins.str=..., component_name_deprecated: common.v1.common_pb2.ResourceName | None=..., last_plan_only: builtins.bool=..., execution_id: builtins.str | None=..., component_name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
492
520
  ...
493
521
 
494
- def HasField(self, field_name: typing.Literal['_execution_id', b'_execution_id', 'component_name', b'component_name', 'execution_id', b'execution_id', 'extra', b'extra']) -> builtins.bool:
522
+ def HasField(self, field_name: typing.Literal['_execution_id', b'_execution_id', 'component_name_deprecated', b'component_name_deprecated', 'execution_id', b'execution_id', 'extra', b'extra']) -> builtins.bool:
495
523
  ...
496
524
 
497
- def ClearField(self, field_name: typing.Literal['_execution_id', b'_execution_id', 'component_name', b'component_name', 'execution_id', b'execution_id', 'extra', b'extra', 'last_plan_only', b'last_plan_only', 'name', b'name']) -> None:
525
+ def ClearField(self, field_name: typing.Literal['_execution_id', b'_execution_id', 'component_name', b'component_name', 'component_name_deprecated', b'component_name_deprecated', 'execution_id', b'execution_id', 'extra', b'extra', 'last_plan_only', b'last_plan_only', 'name', b'name']) -> None:
498
526
  ...
499
527
 
500
528
  def WhichOneof(self, oneof_group: typing.Literal['_execution_id', b'_execution_id']) -> typing.Literal['execution_id'] | None:
@@ -536,6 +564,7 @@ class Constraints(google.protobuf.message.Message):
536
564
  LINEAR_CONSTRAINT_FIELD_NUMBER: builtins.int
537
565
  ORIENTATION_CONSTRAINT_FIELD_NUMBER: builtins.int
538
566
  COLLISION_SPECIFICATION_FIELD_NUMBER: builtins.int
567
+ PSEUDOLINEAR_CONSTRAINT_FIELD_NUMBER: builtins.int
539
568
 
540
569
  @property
541
570
  def linear_constraint(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LinearConstraint]:
@@ -547,12 +576,16 @@ class Constraints(google.protobuf.message.Message):
547
576
 
548
577
  @property
549
578
  def collision_specification(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CollisionSpecification]:
579
+ ...
580
+
581
+ @property
582
+ def pseudolinear_constraint(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PseudolinearConstraint]:
550
583
  """Arc constraint, Time constraint, and others will be added here when they are supported"""
551
584
 
552
- def __init__(self, *, linear_constraint: collections.abc.Iterable[global___LinearConstraint] | None=..., orientation_constraint: collections.abc.Iterable[global___OrientationConstraint] | None=..., collision_specification: collections.abc.Iterable[global___CollisionSpecification] | None=...) -> None:
585
+ def __init__(self, *, linear_constraint: collections.abc.Iterable[global___LinearConstraint] | None=..., orientation_constraint: collections.abc.Iterable[global___OrientationConstraint] | None=..., collision_specification: collections.abc.Iterable[global___CollisionSpecification] | None=..., pseudolinear_constraint: collections.abc.Iterable[global___PseudolinearConstraint] | None=...) -> None:
553
586
  ...
554
587
 
555
- def ClearField(self, field_name: typing.Literal['collision_specification', b'collision_specification', 'linear_constraint', b'linear_constraint', 'orientation_constraint', b'orientation_constraint']) -> None:
588
+ def ClearField(self, field_name: typing.Literal['collision_specification', b'collision_specification', 'linear_constraint', b'linear_constraint', 'orientation_constraint', b'orientation_constraint', 'pseudolinear_constraint', b'pseudolinear_constraint']) -> None:
556
589
  ...
557
590
  global___Constraints = Constraints
558
591
 
@@ -587,6 +620,37 @@ class LinearConstraint(google.protobuf.message.Message):
587
620
  ...
588
621
  global___LinearConstraint = LinearConstraint
589
622
 
623
+ @typing.final
624
+ class PseudolinearConstraint(google.protobuf.message.Message):
625
+ """PseudolinearConstraint specifies that the component being moved should not deviate from the straight-line path to their goal by
626
+ more than a factor proportional to the distance from start to goal.
627
+ For example, if a component is moving 100mm, then a LineToleranceFactor of 1.0 means that the component will remain within a 100mm
628
+ radius of the straight-line start-goal path.
629
+ """
630
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
631
+ LINE_TOLERANCE_FACTOR_FIELD_NUMBER: builtins.int
632
+ ORIENTATION_TOLERANCE_FACTOR_FIELD_NUMBER: builtins.int
633
+ line_tolerance_factor: builtins.float
634
+ orientation_tolerance_factor: builtins.float
635
+
636
+ def __init__(self, *, line_tolerance_factor: builtins.float | None=..., orientation_tolerance_factor: builtins.float | None=...) -> None:
637
+ ...
638
+
639
+ def HasField(self, field_name: typing.Literal['_line_tolerance_factor', b'_line_tolerance_factor', '_orientation_tolerance_factor', b'_orientation_tolerance_factor', 'line_tolerance_factor', b'line_tolerance_factor', 'orientation_tolerance_factor', b'orientation_tolerance_factor']) -> builtins.bool:
640
+ ...
641
+
642
+ def ClearField(self, field_name: typing.Literal['_line_tolerance_factor', b'_line_tolerance_factor', '_orientation_tolerance_factor', b'_orientation_tolerance_factor', 'line_tolerance_factor', b'line_tolerance_factor', 'orientation_tolerance_factor', b'orientation_tolerance_factor']) -> None:
643
+ ...
644
+
645
+ @typing.overload
646
+ def WhichOneof(self, oneof_group: typing.Literal['_line_tolerance_factor', b'_line_tolerance_factor']) -> typing.Literal['line_tolerance_factor'] | None:
647
+ ...
648
+
649
+ @typing.overload
650
+ def WhichOneof(self, oneof_group: typing.Literal['_orientation_tolerance_factor', b'_orientation_tolerance_factor']) -> typing.Literal['orientation_tolerance_factor'] | None:
651
+ ...
652
+ global___PseudolinearConstraint = PseudolinearConstraint
653
+
590
654
  @typing.final
591
655
  class OrientationConstraint(google.protobuf.message.Message):
592
656
  """OrientationConstraint specifies that the component being moved will not deviate its orientation beyond some threshold relative
@@ -681,33 +745,32 @@ class PlanStatusWithID(google.protobuf.message.Message):
681
745
  """
682
746
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
683
747
  PLAN_ID_FIELD_NUMBER: builtins.int
684
- COMPONENT_NAME_FIELD_NUMBER: builtins.int
748
+ COMPONENT_NAME_DEPRECATED_FIELD_NUMBER: builtins.int
685
749
  EXECUTION_ID_FIELD_NUMBER: builtins.int
686
750
  STATUS_FIELD_NUMBER: builtins.int
751
+ COMPONENT_NAME_FIELD_NUMBER: builtins.int
687
752
  plan_id: builtins.str
688
753
  'The unique ID of the plan'
689
754
  execution_id: builtins.str
690
755
  'The unique ID which identifies the plan execution.\n Multiple plans will share the same execution_id if they were\n generated due to replanning.\n '
756
+ component_name: builtins.str
757
+ 'The component to be moved.\n Used for tracking & stopping.\n NOTE: A plan may move more components than just the\n component_name.\n '
691
758
 
692
759
  @property
693
- def component_name(self) -> common.v1.common_pb2.ResourceName:
694
- """The component to be moved.
695
- Used for tracking & stopping.
696
- NOTE: A plan may move more components than just the
697
- component_name.
698
- """
760
+ def component_name_deprecated(self) -> common.v1.common_pb2.ResourceName:
761
+ """Deprecated, use component_name field."""
699
762
 
700
763
  @property
701
764
  def status(self) -> global___PlanStatus:
702
765
  ...
703
766
 
704
- def __init__(self, *, plan_id: builtins.str=..., component_name: common.v1.common_pb2.ResourceName | None=..., execution_id: builtins.str=..., status: global___PlanStatus | None=...) -> None:
767
+ def __init__(self, *, plan_id: builtins.str=..., component_name_deprecated: common.v1.common_pb2.ResourceName | None=..., execution_id: builtins.str=..., status: global___PlanStatus | None=..., component_name: builtins.str=...) -> None:
705
768
  ...
706
769
 
707
- def HasField(self, field_name: typing.Literal['component_name', b'component_name', 'status', b'status']) -> builtins.bool:
770
+ def HasField(self, field_name: typing.Literal['component_name_deprecated', b'component_name_deprecated', 'status', b'status']) -> builtins.bool:
708
771
  ...
709
772
 
710
- def ClearField(self, field_name: typing.Literal['component_name', b'component_name', 'execution_id', b'execution_id', 'plan_id', b'plan_id', 'status', b'status']) -> None:
773
+ def ClearField(self, field_name: typing.Literal['component_name', b'component_name', 'component_name_deprecated', b'component_name_deprecated', 'execution_id', b'execution_id', 'plan_id', b'plan_id', 'status', b'status']) -> None:
711
774
  ...
712
775
  global___PlanStatusWithID = PlanStatusWithID
713
776
 
@@ -747,33 +810,32 @@ class Plan(google.protobuf.message.Message):
747
810
  """A plan describes a motion plan"""
748
811
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
749
812
  ID_FIELD_NUMBER: builtins.int
750
- COMPONENT_NAME_FIELD_NUMBER: builtins.int
813
+ COMPONENT_NAME_DEPRECATED_FIELD_NUMBER: builtins.int
751
814
  EXECUTION_ID_FIELD_NUMBER: builtins.int
752
815
  STEPS_FIELD_NUMBER: builtins.int
816
+ COMPONENT_NAME_FIELD_NUMBER: builtins.int
753
817
  id: builtins.str
754
818
  "The plan's unique ID"
755
819
  execution_id: builtins.str
756
820
  'The unique ID which identifies the execution.\n Multiple plans will share the same execution_id if they were\n generated due to replanning\n '
821
+ component_name: builtins.str
822
+ 'The component requested to be moved.\n Used for tracking & stopping.\n NOTE: A plan may move more components than just the\n root component.\n '
757
823
 
758
824
  @property
759
- def component_name(self) -> common.v1.common_pb2.ResourceName:
760
- """The component requested to be moved.
761
- Used for tracking & stopping.
762
- NOTE: A plan may move more components than just the
763
- root component.
764
- """
825
+ def component_name_deprecated(self) -> common.v1.common_pb2.ResourceName:
826
+ """Deprecated, use component_name field."""
765
827
 
766
828
  @property
767
829
  def steps(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PlanStep]:
768
830
  """The steps of a plan is an ordered list of plan steps"""
769
831
 
770
- def __init__(self, *, id: builtins.str=..., component_name: common.v1.common_pb2.ResourceName | None=..., execution_id: builtins.str=..., steps: collections.abc.Iterable[global___PlanStep] | None=...) -> None:
832
+ def __init__(self, *, id: builtins.str=..., component_name_deprecated: common.v1.common_pb2.ResourceName | None=..., execution_id: builtins.str=..., steps: collections.abc.Iterable[global___PlanStep] | None=..., component_name: builtins.str=...) -> None:
771
833
  ...
772
834
 
773
- def HasField(self, field_name: typing.Literal['component_name', b'component_name']) -> builtins.bool:
835
+ def HasField(self, field_name: typing.Literal['component_name_deprecated', b'component_name_deprecated']) -> builtins.bool:
774
836
  ...
775
837
 
776
- def ClearField(self, field_name: typing.Literal['component_name', b'component_name', 'execution_id', b'execution_id', 'id', b'id', 'steps', b'steps']) -> None:
838
+ def ClearField(self, field_name: typing.Literal['component_name', b'component_name', 'component_name_deprecated', b'component_name_deprecated', 'execution_id', b'execution_id', 'id', b'id', 'steps', b'steps']) -> None:
777
839
  ...
778
840
  global___Plan = Plan
779
841
 
@@ -4,7 +4,7 @@ from google.protobuf import descriptor_pool as _descriptor_pool
4
4
  from google.protobuf import runtime_version as _runtime_version
5
5
  from google.protobuf import symbol_database as _symbol_database
6
6
  from google.protobuf.internal import builder as _builder
7
- _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 1, '', 'service/navigation/v1/navigation.proto')
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'service/navigation/v1/navigation.proto')
8
8
  _sym_db = _symbol_database.Default()
9
9
  from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
10
10
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
@@ -4,7 +4,7 @@ from google.protobuf import descriptor_pool as _descriptor_pool
4
4
  from google.protobuf import runtime_version as _runtime_version
5
5
  from google.protobuf import symbol_database as _symbol_database
6
6
  from google.protobuf.internal import builder as _builder
7
- _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 1, '', 'service/sensors/v1/sensors.proto')
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'service/sensors/v1/sensors.proto')
8
8
  _sym_db = _symbol_database.Default()
9
9
  from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
10
10
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
@@ -4,7 +4,7 @@ from google.protobuf import descriptor_pool as _descriptor_pool
4
4
  from google.protobuf import runtime_version as _runtime_version
5
5
  from google.protobuf import symbol_database as _symbol_database
6
6
  from google.protobuf.internal import builder as _builder
7
- _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 1, '', 'service/shell/v1/shell.proto')
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'service/shell/v1/shell.proto')
8
8
  _sym_db = _symbol_database.Default()
9
9
  from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
10
10
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
@@ -4,7 +4,7 @@ from google.protobuf import descriptor_pool as _descriptor_pool
4
4
  from google.protobuf import runtime_version as _runtime_version
5
5
  from google.protobuf import symbol_database as _symbol_database
6
6
  from google.protobuf.internal import builder as _builder
7
- _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 1, '', 'service/slam/v1/slam.proto')
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'service/slam/v1/slam.proto')
8
8
  _sym_db = _symbol_database.Default()
9
9
  from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
10
10
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
@@ -117,7 +117,7 @@ class GetPointCloudMapResponse(google.protobuf.message.Message):
117
117
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
118
118
  POINT_CLOUD_PCD_CHUNK_FIELD_NUMBER: builtins.int
119
119
  point_cloud_pcd_chunk: builtins.bytes
120
- 'One chunk of the PointCloud.\n For a given GetPointCloudMap request, concatenating all\n GetPointCloudMapResponse.point_cloud_pcd_chunk values in the\n order received result in the complete pointcloud in standard PCD\n format where XY is the ground plane and positive Z is up, following\n the Right Hand Rule.\n\n Read more about the pointcloud format here:\n https://pointclouds.org/documentation/tutorials/pcd_file_format.html\n\n Viam expects pointcloud data with fields "x y z" or "x y z rgb", and for\n this to be specified in the pointcloud header in the FIELDS entry. If color\n data is included in the pointcloud, Viam\'s services assume that the color\n value encodes a confidence score for that data point. Viam expects the\n confidence score to be encoded in the blue parameter of the RGB value, on a\n scale from 1-100.\n\n Pointclouds are little endian encoded.\n '
120
+ 'One chunk of the PointCloud.\n For a given GetPointCloudMap request, concatenating all\n GetPointCloudMapResponse.point_cloud_pcd_chunk values in the\n order received result in the complete pointcloud in standard PCD\n format where XY is the ground plane and positive Z is up, following\n the Right Hand Rule.\n\n Read more about the pointcloud format\n [in the docs](https://pointclouds.org/documentation/tutorials/pcd_file_format.html)\n\n Viam expects pointcloud data with fields "x y z" or "x y z rgb", and for\n this to be specified in the pointcloud header in the FIELDS entry. If color\n data is included in the pointcloud, Viam\'s services assume that the color\n value encodes a confidence score for that data point. Viam expects the\n confidence score to be encoded in the blue parameter of the RGB value, on a\n scale from 1-100.\n\n Pointclouds are little endian encoded.\n '
121
121
 
122
122
  def __init__(self, *, point_cloud_pcd_chunk: builtins.bytes=...) -> None:
123
123
  ...
File without changes
File without changes
@@ -0,0 +1,39 @@
1
+ import abc
2
+ import typing
3
+ import grpclib.const
4
+ import grpclib.client
5
+ import grpclib.exceptions
6
+ if typing.TYPE_CHECKING:
7
+ import grpclib.server
8
+ from .... import common
9
+ import google.api.annotations_pb2
10
+ import google.protobuf.struct_pb2
11
+ import google.protobuf.timestamp_pb2
12
+ from .... import service
13
+
14
+ class VideoServiceBase(abc.ABC):
15
+
16
+ @abc.abstractmethod
17
+ async def GetVideo(self, stream: 'grpclib.server.Stream[service.video.v1.video_pb2.GetVideoRequest, service.video.v1.video_pb2.GetVideoResponse]') -> None:
18
+ pass
19
+
20
+ @abc.abstractmethod
21
+ async def DoCommand(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse]') -> None:
22
+ pass
23
+
24
+ def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
25
+ return {'/viam.service.video.v1.VideoService/GetVideo': grpclib.const.Handler(self.GetVideo, grpclib.const.Cardinality.UNARY_STREAM, service.video.v1.video_pb2.GetVideoRequest, service.video.v1.video_pb2.GetVideoResponse), '/viam.service.video.v1.VideoService/DoCommand': grpclib.const.Handler(self.DoCommand, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse)}
26
+
27
+ class UnimplementedVideoServiceBase(VideoServiceBase):
28
+
29
+ async def GetVideo(self, stream: 'grpclib.server.Stream[service.video.v1.video_pb2.GetVideoRequest, service.video.v1.video_pb2.GetVideoResponse]') -> None:
30
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
31
+
32
+ async def DoCommand(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse]') -> None:
33
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
34
+
35
+ class VideoServiceStub:
36
+
37
+ def __init__(self, channel: grpclib.client.Channel) -> None:
38
+ self.GetVideo = grpclib.client.UnaryStreamMethod(channel, '/viam.service.video.v1.VideoService/GetVideo', service.video.v1.video_pb2.GetVideoRequest, service.video.v1.video_pb2.GetVideoResponse)
39
+ self.DoCommand = grpclib.client.UnaryUnaryMethod(channel, '/viam.service.video.v1.VideoService/DoCommand', common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse)
@@ -0,0 +1,29 @@
1
+ """Generated protocol buffer code."""
2
+ from google.protobuf import descriptor as _descriptor
3
+ from google.protobuf import descriptor_pool as _descriptor_pool
4
+ from google.protobuf import runtime_version as _runtime_version
5
+ from google.protobuf import symbol_database as _symbol_database
6
+ from google.protobuf.internal import builder as _builder
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'service/video/v1/video.proto')
8
+ _sym_db = _symbol_database.Default()
9
+ from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
10
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
11
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
12
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
13
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cservice/video/v1/video.proto\x12\x15viam.service.video.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xc3\x02\n\x0fGetVideoRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\x0fstart_timestamp\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0estartTimestamp\x12?\n\rend_timestamp\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0cendTimestamp\x12\x1f\n\x0bvideo_codec\x18\x04 \x01(\tR\nvideoCodec\x12\'\n\x0fvideo_container\x18\x05 \x01(\tR\x0evideoContainer\x12\x1d\n\nrequest_id\x18\x06 \x01(\tR\trequestId\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"y\n\x10GetVideoResponse\x12\x1d\n\nvideo_data\x18\x01 \x01(\x0cR\tvideoData\x12\'\n\x0fvideo_container\x18\x02 \x01(\tR\x0evideoContainer\x12\x1d\n\nrequest_id\x18\x03 \x01(\tR\trequestId2\xb3\x02\n\x0cVideoService\x12\x99\x01\n\x08GetVideo\x12&.viam.service.video.v1.GetVideoRequest\x1a\'.viam.service.video.v1.GetVideoResponse":\x82\xd3\xe4\x93\x024"2/viam/api/v1/service/video/{name}/get_video_stream0\x01\x12\x86\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"4\x82\xd3\xe4\x93\x02.",/viam/api/v1/service/video/{name}/do_commandB=\n\x19com.viam.service.video.v1Z go.viam.com/api/service/video/v1b\x06proto3')
14
+ _globals = globals()
15
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
16
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'service.video.v1.video_pb2', _globals)
17
+ if not _descriptor._USE_C_DESCRIPTORS:
18
+ _globals['DESCRIPTOR']._loaded_options = None
19
+ _globals['DESCRIPTOR']._serialized_options = b'\n\x19com.viam.service.video.v1Z go.viam.com/api/service/video/v1'
20
+ _globals['_VIDEOSERVICE'].methods_by_name['GetVideo']._loaded_options = None
21
+ _globals['_VIDEOSERVICE'].methods_by_name['GetVideo']._serialized_options = b'\x82\xd3\xe4\x93\x024"2/viam/api/v1/service/video/{name}/get_video_stream'
22
+ _globals['_VIDEOSERVICE'].methods_by_name['DoCommand']._loaded_options = None
23
+ _globals['_VIDEOSERVICE'].methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x02.",/viam/api/v1/service/video/{name}/do_command'
24
+ _globals['_GETVIDEOREQUEST']._serialized_start = 173
25
+ _globals['_GETVIDEOREQUEST']._serialized_end = 496
26
+ _globals['_GETVIDEORESPONSE']._serialized_start = 498
27
+ _globals['_GETVIDEORESPONSE']._serialized_end = 619
28
+ _globals['_VIDEOSERVICE']._serialized_start = 622
29
+ _globals['_VIDEOSERVICE']._serialized_end = 929