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.
- viam/app/app_client.py +225 -51
- viam/app/billing_client.py +47 -5
- viam/app/data_client.py +771 -234
- viam/app/ml_training_client.py +3 -5
- viam/app/provisioning_client.py +3 -5
- viam/app/viam_client.py +58 -11
- viam/components/arm/arm.py +1 -1
- viam/components/arm/service.py +1 -1
- 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_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/base.py +1 -1
- viam/components/board/board.py +8 -2
- viam/components/board/client.py +2 -1
- viam/components/board/service.py +1 -0
- 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/camera.py +15 -30
- viam/components/camera/client.py +10 -21
- viam/components/camera/service.py +15 -28
- viam/components/component_base.py +2 -2
- viam/components/gantry/client.py +17 -2
- viam/components/gantry/gantry.py +32 -1
- viam/components/gantry/service.py +21 -5
- viam/components/gripper/__init__.py +2 -0
- viam/components/gripper/client.py +25 -2
- viam/components/gripper/gripper.py +76 -1
- viam/components/gripper/service.py +32 -3
- viam/components/input/input.py +1 -1
- viam/components/motor/motor.py +1 -1
- viam/components/power_sensor/power_sensor.py +1 -1
- 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 +98 -0
- viam/gen/app/agent/v1/agent_pb2.py +1 -1
- viam/gen/app/cloudslam/v1/cloud_slam_pb2.py +1 -1
- viam/gen/app/data/v1/data_grpc.py +74 -2
- viam/gen/app/data/v1/data_pb2.py +198 -104
- viam/gen/app/data/v1/data_pb2.pyi +563 -31
- viam/gen/app/datapipelines/__init__.py +0 -0
- viam/gen/app/datapipelines/v1/__init__.py +0 -0
- 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 +8 -4
- viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
- viam/gen/app/datasync/v1/data_sync_pb2.py +39 -35
- viam/gen/app/datasync/v1/data_sync_pb2.pyi +21 -8
- viam/gen/app/mlinference/v1/ml_inference_pb2.py +7 -7
- viam/gen/app/mlinference/v1/ml_inference_pb2.pyi +4 -2
- viam/gen/app/mltraining/v1/ml_training_grpc.py +10 -2
- viam/gen/app/mltraining/v1/ml_training_pb2.py +63 -43
- viam/gen/app/mltraining/v1/ml_training_pb2.pyi +112 -7
- viam/gen/app/packages/v1/packages_pb2.py +1 -1
- viam/gen/app/v1/app_grpc.py +74 -3
- viam/gen/app/v1/app_pb2.py +600 -545
- viam/gen/app/v1/app_pb2.pyi +1108 -258
- viam/gen/app/v1/billing_grpc.py +26 -2
- viam/gen/app/v1/billing_pb2.py +52 -36
- viam/gen/app/v1/billing_pb2.pyi +158 -4
- viam/gen/app/v1/end_user_pb2.py +1 -1
- viam/gen/app/v1/robot_pb2.py +95 -89
- viam/gen/app/v1/robot_pb2.pyi +121 -9
- viam/gen/common/v1/common_pb2.py +76 -58
- viam/gen/common/v1/common_pb2.pyi +186 -17
- viam/gen/component/arm/v1/arm_grpc.py +10 -2
- viam/gen/component/arm/v1/arm_pb2.py +5 -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 +1 -1
- 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 +1 -1
- viam/gen/component/board/v1/board_pb2.py +1 -1
- viam/gen/component/button/v1/button_pb2.py +1 -1
- viam/gen/component/camera/v1/camera_grpc.py +1 -0
- viam/gen/component/camera/v1/camera_pb2.py +37 -36
- viam/gen/component/camera/v1/camera_pb2.pyi +31 -4
- viam/gen/component/encoder/v1/encoder_pb2.py +1 -1
- viam/gen/component/gantry/v1/gantry_grpc.py +9 -1
- viam/gen/component/gantry/v1/gantry_pb2.py +5 -3
- viam/gen/component/generic/v1/generic_pb2.py +1 -1
- viam/gen/component/gripper/v1/gripper_grpc.py +18 -2
- viam/gen/component/gripper/v1/gripper_pb2.py +12 -4
- viam/gen/component/gripper/v1/gripper_pb2.pyi +43 -1
- viam/gen/component/inputcontroller/v1/input_controller_pb2.py +1 -1
- viam/gen/component/motor/v1/motor_pb2.py +1 -1
- viam/gen/component/movementsensor/v1/movementsensor_pb2.py +1 -1
- viam/gen/component/posetracker/v1/pose_tracker_pb2.py +1 -1
- viam/gen/component/powersensor/v1/powersensor_pb2.py +1 -1
- viam/gen/component/sensor/v1/sensor_pb2.py +1 -1
- viam/gen/component/servo/v1/servo_pb2.py +1 -1
- viam/gen/component/switch/v1/switch_pb2.py +5 -5
- viam/gen/component/switch/v1/switch_pb2.pyi +9 -2
- viam/gen/component/testecho/v1/testecho_pb2.py +1 -1
- viam/gen/module/v1/module_pb2.py +5 -5
- viam/gen/module/v1/module_pb2.pyi +7 -2
- viam/gen/opentelemetry/__init__.py +0 -0
- viam/gen/opentelemetry/proto/__init__.py +0 -0
- viam/gen/opentelemetry/proto/common/__init__.py +0 -0
- viam/gen/opentelemetry/proto/common/v1/__init__.py +0 -0
- viam/gen/opentelemetry/proto/common/v1/common_grpc.py +0 -0
- viam/gen/opentelemetry/proto/common/v1/common_pb2.py +27 -0
- viam/gen/opentelemetry/proto/common/v1/common_pb2.pyi +208 -0
- viam/gen/opentelemetry/proto/resource/__init__.py +0 -0
- viam/gen/opentelemetry/proto/resource/v1/__init__.py +0 -0
- viam/gen/opentelemetry/proto/resource/v1/resource_grpc.py +0 -0
- viam/gen/opentelemetry/proto/resource/v1/resource_pb2.py +18 -0
- viam/gen/opentelemetry/proto/resource/v1/resource_pb2.pyi +59 -0
- viam/gen/opentelemetry/proto/trace/__init__.py +0 -0
- viam/gen/opentelemetry/proto/trace/v1/__init__.py +0 -0
- viam/gen/opentelemetry/proto/trace/v1/trace_grpc.py +0 -0
- viam/gen/opentelemetry/proto/trace/v1/trace_pb2.py +37 -0
- viam/gen/opentelemetry/proto/trace/v1/trace_pb2.pyi +402 -0
- viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +1 -1
- viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.py +1 -1
- viam/gen/proto/rpc/v1/auth_pb2.py +1 -1
- viam/gen/proto/rpc/webrtc/v1/grpc_pb2.py +1 -1
- viam/gen/proto/rpc/webrtc/v1/signaling_pb2.py +1 -1
- viam/gen/provisioning/v1/provisioning_grpc.py +10 -2
- viam/gen/provisioning/v1/provisioning_pb2.py +32 -26
- viam/gen/provisioning/v1/provisioning_pb2.pyi +46 -5
- viam/gen/robot/v1/robot_grpc.py +51 -34
- viam/gen/robot/v1/robot_pb2.py +147 -142
- viam/gen/robot/v1/robot_pb2.pyi +153 -86
- viam/gen/service/datamanager/v1/data_manager_grpc.py +11 -2
- viam/gen/service/datamanager/v1/data_manager_pb2.py +15 -8
- viam/gen/service/datamanager/v1/data_manager_pb2.pyi +47 -1
- viam/gen/service/discovery/v1/discovery_pb2.py +1 -1
- viam/gen/service/generic/v1/generic_pb2.py +1 -1
- viam/gen/service/mlmodel/v1/mlmodel_pb2.py +1 -1
- viam/gen/service/motion/v1/motion_pb2.py +92 -62
- viam/gen/service/motion/v1/motion_pb2.pyi +130 -68
- viam/gen/service/navigation/v1/navigation_pb2.py +1 -1
- viam/gen/service/sensors/v1/sensors_pb2.py +1 -1
- viam/gen/service/shell/v1/shell_pb2.py +1 -1
- viam/gen/service/slam/v1/slam_pb2.py +1 -1
- 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 +27 -27
- 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_pb2.py +1 -1
- viam/gen/tagger/v1/tagger_pb2.py +1 -1
- viam/logging.py +9 -8
- viam/media/audio.py +22 -10
- viam/media/utils/pil/__init__.py +5 -1
- viam/media/video.py +54 -40
- viam/module/module.py +85 -16
- viam/module/resource_data_consumer.py +41 -0
- viam/module/service.py +9 -1
- viam/proto/app/__init__.py +68 -0
- viam/proto/app/billing.py +16 -0
- viam/proto/app/data/__init__.py +48 -0
- viam/proto/app/datapipelines/__init__.py +56 -0
- viam/proto/app/dataset/__init__.py +4 -0
- viam/proto/app/mltraining/__init__.py +6 -0
- viam/proto/app/robot.py +6 -0
- viam/proto/common/__init__.py +14 -0
- viam/proto/component/audioin/__init__.py +16 -0
- viam/proto/component/audioout/__init__.py +15 -0
- viam/proto/component/camera/__init__.py +0 -2
- viam/proto/component/gripper/__init__.py +4 -0
- viam/proto/opentelemetry/__init__.py +0 -0
- viam/proto/opentelemetry/proto/__init__.py +0 -0
- viam/proto/opentelemetry/proto/common/__init__.py +15 -0
- viam/proto/opentelemetry/proto/resource/__init__.py +10 -0
- viam/proto/opentelemetry/proto/trace/__init__.py +15 -0
- viam/proto/provisioning/__init__.py +6 -0
- viam/proto/robot/__init__.py +16 -8
- viam/proto/service/datamanager/__init__.py +8 -1
- viam/proto/service/motion/__init__.py +2 -0
- viam/proto/service/video/__init__.py +15 -0
- viam/proto/service/worldstatestore/__init__.py +32 -0
- viam/resource/easy_resource.py +5 -9
- viam/resource/manager.py +4 -3
- viam/resource/registry.py +2 -2
- viam/resource/types.py +2 -2
- viam/robot/client.py +38 -59
- viam/rpc/dial.py +48 -5
- viam/rpc/libviam_rust_utils.so +0 -0
- viam/rpc/server.py +24 -10
- viam/services/motion/client.py +8 -9
- viam/services/motion/motion.py +48 -46
- viam/services/navigation/navigation.py +2 -2
- viam/services/vision/client.py +1 -1
- viam/services/vision/service.py +5 -8
- viam/services/vision/vision.py +5 -3
- 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/version_metadata.py +2 -2
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/METADATA +10 -6
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/RECORD +221 -152
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/WHEEL +1 -1
- viam/components/audio_input/__init__.py +0 -18
- viam/components/audio_input/audio_input.py +0 -81
- viam/components/audio_input/client.py +0 -70
- viam/components/audio_input/service.py +0 -114
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/licenses/LICENSE +0 -0
viam/gen/common/v1/common_pb2.py
CHANGED
|
@@ -4,73 +4,91 @@ 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,
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'common/v1/common.proto')
|
|
8
8
|
_sym_db = _symbol_database.Default()
|
|
9
9
|
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
|
10
10
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
11
11
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
12
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16common/v1/common.proto\x12\x0eviam.common.v1\x1a google/protobuf/descriptor.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\
|
|
12
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16common/v1/common.proto\x12\x0eviam.common.v1\x1a google/protobuf/descriptor.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"n\n\x0cResourceName\x12\x1c\n\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x12\n\x04type\x18\x02 \x01(\tR\x04type\x12\x18\n\x07subtype\x18\x03 \x01(\tR\x07subtype\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name"y\n\x04Pose\x12\x0c\n\x01x\x18\x01 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x02 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x03 \x01(\x01R\x01z\x12\x0f\n\x03o_x\x18\x04 \x01(\x01R\x02oX\x12\x0f\n\x03o_y\x18\x05 \x01(\x01R\x02oY\x12\x0f\n\x03o_z\x18\x06 \x01(\x01R\x02oZ\x12\x14\n\x05theta\x18\x07 \x01(\x01R\x05theta"V\n\x0bOrientation\x12\x0f\n\x03o_x\x18\x01 \x01(\x01R\x02oX\x12\x0f\n\x03o_y\x18\x02 \x01(\x01R\x02oY\x12\x0f\n\x03o_z\x18\x03 \x01(\x01R\x02oZ\x12\x14\n\x05theta\x18\x04 \x01(\x01R\x05theta"`\n\x0bPoseInFrame\x12\'\n\x0freference_frame\x18\x01 \x01(\tR\x0ereferenceFrame\x12(\n\x04pose\x18\x02 \x01(\x0b2\x14.viam.common.v1.PoseR\x04pose"3\n\x07Vector3\x12\x0c\n\x01x\x18\x01 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x02 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x03 \x01(\x01R\x01z"%\n\x06Sphere\x12\x1b\n\tradius_mm\x18\x01 \x01(\x01R\x08radiusMm"C\n\x07Capsule\x12\x1b\n\tradius_mm\x18\x01 \x01(\x01R\x08radiusMm\x12\x1b\n\tlength_mm\x18\x02 \x01(\x01R\x08lengthMm"D\n\x10RectangularPrism\x120\n\x07dims_mm\x18\x01 \x01(\x0b2\x17.viam.common.v1.Vector3R\x06dimsMm"=\n\x04Mesh\x12!\n\x0ccontent_type\x18\x01 \x01(\tR\x0bcontentType\x12\x12\n\x04mesh\x18\x02 \x01(\x0cR\x04mesh"-\n\nPointCloud\x12\x1f\n\x0bpoint_cloud\x18\x01 \x01(\x0cR\npointCloud"\xe6\x02\n\x08Geometry\x12,\n\x06center\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x06center\x120\n\x06sphere\x18\x02 \x01(\x0b2\x16.viam.common.v1.SphereH\x00R\x06sphere\x124\n\x03box\x18\x03 \x01(\x0b2 .viam.common.v1.RectangularPrismH\x00R\x03box\x123\n\x07capsule\x18\x05 \x01(\x0b2\x17.viam.common.v1.CapsuleH\x00R\x07capsule\x12*\n\x04mesh\x18\x06 \x01(\x0b2\x14.viam.common.v1.MeshH\x00R\x04mesh\x12<\n\npointcloud\x18\x07 \x01(\x0b2\x1a.viam.common.v1.PointCloudH\x00R\npointcloud\x12\x14\n\x05label\x18\x04 \x01(\tR\x05labelB\x0f\n\rgeometry_type"v\n\x11GeometriesInFrame\x12\'\n\x0freference_frame\x18\x01 \x01(\tR\x0ereferenceFrame\x128\n\ngeometries\x18\x02 \x03(\x0b2\x18.viam.common.v1.GeometryR\ngeometries"v\n\x10PointCloudObject\x12\x1f\n\x0bpoint_cloud\x18\x01 \x01(\x0cR\npointCloud\x12A\n\ngeometries\x18\x02 \x01(\x0b2!.viam.common.v1.GeometriesInFrameR\ngeometries"D\n\x08GeoPoint\x12\x1a\n\x08latitude\x18\x01 \x01(\x01R\x08latitude\x12\x1c\n\tlongitude\x18\x02 \x01(\x01R\tlongitude"}\n\x0bGeoGeometry\x124\n\x08location\x18\x01 \x01(\x0b2\x18.viam.common.v1.GeoPointR\x08location\x128\n\ngeometries\x18\x02 \x03(\x0b2\x18.viam.common.v1.GeometryR\ngeometries"\xbd\x02\n\tTransform\x12\'\n\x0freference_frame\x18\x01 \x01(\tR\x0ereferenceFrame\x12P\n\x16pose_in_observer_frame\x18\x02 \x01(\x0b2\x1b.viam.common.v1.PoseInFrameR\x13poseInObserverFrame\x12F\n\x0fphysical_object\x18\x03 \x01(\x0b2\x18.viam.common.v1.GeometryH\x00R\x0ephysicalObject\x88\x01\x01\x12\x12\n\x04uuid\x18\x04 \x01(\x0cR\x04uuid\x128\n\x08metadata\x18\x05 \x01(\x0b2\x17.google.protobuf.StructH\x01R\x08metadata\x88\x01\x01B\x12\n\x10_physical_objectB\x0b\n\t_metadata"\x88\x01\n\nWorldState\x12?\n\tobstacles\x18\x01 \x03(\x0b2!.viam.common.v1.GeometriesInFrameR\tobstacles\x129\n\ntransforms\x18\x03 \x03(\x0b2\x19.viam.common.v1.TransformR\ntransforms"-\n\x0eActuatorStatus\x12\x1b\n\tis_moving\x18\x01 \x01(\x08R\x08isMoving"d\n\x10ResponseMetadata\x12@\n\x0bcaptured_at\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampH\x00R\ncapturedAt\x88\x01\x01B\x0e\n\x0c_captured_at"Y\n\x10DoCommandRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x121\n\x07command\x18\x02 \x01(\x0b2\x17.google.protobuf.StructR\x07command"D\n\x11DoCommandResponse\x12/\n\x06result\x18\x01 \x01(\x0b2\x17.google.protobuf.StructR\x06result"Y\n\x14GetKinematicsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"~\n\x15GetKinematicsResponse\x12<\n\x06format\x18\x01 \x01(\x0e2$.viam.common.v1.KinematicsFileFormatR\x06format\x12\'\n\x0fkinematics_data\x18\x02 \x01(\x0cR\x0ekinematicsData"Y\n\x14GetGeometriesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"Q\n\x15GetGeometriesResponse\x128\n\ngeometries\x18\x01 \x03(\x0b2\x18.viam.common.v1.GeometryR\ngeometries"W\n\x12Get3DModelsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xaf\x01\n\x13Get3DModelsResponse\x12G\n\x06models\x18\x01 \x03(\x0b2/.viam.common.v1.Get3DModelsResponse.ModelsEntryR\x06models\x1aO\n\x0bModelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12*\n\x05value\x18\x02 \x01(\x0b2\x14.viam.common.v1.MeshR\x05value:\x028\x01"W\n\x12GetReadingsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xb9\x01\n\x13GetReadingsResponse\x12M\n\x08readings\x18\x01 \x03(\x0b21.viam.common.v1.GetReadingsResponse.ReadingsEntryR\x08readings\x1aS\n\rReadingsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12,\n\x05value\x18\x02 \x01(\x0b2\x16.google.protobuf.ValueR\x05value:\x028\x01"\x97\x02\n\x08LogEntry\x12\x12\n\x04host\x18\x01 \x01(\tR\x04host\x12\x14\n\x05level\x18\x02 \x01(\tR\x05level\x12.\n\x04time\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\x04time\x12\x1f\n\x0blogger_name\x18\x04 \x01(\tR\nloggerName\x12\x18\n\x07message\x18\x05 \x01(\tR\x07message\x12/\n\x06caller\x18\x06 \x01(\x0b2\x17.google.protobuf.StructR\x06caller\x12\x14\n\x05stack\x18\x07 \x01(\tR\x05stack\x12/\n\x06fields\x18\x08 \x03(\x0b2\x17.google.protobuf.StructR\x06fields"j\n\tAudioInfo\x12\x14\n\x05codec\x18\x01 \x01(\tR\x05codec\x12$\n\x0esample_rate_hz\x18\x02 \x01(\x05R\x0csampleRateHz\x12!\n\x0cnum_channels\x18\x03 \x01(\x05R\x0bnumChannels"Y\n\x14GetPropertiesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x8b\x01\n\x15GetPropertiesResponse\x12)\n\x10supported_codecs\x18\x01 \x03(\tR\x0fsupportedCodecs\x12$\n\x0esample_rate_hz\x18\x02 \x01(\x05R\x0csampleRateHz\x12!\n\x0cnum_channels\x18\x03 \x01(\x05R\x0bnumChannels*\x7f\n\x14KinematicsFileFormat\x12&\n"KINEMATICS_FILE_FORMAT_UNSPECIFIED\x10\x00\x12\x1e\n\x1aKINEMATICS_FILE_FORMAT_SVA\x10\x01\x12\x1f\n\x1bKINEMATICS_FILE_FORMAT_URDF\x10\x02:a\n\x1asafety_heartbeat_monitored\x12\x1e.google.protobuf.MethodOptions\x18\xa4\x92\x05 \x01(\x08R\x18safetyHeartbeatMonitored\x88\x01\x01B/\n\x12com.viam.common.v1Z\x19go.viam.com/api/common/v1b\x06proto3')
|
|
13
13
|
_globals = globals()
|
|
14
14
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
15
15
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.v1.common_pb2', _globals)
|
|
16
16
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
17
17
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
18
18
|
_globals['DESCRIPTOR']._serialized_options = b'\n\x12com.viam.common.v1Z\x19go.viam.com/api/common/v1'
|
|
19
|
+
_globals['_GET3DMODELSRESPONSE_MODELSENTRY']._loaded_options = None
|
|
20
|
+
_globals['_GET3DMODELSRESPONSE_MODELSENTRY']._serialized_options = b'8\x01'
|
|
19
21
|
_globals['_GETREADINGSRESPONSE_READINGSENTRY']._loaded_options = None
|
|
20
22
|
_globals['_GETREADINGSRESPONSE_READINGSENTRY']._serialized_options = b'8\x01'
|
|
21
|
-
_globals['_KINEMATICSFILEFORMAT']._serialized_start =
|
|
22
|
-
_globals['_KINEMATICSFILEFORMAT']._serialized_end =
|
|
23
|
-
_globals['_RESOURCENAME']._serialized_start =
|
|
24
|
-
_globals['_RESOURCENAME']._serialized_end =
|
|
25
|
-
_globals['_POSE']._serialized_start =
|
|
26
|
-
_globals['_POSE']._serialized_end =
|
|
27
|
-
_globals['_ORIENTATION']._serialized_start =
|
|
28
|
-
_globals['_ORIENTATION']._serialized_end =
|
|
29
|
-
_globals['_POSEINFRAME']._serialized_start =
|
|
30
|
-
_globals['_POSEINFRAME']._serialized_end =
|
|
31
|
-
_globals['_VECTOR3']._serialized_start =
|
|
32
|
-
_globals['_VECTOR3']._serialized_end =
|
|
33
|
-
_globals['_SPHERE']._serialized_start =
|
|
34
|
-
_globals['_SPHERE']._serialized_end =
|
|
35
|
-
_globals['_CAPSULE']._serialized_start =
|
|
36
|
-
_globals['_CAPSULE']._serialized_end =
|
|
37
|
-
_globals['_RECTANGULARPRISM']._serialized_start =
|
|
38
|
-
_globals['_RECTANGULARPRISM']._serialized_end =
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
52
|
-
_globals['
|
|
53
|
-
_globals['
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
23
|
+
_globals['_KINEMATICSFILEFORMAT']._serialized_start = 4028
|
|
24
|
+
_globals['_KINEMATICSFILEFORMAT']._serialized_end = 4155
|
|
25
|
+
_globals['_RESOURCENAME']._serialized_start = 139
|
|
26
|
+
_globals['_RESOURCENAME']._serialized_end = 249
|
|
27
|
+
_globals['_POSE']._serialized_start = 251
|
|
28
|
+
_globals['_POSE']._serialized_end = 372
|
|
29
|
+
_globals['_ORIENTATION']._serialized_start = 374
|
|
30
|
+
_globals['_ORIENTATION']._serialized_end = 460
|
|
31
|
+
_globals['_POSEINFRAME']._serialized_start = 462
|
|
32
|
+
_globals['_POSEINFRAME']._serialized_end = 558
|
|
33
|
+
_globals['_VECTOR3']._serialized_start = 560
|
|
34
|
+
_globals['_VECTOR3']._serialized_end = 611
|
|
35
|
+
_globals['_SPHERE']._serialized_start = 613
|
|
36
|
+
_globals['_SPHERE']._serialized_end = 650
|
|
37
|
+
_globals['_CAPSULE']._serialized_start = 652
|
|
38
|
+
_globals['_CAPSULE']._serialized_end = 719
|
|
39
|
+
_globals['_RECTANGULARPRISM']._serialized_start = 721
|
|
40
|
+
_globals['_RECTANGULARPRISM']._serialized_end = 789
|
|
41
|
+
_globals['_MESH']._serialized_start = 791
|
|
42
|
+
_globals['_MESH']._serialized_end = 852
|
|
43
|
+
_globals['_POINTCLOUD']._serialized_start = 854
|
|
44
|
+
_globals['_POINTCLOUD']._serialized_end = 899
|
|
45
|
+
_globals['_GEOMETRY']._serialized_start = 902
|
|
46
|
+
_globals['_GEOMETRY']._serialized_end = 1260
|
|
47
|
+
_globals['_GEOMETRIESINFRAME']._serialized_start = 1262
|
|
48
|
+
_globals['_GEOMETRIESINFRAME']._serialized_end = 1380
|
|
49
|
+
_globals['_POINTCLOUDOBJECT']._serialized_start = 1382
|
|
50
|
+
_globals['_POINTCLOUDOBJECT']._serialized_end = 1500
|
|
51
|
+
_globals['_GEOPOINT']._serialized_start = 1502
|
|
52
|
+
_globals['_GEOPOINT']._serialized_end = 1570
|
|
53
|
+
_globals['_GEOGEOMETRY']._serialized_start = 1572
|
|
54
|
+
_globals['_GEOGEOMETRY']._serialized_end = 1697
|
|
55
|
+
_globals['_TRANSFORM']._serialized_start = 1700
|
|
56
|
+
_globals['_TRANSFORM']._serialized_end = 2017
|
|
57
|
+
_globals['_WORLDSTATE']._serialized_start = 2020
|
|
58
|
+
_globals['_WORLDSTATE']._serialized_end = 2156
|
|
59
|
+
_globals['_ACTUATORSTATUS']._serialized_start = 2158
|
|
60
|
+
_globals['_ACTUATORSTATUS']._serialized_end = 2203
|
|
61
|
+
_globals['_RESPONSEMETADATA']._serialized_start = 2205
|
|
62
|
+
_globals['_RESPONSEMETADATA']._serialized_end = 2305
|
|
63
|
+
_globals['_DOCOMMANDREQUEST']._serialized_start = 2307
|
|
64
|
+
_globals['_DOCOMMANDREQUEST']._serialized_end = 2396
|
|
65
|
+
_globals['_DOCOMMANDRESPONSE']._serialized_start = 2398
|
|
66
|
+
_globals['_DOCOMMANDRESPONSE']._serialized_end = 2466
|
|
67
|
+
_globals['_GETKINEMATICSREQUEST']._serialized_start = 2468
|
|
68
|
+
_globals['_GETKINEMATICSREQUEST']._serialized_end = 2557
|
|
69
|
+
_globals['_GETKINEMATICSRESPONSE']._serialized_start = 2559
|
|
70
|
+
_globals['_GETKINEMATICSRESPONSE']._serialized_end = 2685
|
|
71
|
+
_globals['_GETGEOMETRIESREQUEST']._serialized_start = 2687
|
|
72
|
+
_globals['_GETGEOMETRIESREQUEST']._serialized_end = 2776
|
|
73
|
+
_globals['_GETGEOMETRIESRESPONSE']._serialized_start = 2778
|
|
74
|
+
_globals['_GETGEOMETRIESRESPONSE']._serialized_end = 2859
|
|
75
|
+
_globals['_GET3DMODELSREQUEST']._serialized_start = 2861
|
|
76
|
+
_globals['_GET3DMODELSREQUEST']._serialized_end = 2948
|
|
77
|
+
_globals['_GET3DMODELSRESPONSE']._serialized_start = 2951
|
|
78
|
+
_globals['_GET3DMODELSRESPONSE']._serialized_end = 3126
|
|
79
|
+
_globals['_GET3DMODELSRESPONSE_MODELSENTRY']._serialized_start = 3047
|
|
80
|
+
_globals['_GET3DMODELSRESPONSE_MODELSENTRY']._serialized_end = 3126
|
|
81
|
+
_globals['_GETREADINGSREQUEST']._serialized_start = 3128
|
|
82
|
+
_globals['_GETREADINGSREQUEST']._serialized_end = 3215
|
|
83
|
+
_globals['_GETREADINGSRESPONSE']._serialized_start = 3218
|
|
84
|
+
_globals['_GETREADINGSRESPONSE']._serialized_end = 3403
|
|
85
|
+
_globals['_GETREADINGSRESPONSE_READINGSENTRY']._serialized_start = 3320
|
|
86
|
+
_globals['_GETREADINGSRESPONSE_READINGSENTRY']._serialized_end = 3403
|
|
87
|
+
_globals['_LOGENTRY']._serialized_start = 3406
|
|
88
|
+
_globals['_LOGENTRY']._serialized_end = 3685
|
|
89
|
+
_globals['_AUDIOINFO']._serialized_start = 3687
|
|
90
|
+
_globals['_AUDIOINFO']._serialized_end = 3793
|
|
91
|
+
_globals['_GETPROPERTIESREQUEST']._serialized_start = 3795
|
|
92
|
+
_globals['_GETPROPERTIESREQUEST']._serialized_end = 3884
|
|
93
|
+
_globals['_GETPROPERTIESRESPONSE']._serialized_start = 3887
|
|
94
|
+
_globals['_GETPROPERTIESRESPONSE']._serialized_end = 4026
|
|
@@ -44,22 +44,15 @@ class ResourceName(google.protobuf.message.Message):
|
|
|
44
44
|
TYPE_FIELD_NUMBER: builtins.int
|
|
45
45
|
SUBTYPE_FIELD_NUMBER: builtins.int
|
|
46
46
|
NAME_FIELD_NUMBER: builtins.int
|
|
47
|
-
REMOTE_PATH_FIELD_NUMBER: builtins.int
|
|
48
|
-
LOCAL_NAME_FIELD_NUMBER: builtins.int
|
|
49
47
|
namespace: builtins.str
|
|
50
48
|
type: builtins.str
|
|
51
49
|
subtype: builtins.str
|
|
52
50
|
name: builtins.str
|
|
53
|
-
local_name: builtins.str
|
|
54
51
|
|
|
55
|
-
|
|
56
|
-
def remote_path(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
57
|
-
...
|
|
58
|
-
|
|
59
|
-
def __init__(self, *, namespace: builtins.str=..., type: builtins.str=..., subtype: builtins.str=..., name: builtins.str=..., remote_path: collections.abc.Iterable[builtins.str] | None=..., local_name: builtins.str=...) -> None:
|
|
52
|
+
def __init__(self, *, namespace: builtins.str=..., type: builtins.str=..., subtype: builtins.str=..., name: builtins.str=...) -> None:
|
|
60
53
|
...
|
|
61
54
|
|
|
62
|
-
def ClearField(self, field_name: typing.Literal['
|
|
55
|
+
def ClearField(self, field_name: typing.Literal['name', b'name', 'namespace', b'namespace', 'subtype', b'subtype', 'type', b'type']) -> None:
|
|
63
56
|
...
|
|
64
57
|
global___ResourceName = ResourceName
|
|
65
58
|
|
|
@@ -129,7 +122,7 @@ global___Orientation = Orientation
|
|
|
129
122
|
|
|
130
123
|
@typing.final
|
|
131
124
|
class PoseInFrame(google.protobuf.message.Message):
|
|
132
|
-
"""PoseInFrame contains a pose and the
|
|
125
|
+
"""PoseInFrame contains a pose and the reference frame in which it was observed"""
|
|
133
126
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
134
127
|
REFERENCE_FRAME_FIELD_NUMBER: builtins.int
|
|
135
128
|
POSE_FIELD_NUMBER: builtins.int
|
|
@@ -216,6 +209,36 @@ class RectangularPrism(google.protobuf.message.Message):
|
|
|
216
209
|
...
|
|
217
210
|
global___RectangularPrism = RectangularPrism
|
|
218
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
|
+
|
|
219
242
|
@typing.final
|
|
220
243
|
class Geometry(google.protobuf.message.Message):
|
|
221
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."""
|
|
@@ -224,6 +247,8 @@ class Geometry(google.protobuf.message.Message):
|
|
|
224
247
|
SPHERE_FIELD_NUMBER: builtins.int
|
|
225
248
|
BOX_FIELD_NUMBER: builtins.int
|
|
226
249
|
CAPSULE_FIELD_NUMBER: builtins.int
|
|
250
|
+
MESH_FIELD_NUMBER: builtins.int
|
|
251
|
+
POINTCLOUD_FIELD_NUMBER: builtins.int
|
|
227
252
|
LABEL_FIELD_NUMBER: builtins.int
|
|
228
253
|
label: builtins.str
|
|
229
254
|
'Label of the geometry. If none supplied, will be an empty string.'
|
|
@@ -244,16 +269,24 @@ class Geometry(google.protobuf.message.Message):
|
|
|
244
269
|
def capsule(self) -> global___Capsule:
|
|
245
270
|
...
|
|
246
271
|
|
|
247
|
-
|
|
272
|
+
@property
|
|
273
|
+
def mesh(self) -> global___Mesh:
|
|
274
|
+
...
|
|
275
|
+
|
|
276
|
+
@property
|
|
277
|
+
def pointcloud(self) -> global___PointCloud:
|
|
278
|
+
...
|
|
279
|
+
|
|
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:
|
|
248
281
|
...
|
|
249
282
|
|
|
250
|
-
def HasField(self, field_name: typing.Literal['box', b'box', 'capsule', b'capsule', 'center', b'center', 'geometry_type', b'geometry_type', 'sphere', b'sphere']) -> builtins.bool:
|
|
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:
|
|
251
284
|
...
|
|
252
285
|
|
|
253
|
-
def ClearField(self, field_name: typing.Literal['box', b'box', 'capsule', b'capsule', 'center', b'center', 'geometry_type', b'geometry_type', 'label', b'label', 'sphere', b'sphere']) -> None:
|
|
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:
|
|
254
287
|
...
|
|
255
288
|
|
|
256
|
-
def WhichOneof(self, oneof_group: typing.Literal['geometry_type', b'geometry_type']) -> typing.Literal['sphere', 'box', 'capsule'] | None:
|
|
289
|
+
def WhichOneof(self, oneof_group: typing.Literal['geometry_type', b'geometry_type']) -> typing.Literal['sphere', 'box', 'capsule', 'mesh', 'pointcloud'] | None:
|
|
257
290
|
...
|
|
258
291
|
global___Geometry = Geometry
|
|
259
292
|
|
|
@@ -354,8 +387,12 @@ class Transform(google.protobuf.message.Message):
|
|
|
354
387
|
REFERENCE_FRAME_FIELD_NUMBER: builtins.int
|
|
355
388
|
POSE_IN_OBSERVER_FRAME_FIELD_NUMBER: builtins.int
|
|
356
389
|
PHYSICAL_OBJECT_FIELD_NUMBER: builtins.int
|
|
390
|
+
UUID_FIELD_NUMBER: builtins.int
|
|
391
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
357
392
|
reference_frame: builtins.str
|
|
358
393
|
'the name of a given reference frame'
|
|
394
|
+
uuid: builtins.bytes
|
|
395
|
+
'The UUID of the transform'
|
|
359
396
|
|
|
360
397
|
@property
|
|
361
398
|
def pose_in_observer_frame(self) -> global___PoseInFrame:
|
|
@@ -365,15 +402,24 @@ class Transform(google.protobuf.message.Message):
|
|
|
365
402
|
def physical_object(self) -> global___Geometry:
|
|
366
403
|
...
|
|
367
404
|
|
|
368
|
-
|
|
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:
|
|
369
410
|
...
|
|
370
411
|
|
|
371
|
-
def HasField(self, field_name: typing.Literal['_physical_object', b'_physical_object', 'physical_object', b'physical_object', 'pose_in_observer_frame', b'pose_in_observer_frame']) -> builtins.bool:
|
|
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:
|
|
372
413
|
...
|
|
373
414
|
|
|
374
|
-
def ClearField(self, field_name: typing.Literal['_physical_object', b'_physical_object', 'physical_object', b'physical_object', 'pose_in_observer_frame', b'pose_in_observer_frame', 'reference_frame', b'reference_frame']) -> None:
|
|
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:
|
|
375
416
|
...
|
|
376
417
|
|
|
418
|
+
@typing.overload
|
|
419
|
+
def WhichOneof(self, oneof_group: typing.Literal['_metadata', b'_metadata']) -> typing.Literal['metadata'] | None:
|
|
420
|
+
...
|
|
421
|
+
|
|
422
|
+
@typing.overload
|
|
377
423
|
def WhichOneof(self, oneof_group: typing.Literal['_physical_object', b'_physical_object']) -> typing.Literal['physical_object'] | None:
|
|
378
424
|
...
|
|
379
425
|
global___Transform = Transform
|
|
@@ -564,6 +610,64 @@ class GetGeometriesResponse(google.protobuf.message.Message):
|
|
|
564
610
|
...
|
|
565
611
|
global___GetGeometriesResponse = GetGeometriesResponse
|
|
566
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
|
+
|
|
567
671
|
@typing.final
|
|
568
672
|
class GetReadingsRequest(google.protobuf.message.Message):
|
|
569
673
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -660,6 +764,71 @@ class LogEntry(google.protobuf.message.Message):
|
|
|
660
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:
|
|
661
765
|
...
|
|
662
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
|
|
663
832
|
SAFETY_HEARTBEAT_MONITORED_FIELD_NUMBER: builtins.int
|
|
664
833
|
safety_heartbeat_monitored: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[google.protobuf.descriptor_pb2.MethodOptions, builtins.bool]
|
|
665
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'
|
|
@@ -52,8 +52,12 @@ class ArmServiceBase(abc.ABC):
|
|
|
52
52
|
async def GetGeometries(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse]') -> None:
|
|
53
53
|
pass
|
|
54
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
|
+
|
|
55
59
|
def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
|
|
56
|
-
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)}
|
|
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)}
|
|
57
61
|
|
|
58
62
|
class UnimplementedArmServiceBase(ArmServiceBase):
|
|
59
63
|
|
|
@@ -87,6 +91,9 @@ class UnimplementedArmServiceBase(ArmServiceBase):
|
|
|
87
91
|
async def GetGeometries(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse]') -> None:
|
|
88
92
|
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
89
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
|
+
|
|
90
97
|
class ArmServiceStub:
|
|
91
98
|
|
|
92
99
|
def __init__(self, channel: grpclib.client.Channel) -> None:
|
|
@@ -99,4 +106,5 @@ class ArmServiceStub:
|
|
|
99
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)
|
|
100
107
|
self.DoCommand = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/DoCommand', common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse)
|
|
101
108
|
self.GetKinematics = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.arm.v1.ArmService/GetKinematics', common.v1.common_pb2.GetKinematicsRequest, common.v1.common_pb2.GetKinematicsResponse)
|
|
102
|
-
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)
|
|
@@ -4,12 +4,12 @@ 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,
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'component/arm/v1/arm.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
|
|
11
11
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
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\
|
|
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
13
|
_globals = globals()
|
|
14
14
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
15
15
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.arm.v1.arm_pb2', _globals)
|
|
@@ -36,6 +36,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
36
36
|
_globals['_ARMSERVICE'].methods_by_name['GetKinematics']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/component/arm/{name}/kinematics'
|
|
37
37
|
_globals['_ARMSERVICE'].methods_by_name['GetGeometries']._loaded_options = None
|
|
38
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'
|
|
39
41
|
_globals['_GETENDPOSITIONREQUEST']._serialized_start = 137
|
|
40
42
|
_globals['_GETENDPOSITIONREQUEST']._serialized_end = 227
|
|
41
43
|
_globals['_GETENDPOSITIONRESPONSE']._serialized_start = 229
|
|
@@ -71,4 +73,4 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
71
73
|
_globals['_MOVEOPTIONS']._serialized_start = 1542
|
|
72
74
|
_globals['_MOVEOPTIONS']._serialized_end = 1714
|
|
73
75
|
_globals['_ARMSERVICE']._serialized_start = 1717
|
|
74
|
-
_globals['_ARMSERVICE']._serialized_end =
|
|
76
|
+
_globals['_ARMSERVICE']._serialized_end = 3508
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
from .... import component
|
|
12
|
+
|
|
13
|
+
class AudioInServiceBase(abc.ABC):
|
|
14
|
+
|
|
15
|
+
@abc.abstractmethod
|
|
16
|
+
async def GetAudio(self, stream: 'grpclib.server.Stream[component.audioin.v1.audioin_pb2.GetAudioRequest, component.audioin.v1.audioin_pb2.GetAudioResponse]') -> None:
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
@abc.abstractmethod
|
|
20
|
+
async def GetProperties(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.GetPropertiesRequest, common.v1.common_pb2.GetPropertiesResponse]') -> None:
|
|
21
|
+
pass
|
|
22
|
+
|
|
23
|
+
@abc.abstractmethod
|
|
24
|
+
async def DoCommand(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse]') -> None:
|
|
25
|
+
pass
|
|
26
|
+
|
|
27
|
+
@abc.abstractmethod
|
|
28
|
+
async def GetGeometries(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse]') -> None:
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
|
|
32
|
+
return {'/viam.component.audioin.v1.AudioInService/GetAudio': grpclib.const.Handler(self.GetAudio, grpclib.const.Cardinality.UNARY_STREAM, component.audioin.v1.audioin_pb2.GetAudioRequest, component.audioin.v1.audioin_pb2.GetAudioResponse), '/viam.component.audioin.v1.AudioInService/GetProperties': grpclib.const.Handler(self.GetProperties, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.GetPropertiesRequest, common.v1.common_pb2.GetPropertiesResponse), '/viam.component.audioin.v1.AudioInService/DoCommand': grpclib.const.Handler(self.DoCommand, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse), '/viam.component.audioin.v1.AudioInService/GetGeometries': grpclib.const.Handler(self.GetGeometries, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse)}
|
|
33
|
+
|
|
34
|
+
class UnimplementedAudioInServiceBase(AudioInServiceBase):
|
|
35
|
+
|
|
36
|
+
async def GetAudio(self, stream: 'grpclib.server.Stream[component.audioin.v1.audioin_pb2.GetAudioRequest, component.audioin.v1.audioin_pb2.GetAudioResponse]') -> None:
|
|
37
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
38
|
+
|
|
39
|
+
async def GetProperties(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.GetPropertiesRequest, common.v1.common_pb2.GetPropertiesResponse]') -> None:
|
|
40
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
41
|
+
|
|
42
|
+
async def DoCommand(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse]') -> None:
|
|
43
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
44
|
+
|
|
45
|
+
async def GetGeometries(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse]') -> None:
|
|
46
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
47
|
+
|
|
48
|
+
class AudioInServiceStub:
|
|
49
|
+
|
|
50
|
+
def __init__(self, channel: grpclib.client.Channel) -> None:
|
|
51
|
+
self.GetAudio = grpclib.client.UnaryStreamMethod(channel, '/viam.component.audioin.v1.AudioInService/GetAudio', component.audioin.v1.audioin_pb2.GetAudioRequest, component.audioin.v1.audioin_pb2.GetAudioResponse)
|
|
52
|
+
self.GetProperties = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.audioin.v1.AudioInService/GetProperties', common.v1.common_pb2.GetPropertiesRequest, common.v1.common_pb2.GetPropertiesResponse)
|
|
53
|
+
self.DoCommand = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.audioin.v1.AudioInService/DoCommand', common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse)
|
|
54
|
+
self.GetGeometries = grpclib.client.UnaryUnaryMethod(channel, '/viam.component.audioin.v1.AudioInService/GetGeometries', common.v1.common_pb2.GetGeometriesRequest, common.v1.common_pb2.GetGeometriesResponse)
|