viam-sdk 0.25.2__py3-none-linux_armv7l.whl → 0.62.0__py3-none-linux_armv7l.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- viam/app/_logs.py +3 -6
- viam/app/app_client.py +606 -262
- viam/app/billing_client.py +60 -18
- viam/app/data_client.py +1086 -315
- viam/app/ml_training_client.py +51 -48
- viam/app/provisioning_client.py +3 -5
- viam/app/viam_client.py +105 -11
- viam/components/arm/__init__.py +1 -25
- viam/components/arm/arm.py +21 -22
- viam/components/arm/client.py +27 -30
- viam/components/arm/service.py +3 -3
- viam/components/audio_in/__init__.py +24 -0
- viam/components/audio_in/audio_in.py +74 -0
- viam/components/audio_in/client.py +76 -0
- viam/components/audio_in/service.py +83 -0
- viam/components/audio_input/__init__.py +1 -1
- viam/components/audio_input/audio_input.py +4 -3
- viam/components/audio_input/client.py +19 -8
- viam/components/audio_input/service.py +10 -0
- viam/components/audio_out/__init__.py +21 -0
- viam/components/audio_out/audio_out.py +72 -0
- viam/components/audio_out/client.py +67 -0
- viam/components/audio_out/service.py +63 -0
- viam/components/base/__init__.py +2 -10
- viam/components/base/base.py +20 -20
- viam/components/base/client.py +27 -30
- viam/components/board/__init__.py +2 -25
- viam/components/board/board.py +39 -77
- viam/components/board/client.py +39 -73
- viam/components/button/__init__.py +10 -0
- viam/components/button/button.py +41 -0
- viam/components/button/client.py +52 -0
- viam/components/button/service.py +46 -0
- viam/components/camera/__init__.py +1 -1
- viam/components/camera/camera.py +31 -22
- viam/components/camera/client.py +30 -20
- viam/components/camera/service.py +14 -12
- viam/components/component_base.py +10 -7
- viam/components/encoder/__init__.py +1 -1
- viam/components/encoder/client.py +15 -16
- viam/components/encoder/encoder.py +9 -9
- viam/components/gantry/__init__.py +1 -13
- viam/components/gantry/client.py +41 -28
- viam/components/gantry/gantry.py +48 -17
- viam/components/gantry/service.py +21 -5
- viam/components/generic/__init__.py +1 -1
- viam/components/generic/client.py +11 -7
- viam/components/generic/generic.py +3 -3
- viam/components/gripper/__init__.py +3 -12
- viam/components/gripper/client.py +43 -20
- viam/components/gripper/gripper.py +87 -12
- viam/components/gripper/service.py +32 -3
- viam/components/input/__init__.py +1 -14
- viam/components/input/client.py +22 -23
- viam/components/input/input.py +18 -12
- viam/components/motor/__init__.py +1 -21
- viam/components/motor/client.py +36 -42
- viam/components/motor/motor.py +24 -24
- viam/components/movement_sensor/__init__.py +1 -1
- viam/components/movement_sensor/client.py +33 -40
- viam/components/movement_sensor/movement_sensor.py +12 -12
- viam/components/pose_tracker/__init__.py +1 -1
- viam/components/pose_tracker/client.py +9 -8
- viam/components/pose_tracker/pose_tracker.py +2 -2
- viam/components/power_sensor/__init__.py +1 -1
- viam/components/power_sensor/client.py +15 -18
- viam/components/power_sensor/power_sensor.py +12 -12
- viam/components/sensor/__init__.py +1 -1
- viam/components/sensor/client.py +9 -8
- viam/components/sensor/sensor.py +5 -5
- viam/components/servo/__init__.py +1 -13
- viam/components/servo/client.py +18 -18
- viam/components/servo/servo.py +12 -12
- viam/components/switch/__init__.py +10 -0
- viam/components/switch/client.py +83 -0
- viam/components/switch/service.py +72 -0
- viam/components/switch/switch.py +95 -0
- viam/gen/app/agent/v1/agent_pb2.py +40 -29
- viam/gen/app/agent/v1/agent_pb2.pyi +73 -11
- viam/gen/app/cloudslam/v1/cloud_slam_pb2.py +45 -42
- viam/gen/app/data/v1/data_grpc.py +98 -2
- viam/gen/app/data/v1/data_pb2.py +238 -119
- viam/gen/app/data/v1/data_pb2.pyi +804 -34
- viam/gen/app/datapipelines/v1/data_pipelines_grpc.py +84 -0
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.py +57 -0
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +387 -0
- viam/gen/app/dataset/v1/dataset_grpc.py +10 -2
- viam/gen/app/dataset/v1/dataset_pb2.py +38 -31
- viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
- viam/gen/app/datasync/v1/data_sync_grpc.py +1 -1
- viam/gen/app/datasync/v1/data_sync_pb2.py +61 -51
- viam/gen/app/datasync/v1/data_sync_pb2.pyi +52 -12
- viam/gen/app/mlinference/__init__.py +0 -0
- viam/gen/app/mlinference/v1/__init__.py +0 -0
- viam/gen/app/mlinference/v1/ml_inference_grpc.py +28 -0
- viam/gen/app/mlinference/v1/ml_inference_pb2.py +23 -0
- viam/gen/app/mlinference/v1/ml_inference_pb2.pyi +63 -0
- viam/gen/app/mltraining/v1/ml_training_grpc.py +18 -2
- viam/gen/app/mltraining/v1/ml_training_pb2.py +134 -101
- viam/gen/app/mltraining/v1/ml_training_pb2.pyi +193 -7
- viam/gen/app/packages/v1/packages_pb2.py +43 -40
- viam/gen/app/v1/app_grpc.py +290 -2
- viam/gen/app/v1/app_pb2.py +670 -453
- viam/gen/app/v1/app_pb2.pyi +3133 -947
- viam/gen/app/v1/billing_grpc.py +34 -2
- viam/gen/app/v1/billing_pb2.py +94 -35
- viam/gen/app/v1/billing_pb2.pyi +314 -61
- viam/gen/app/v1/end_user_pb2.py +50 -29
- viam/gen/app/v1/robot_pb2.py +120 -111
- viam/gen/app/v1/robot_pb2.pyi +137 -15
- viam/gen/common/v1/common_pb2.py +86 -66
- viam/gen/common/v1/common_pb2.pyi +184 -8
- viam/gen/component/arm/v1/arm_grpc.py +18 -2
- viam/gen/component/arm/v1/arm_pb2.py +68 -55
- viam/gen/component/arm/v1/arm_pb2.pyi +73 -3
- viam/gen/component/audioin/__init__.py +0 -0
- viam/gen/component/audioin/v1/__init__.py +0 -0
- viam/gen/component/audioin/v1/audioin_grpc.py +54 -0
- viam/gen/component/audioin/v1/audioin_pb2.py +34 -0
- viam/gen/component/audioin/v1/audioin_pb2.pyi +94 -0
- viam/gen/component/audioinput/v1/audioinput_pb2.py +35 -32
- viam/gen/component/audioout/__init__.py +0 -0
- viam/gen/component/audioout/v1/__init__.py +0 -0
- viam/gen/component/audioout/v1/audioout_grpc.py +54 -0
- viam/gen/component/audioout/v1/audioout_pb2.py +32 -0
- viam/gen/component/audioout/v1/audioout_pb2.pyi +47 -0
- viam/gen/component/base/v1/base_pb2.py +57 -54
- viam/gen/component/board/v1/board_pb2.py +93 -90
- viam/gen/component/button/__init__.py +0 -0
- viam/gen/component/button/v1/__init__.py +0 -0
- viam/gen/component/button/v1/button_grpc.py +38 -0
- viam/gen/component/button/v1/button_pb2.py +28 -0
- viam/gen/component/button/v1/button_pb2.pyi +39 -0
- viam/gen/component/camera/v1/camera_pb2.py +58 -55
- viam/gen/component/camera/v1/camera_pb2.pyi +31 -7
- viam/gen/component/encoder/v1/encoder_pb2.py +35 -32
- viam/gen/component/gantry/v1/gantry_grpc.py +9 -1
- viam/gen/component/gantry/v1/gantry_pb2.py +56 -51
- viam/gen/component/generic/v1/generic_pb2.py +15 -12
- viam/gen/component/gripper/v1/gripper_grpc.py +18 -2
- viam/gen/component/gripper/v1/gripper_pb2.py +48 -37
- viam/gen/component/gripper/v1/gripper_pb2.pyi +43 -1
- viam/gen/component/inputcontroller/v1/input_controller_pb2.py +45 -42
- viam/gen/component/motor/v1/motor_pb2.py +77 -74
- viam/gen/component/movementsensor/v1/movementsensor_pb2.py +69 -66
- viam/gen/component/posetracker/v1/pose_tracker_pb2.py +25 -22
- viam/gen/component/powersensor/v1/powersensor_pb2.py +33 -30
- viam/gen/component/sensor/v1/sensor_pb2.py +17 -14
- viam/gen/component/servo/v1/servo_pb2.py +41 -38
- viam/gen/component/switch/__init__.py +0 -0
- viam/gen/component/switch/v1/__init__.py +0 -0
- viam/gen/component/switch/v1/switch_grpc.py +54 -0
- viam/gen/component/switch/v1/switch_pb2.py +40 -0
- viam/gen/component/switch/v1/switch_pb2.pyi +116 -0
- viam/gen/component/testecho/v1/testecho_pb2.py +29 -26
- viam/gen/module/v1/module_pb2.py +36 -33
- viam/gen/module/v1/module_pb2.pyi +7 -2
- viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +26 -23
- viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.py +23 -20
- viam/gen/proto/rpc/v1/auth_pb2.py +27 -24
- viam/gen/proto/rpc/webrtc/v1/grpc_pb2.py +35 -32
- viam/gen/proto/rpc/webrtc/v1/signaling_pb2.py +62 -57
- viam/gen/proto/rpc/webrtc/v1/signaling_pb2.pyi +18 -4
- viam/gen/provisioning/v1/provisioning_grpc.py +10 -2
- viam/gen/provisioning/v1/provisioning_pb2.py +38 -31
- viam/gen/provisioning/v1/provisioning_pb2.pyi +20 -2
- viam/gen/robot/v1/robot_grpc.py +61 -29
- viam/gen/robot/v1/robot_pb2.py +186 -155
- viam/gen/robot/v1/robot_pb2.pyi +278 -59
- viam/gen/service/datamanager/v1/data_manager_grpc.py +11 -2
- viam/gen/service/datamanager/v1/data_manager_pb2.py +27 -17
- viam/gen/service/datamanager/v1/data_manager_pb2.pyi +47 -1
- viam/gen/service/discovery/__init__.py +0 -0
- viam/gen/service/discovery/v1/__init__.py +0 -0
- viam/gen/service/discovery/v1/discovery_grpc.py +39 -0
- viam/gen/service/discovery/v1/discovery_pb2.py +29 -0
- viam/gen/service/discovery/v1/discovery_pb2.pyi +51 -0
- viam/gen/service/generic/v1/generic_pb2.py +13 -10
- viam/gen/service/mlmodel/v1/mlmodel_pb2.py +75 -72
- viam/gen/service/motion/v1/motion_pb2.py +118 -85
- viam/gen/service/motion/v1/motion_pb2.pyi +130 -68
- viam/gen/service/navigation/v1/navigation_pb2.py +75 -72
- viam/gen/service/sensors/v1/sensors_pb2.py +59 -56
- viam/gen/service/shell/v1/shell_pb2.py +35 -32
- viam/gen/service/slam/v1/slam_pb2.py +43 -40
- viam/gen/service/slam/v1/slam_pb2.pyi +1 -1
- viam/gen/service/video/__init__.py +0 -0
- viam/gen/service/video/v1/__init__.py +0 -0
- viam/gen/service/video/v1/video_grpc.py +39 -0
- viam/gen/service/video/v1/video_pb2.py +29 -0
- viam/gen/service/video/v1/video_pb2.pyi +72 -0
- viam/gen/service/vision/v1/vision_pb2.py +60 -57
- viam/gen/service/vision/v1/vision_pb2.pyi +28 -3
- viam/gen/service/worldstatestore/__init__.py +0 -0
- viam/gen/service/worldstatestore/v1/__init__.py +0 -0
- viam/gen/service/worldstatestore/v1/world_state_store_grpc.py +55 -0
- viam/gen/service/worldstatestore/v1/world_state_store_pb2.py +39 -0
- viam/gen/service/worldstatestore/v1/world_state_store_pb2.pyi +171 -0
- viam/gen/stream/v1/stream_grpc.py +17 -1
- viam/gen/stream/v1/stream_pb2.py +34 -21
- viam/gen/stream/v1/stream_pb2.pyi +79 -1
- viam/gen/tagger/v1/tagger_pb2.py +9 -8
- viam/logging.py +77 -18
- viam/media/audio.py +28 -0
- viam/media/utils/pil/__init__.py +7 -3
- viam/media/video.py +80 -17
- viam/module/module.py +111 -38
- viam/module/resource_data_consumer.py +41 -0
- viam/module/service.py +9 -1
- viam/module/types.py +2 -4
- viam/proto/app/__init__.py +199 -0
- viam/proto/app/agent/__init__.py +5 -2
- viam/proto/app/billing.py +31 -4
- viam/proto/app/cloudslam/__init__.py +1 -0
- viam/proto/app/data/__init__.py +63 -0
- viam/proto/app/datapipelines/__init__.py +56 -0
- viam/proto/app/dataset/__init__.py +5 -0
- viam/proto/app/datasync/__init__.py +3 -0
- viam/proto/app/end_user.py +1 -0
- viam/proto/app/mlinference/__init__.py +15 -0
- viam/proto/app/mltraining/__init__.py +13 -0
- viam/proto/app/packages/__init__.py +1 -0
- viam/proto/app/robot.py +7 -0
- viam/proto/common/__init__.py +15 -0
- viam/proto/component/arm/__init__.py +7 -0
- viam/proto/component/audioin/__init__.py +16 -0
- viam/proto/component/audioinput/__init__.py +1 -0
- viam/proto/component/audioout/__init__.py +15 -0
- viam/proto/component/base/__init__.py +1 -0
- viam/proto/component/board/__init__.py +1 -0
- viam/proto/component/button/__init__.py +15 -0
- viam/proto/component/camera/__init__.py +1 -0
- viam/proto/component/encoder/__init__.py +1 -0
- viam/proto/component/gantry/__init__.py +1 -0
- viam/proto/component/generic/__init__.py +1 -0
- viam/proto/component/gripper/__init__.py +5 -0
- viam/proto/component/inputcontroller/__init__.py +1 -0
- viam/proto/component/motor/__init__.py +1 -0
- viam/proto/component/movementsensor/__init__.py +1 -0
- viam/proto/component/posetracker/__init__.py +1 -0
- viam/proto/component/powersensor/__init__.py +1 -0
- viam/proto/component/sensor/__init__.py +1 -0
- viam/proto/component/servo/__init__.py +1 -0
- viam/proto/component/switch/__init__.py +26 -0
- viam/proto/component/testecho/__init__.py +1 -0
- viam/proto/module/__init__.py +1 -0
- viam/proto/provisioning/__init__.py +5 -0
- viam/proto/robot/__init__.py +29 -8
- viam/proto/rpc/auth.py +1 -0
- viam/proto/rpc/examples/echo/__init__.py +1 -0
- viam/proto/rpc/examples/echoresource/__init__.py +1 -0
- viam/proto/rpc/webrtc/grpc.py +1 -0
- viam/proto/rpc/webrtc/signaling.py +3 -0
- viam/proto/service/datamanager/__init__.py +9 -1
- viam/proto/service/discovery/__init__.py +15 -0
- viam/proto/service/generic/__init__.py +1 -0
- viam/proto/service/mlmodel/__init__.py +1 -0
- viam/proto/service/motion/__init__.py +3 -0
- viam/proto/service/navigation/__init__.py +1 -0
- viam/proto/service/sensors/__init__.py +1 -0
- viam/proto/service/shell/__init__.py +1 -0
- viam/proto/service/slam/__init__.py +1 -0
- viam/proto/service/video/__init__.py +15 -0
- viam/proto/service/vision/__init__.py +1 -0
- viam/proto/service/worldstatestore/__init__.py +32 -0
- viam/proto/stream/__init__.py +11 -0
- viam/py.typed +0 -0
- viam/resource/base.py +12 -8
- viam/resource/easy_resource.py +24 -13
- viam/resource/manager.py +6 -5
- viam/resource/registry.py +39 -51
- viam/resource/rpc_client_base.py +33 -1
- viam/resource/types.py +13 -14
- viam/robot/client.py +190 -122
- viam/robot/service.py +2 -50
- viam/rpc/dial.py +54 -4
- viam/rpc/libviam_rust_utils.so +0 -0
- viam/rpc/server.py +25 -11
- viam/rpc/types.py +2 -4
- viam/services/discovery/__init__.py +12 -0
- viam/services/discovery/client.py +55 -0
- viam/services/discovery/discovery.py +52 -0
- viam/services/discovery/service.py +43 -0
- viam/services/generic/__init__.py +1 -1
- viam/services/generic/client.py +8 -5
- viam/services/generic/generic.py +2 -2
- viam/services/mlmodel/__init__.py +1 -1
- viam/services/mlmodel/client.py +17 -7
- viam/services/mlmodel/mlmodel.py +23 -12
- viam/services/mlmodel/service.py +5 -2
- viam/services/mlmodel/utils.py +11 -1
- viam/services/motion/__init__.py +2 -2
- viam/services/motion/client.py +32 -32
- viam/services/motion/motion.py +66 -62
- viam/services/navigation/__init__.py +1 -1
- viam/services/navigation/client.py +30 -20
- viam/services/navigation/navigation.py +23 -23
- viam/services/service_base.py +13 -9
- viam/services/service_client_base.py +3 -3
- viam/services/slam/__init__.py +1 -1
- viam/services/slam/client.py +15 -10
- viam/services/slam/slam.py +11 -11
- viam/services/vision/__init__.py +1 -1
- viam/services/vision/client.py +31 -24
- viam/services/vision/service.py +8 -8
- viam/services/vision/vision.py +36 -53
- viam/services/worldstatestore/__init__.py +18 -0
- viam/services/worldstatestore/client.py +94 -0
- viam/services/worldstatestore/service.py +55 -0
- viam/services/worldstatestore/worldstatestore.py +90 -0
- viam/sessions_client.py +115 -46
- viam/streams.py +3 -6
- viam/utils.py +44 -14
- viam/version_metadata.py +4 -0
- {viam_sdk-0.25.2.dist-info → viam_sdk-0.62.0.dist-info}/METADATA +27 -28
- viam_sdk-0.62.0.dist-info/RECORD +514 -0
- {viam_sdk-0.25.2.dist-info → viam_sdk-0.62.0.dist-info}/WHEEL +1 -1
- viam/gen/proto/rpc/examples/fileupload/v1/fileupload_grpc.py +0 -27
- viam/gen/proto/rpc/examples/fileupload/v1/fileupload_pb2.py +0 -18
- viam/gen/proto/rpc/examples/fileupload/v1/fileupload_pb2.pyi +0 -45
- viam/proto/rpc/examples/fileupload/__init__.py +0 -18
- viam/services/sensors/__init__.py +0 -5
- viam/services/sensors/client.py +0 -65
- viam_sdk-0.25.2.dist-info/LICENSE +0 -202
- viam_sdk-0.25.2.dist-info/RECORD +0 -442
- /viam/gen/{proto/rpc/examples/fileupload → app/datapipelines}/__init__.py +0 -0
- /viam/gen/{proto/rpc/examples/fileupload → app/datapipelines}/v1/__init__.py +0 -0
- /LICENSE → /viam_sdk-0.62.0.dist-info/licenses/LICENSE +0 -0
|
@@ -122,7 +122,7 @@ global___Orientation = Orientation
|
|
|
122
122
|
|
|
123
123
|
@typing.final
|
|
124
124
|
class PoseInFrame(google.protobuf.message.Message):
|
|
125
|
-
"""PoseInFrame contains a pose and the
|
|
125
|
+
"""PoseInFrame contains a pose and the reference frame in which it was observed"""
|
|
126
126
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
127
127
|
REFERENCE_FRAME_FIELD_NUMBER: builtins.int
|
|
128
128
|
POSE_FIELD_NUMBER: builtins.int
|
|
@@ -209,6 +209,36 @@ class RectangularPrism(google.protobuf.message.Message):
|
|
|
209
209
|
...
|
|
210
210
|
global___RectangularPrism = RectangularPrism
|
|
211
211
|
|
|
212
|
+
@typing.final
|
|
213
|
+
class Mesh(google.protobuf.message.Message):
|
|
214
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
215
|
+
CONTENT_TYPE_FIELD_NUMBER: builtins.int
|
|
216
|
+
MESH_FIELD_NUMBER: builtins.int
|
|
217
|
+
content_type: builtins.str
|
|
218
|
+
'Content type of mesh (e.g. ply)'
|
|
219
|
+
mesh: builtins.bytes
|
|
220
|
+
'Contents of mesh data in binary form defined by content_type'
|
|
221
|
+
|
|
222
|
+
def __init__(self, *, content_type: builtins.str=..., mesh: builtins.bytes=...) -> None:
|
|
223
|
+
...
|
|
224
|
+
|
|
225
|
+
def ClearField(self, field_name: typing.Literal['content_type', b'content_type', 'mesh', b'mesh']) -> None:
|
|
226
|
+
...
|
|
227
|
+
global___Mesh = Mesh
|
|
228
|
+
|
|
229
|
+
@typing.final
|
|
230
|
+
class PointCloud(google.protobuf.message.Message):
|
|
231
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
232
|
+
POINT_CLOUD_FIELD_NUMBER: builtins.int
|
|
233
|
+
point_cloud: builtins.bytes
|
|
234
|
+
|
|
235
|
+
def __init__(self, *, point_cloud: builtins.bytes=...) -> None:
|
|
236
|
+
...
|
|
237
|
+
|
|
238
|
+
def ClearField(self, field_name: typing.Literal['point_cloud', b'point_cloud']) -> None:
|
|
239
|
+
...
|
|
240
|
+
global___PointCloud = PointCloud
|
|
241
|
+
|
|
212
242
|
@typing.final
|
|
213
243
|
class Geometry(google.protobuf.message.Message):
|
|
214
244
|
"""Geometry contains the dimensions of a given geometry and the pose of its center. The geometry is one of either a sphere or a box."""
|
|
@@ -217,6 +247,8 @@ class Geometry(google.protobuf.message.Message):
|
|
|
217
247
|
SPHERE_FIELD_NUMBER: builtins.int
|
|
218
248
|
BOX_FIELD_NUMBER: builtins.int
|
|
219
249
|
CAPSULE_FIELD_NUMBER: builtins.int
|
|
250
|
+
MESH_FIELD_NUMBER: builtins.int
|
|
251
|
+
POINTCLOUD_FIELD_NUMBER: builtins.int
|
|
220
252
|
LABEL_FIELD_NUMBER: builtins.int
|
|
221
253
|
label: builtins.str
|
|
222
254
|
'Label of the geometry. If none supplied, will be an empty string.'
|
|
@@ -237,16 +269,24 @@ class Geometry(google.protobuf.message.Message):
|
|
|
237
269
|
def capsule(self) -> global___Capsule:
|
|
238
270
|
...
|
|
239
271
|
|
|
240
|
-
|
|
272
|
+
@property
|
|
273
|
+
def mesh(self) -> global___Mesh:
|
|
241
274
|
...
|
|
242
275
|
|
|
243
|
-
|
|
276
|
+
@property
|
|
277
|
+
def pointcloud(self) -> global___PointCloud:
|
|
244
278
|
...
|
|
245
279
|
|
|
246
|
-
def
|
|
280
|
+
def __init__(self, *, center: global___Pose | None=..., sphere: global___Sphere | None=..., box: global___RectangularPrism | None=..., capsule: global___Capsule | None=..., mesh: global___Mesh | None=..., pointcloud: global___PointCloud | None=..., label: builtins.str=...) -> None:
|
|
247
281
|
...
|
|
248
282
|
|
|
249
|
-
def
|
|
283
|
+
def HasField(self, field_name: typing.Literal['box', b'box', 'capsule', b'capsule', 'center', b'center', 'geometry_type', b'geometry_type', 'mesh', b'mesh', 'pointcloud', b'pointcloud', 'sphere', b'sphere']) -> builtins.bool:
|
|
284
|
+
...
|
|
285
|
+
|
|
286
|
+
def ClearField(self, field_name: typing.Literal['box', b'box', 'capsule', b'capsule', 'center', b'center', 'geometry_type', b'geometry_type', 'label', b'label', 'mesh', b'mesh', 'pointcloud', b'pointcloud', 'sphere', b'sphere']) -> None:
|
|
287
|
+
...
|
|
288
|
+
|
|
289
|
+
def WhichOneof(self, oneof_group: typing.Literal['geometry_type', b'geometry_type']) -> typing.Literal['sphere', 'box', 'capsule', 'mesh', 'pointcloud'] | None:
|
|
250
290
|
...
|
|
251
291
|
global___Geometry = Geometry
|
|
252
292
|
|
|
@@ -347,8 +387,12 @@ class Transform(google.protobuf.message.Message):
|
|
|
347
387
|
REFERENCE_FRAME_FIELD_NUMBER: builtins.int
|
|
348
388
|
POSE_IN_OBSERVER_FRAME_FIELD_NUMBER: builtins.int
|
|
349
389
|
PHYSICAL_OBJECT_FIELD_NUMBER: builtins.int
|
|
390
|
+
UUID_FIELD_NUMBER: builtins.int
|
|
391
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
350
392
|
reference_frame: builtins.str
|
|
351
393
|
'the name of a given reference frame'
|
|
394
|
+
uuid: builtins.bytes
|
|
395
|
+
'The UUID of the transform'
|
|
352
396
|
|
|
353
397
|
@property
|
|
354
398
|
def pose_in_observer_frame(self) -> global___PoseInFrame:
|
|
@@ -358,15 +402,24 @@ class Transform(google.protobuf.message.Message):
|
|
|
358
402
|
def physical_object(self) -> global___Geometry:
|
|
359
403
|
...
|
|
360
404
|
|
|
361
|
-
|
|
405
|
+
@property
|
|
406
|
+
def metadata(self) -> google.protobuf.struct_pb2.Struct:
|
|
407
|
+
"""Can hold information like color, opacity, points colors, collision_allowed, etc..."""
|
|
408
|
+
|
|
409
|
+
def __init__(self, *, reference_frame: builtins.str=..., pose_in_observer_frame: global___PoseInFrame | None=..., physical_object: global___Geometry | None=..., uuid: builtins.bytes=..., metadata: google.protobuf.struct_pb2.Struct | None=...) -> None:
|
|
410
|
+
...
|
|
411
|
+
|
|
412
|
+
def HasField(self, field_name: typing.Literal['_metadata', b'_metadata', '_physical_object', b'_physical_object', 'metadata', b'metadata', 'physical_object', b'physical_object', 'pose_in_observer_frame', b'pose_in_observer_frame']) -> builtins.bool:
|
|
362
413
|
...
|
|
363
414
|
|
|
364
|
-
def
|
|
415
|
+
def ClearField(self, field_name: typing.Literal['_metadata', b'_metadata', '_physical_object', b'_physical_object', 'metadata', b'metadata', 'physical_object', b'physical_object', 'pose_in_observer_frame', b'pose_in_observer_frame', 'reference_frame', b'reference_frame', 'uuid', b'uuid']) -> None:
|
|
365
416
|
...
|
|
366
417
|
|
|
367
|
-
|
|
418
|
+
@typing.overload
|
|
419
|
+
def WhichOneof(self, oneof_group: typing.Literal['_metadata', b'_metadata']) -> typing.Literal['metadata'] | None:
|
|
368
420
|
...
|
|
369
421
|
|
|
422
|
+
@typing.overload
|
|
370
423
|
def WhichOneof(self, oneof_group: typing.Literal['_physical_object', b'_physical_object']) -> typing.Literal['physical_object'] | None:
|
|
371
424
|
...
|
|
372
425
|
global___Transform = Transform
|
|
@@ -557,6 +610,64 @@ class GetGeometriesResponse(google.protobuf.message.Message):
|
|
|
557
610
|
...
|
|
558
611
|
global___GetGeometriesResponse = GetGeometriesResponse
|
|
559
612
|
|
|
613
|
+
@typing.final
|
|
614
|
+
class Get3DModelsRequest(google.protobuf.message.Message):
|
|
615
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
616
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
617
|
+
EXTRA_FIELD_NUMBER: builtins.int
|
|
618
|
+
name: builtins.str
|
|
619
|
+
'The component name'
|
|
620
|
+
|
|
621
|
+
@property
|
|
622
|
+
def extra(self) -> google.protobuf.struct_pb2.Struct:
|
|
623
|
+
"""Additional arguments to the method"""
|
|
624
|
+
|
|
625
|
+
def __init__(self, *, name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
|
|
626
|
+
...
|
|
627
|
+
|
|
628
|
+
def HasField(self, field_name: typing.Literal['extra', b'extra']) -> builtins.bool:
|
|
629
|
+
...
|
|
630
|
+
|
|
631
|
+
def ClearField(self, field_name: typing.Literal['extra', b'extra', 'name', b'name']) -> None:
|
|
632
|
+
...
|
|
633
|
+
global___Get3DModelsRequest = Get3DModelsRequest
|
|
634
|
+
|
|
635
|
+
@typing.final
|
|
636
|
+
class Get3DModelsResponse(google.protobuf.message.Message):
|
|
637
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
638
|
+
|
|
639
|
+
@typing.final
|
|
640
|
+
class ModelsEntry(google.protobuf.message.Message):
|
|
641
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
642
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
643
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
644
|
+
key: builtins.str
|
|
645
|
+
|
|
646
|
+
@property
|
|
647
|
+
def value(self) -> global___Mesh:
|
|
648
|
+
...
|
|
649
|
+
|
|
650
|
+
def __init__(self, *, key: builtins.str=..., value: global___Mesh | None=...) -> None:
|
|
651
|
+
...
|
|
652
|
+
|
|
653
|
+
def HasField(self, field_name: typing.Literal['value', b'value']) -> builtins.bool:
|
|
654
|
+
...
|
|
655
|
+
|
|
656
|
+
def ClearField(self, field_name: typing.Literal['key', b'key', 'value', b'value']) -> None:
|
|
657
|
+
...
|
|
658
|
+
MODELS_FIELD_NUMBER: builtins.int
|
|
659
|
+
|
|
660
|
+
@property
|
|
661
|
+
def models(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Mesh]:
|
|
662
|
+
"""the 3D models associated with the component"""
|
|
663
|
+
|
|
664
|
+
def __init__(self, *, models: collections.abc.Mapping[builtins.str, global___Mesh] | None=...) -> None:
|
|
665
|
+
...
|
|
666
|
+
|
|
667
|
+
def ClearField(self, field_name: typing.Literal['models', b'models']) -> None:
|
|
668
|
+
...
|
|
669
|
+
global___Get3DModelsResponse = Get3DModelsResponse
|
|
670
|
+
|
|
560
671
|
@typing.final
|
|
561
672
|
class GetReadingsRequest(google.protobuf.message.Message):
|
|
562
673
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -653,6 +764,71 @@ class LogEntry(google.protobuf.message.Message):
|
|
|
653
764
|
def ClearField(self, field_name: typing.Literal['caller', b'caller', 'fields', b'fields', 'host', b'host', 'level', b'level', 'logger_name', b'logger_name', 'message', b'message', 'stack', b'stack', 'time', b'time']) -> None:
|
|
654
765
|
...
|
|
655
766
|
global___LogEntry = LogEntry
|
|
767
|
+
|
|
768
|
+
@typing.final
|
|
769
|
+
class AudioInfo(google.protobuf.message.Message):
|
|
770
|
+
"""Information about an audio stream or device."""
|
|
771
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
772
|
+
CODEC_FIELD_NUMBER: builtins.int
|
|
773
|
+
SAMPLE_RATE_HZ_FIELD_NUMBER: builtins.int
|
|
774
|
+
NUM_CHANNELS_FIELD_NUMBER: builtins.int
|
|
775
|
+
codec: builtins.str
|
|
776
|
+
'Audio codec used for the stream or device (e.g., "pcm16", "pcm32float", "mp3")'
|
|
777
|
+
sample_rate_hz: builtins.int
|
|
778
|
+
'Sample rate of the audio in Hz'
|
|
779
|
+
num_channels: builtins.int
|
|
780
|
+
'Number of audio channels in the recording or playback'
|
|
781
|
+
|
|
782
|
+
def __init__(self, *, codec: builtins.str=..., sample_rate_hz: builtins.int=..., num_channels: builtins.int=...) -> None:
|
|
783
|
+
...
|
|
784
|
+
|
|
785
|
+
def ClearField(self, field_name: typing.Literal['codec', b'codec', 'num_channels', b'num_channels', 'sample_rate_hz', b'sample_rate_hz']) -> None:
|
|
786
|
+
...
|
|
787
|
+
global___AudioInfo = AudioInfo
|
|
788
|
+
|
|
789
|
+
@typing.final
|
|
790
|
+
class GetPropertiesRequest(google.protobuf.message.Message):
|
|
791
|
+
"""Shared properties for AudioIn and AudioOut components."""
|
|
792
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
793
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
794
|
+
EXTRA_FIELD_NUMBER: builtins.int
|
|
795
|
+
name: builtins.str
|
|
796
|
+
|
|
797
|
+
@property
|
|
798
|
+
def extra(self) -> google.protobuf.struct_pb2.Struct:
|
|
799
|
+
...
|
|
800
|
+
|
|
801
|
+
def __init__(self, *, name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
|
|
802
|
+
...
|
|
803
|
+
|
|
804
|
+
def HasField(self, field_name: typing.Literal['extra', b'extra']) -> builtins.bool:
|
|
805
|
+
...
|
|
806
|
+
|
|
807
|
+
def ClearField(self, field_name: typing.Literal['extra', b'extra', 'name', b'name']) -> None:
|
|
808
|
+
...
|
|
809
|
+
global___GetPropertiesRequest = GetPropertiesRequest
|
|
810
|
+
|
|
811
|
+
@typing.final
|
|
812
|
+
class GetPropertiesResponse(google.protobuf.message.Message):
|
|
813
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
814
|
+
SUPPORTED_CODECS_FIELD_NUMBER: builtins.int
|
|
815
|
+
SAMPLE_RATE_HZ_FIELD_NUMBER: builtins.int
|
|
816
|
+
NUM_CHANNELS_FIELD_NUMBER: builtins.int
|
|
817
|
+
sample_rate_hz: builtins.int
|
|
818
|
+
'current sample rate in Hz'
|
|
819
|
+
num_channels: builtins.int
|
|
820
|
+
'Maximum number of audio channels supported (e.g., 1 for mono, 2 for stereo)'
|
|
821
|
+
|
|
822
|
+
@property
|
|
823
|
+
def supported_codecs(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
824
|
+
"""List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")"""
|
|
825
|
+
|
|
826
|
+
def __init__(self, *, supported_codecs: collections.abc.Iterable[builtins.str] | None=..., sample_rate_hz: builtins.int=..., num_channels: builtins.int=...) -> None:
|
|
827
|
+
...
|
|
828
|
+
|
|
829
|
+
def ClearField(self, field_name: typing.Literal['num_channels', b'num_channels', 'sample_rate_hz', b'sample_rate_hz', 'supported_codecs', b'supported_codecs']) -> None:
|
|
830
|
+
...
|
|
831
|
+
global___GetPropertiesResponse = GetPropertiesResponse
|
|
656
832
|
SAFETY_HEARTBEAT_MONITORED_FIELD_NUMBER: builtins.int
|
|
657
833
|
safety_heartbeat_monitored: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[google.protobuf.descriptor_pb2.MethodOptions, builtins.bool]
|
|
658
834
|
'safety_heartbeat_monitored is used on methods to signify that if a session is in use\nand the session was the last to call this method, the resource associated with the\nmethod will be stopped.\n'
|
|
@@ -28,6 +28,10 @@ class ArmServiceBase(abc.ABC):
|
|
|
28
28
|
async def MoveToJointPositions(self, stream: 'grpclib.server.Stream[component.arm.v1.arm_pb2.MoveToJointPositionsRequest, component.arm.v1.arm_pb2.MoveToJointPositionsResponse]') -> None:
|
|
29
29
|
pass
|
|
30
30
|
|
|
31
|
+
@abc.abstractmethod
|
|
32
|
+
async def MoveThroughJointPositions(self, stream: 'grpclib.server.Stream[component.arm.v1.arm_pb2.MoveThroughJointPositionsRequest, component.arm.v1.arm_pb2.MoveThroughJointPositionsResponse]') -> None:
|
|
33
|
+
pass
|
|
34
|
+
|
|
31
35
|
@abc.abstractmethod
|
|
32
36
|
async def Stop(self, stream: 'grpclib.server.Stream[component.arm.v1.arm_pb2.StopRequest, component.arm.v1.arm_pb2.StopResponse]') -> None:
|
|
33
37
|
pass
|
|
@@ -48,8 +52,12 @@ class ArmServiceBase(abc.ABC):
|
|
|
48
52
|
async def GetGeometries(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse]') -> None:
|
|
49
53
|
pass
|
|
50
54
|
|
|
55
|
+
@abc.abstractmethod
|
|
56
|
+
async def Get3DModels(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.Get3DModelsRequest, common.v1.common_pb2.Get3DModelsResponse]') -> None:
|
|
57
|
+
pass
|
|
58
|
+
|
|
51
59
|
def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
|
|
52
|
-
return {'/viam.component.arm.v1.ArmService/GetEndPosition': grpclib.const.Handler(self.GetEndPosition, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.GetEndPositionRequest, component.arm.v1.arm_pb2.GetEndPositionResponse), '/viam.component.arm.v1.ArmService/MoveToPosition': grpclib.const.Handler(self.MoveToPosition, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.MoveToPositionRequest, component.arm.v1.arm_pb2.MoveToPositionResponse), '/viam.component.arm.v1.ArmService/GetJointPositions': grpclib.const.Handler(self.GetJointPositions, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.GetJointPositionsRequest, component.arm.v1.arm_pb2.GetJointPositionsResponse), '/viam.component.arm.v1.ArmService/MoveToJointPositions': grpclib.const.Handler(self.MoveToJointPositions, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.MoveToJointPositionsRequest, component.arm.v1.arm_pb2.MoveToJointPositionsResponse), '/viam.component.arm.v1.ArmService/Stop': grpclib.const.Handler(self.Stop, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.StopRequest, component.arm.v1.arm_pb2.StopResponse), '/viam.component.arm.v1.ArmService/IsMoving': grpclib.const.Handler(self.IsMoving, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.IsMovingRequest, component.arm.v1.arm_pb2.IsMovingResponse), '/viam.component.arm.v1.ArmService/DoCommand': grpclib.const.Handler(self.DoCommand, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse), '/viam.component.arm.v1.ArmService/GetKinematics': grpclib.const.Handler(self.GetKinematics, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.GetKinematicsRequest, common.v1.common_pb2.GetKinematicsResponse), '/viam.component.arm.v1.ArmService/GetGeometries': grpclib.const.Handler(self.GetGeometries, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse)}
|
|
60
|
+
return {'/viam.component.arm.v1.ArmService/GetEndPosition': grpclib.const.Handler(self.GetEndPosition, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.GetEndPositionRequest, component.arm.v1.arm_pb2.GetEndPositionResponse), '/viam.component.arm.v1.ArmService/MoveToPosition': grpclib.const.Handler(self.MoveToPosition, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.MoveToPositionRequest, component.arm.v1.arm_pb2.MoveToPositionResponse), '/viam.component.arm.v1.ArmService/GetJointPositions': grpclib.const.Handler(self.GetJointPositions, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.GetJointPositionsRequest, component.arm.v1.arm_pb2.GetJointPositionsResponse), '/viam.component.arm.v1.ArmService/MoveToJointPositions': grpclib.const.Handler(self.MoveToJointPositions, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.MoveToJointPositionsRequest, component.arm.v1.arm_pb2.MoveToJointPositionsResponse), '/viam.component.arm.v1.ArmService/MoveThroughJointPositions': grpclib.const.Handler(self.MoveThroughJointPositions, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.MoveThroughJointPositionsRequest, component.arm.v1.arm_pb2.MoveThroughJointPositionsResponse), '/viam.component.arm.v1.ArmService/Stop': grpclib.const.Handler(self.Stop, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.StopRequest, component.arm.v1.arm_pb2.StopResponse), '/viam.component.arm.v1.ArmService/IsMoving': grpclib.const.Handler(self.IsMoving, grpclib.const.Cardinality.UNARY_UNARY, component.arm.v1.arm_pb2.IsMovingRequest, component.arm.v1.arm_pb2.IsMovingResponse), '/viam.component.arm.v1.ArmService/DoCommand': grpclib.const.Handler(self.DoCommand, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse), '/viam.component.arm.v1.ArmService/GetKinematics': grpclib.const.Handler(self.GetKinematics, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.GetKinematicsRequest, common.v1.common_pb2.GetKinematicsResponse), '/viam.component.arm.v1.ArmService/GetGeometries': grpclib.const.Handler(self.GetGeometries, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse), '/viam.component.arm.v1.ArmService/Get3DModels': grpclib.const.Handler(self.Get3DModels, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.Get3DModelsRequest, common.v1.common_pb2.Get3DModelsResponse)}
|
|
53
61
|
|
|
54
62
|
class UnimplementedArmServiceBase(ArmServiceBase):
|
|
55
63
|
|
|
@@ -65,6 +73,9 @@ class UnimplementedArmServiceBase(ArmServiceBase):
|
|
|
65
73
|
async def MoveToJointPositions(self, stream: 'grpclib.server.Stream[component.arm.v1.arm_pb2.MoveToJointPositionsRequest, component.arm.v1.arm_pb2.MoveToJointPositionsResponse]') -> None:
|
|
66
74
|
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
67
75
|
|
|
76
|
+
async def MoveThroughJointPositions(self, stream: 'grpclib.server.Stream[component.arm.v1.arm_pb2.MoveThroughJointPositionsRequest, component.arm.v1.arm_pb2.MoveThroughJointPositionsResponse]') -> None:
|
|
77
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
78
|
+
|
|
68
79
|
async def Stop(self, stream: 'grpclib.server.Stream[component.arm.v1.arm_pb2.StopRequest, component.arm.v1.arm_pb2.StopResponse]') -> None:
|
|
69
80
|
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
70
81
|
|
|
@@ -80,6 +91,9 @@ class UnimplementedArmServiceBase(ArmServiceBase):
|
|
|
80
91
|
async def GetGeometries(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse]') -> None:
|
|
81
92
|
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
82
93
|
|
|
94
|
+
async def Get3DModels(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.Get3DModelsRequest, common.v1.common_pb2.Get3DModelsResponse]') -> None:
|
|
95
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
96
|
+
|
|
83
97
|
class ArmServiceStub:
|
|
84
98
|
|
|
85
99
|
def __init__(self, channel: grpclib.client.Channel) -> None:
|
|
@@ -87,8 +101,10 @@ class ArmServiceStub:
|
|
|
87
101
|
self.MoveToPosition = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/MoveToPosition', component.arm.v1.arm_pb2.MoveToPositionRequest, component.arm.v1.arm_pb2.MoveToPositionResponse)
|
|
88
102
|
self.GetJointPositions = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/GetJointPositions', component.arm.v1.arm_pb2.GetJointPositionsRequest, component.arm.v1.arm_pb2.GetJointPositionsResponse)
|
|
89
103
|
self.MoveToJointPositions = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/MoveToJointPositions', component.arm.v1.arm_pb2.MoveToJointPositionsRequest, component.arm.v1.arm_pb2.MoveToJointPositionsResponse)
|
|
104
|
+
self.MoveThroughJointPositions = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/MoveThroughJointPositions', component.arm.v1.arm_pb2.MoveThroughJointPositionsRequest, component.arm.v1.arm_pb2.MoveThroughJointPositionsResponse)
|
|
90
105
|
self.Stop = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/Stop', component.arm.v1.arm_pb2.StopRequest, component.arm.v1.arm_pb2.StopResponse)
|
|
91
106
|
self.IsMoving = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/IsMoving', component.arm.v1.arm_pb2.IsMovingRequest, component.arm.v1.arm_pb2.IsMovingResponse)
|
|
92
107
|
self.DoCommand = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/DoCommand', common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse)
|
|
93
108
|
self.GetKinematics = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/GetKinematics', common.v1.common_pb2.GetKinematicsRequest, common.v1.common_pb2.GetKinematicsResponse)
|
|
94
|
-
self.GetGeometries = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/GetGeometries', common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse)
|
|
109
|
+
self.GetGeometries = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/GetGeometries', common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse)
|
|
110
|
+
self.Get3DModels = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/Get3DModels', common.v1.common_pb2.Get3DModelsRequest, common.v1.common_pb2.Get3DModelsResponse)
|
|
@@ -1,63 +1,76 @@
|
|
|
1
1
|
"""Generated protocol buffer code."""
|
|
2
|
-
from google.protobuf.internal import builder as _builder
|
|
3
2
|
from google.protobuf import descriptor as _descriptor
|
|
4
3
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
4
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
5
5
|
from google.protobuf import symbol_database as _symbol_database
|
|
6
|
+
from google.protobuf.internal import builder as _builder
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'component/arm/v1/arm.proto')
|
|
6
8
|
_sym_db = _symbol_database.Default()
|
|
7
9
|
from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
|
|
8
10
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
9
11
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
10
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1acomponent/arm/v1/arm.proto\x12\x15viam.component.arm.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto"Z\n\x15GetEndPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"B\n\x16GetEndPositionResponse\x12(\n\x04pose\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x04pose"(\n\x0eJointPositions\x12\x16\n\x06values\x18\x01 \x03(\x01R\x06values"]\n\x18GetJointPositionsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"`\n\x19GetJointPositionsResponse\x12C\n\tpositions\x18\x01 \x01(\x0b2%.viam.component.arm.v1.JointPositionsR\tpositions"\x80\x01\n\x15MoveToPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12$\n\x02to\x18\x02 \x01(\x0b2\x14.viam.common.v1.PoseR\x02to\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x18\n\x16MoveToPositionResponse"\xa5\x01\n\x1bMoveToJointPositionsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\tpositions\x18\x02 \x01(\x0b2%.viam.component.arm.v1.JointPositionsR\tpositions\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x1e\n\x1cMoveToJointPositionsResponse"P\n\x0bStopRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x0e\n\x0cStopResponse"\xae\x01\n\x06Status\x127\n\x0cend_position\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x0bendPosition\x12N\n\x0fjoint_positions\x18\x02 \x01(\x0b2%.viam.component.arm.v1.JointPositionsR\x0ejointPositions\x12\x1b\n\tis_moving\x18\x03 \x01(\x08R\x08isMoving"%\n\x0fIsMovingRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"/\n\x10IsMovingResponse\x12\x1b\n\tis_moving\x18\x01 \x01(\x08R\
|
|
11
|
-
|
|
12
|
-
_builder.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
DESCRIPTOR.
|
|
16
|
-
|
|
17
|
-
_ARMSERVICE.methods_by_name['GetEndPosition'].
|
|
18
|
-
_ARMSERVICE.methods_by_name['
|
|
19
|
-
_ARMSERVICE.methods_by_name['MoveToPosition'].
|
|
20
|
-
_ARMSERVICE.methods_by_name['
|
|
21
|
-
_ARMSERVICE.methods_by_name['GetJointPositions'].
|
|
22
|
-
_ARMSERVICE.methods_by_name['
|
|
23
|
-
_ARMSERVICE.methods_by_name['MoveToJointPositions'].
|
|
24
|
-
_ARMSERVICE.methods_by_name['
|
|
25
|
-
_ARMSERVICE.methods_by_name['
|
|
26
|
-
_ARMSERVICE.methods_by_name['
|
|
27
|
-
_ARMSERVICE.methods_by_name['
|
|
28
|
-
_ARMSERVICE.methods_by_name['
|
|
29
|
-
_ARMSERVICE.methods_by_name['
|
|
30
|
-
_ARMSERVICE.methods_by_name['
|
|
31
|
-
_ARMSERVICE.methods_by_name['
|
|
32
|
-
_ARMSERVICE.methods_by_name['
|
|
33
|
-
_ARMSERVICE.methods_by_name['
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
12
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1acomponent/arm/v1/arm.proto\x12\x15viam.component.arm.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto"Z\n\x15GetEndPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"B\n\x16GetEndPositionResponse\x12(\n\x04pose\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x04pose"(\n\x0eJointPositions\x12\x16\n\x06values\x18\x01 \x03(\x01R\x06values"]\n\x18GetJointPositionsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"`\n\x19GetJointPositionsResponse\x12C\n\tpositions\x18\x01 \x01(\x0b2%.viam.component.arm.v1.JointPositionsR\tpositions"\x80\x01\n\x15MoveToPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12$\n\x02to\x18\x02 \x01(\x0b2\x14.viam.common.v1.PoseR\x02to\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x18\n\x16MoveToPositionResponse"\xa5\x01\n\x1bMoveToJointPositionsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\tpositions\x18\x02 \x01(\x0b2%.viam.component.arm.v1.JointPositionsR\tpositions\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x1e\n\x1cMoveToJointPositionsResponse"\xf9\x01\n MoveThroughJointPositionsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\tpositions\x18\x02 \x03(\x0b2%.viam.component.arm.v1.JointPositionsR\tpositions\x12A\n\x07options\x18\x03 \x01(\x0b2".viam.component.arm.v1.MoveOptionsH\x00R\x07options\x88\x01\x01\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extraB\n\n\x08_options"#\n!MoveThroughJointPositionsResponse"P\n\x0bStopRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x0e\n\x0cStopResponse"\xae\x01\n\x06Status\x127\n\x0cend_position\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x0bendPosition\x12N\n\x0fjoint_positions\x18\x02 \x01(\x0b2%.viam.component.arm.v1.JointPositionsR\x0ejointPositions\x12\x1b\n\tis_moving\x18\x03 \x01(\x08R\x08isMoving"%\n\x0fIsMovingRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"/\n\x10IsMovingResponse\x12\x1b\n\tis_moving\x18\x01 \x01(\x08R\x08isMoving"\xac\x01\n\x0bMoveOptions\x123\n\x14max_vel_degs_per_sec\x18\x01 \x01(\x01H\x00R\x10maxVelDegsPerSec\x88\x01\x01\x125\n\x15max_acc_degs_per_sec2\x18\x02 \x01(\x01H\x01R\x11maxAccDegsPerSec2\x88\x01\x01B\x17\n\x15_max_vel_degs_per_secB\x18\n\x16_max_acc_degs_per_sec22\xff\r\n\nArmService\x12\xa1\x01\n\x0eGetEndPosition\x12,.viam.component.arm.v1.GetEndPositionRequest\x1a-.viam.component.arm.v1.GetEndPositionResponse"2\x82\xd3\xe4\x93\x02,\x12*/viam/api/v1/component/arm/{name}/position\x12\xa5\x01\n\x0eMoveToPosition\x12,.viam.component.arm.v1.MoveToPositionRequest\x1a-.viam.component.arm.v1.MoveToPositionResponse"6\xa0\x92)\x01\x82\xd3\xe4\x93\x02,\x1a*/viam/api/v1/component/arm/{name}/position\x12\xb1\x01\n\x11GetJointPositions\x12/.viam.component.arm.v1.GetJointPositionsRequest\x1a0.viam.component.arm.v1.GetJointPositionsResponse"9\x82\xd3\xe4\x93\x023\x121/viam/api/v1/component/arm/{name}/joint_positions\x12\xbe\x01\n\x14MoveToJointPositions\x122.viam.component.arm.v1.MoveToJointPositionsRequest\x1a3.viam.component.arm.v1.MoveToJointPositionsResponse"=\xa0\x92)\x01\x82\xd3\xe4\x93\x023\x1a1/viam/api/v1/component/arm/{name}/joint_positions\x12\xda\x01\n\x19MoveThroughJointPositions\x127.viam.component.arm.v1.MoveThroughJointPositionsRequest\x1a8.viam.component.arm.v1.MoveThroughJointPositionsResponse"J\xa0\x92)\x01\x82\xd3\xe4\x93\x02@">/viam/api/v1/component/arm/{name}/move_through_joint_positions\x12\x7f\n\x04Stop\x12".viam.component.arm.v1.StopRequest\x1a#.viam.component.arm.v1.StopResponse".\x82\xd3\xe4\x93\x02("&/viam/api/v1/component/arm/{name}/stop\x12\x90\x01\n\x08IsMoving\x12&.viam.component.arm.v1.IsMovingRequest\x1a\'.viam.component.arm.v1.IsMovingResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/arm/{name}/is_moving\x12\x86\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"4\x82\xd3\xe4\x93\x02.",/viam/api/v1/component/arm/{name}/do_command\x12\x92\x01\n\rGetKinematics\x12$.viam.common.v1.GetKinematicsRequest\x1a%.viam.common.v1.GetKinematicsResponse"4\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/kinematics\x12\x92\x01\n\rGetGeometries\x12$.viam.common.v1.GetGeometriesRequest\x1a%.viam.common.v1.GetGeometriesResponse"4\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/geometries\x12\x8b\x01\n\x0bGet3DModels\x12".viam.common.v1.Get3DModelsRequest\x1a#.viam.common.v1.Get3DModelsResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/arm/{name}/3d_modelsB=\n\x19com.viam.component.arm.v1Z go.viam.com/api/component/arm/v1b\x06proto3')
|
|
13
|
+
_globals = globals()
|
|
14
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
15
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.arm.v1.arm_pb2', _globals)
|
|
16
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
17
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
18
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\x19com.viam.component.arm.v1Z go.viam.com/api/component/arm/v1'
|
|
19
|
+
_globals['_ARMSERVICE'].methods_by_name['GetEndPosition']._loaded_options = None
|
|
20
|
+
_globals['_ARMSERVICE'].methods_by_name['GetEndPosition']._serialized_options = b'\x82\xd3\xe4\x93\x02,\x12*/viam/api/v1/component/arm/{name}/position'
|
|
21
|
+
_globals['_ARMSERVICE'].methods_by_name['MoveToPosition']._loaded_options = None
|
|
22
|
+
_globals['_ARMSERVICE'].methods_by_name['MoveToPosition']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02,\x1a*/viam/api/v1/component/arm/{name}/position'
|
|
23
|
+
_globals['_ARMSERVICE'].methods_by_name['GetJointPositions']._loaded_options = None
|
|
24
|
+
_globals['_ARMSERVICE'].methods_by_name['GetJointPositions']._serialized_options = b'\x82\xd3\xe4\x93\x023\x121/viam/api/v1/component/arm/{name}/joint_positions'
|
|
25
|
+
_globals['_ARMSERVICE'].methods_by_name['MoveToJointPositions']._loaded_options = None
|
|
26
|
+
_globals['_ARMSERVICE'].methods_by_name['MoveToJointPositions']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x023\x1a1/viam/api/v1/component/arm/{name}/joint_positions'
|
|
27
|
+
_globals['_ARMSERVICE'].methods_by_name['MoveThroughJointPositions']._loaded_options = None
|
|
28
|
+
_globals['_ARMSERVICE'].methods_by_name['MoveThroughJointPositions']._serialized_options = b'\xa0\x92)\x01\x82\xd3\xe4\x93\x02@">/viam/api/v1/component/arm/{name}/move_through_joint_positions'
|
|
29
|
+
_globals['_ARMSERVICE'].methods_by_name['Stop']._loaded_options = None
|
|
30
|
+
_globals['_ARMSERVICE'].methods_by_name['Stop']._serialized_options = b'\x82\xd3\xe4\x93\x02("&/viam/api/v1/component/arm/{name}/stop'
|
|
31
|
+
_globals['_ARMSERVICE'].methods_by_name['IsMoving']._loaded_options = None
|
|
32
|
+
_globals['_ARMSERVICE'].methods_by_name['IsMoving']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/arm/{name}/is_moving'
|
|
33
|
+
_globals['_ARMSERVICE'].methods_by_name['DoCommand']._loaded_options = None
|
|
34
|
+
_globals['_ARMSERVICE'].methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x02.",/viam/api/v1/component/arm/{name}/do_command'
|
|
35
|
+
_globals['_ARMSERVICE'].methods_by_name['GetKinematics']._loaded_options = None
|
|
36
|
+
_globals['_ARMSERVICE'].methods_by_name['GetKinematics']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/kinematics'
|
|
37
|
+
_globals['_ARMSERVICE'].methods_by_name['GetGeometries']._loaded_options = None
|
|
38
|
+
_globals['_ARMSERVICE'].methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/geometries'
|
|
39
|
+
_globals['_ARMSERVICE'].methods_by_name['Get3DModels']._loaded_options = None
|
|
40
|
+
_globals['_ARMSERVICE'].methods_by_name['Get3DModels']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/arm/{name}/3d_models'
|
|
41
|
+
_globals['_GETENDPOSITIONREQUEST']._serialized_start = 137
|
|
42
|
+
_globals['_GETENDPOSITIONREQUEST']._serialized_end = 227
|
|
43
|
+
_globals['_GETENDPOSITIONRESPONSE']._serialized_start = 229
|
|
44
|
+
_globals['_GETENDPOSITIONRESPONSE']._serialized_end = 295
|
|
45
|
+
_globals['_JOINTPOSITIONS']._serialized_start = 297
|
|
46
|
+
_globals['_JOINTPOSITIONS']._serialized_end = 337
|
|
47
|
+
_globals['_GETJOINTPOSITIONSREQUEST']._serialized_start = 339
|
|
48
|
+
_globals['_GETJOINTPOSITIONSREQUEST']._serialized_end = 432
|
|
49
|
+
_globals['_GETJOINTPOSITIONSRESPONSE']._serialized_start = 434
|
|
50
|
+
_globals['_GETJOINTPOSITIONSRESPONSE']._serialized_end = 530
|
|
51
|
+
_globals['_MOVETOPOSITIONREQUEST']._serialized_start = 533
|
|
52
|
+
_globals['_MOVETOPOSITIONREQUEST']._serialized_end = 661
|
|
53
|
+
_globals['_MOVETOPOSITIONRESPONSE']._serialized_start = 663
|
|
54
|
+
_globals['_MOVETOPOSITIONRESPONSE']._serialized_end = 687
|
|
55
|
+
_globals['_MOVETOJOINTPOSITIONSREQUEST']._serialized_start = 690
|
|
56
|
+
_globals['_MOVETOJOINTPOSITIONSREQUEST']._serialized_end = 855
|
|
57
|
+
_globals['_MOVETOJOINTPOSITIONSRESPONSE']._serialized_start = 857
|
|
58
|
+
_globals['_MOVETOJOINTPOSITIONSRESPONSE']._serialized_end = 887
|
|
59
|
+
_globals['_MOVETHROUGHJOINTPOSITIONSREQUEST']._serialized_start = 890
|
|
60
|
+
_globals['_MOVETHROUGHJOINTPOSITIONSREQUEST']._serialized_end = 1139
|
|
61
|
+
_globals['_MOVETHROUGHJOINTPOSITIONSRESPONSE']._serialized_start = 1141
|
|
62
|
+
_globals['_MOVETHROUGHJOINTPOSITIONSRESPONSE']._serialized_end = 1176
|
|
63
|
+
_globals['_STOPREQUEST']._serialized_start = 1178
|
|
64
|
+
_globals['_STOPREQUEST']._serialized_end = 1258
|
|
65
|
+
_globals['_STOPRESPONSE']._serialized_start = 1260
|
|
66
|
+
_globals['_STOPRESPONSE']._serialized_end = 1274
|
|
67
|
+
_globals['_STATUS']._serialized_start = 1277
|
|
68
|
+
_globals['_STATUS']._serialized_end = 1451
|
|
69
|
+
_globals['_ISMOVINGREQUEST']._serialized_start = 1453
|
|
70
|
+
_globals['_ISMOVINGREQUEST']._serialized_end = 1490
|
|
71
|
+
_globals['_ISMOVINGRESPONSE']._serialized_start = 1492
|
|
72
|
+
_globals['_ISMOVINGRESPONSE']._serialized_end = 1539
|
|
73
|
+
_globals['_MOVEOPTIONS']._serialized_start = 1542
|
|
74
|
+
_globals['_MOVEOPTIONS']._serialized_end = 1714
|
|
75
|
+
_globals['_ARMSERVICE']._serialized_start = 1717
|
|
76
|
+
_globals['_ARMSERVICE']._serialized_end = 3508
|
|
@@ -63,8 +63,7 @@ class JointPositions(google.protobuf.message.Message):
|
|
|
63
63
|
@property
|
|
64
64
|
def values(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]:
|
|
65
65
|
"""A list of joint positions. Rotations values are in degrees, translational values in mm.
|
|
66
|
-
|
|
67
|
-
This is used in GetJointPositionsResponse and MoveToJointPositionsRequest
|
|
66
|
+
There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm
|
|
68
67
|
"""
|
|
69
68
|
|
|
70
69
|
def __init__(self, *, values: collections.abc.Iterable[builtins.float] | None=...) -> None:
|
|
@@ -191,6 +190,49 @@ class MoveToJointPositionsResponse(google.protobuf.message.Message):
|
|
|
191
190
|
...
|
|
192
191
|
global___MoveToJointPositionsResponse = MoveToJointPositionsResponse
|
|
193
192
|
|
|
193
|
+
@typing.final
|
|
194
|
+
class MoveThroughJointPositionsRequest(google.protobuf.message.Message):
|
|
195
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
196
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
197
|
+
POSITIONS_FIELD_NUMBER: builtins.int
|
|
198
|
+
OPTIONS_FIELD_NUMBER: builtins.int
|
|
199
|
+
EXTRA_FIELD_NUMBER: builtins.int
|
|
200
|
+
name: builtins.str
|
|
201
|
+
'Name of an arm'
|
|
202
|
+
|
|
203
|
+
@property
|
|
204
|
+
def positions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___JointPositions]:
|
|
205
|
+
"""A list of joint positions which will be moved to in the order they are specified"""
|
|
206
|
+
|
|
207
|
+
@property
|
|
208
|
+
def options(self) -> global___MoveOptions:
|
|
209
|
+
"""optional specifications to be obeyed during the motion"""
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
def extra(self) -> google.protobuf.struct_pb2.Struct:
|
|
213
|
+
"""Additional arguments to the method"""
|
|
214
|
+
|
|
215
|
+
def __init__(self, *, name: builtins.str=..., positions: collections.abc.Iterable[global___JointPositions] | None=..., options: global___MoveOptions | None=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
|
|
216
|
+
...
|
|
217
|
+
|
|
218
|
+
def HasField(self, field_name: typing.Literal['_options', b'_options', 'extra', b'extra', 'options', b'options']) -> builtins.bool:
|
|
219
|
+
...
|
|
220
|
+
|
|
221
|
+
def ClearField(self, field_name: typing.Literal['_options', b'_options', 'extra', b'extra', 'name', b'name', 'options', b'options', 'positions', b'positions']) -> None:
|
|
222
|
+
...
|
|
223
|
+
|
|
224
|
+
def WhichOneof(self, oneof_group: typing.Literal['_options', b'_options']) -> typing.Literal['options'] | None:
|
|
225
|
+
...
|
|
226
|
+
global___MoveThroughJointPositionsRequest = MoveThroughJointPositionsRequest
|
|
227
|
+
|
|
228
|
+
@typing.final
|
|
229
|
+
class MoveThroughJointPositionsResponse(google.protobuf.message.Message):
|
|
230
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
231
|
+
|
|
232
|
+
def __init__(self) -> None:
|
|
233
|
+
...
|
|
234
|
+
global___MoveThroughJointPositionsResponse = MoveThroughJointPositionsResponse
|
|
235
|
+
|
|
194
236
|
@typing.final
|
|
195
237
|
class StopRequest(google.protobuf.message.Message):
|
|
196
238
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -271,4 +313,32 @@ class IsMovingResponse(google.protobuf.message.Message):
|
|
|
271
313
|
|
|
272
314
|
def ClearField(self, field_name: typing.Literal['is_moving', b'is_moving']) -> None:
|
|
273
315
|
...
|
|
274
|
-
global___IsMovingResponse = IsMovingResponse
|
|
316
|
+
global___IsMovingResponse = IsMovingResponse
|
|
317
|
+
|
|
318
|
+
@typing.final
|
|
319
|
+
class MoveOptions(google.protobuf.message.Message):
|
|
320
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
321
|
+
MAX_VEL_DEGS_PER_SEC_FIELD_NUMBER: builtins.int
|
|
322
|
+
MAX_ACC_DEGS_PER_SEC2_FIELD_NUMBER: builtins.int
|
|
323
|
+
max_vel_degs_per_sec: builtins.float
|
|
324
|
+
'Maximum allowable velocity of an arm joint, in degrees per second'
|
|
325
|
+
max_acc_degs_per_sec2: builtins.float
|
|
326
|
+
'Maximum allowable acceleration of an arm joint, in degrees per second squared'
|
|
327
|
+
|
|
328
|
+
def __init__(self, *, max_vel_degs_per_sec: builtins.float | None=..., max_acc_degs_per_sec2: builtins.float | None=...) -> None:
|
|
329
|
+
...
|
|
330
|
+
|
|
331
|
+
def HasField(self, field_name: typing.Literal['_max_acc_degs_per_sec2', b'_max_acc_degs_per_sec2', '_max_vel_degs_per_sec', b'_max_vel_degs_per_sec', 'max_acc_degs_per_sec2', b'max_acc_degs_per_sec2', 'max_vel_degs_per_sec', b'max_vel_degs_per_sec']) -> builtins.bool:
|
|
332
|
+
...
|
|
333
|
+
|
|
334
|
+
def ClearField(self, field_name: typing.Literal['_max_acc_degs_per_sec2', b'_max_acc_degs_per_sec2', '_max_vel_degs_per_sec', b'_max_vel_degs_per_sec', 'max_acc_degs_per_sec2', b'max_acc_degs_per_sec2', 'max_vel_degs_per_sec', b'max_vel_degs_per_sec']) -> None:
|
|
335
|
+
...
|
|
336
|
+
|
|
337
|
+
@typing.overload
|
|
338
|
+
def WhichOneof(self, oneof_group: typing.Literal['_max_acc_degs_per_sec2', b'_max_acc_degs_per_sec2']) -> typing.Literal['max_acc_degs_per_sec2'] | None:
|
|
339
|
+
...
|
|
340
|
+
|
|
341
|
+
@typing.overload
|
|
342
|
+
def WhichOneof(self, oneof_group: typing.Literal['_max_vel_degs_per_sec', b'_max_vel_degs_per_sec']) -> typing.Literal['max_vel_degs_per_sec'] | None:
|
|
343
|
+
...
|
|
344
|
+
global___MoveOptions = MoveOptions
|
|
File without changes
|
|
File without changes
|