viam-sdk 0.45.2__py3-none-win_amd64.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/__init__.py +71 -0
- viam/app/__init__.py +0 -0
- viam/app/_logs.py +34 -0
- viam/app/app_client.py +2525 -0
- viam/app/billing_client.py +143 -0
- viam/app/data_client.py +1715 -0
- viam/app/ml_training_client.py +251 -0
- viam/app/provisioning_client.py +95 -0
- viam/app/viam_client.py +260 -0
- viam/components/__init__.py +0 -0
- viam/components/arm/__init__.py +16 -0
- viam/components/arm/arm.py +223 -0
- viam/components/arm/client.py +124 -0
- viam/components/arm/service.py +123 -0
- viam/components/audio_input/__init__.py +18 -0
- viam/components/audio_input/audio_input.py +81 -0
- viam/components/audio_input/client.py +70 -0
- viam/components/audio_input/service.py +114 -0
- viam/components/base/__init__.py +13 -0
- viam/components/base/base.py +260 -0
- viam/components/base/client.py +153 -0
- viam/components/base/service.py +138 -0
- viam/components/board/__init__.py +9 -0
- viam/components/board/board.py +414 -0
- viam/components/board/client.py +241 -0
- viam/components/board/service.py +223 -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/__init__.py +22 -0
- viam/components/camera/camera.py +138 -0
- viam/components/camera/client.py +98 -0
- viam/components/camera/service.py +105 -0
- viam/components/component_base.py +65 -0
- viam/components/encoder/__init__.py +18 -0
- viam/components/encoder/client.py +83 -0
- viam/components/encoder/encoder.py +118 -0
- viam/components/encoder/service.py +72 -0
- viam/components/gantry/__init__.py +11 -0
- viam/components/gantry/client.py +115 -0
- viam/components/gantry/gantry.py +156 -0
- viam/components/gantry/service.py +113 -0
- viam/components/generic/__init__.py +18 -0
- viam/components/generic/client.py +62 -0
- viam/components/generic/generic.py +76 -0
- viam/components/generic/service.py +40 -0
- viam/components/gripper/__init__.py +11 -0
- viam/components/gripper/client.py +85 -0
- viam/components/gripper/gripper.py +114 -0
- viam/components/gripper/service.py +81 -0
- viam/components/input/__init__.py +15 -0
- viam/components/input/client.py +194 -0
- viam/components/input/input.py +297 -0
- viam/components/input/service.py +175 -0
- viam/components/motor/__init__.py +11 -0
- viam/components/motor/client.py +168 -0
- viam/components/motor/motor.py +301 -0
- viam/components/motor/service.py +150 -0
- viam/components/movement_sensor/__init__.py +21 -0
- viam/components/movement_sensor/client.py +161 -0
- viam/components/movement_sensor/movement_sensor.py +253 -0
- viam/components/movement_sensor/service.py +146 -0
- viam/components/pose_tracker/__init__.py +17 -0
- viam/components/pose_tracker/client.py +50 -0
- viam/components/pose_tracker/pose_tracker.py +40 -0
- viam/components/pose_tracker/service.py +45 -0
- viam/components/power_sensor/__init__.py +17 -0
- viam/components/power_sensor/client.py +86 -0
- viam/components/power_sensor/power_sensor.py +104 -0
- viam/components/power_sensor/service.py +72 -0
- viam/components/sensor/__init__.py +18 -0
- viam/components/sensor/client.py +49 -0
- viam/components/sensor/sensor.py +48 -0
- viam/components/sensor/service.py +51 -0
- viam/components/servo/__init__.py +11 -0
- viam/components/servo/client.py +86 -0
- viam/components/servo/service.py +80 -0
- viam/components/servo/servo.py +114 -0
- 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/errors.py +105 -0
- viam/gen/__init__.py +0 -0
- viam/gen/app/__init__.py +0 -0
- viam/gen/app/agent/__init__.py +0 -0
- viam/gen/app/agent/v1/__init__.py +0 -0
- viam/gen/app/agent/v1/agent_grpc.py +29 -0
- viam/gen/app/agent/v1/agent_pb2.py +47 -0
- viam/gen/app/agent/v1/agent_pb2.pyi +280 -0
- viam/gen/app/cloudslam/__init__.py +0 -0
- viam/gen/app/cloudslam/v1/__init__.py +0 -0
- viam/gen/app/cloudslam/v1/cloud_slam_grpc.py +70 -0
- viam/gen/app/cloudslam/v1/cloud_slam_pb2.py +54 -0
- viam/gen/app/cloudslam/v1/cloud_slam_pb2.pyi +384 -0
- viam/gen/app/data/__init__.py +0 -0
- viam/gen/app/data/v1/__init__.py +0 -0
- viam/gen/app/data/v1/data_grpc.py +206 -0
- viam/gen/app/data/v1/data_pb2.py +178 -0
- viam/gen/app/data/v1/data_pb2.pyi +1485 -0
- 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 +56 -0
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +370 -0
- viam/gen/app/dataset/__init__.py +0 -0
- viam/gen/app/dataset/v1/__init__.py +0 -0
- viam/gen/app/dataset/v1/dataset_grpc.py +60 -0
- viam/gen/app/dataset/v1/dataset_pb2.py +40 -0
- viam/gen/app/dataset/v1/dataset_pb2.pyi +179 -0
- viam/gen/app/datasync/__init__.py +0 -0
- viam/gen/app/datasync/v1/__init__.py +0 -0
- viam/gen/app/datasync/v1/data_sync_grpc.py +47 -0
- viam/gen/app/datasync/v1/data_sync_pb2.py +70 -0
- viam/gen/app/datasync/v1/data_sync_pb2.pyi +425 -0
- 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/__init__.py +0 -0
- viam/gen/app/mltraining/v1/__init__.py +0 -0
- viam/gen/app/mltraining/v1/ml_training_grpc.py +78 -0
- viam/gen/app/mltraining/v1/ml_training_pb2.py +124 -0
- viam/gen/app/mltraining/v1/ml_training_pb2.pyi +415 -0
- viam/gen/app/packages/__init__.py +0 -0
- viam/gen/app/packages/v1/__init__.py +0 -0
- viam/gen/app/packages/v1/packages_grpc.py +54 -0
- viam/gen/app/packages/v1/packages_pb2.py +52 -0
- viam/gen/app/packages/v1/packages_pb2.pyi +311 -0
- viam/gen/app/v1/__init__.py +0 -0
- viam/gen/app/v1/app_grpc.py +863 -0
- viam/gen/app/v1/app_pb2.py +649 -0
- viam/gen/app/v1/app_pb2.pyi +5279 -0
- viam/gen/app/v1/billing_grpc.py +76 -0
- viam/gen/app/v1/billing_pb2.py +92 -0
- viam/gen/app/v1/billing_pb2.pyi +463 -0
- viam/gen/app/v1/end_user_grpc.py +59 -0
- viam/gen/app/v1/end_user_pb2.py +55 -0
- viam/gen/app/v1/end_user_pb2.pyi +181 -0
- viam/gen/app/v1/robot_grpc.py +55 -0
- viam/gen/app/v1/robot_pb2.py +127 -0
- viam/gen/app/v1/robot_pb2.pyi +1202 -0
- viam/gen/common/__init__.py +0 -0
- viam/gen/common/v1/__init__.py +0 -0
- viam/gen/common/v1/common_grpc.py +0 -0
- viam/gen/common/v1/common_pb2.py +78 -0
- viam/gen/common/v1/common_pb2.pyi +687 -0
- viam/gen/component/__init__.py +0 -0
- viam/gen/component/arm/__init__.py +0 -0
- viam/gen/component/arm/v1/__init__.py +0 -0
- viam/gen/component/arm/v1/arm_grpc.py +102 -0
- viam/gen/component/arm/v1/arm_pb2.py +74 -0
- viam/gen/component/arm/v1/arm_pb2.pyi +344 -0
- viam/gen/component/audioinput/__init__.py +0 -0
- viam/gen/component/audioinput/v1/__init__.py +0 -0
- viam/gen/component/audioinput/v1/audioinput_grpc.py +63 -0
- viam/gen/component/audioinput/v1/audioinput_pb2.py +45 -0
- viam/gen/component/audioinput/v1/audioinput_pb2.pyi +179 -0
- viam/gen/component/base/__init__.py +0 -0
- viam/gen/component/base/v1/__init__.py +0 -0
- viam/gen/component/base/v1/base_grpc.py +94 -0
- viam/gen/component/base/v1/base_pb2.py +66 -0
- viam/gen/component/base/v1/base_pb2.pyi +258 -0
- viam/gen/component/board/__init__.py +0 -0
- viam/gen/component/board/v1/__init__.py +0 -0
- viam/gen/component/board/v1/board_grpc.py +127 -0
- viam/gen/component/board/v1/board_pb2.py +103 -0
- viam/gen/component/board/v1/board_pb2.pyi +496 -0
- 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/__init__.py +0 -0
- viam/gen/component/camera/v1/__init__.py +0 -0
- viam/gen/component/camera/v1/camera_grpc.py +79 -0
- viam/gen/component/camera/v1/camera_pb2.py +67 -0
- viam/gen/component/camera/v1/camera_pb2.pyi +373 -0
- viam/gen/component/encoder/__init__.py +0 -0
- viam/gen/component/encoder/v1/__init__.py +0 -0
- viam/gen/component/encoder/v1/encoder_grpc.py +62 -0
- viam/gen/component/encoder/v1/encoder_pb2.py +44 -0
- viam/gen/component/encoder/v1/encoder_pb2.pyi +147 -0
- viam/gen/component/gantry/__init__.py +0 -0
- viam/gen/component/gantry/v1/__init__.py +0 -0
- viam/gen/component/gantry/v1/gantry_grpc.py +86 -0
- viam/gen/component/gantry/v1/gantry_pb2.py +62 -0
- viam/gen/component/gantry/v1/gantry_pb2.pyi +239 -0
- viam/gen/component/generic/__init__.py +0 -0
- viam/gen/component/generic/v1/__init__.py +0 -0
- viam/gen/component/generic/v1/generic_grpc.py +37 -0
- viam/gen/component/generic/v1/generic_pb2.py +23 -0
- viam/gen/component/generic/v1/generic_pb2.pyi +6 -0
- viam/gen/component/gripper/__init__.py +0 -0
- viam/gen/component/gripper/v1/__init__.py +0 -0
- viam/gen/component/gripper/v1/gripper_grpc.py +70 -0
- viam/gen/component/gripper/v1/gripper_pb2.py +48 -0
- viam/gen/component/gripper/v1/gripper_pb2.pyi +137 -0
- viam/gen/component/inputcontroller/__init__.py +0 -0
- viam/gen/component/inputcontroller/v1/__init__.py +0 -0
- viam/gen/component/inputcontroller/v1/input_controller_grpc.py +71 -0
- viam/gen/component/inputcontroller/v1/input_controller_pb2.py +55 -0
- viam/gen/component/inputcontroller/v1/input_controller_pb2.pyi +243 -0
- viam/gen/component/motor/__init__.py +0 -0
- viam/gen/component/motor/v1/__init__.py +0 -0
- viam/gen/component/motor/v1/motor_grpc.py +118 -0
- viam/gen/component/motor/v1/motor_pb2.py +86 -0
- viam/gen/component/motor/v1/motor_pb2.pyi +368 -0
- viam/gen/component/movementsensor/__init__.py +0 -0
- viam/gen/component/movementsensor/v1/__init__.py +0 -0
- viam/gen/component/movementsensor/v1/movementsensor_grpc.py +110 -0
- viam/gen/component/movementsensor/v1/movementsensor_pb2.py +78 -0
- viam/gen/component/movementsensor/v1/movementsensor_pb2.pyi +384 -0
- viam/gen/component/posetracker/__init__.py +0 -0
- viam/gen/component/posetracker/v1/__init__.py +0 -0
- viam/gen/component/posetracker/v1/pose_tracker_grpc.py +46 -0
- viam/gen/component/posetracker/v1/pose_tracker_pb2.py +34 -0
- viam/gen/component/posetracker/v1/pose_tracker_pb2.pyi +79 -0
- viam/gen/component/powersensor/__init__.py +0 -0
- viam/gen/component/powersensor/v1/__init__.py +0 -0
- viam/gen/component/powersensor/v1/powersensor_grpc.py +62 -0
- viam/gen/component/powersensor/v1/powersensor_pb2.py +42 -0
- viam/gen/component/powersensor/v1/powersensor_pb2.pyi +124 -0
- viam/gen/component/sensor/__init__.py +0 -0
- viam/gen/component/sensor/v1/__init__.py +0 -0
- viam/gen/component/sensor/v1/sensor_grpc.py +45 -0
- viam/gen/component/sensor/v1/sensor_pb2.py +25 -0
- viam/gen/component/sensor/v1/sensor_pb2.pyi +6 -0
- viam/gen/component/servo/__init__.py +0 -0
- viam/gen/component/servo/v1/__init__.py +0 -0
- viam/gen/component/servo/v1/servo_grpc.py +70 -0
- viam/gen/component/servo/v1/servo_pb2.py +50 -0
- viam/gen/component/servo/v1/servo_pb2.pyi +150 -0
- 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 +109 -0
- viam/gen/component/testecho/__init__.py +0 -0
- viam/gen/component/testecho/v1/__init__.py +0 -0
- viam/gen/component/testecho/v1/testecho_grpc.py +52 -0
- viam/gen/component/testecho/v1/testecho_pb2.py +36 -0
- viam/gen/component/testecho/v1/testecho_pb2.pyi +114 -0
- viam/gen/module/__init__.py +0 -0
- viam/gen/module/v1/__init__.py +0 -0
- viam/gen/module/v1/module_grpc.py +61 -0
- viam/gen/module/v1/module_pb2.py +43 -0
- viam/gen/module/v1/module_pb2.pyi +211 -0
- viam/gen/proto/__init__.py +0 -0
- viam/gen/proto/rpc/__init__.py +0 -0
- viam/gen/proto/rpc/examples/__init__.py +0 -0
- viam/gen/proto/rpc/examples/echo/__init__.py +0 -0
- viam/gen/proto/rpc/examples/echo/v1/__init__.py +0 -0
- viam/gen/proto/rpc/examples/echo/v1/echo_grpc.py +44 -0
- viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +32 -0
- viam/gen/proto/rpc/examples/echo/v1/echo_pb2.pyi +87 -0
- viam/gen/proto/rpc/examples/echoresource/__init__.py +0 -0
- viam/gen/proto/rpc/examples/echoresource/v1/__init__.py +0 -0
- viam/gen/proto/rpc/examples/echoresource/v1/echoresource_grpc.py +43 -0
- viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.py +29 -0
- viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.pyi +93 -0
- viam/gen/proto/rpc/v1/__init__.py +0 -0
- viam/gen/proto/rpc/v1/auth_grpc.py +47 -0
- viam/gen/proto/rpc/v1/auth_pb2.py +34 -0
- viam/gen/proto/rpc/v1/auth_pb2.pyi +92 -0
- viam/gen/proto/rpc/webrtc/__init__.py +0 -0
- viam/gen/proto/rpc/webrtc/v1/__init__.py +0 -0
- viam/gen/proto/rpc/webrtc/v1/grpc_grpc.py +0 -0
- viam/gen/proto/rpc/webrtc/v1/grpc_pb2.py +43 -0
- viam/gen/proto/rpc/webrtc/v1/grpc_pb2.pyi +304 -0
- viam/gen/proto/rpc/webrtc/v1/signaling_grpc.py +54 -0
- viam/gen/proto/rpc/webrtc/v1/signaling_pb2.py +70 -0
- viam/gen/proto/rpc/webrtc/v1/signaling_pb2.pyi +496 -0
- viam/gen/provisioning/__init__.py +0 -0
- viam/gen/provisioning/v1/__init__.py +0 -0
- viam/gen/provisioning/v1/provisioning_grpc.py +51 -0
- viam/gen/provisioning/v1/provisioning_pb2.py +39 -0
- viam/gen/provisioning/v1/provisioning_pb2.pyi +188 -0
- viam/gen/robot/__init__.py +0 -0
- viam/gen/robot/v1/__init__.py +0 -0
- viam/gen/robot/v1/robot_grpc.py +208 -0
- viam/gen/robot/v1/robot_pb2.py +188 -0
- viam/gen/robot/v1/robot_pb2.pyi +1020 -0
- viam/gen/service/__init__.py +0 -0
- viam/gen/service/datamanager/__init__.py +0 -0
- viam/gen/service/datamanager/v1/__init__.py +0 -0
- viam/gen/service/datamanager/v1/data_manager_grpc.py +38 -0
- viam/gen/service/datamanager/v1/data_manager_pb2.py +28 -0
- viam/gen/service/datamanager/v1/data_manager_pb2.pyi +39 -0
- 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/__init__.py +0 -0
- viam/gen/service/generic/v1/__init__.py +0 -0
- viam/gen/service/generic/v1/generic_grpc.py +29 -0
- viam/gen/service/generic/v1/generic_pb2.py +21 -0
- viam/gen/service/generic/v1/generic_pb2.pyi +6 -0
- viam/gen/service/mlmodel/__init__.py +0 -0
- viam/gen/service/mlmodel/v1/__init__.py +0 -0
- viam/gen/service/mlmodel/v1/mlmodel_grpc.py +37 -0
- viam/gen/service/mlmodel/v1/mlmodel_pb2.py +83 -0
- viam/gen/service/mlmodel/v1/mlmodel_pb2.pyi +480 -0
- viam/gen/service/motion/__init__.py +0 -0
- viam/gen/service/motion/v1/__init__.py +0 -0
- viam/gen/service/motion/v1/motion_grpc.py +87 -0
- viam/gen/service/motion/v1/motion_pb2.py +97 -0
- viam/gen/service/motion/v1/motion_pb2.pyi +838 -0
- viam/gen/service/navigation/__init__.py +0 -0
- viam/gen/service/navigation/v1/__init__.py +0 -0
- viam/gen/service/navigation/v1/navigation_grpc.py +102 -0
- viam/gen/service/navigation/v1/navigation_pb2.py +84 -0
- viam/gen/service/navigation/v1/navigation_pb2.pyi +419 -0
- viam/gen/service/sensors/__init__.py +0 -0
- viam/gen/service/sensors/v1/__init__.py +0 -0
- viam/gen/service/sensors/v1/sensors_grpc.py +46 -0
- viam/gen/service/sensors/v1/sensors_pb2.py +68 -0
- viam/gen/service/sensors/v1/sensors_pb2.pyi +137 -0
- viam/gen/service/shell/__init__.py +0 -0
- viam/gen/service/shell/v1/__init__.py +0 -0
- viam/gen/service/shell/v1/shell_grpc.py +55 -0
- viam/gen/service/shell/v1/shell_pb2.py +45 -0
- viam/gen/service/shell/v1/shell_pb2.pyi +307 -0
- viam/gen/service/slam/__init__.py +0 -0
- viam/gen/service/slam/v1/__init__.py +0 -0
- viam/gen/service/slam/v1/slam_grpc.py +61 -0
- viam/gen/service/slam/v1/slam_pb2.py +51 -0
- viam/gen/service/slam/v1/slam_pb2.pyi +213 -0
- viam/gen/service/vision/__init__.py +0 -0
- viam/gen/service/vision/v1/__init__.py +0 -0
- viam/gen/service/vision/v1/vision_grpc.py +87 -0
- viam/gen/service/vision/v1/vision_pb2.py +69 -0
- viam/gen/service/vision/v1/vision_pb2.pyi +454 -0
- viam/gen/stream/__init__.py +0 -0
- viam/gen/stream/v1/__init__.py +0 -0
- viam/gen/stream/v1/stream_grpc.py +59 -0
- viam/gen/stream/v1/stream_pb2.py +39 -0
- viam/gen/stream/v1/stream_pb2.pyi +161 -0
- viam/gen/tagger/__init__.py +0 -0
- viam/gen/tagger/v1/__init__.py +0 -0
- viam/gen/tagger/v1/tagger_grpc.py +0 -0
- viam/gen/tagger/v1/tagger_pb2.py +16 -0
- viam/gen/tagger/v1/tagger_pb2.pyi +15 -0
- viam/logging.py +216 -0
- viam/media/__init__.py +0 -0
- viam/media/audio.py +16 -0
- viam/media/utils/__init__.py +0 -0
- viam/media/utils/pil/__init__.py +51 -0
- viam/media/utils/pil/viam_rgba_plugin.py +73 -0
- viam/media/viam_rgba.py +10 -0
- viam/media/video.py +217 -0
- viam/module/__init__.py +5 -0
- viam/module/module.py +281 -0
- viam/module/service.py +66 -0
- viam/module/types.py +23 -0
- viam/operations.py +124 -0
- viam/proto/__init__.py +0 -0
- viam/proto/app/__init__.py +554 -0
- viam/proto/app/agent/__init__.py +28 -0
- viam/proto/app/billing.py +58 -0
- viam/proto/app/cloudslam/__init__.py +48 -0
- viam/proto/app/data/__init__.py +138 -0
- viam/proto/app/datapipelines/__init__.py +56 -0
- viam/proto/app/dataset/__init__.py +36 -0
- viam/proto/app/datasync/__init__.py +44 -0
- viam/proto/app/end_user.py +34 -0
- viam/proto/app/mlinference/__init__.py +15 -0
- viam/proto/app/mltraining/__init__.py +52 -0
- viam/proto/app/packages/__init__.py +38 -0
- viam/proto/app/robot.py +84 -0
- viam/proto/common/__init__.py +66 -0
- viam/proto/component/__init__.py +0 -0
- viam/proto/component/arm/__init__.py +48 -0
- viam/proto/component/audioinput/__init__.py +30 -0
- viam/proto/component/base/__init__.py +42 -0
- viam/proto/component/board/__init__.py +62 -0
- viam/proto/component/button/__init__.py +15 -0
- viam/proto/component/camera/__init__.py +46 -0
- viam/proto/component/encoder/__init__.py +28 -0
- viam/proto/component/gantry/__init__.py +40 -0
- viam/proto/component/generic/__init__.py +12 -0
- viam/proto/component/gripper/__init__.py +30 -0
- viam/proto/component/inputcontroller/__init__.py +38 -0
- viam/proto/component/motor/__init__.py +56 -0
- viam/proto/component/movementsensor/__init__.py +50 -0
- viam/proto/component/posetracker/__init__.py +19 -0
- viam/proto/component/powersensor/__init__.py +30 -0
- viam/proto/component/sensor/__init__.py +12 -0
- viam/proto/component/servo/__init__.py +32 -0
- viam/proto/component/switch/__init__.py +26 -0
- viam/proto/component/testecho/__init__.py +30 -0
- viam/proto/module/__init__.py +38 -0
- viam/proto/provisioning/__init__.py +36 -0
- viam/proto/robot/__init__.py +130 -0
- viam/proto/rpc/__init__.py +0 -0
- viam/proto/rpc/auth.py +34 -0
- viam/proto/rpc/examples/__init__.py +0 -0
- viam/proto/rpc/examples/echo/__init__.py +26 -0
- viam/proto/rpc/examples/echoresource/__init__.py +30 -0
- viam/proto/rpc/webrtc/__init__.py +0 -0
- viam/proto/rpc/webrtc/grpc.py +36 -0
- viam/proto/rpc/webrtc/signaling.py +58 -0
- viam/proto/service/__init__.py +0 -0
- viam/proto/service/datamanager/__init__.py +19 -0
- viam/proto/service/discovery/__init__.py +15 -0
- viam/proto/service/generic/__init__.py +12 -0
- viam/proto/service/mlmodel/__init__.py +54 -0
- viam/proto/service/motion/__init__.py +68 -0
- viam/proto/service/navigation/__init__.py +58 -0
- viam/proto/service/sensors/__init__.py +18 -0
- viam/proto/service/shell/__init__.py +36 -0
- viam/proto/service/slam/__init__.py +36 -0
- viam/proto/service/vision/__init__.py +46 -0
- viam/proto/stream/__init__.py +36 -0
- viam/proto/tagger/__init__.py +6 -0
- viam/py.typed +0 -0
- viam/resource/__init__.py +0 -0
- viam/resource/base.py +123 -0
- viam/resource/easy_resource.py +153 -0
- viam/resource/manager.py +126 -0
- viam/resource/registry.py +199 -0
- viam/resource/rpc_client_base.py +65 -0
- viam/resource/rpc_service_base.py +48 -0
- viam/resource/types.py +213 -0
- viam/robot/__init__.py +0 -0
- viam/robot/client.py +909 -0
- viam/robot/service.py +69 -0
- viam/rpc/__init__.py +0 -0
- viam/rpc/dial.py +420 -0
- viam/rpc/libviam_rust_utils.dll +0 -0
- viam/rpc/server.py +201 -0
- viam/rpc/signaling.py +29 -0
- viam/rpc/types.py +22 -0
- viam/services/__init__.py +0 -0
- 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 +18 -0
- viam/services/generic/client.py +58 -0
- viam/services/generic/generic.py +58 -0
- viam/services/generic/service.py +29 -0
- viam/services/mlmodel/__init__.py +24 -0
- viam/services/mlmodel/client.py +37 -0
- viam/services/mlmodel/mlmodel.py +78 -0
- viam/services/mlmodel/service.py +38 -0
- viam/services/mlmodel/utils.py +101 -0
- viam/services/motion/__init__.py +17 -0
- viam/services/motion/client.py +215 -0
- viam/services/motion/motion.py +378 -0
- viam/services/motion/service.py +132 -0
- viam/services/navigation/__init__.py +11 -0
- viam/services/navigation/client.py +99 -0
- viam/services/navigation/navigation.py +250 -0
- viam/services/navigation/service.py +137 -0
- viam/services/service_base.py +78 -0
- viam/services/service_client_base.py +46 -0
- viam/services/slam/__init__.py +17 -0
- viam/services/slam/client.py +62 -0
- viam/services/slam/service.py +75 -0
- viam/services/slam/slam.py +111 -0
- viam/services/vision/__init__.py +15 -0
- viam/services/vision/client.py +206 -0
- viam/services/vision/service.py +146 -0
- viam/services/vision/vision.py +315 -0
- viam/sessions_client.py +245 -0
- viam/streams.py +44 -0
- viam/utils.py +365 -0
- viam/version_metadata.py +4 -0
- viam_sdk-0.45.2.dist-info/METADATA +157 -0
- viam_sdk-0.45.2.dist-info/RECORD +476 -0
- viam_sdk-0.45.2.dist-info/WHEEL +4 -0
- viam_sdk-0.45.2.dist-info/licenses/LICENSE +202 -0
|
@@ -0,0 +1,687 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
The following is a list of messages that are used across multiple resource subtypes"""
|
|
5
|
+
import builtins
|
|
6
|
+
import collections.abc
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.descriptor_pb2
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.internal.extension_dict
|
|
12
|
+
import google.protobuf.message
|
|
13
|
+
import google.protobuf.struct_pb2
|
|
14
|
+
import google.protobuf.timestamp_pb2
|
|
15
|
+
import sys
|
|
16
|
+
import typing
|
|
17
|
+
if sys.version_info >= (3, 10):
|
|
18
|
+
import typing as typing_extensions
|
|
19
|
+
else:
|
|
20
|
+
import typing_extensions
|
|
21
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
22
|
+
|
|
23
|
+
class _KinematicsFileFormat:
|
|
24
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
25
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
26
|
+
|
|
27
|
+
class _KinematicsFileFormatEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_KinematicsFileFormat.ValueType], builtins.type):
|
|
28
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
29
|
+
KINEMATICS_FILE_FORMAT_UNSPECIFIED: _KinematicsFileFormat.ValueType
|
|
30
|
+
KINEMATICS_FILE_FORMAT_SVA: _KinematicsFileFormat.ValueType
|
|
31
|
+
KINEMATICS_FILE_FORMAT_URDF: _KinematicsFileFormat.ValueType
|
|
32
|
+
|
|
33
|
+
class KinematicsFileFormat(_KinematicsFileFormat, metaclass=_KinematicsFileFormatEnumTypeWrapper):
|
|
34
|
+
...
|
|
35
|
+
KINEMATICS_FILE_FORMAT_UNSPECIFIED: KinematicsFileFormat.ValueType
|
|
36
|
+
KINEMATICS_FILE_FORMAT_SVA: KinematicsFileFormat.ValueType
|
|
37
|
+
KINEMATICS_FILE_FORMAT_URDF: KinematicsFileFormat.ValueType
|
|
38
|
+
global___KinematicsFileFormat = KinematicsFileFormat
|
|
39
|
+
|
|
40
|
+
@typing.final
|
|
41
|
+
class ResourceName(google.protobuf.message.Message):
|
|
42
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
43
|
+
NAMESPACE_FIELD_NUMBER: builtins.int
|
|
44
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
45
|
+
SUBTYPE_FIELD_NUMBER: builtins.int
|
|
46
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
47
|
+
REMOTE_PATH_FIELD_NUMBER: builtins.int
|
|
48
|
+
LOCAL_NAME_FIELD_NUMBER: builtins.int
|
|
49
|
+
namespace: builtins.str
|
|
50
|
+
type: builtins.str
|
|
51
|
+
subtype: builtins.str
|
|
52
|
+
name: builtins.str
|
|
53
|
+
local_name: builtins.str
|
|
54
|
+
|
|
55
|
+
@property
|
|
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:
|
|
60
|
+
...
|
|
61
|
+
|
|
62
|
+
def ClearField(self, field_name: typing.Literal['local_name', b'local_name', 'name', b'name', 'namespace', b'namespace', 'remote_path', b'remote_path', 'subtype', b'subtype', 'type', b'type']) -> None:
|
|
63
|
+
...
|
|
64
|
+
global___ResourceName = ResourceName
|
|
65
|
+
|
|
66
|
+
@typing.final
|
|
67
|
+
class Pose(google.protobuf.message.Message):
|
|
68
|
+
"""Pose is a combination of location and orientation.
|
|
69
|
+
Location is expressed as distance which is represented by x , y, z coordinates. Orientation is expressed as an orientation vector which
|
|
70
|
+
is represented by o_x, o_y, o_z and theta. The o_x, o_y, o_z coordinates represent the point on the cartesian unit sphere that the end of
|
|
71
|
+
the arm is pointing to (with the origin as reference). That unit vector forms an axis around which theta rotates. This means that
|
|
72
|
+
incrementing / decrementing theta will perform an inline rotation of the end effector.
|
|
73
|
+
Theta is defined as rotation between two planes: the first being defined by the origin, the point (0,0,1), and the rx, ry, rz point, and the
|
|
74
|
+
second being defined by the origin, the rx, ry, rz point and the local Z axis. Therefore, if theta is kept at zero as the north/south pole
|
|
75
|
+
is circled, the Roll will correct itself to remain in-line.
|
|
76
|
+
"""
|
|
77
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
78
|
+
X_FIELD_NUMBER: builtins.int
|
|
79
|
+
Y_FIELD_NUMBER: builtins.int
|
|
80
|
+
Z_FIELD_NUMBER: builtins.int
|
|
81
|
+
O_X_FIELD_NUMBER: builtins.int
|
|
82
|
+
O_Y_FIELD_NUMBER: builtins.int
|
|
83
|
+
O_Z_FIELD_NUMBER: builtins.int
|
|
84
|
+
THETA_FIELD_NUMBER: builtins.int
|
|
85
|
+
x: builtins.float
|
|
86
|
+
'millimeters from the origin'
|
|
87
|
+
y: builtins.float
|
|
88
|
+
'millimeters from the origin'
|
|
89
|
+
z: builtins.float
|
|
90
|
+
'millimeters from the origin'
|
|
91
|
+
o_x: builtins.float
|
|
92
|
+
'z component of a vector defining axis of rotation'
|
|
93
|
+
o_y: builtins.float
|
|
94
|
+
'x component of a vector defining axis of rotation'
|
|
95
|
+
o_z: builtins.float
|
|
96
|
+
'y component of a vector defining axis of rotation'
|
|
97
|
+
theta: builtins.float
|
|
98
|
+
'degrees'
|
|
99
|
+
|
|
100
|
+
def __init__(self, *, x: builtins.float=..., y: builtins.float=..., z: builtins.float=..., o_x: builtins.float=..., o_y: builtins.float=..., o_z: builtins.float=..., theta: builtins.float=...) -> None:
|
|
101
|
+
...
|
|
102
|
+
|
|
103
|
+
def ClearField(self, field_name: typing.Literal['o_x', b'o_x', 'o_y', b'o_y', 'o_z', b'o_z', 'theta', b'theta', 'x', b'x', 'y', b'y', 'z', b'z']) -> None:
|
|
104
|
+
...
|
|
105
|
+
global___Pose = Pose
|
|
106
|
+
|
|
107
|
+
@typing.final
|
|
108
|
+
class Orientation(google.protobuf.message.Message):
|
|
109
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
110
|
+
O_X_FIELD_NUMBER: builtins.int
|
|
111
|
+
O_Y_FIELD_NUMBER: builtins.int
|
|
112
|
+
O_Z_FIELD_NUMBER: builtins.int
|
|
113
|
+
THETA_FIELD_NUMBER: builtins.int
|
|
114
|
+
o_x: builtins.float
|
|
115
|
+
'x component of a vector defining axis of rotation'
|
|
116
|
+
o_y: builtins.float
|
|
117
|
+
'y component of a vector defining axis of rotation'
|
|
118
|
+
o_z: builtins.float
|
|
119
|
+
'z component of a vector defining axis of rotation'
|
|
120
|
+
theta: builtins.float
|
|
121
|
+
'degrees'
|
|
122
|
+
|
|
123
|
+
def __init__(self, *, o_x: builtins.float=..., o_y: builtins.float=..., o_z: builtins.float=..., theta: builtins.float=...) -> None:
|
|
124
|
+
...
|
|
125
|
+
|
|
126
|
+
def ClearField(self, field_name: typing.Literal['o_x', b'o_x', 'o_y', b'o_y', 'o_z', b'o_z', 'theta', b'theta']) -> None:
|
|
127
|
+
...
|
|
128
|
+
global___Orientation = Orientation
|
|
129
|
+
|
|
130
|
+
@typing.final
|
|
131
|
+
class PoseInFrame(google.protobuf.message.Message):
|
|
132
|
+
"""PoseInFrame contains a pose and the and the reference frame in which it was observed"""
|
|
133
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
134
|
+
REFERENCE_FRAME_FIELD_NUMBER: builtins.int
|
|
135
|
+
POSE_FIELD_NUMBER: builtins.int
|
|
136
|
+
reference_frame: builtins.str
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
def pose(self) -> global___Pose:
|
|
140
|
+
...
|
|
141
|
+
|
|
142
|
+
def __init__(self, *, reference_frame: builtins.str=..., pose: global___Pose | None=...) -> None:
|
|
143
|
+
...
|
|
144
|
+
|
|
145
|
+
def HasField(self, field_name: typing.Literal['pose', b'pose']) -> builtins.bool:
|
|
146
|
+
...
|
|
147
|
+
|
|
148
|
+
def ClearField(self, field_name: typing.Literal['pose', b'pose', 'reference_frame', b'reference_frame']) -> None:
|
|
149
|
+
...
|
|
150
|
+
global___PoseInFrame = PoseInFrame
|
|
151
|
+
|
|
152
|
+
@typing.final
|
|
153
|
+
class Vector3(google.protobuf.message.Message):
|
|
154
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
155
|
+
X_FIELD_NUMBER: builtins.int
|
|
156
|
+
Y_FIELD_NUMBER: builtins.int
|
|
157
|
+
Z_FIELD_NUMBER: builtins.int
|
|
158
|
+
x: builtins.float
|
|
159
|
+
y: builtins.float
|
|
160
|
+
z: builtins.float
|
|
161
|
+
|
|
162
|
+
def __init__(self, *, x: builtins.float=..., y: builtins.float=..., z: builtins.float=...) -> None:
|
|
163
|
+
...
|
|
164
|
+
|
|
165
|
+
def ClearField(self, field_name: typing.Literal['x', b'x', 'y', b'y', 'z', b'z']) -> None:
|
|
166
|
+
...
|
|
167
|
+
global___Vector3 = Vector3
|
|
168
|
+
|
|
169
|
+
@typing.final
|
|
170
|
+
class Sphere(google.protobuf.message.Message):
|
|
171
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
172
|
+
RADIUS_MM_FIELD_NUMBER: builtins.int
|
|
173
|
+
radius_mm: builtins.float
|
|
174
|
+
|
|
175
|
+
def __init__(self, *, radius_mm: builtins.float=...) -> None:
|
|
176
|
+
...
|
|
177
|
+
|
|
178
|
+
def ClearField(self, field_name: typing.Literal['radius_mm', b'radius_mm']) -> None:
|
|
179
|
+
...
|
|
180
|
+
global___Sphere = Sphere
|
|
181
|
+
|
|
182
|
+
@typing.final
|
|
183
|
+
class Capsule(google.protobuf.message.Message):
|
|
184
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
185
|
+
RADIUS_MM_FIELD_NUMBER: builtins.int
|
|
186
|
+
LENGTH_MM_FIELD_NUMBER: builtins.int
|
|
187
|
+
radius_mm: builtins.float
|
|
188
|
+
length_mm: builtins.float
|
|
189
|
+
|
|
190
|
+
def __init__(self, *, radius_mm: builtins.float=..., length_mm: builtins.float=...) -> None:
|
|
191
|
+
...
|
|
192
|
+
|
|
193
|
+
def ClearField(self, field_name: typing.Literal['length_mm', b'length_mm', 'radius_mm', b'radius_mm']) -> None:
|
|
194
|
+
...
|
|
195
|
+
global___Capsule = Capsule
|
|
196
|
+
|
|
197
|
+
@typing.final
|
|
198
|
+
class RectangularPrism(google.protobuf.message.Message):
|
|
199
|
+
"""RectangularPrism contains a Vector3 field corresponding to the X, Y, Z dimensions of the prism in mms
|
|
200
|
+
These dimensions are with respect to the referenceframe in which the RectangularPrism is defined
|
|
201
|
+
"""
|
|
202
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
203
|
+
DIMS_MM_FIELD_NUMBER: builtins.int
|
|
204
|
+
|
|
205
|
+
@property
|
|
206
|
+
def dims_mm(self) -> global___Vector3:
|
|
207
|
+
...
|
|
208
|
+
|
|
209
|
+
def __init__(self, *, dims_mm: global___Vector3 | None=...) -> None:
|
|
210
|
+
...
|
|
211
|
+
|
|
212
|
+
def HasField(self, field_name: typing.Literal['dims_mm', b'dims_mm']) -> builtins.bool:
|
|
213
|
+
...
|
|
214
|
+
|
|
215
|
+
def ClearField(self, field_name: typing.Literal['dims_mm', b'dims_mm']) -> None:
|
|
216
|
+
...
|
|
217
|
+
global___RectangularPrism = RectangularPrism
|
|
218
|
+
|
|
219
|
+
@typing.final
|
|
220
|
+
class Mesh(google.protobuf.message.Message):
|
|
221
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
222
|
+
CONTENT_TYPE_FIELD_NUMBER: builtins.int
|
|
223
|
+
MESH_FIELD_NUMBER: builtins.int
|
|
224
|
+
content_type: builtins.str
|
|
225
|
+
'Content type of mesh (e.g. ply)'
|
|
226
|
+
mesh: builtins.bytes
|
|
227
|
+
'Contents of mesh data in binary form defined by content_type'
|
|
228
|
+
|
|
229
|
+
def __init__(self, *, content_type: builtins.str=..., mesh: builtins.bytes=...) -> None:
|
|
230
|
+
...
|
|
231
|
+
|
|
232
|
+
def ClearField(self, field_name: typing.Literal['content_type', b'content_type', 'mesh', b'mesh']) -> None:
|
|
233
|
+
...
|
|
234
|
+
global___Mesh = Mesh
|
|
235
|
+
|
|
236
|
+
@typing.final
|
|
237
|
+
class Geometry(google.protobuf.message.Message):
|
|
238
|
+
"""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."""
|
|
239
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
240
|
+
CENTER_FIELD_NUMBER: builtins.int
|
|
241
|
+
SPHERE_FIELD_NUMBER: builtins.int
|
|
242
|
+
BOX_FIELD_NUMBER: builtins.int
|
|
243
|
+
CAPSULE_FIELD_NUMBER: builtins.int
|
|
244
|
+
MESH_FIELD_NUMBER: builtins.int
|
|
245
|
+
LABEL_FIELD_NUMBER: builtins.int
|
|
246
|
+
label: builtins.str
|
|
247
|
+
'Label of the geometry. If none supplied, will be an empty string.'
|
|
248
|
+
|
|
249
|
+
@property
|
|
250
|
+
def center(self) -> global___Pose:
|
|
251
|
+
"""Pose of a geometries center point"""
|
|
252
|
+
|
|
253
|
+
@property
|
|
254
|
+
def sphere(self) -> global___Sphere:
|
|
255
|
+
...
|
|
256
|
+
|
|
257
|
+
@property
|
|
258
|
+
def box(self) -> global___RectangularPrism:
|
|
259
|
+
...
|
|
260
|
+
|
|
261
|
+
@property
|
|
262
|
+
def capsule(self) -> global___Capsule:
|
|
263
|
+
...
|
|
264
|
+
|
|
265
|
+
@property
|
|
266
|
+
def mesh(self) -> global___Mesh:
|
|
267
|
+
...
|
|
268
|
+
|
|
269
|
+
def __init__(self, *, center: global___Pose | None=..., sphere: global___Sphere | None=..., box: global___RectangularPrism | None=..., capsule: global___Capsule | None=..., mesh: global___Mesh | None=..., label: builtins.str=...) -> None:
|
|
270
|
+
...
|
|
271
|
+
|
|
272
|
+
def HasField(self, field_name: typing.Literal['box', b'box', 'capsule', b'capsule', 'center', b'center', 'geometry_type', b'geometry_type', 'mesh', b'mesh', 'sphere', b'sphere']) -> builtins.bool:
|
|
273
|
+
...
|
|
274
|
+
|
|
275
|
+
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', 'sphere', b'sphere']) -> None:
|
|
276
|
+
...
|
|
277
|
+
|
|
278
|
+
def WhichOneof(self, oneof_group: typing.Literal['geometry_type', b'geometry_type']) -> typing.Literal['sphere', 'box', 'capsule', 'mesh'] | None:
|
|
279
|
+
...
|
|
280
|
+
global___Geometry = Geometry
|
|
281
|
+
|
|
282
|
+
@typing.final
|
|
283
|
+
class GeometriesInFrame(google.protobuf.message.Message):
|
|
284
|
+
"""GeometriesinFrame contains the dimensions of a given geometry, pose of its center point, and the reference frame by which it was
|
|
285
|
+
observed.
|
|
286
|
+
"""
|
|
287
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
288
|
+
REFERENCE_FRAME_FIELD_NUMBER: builtins.int
|
|
289
|
+
GEOMETRIES_FIELD_NUMBER: builtins.int
|
|
290
|
+
reference_frame: builtins.str
|
|
291
|
+
'Reference frame of the observer of the geometry'
|
|
292
|
+
|
|
293
|
+
@property
|
|
294
|
+
def geometries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Geometry]:
|
|
295
|
+
"""Dimensional type"""
|
|
296
|
+
|
|
297
|
+
def __init__(self, *, reference_frame: builtins.str=..., geometries: collections.abc.Iterable[global___Geometry] | None=...) -> None:
|
|
298
|
+
...
|
|
299
|
+
|
|
300
|
+
def ClearField(self, field_name: typing.Literal['geometries', b'geometries', 'reference_frame', b'reference_frame']) -> None:
|
|
301
|
+
...
|
|
302
|
+
global___GeometriesInFrame = GeometriesInFrame
|
|
303
|
+
|
|
304
|
+
@typing.final
|
|
305
|
+
class PointCloudObject(google.protobuf.message.Message):
|
|
306
|
+
"""PointCloudObject contains an image in bytes with point cloud data of all of the objects captured by a given observer as well as a
|
|
307
|
+
repeated list of geometries which respresents the center point and geometry of each of the objects within the point cloud
|
|
308
|
+
"""
|
|
309
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
310
|
+
POINT_CLOUD_FIELD_NUMBER: builtins.int
|
|
311
|
+
GEOMETRIES_FIELD_NUMBER: builtins.int
|
|
312
|
+
point_cloud: builtins.bytes
|
|
313
|
+
'image frame expressed in bytes'
|
|
314
|
+
|
|
315
|
+
@property
|
|
316
|
+
def geometries(self) -> global___GeometriesInFrame:
|
|
317
|
+
"""volume of a given geometry"""
|
|
318
|
+
|
|
319
|
+
def __init__(self, *, point_cloud: builtins.bytes=..., geometries: global___GeometriesInFrame | None=...) -> None:
|
|
320
|
+
...
|
|
321
|
+
|
|
322
|
+
def HasField(self, field_name: typing.Literal['geometries', b'geometries']) -> builtins.bool:
|
|
323
|
+
...
|
|
324
|
+
|
|
325
|
+
def ClearField(self, field_name: typing.Literal['geometries', b'geometries', 'point_cloud', b'point_cloud']) -> None:
|
|
326
|
+
...
|
|
327
|
+
global___PointCloudObject = PointCloudObject
|
|
328
|
+
|
|
329
|
+
@typing.final
|
|
330
|
+
class GeoPoint(google.protobuf.message.Message):
|
|
331
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
332
|
+
LATITUDE_FIELD_NUMBER: builtins.int
|
|
333
|
+
LONGITUDE_FIELD_NUMBER: builtins.int
|
|
334
|
+
latitude: builtins.float
|
|
335
|
+
longitude: builtins.float
|
|
336
|
+
|
|
337
|
+
def __init__(self, *, latitude: builtins.float=..., longitude: builtins.float=...) -> None:
|
|
338
|
+
...
|
|
339
|
+
|
|
340
|
+
def ClearField(self, field_name: typing.Literal['latitude', b'latitude', 'longitude', b'longitude']) -> None:
|
|
341
|
+
...
|
|
342
|
+
global___GeoPoint = GeoPoint
|
|
343
|
+
|
|
344
|
+
@typing.final
|
|
345
|
+
class GeoGeometry(google.protobuf.message.Message):
|
|
346
|
+
"""GeoGeometry contains information describing Geometry(s) that is located at a GeoPoint"""
|
|
347
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
348
|
+
LOCATION_FIELD_NUMBER: builtins.int
|
|
349
|
+
GEOMETRIES_FIELD_NUMBER: builtins.int
|
|
350
|
+
|
|
351
|
+
@property
|
|
352
|
+
def location(self) -> global___GeoPoint:
|
|
353
|
+
"""Location of the geometry"""
|
|
354
|
+
|
|
355
|
+
@property
|
|
356
|
+
def geometries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Geometry]:
|
|
357
|
+
"""Geometries associated with the location, where embedded Pose data is with respect to the specified location"""
|
|
358
|
+
|
|
359
|
+
def __init__(self, *, location: global___GeoPoint | None=..., geometries: collections.abc.Iterable[global___Geometry] | None=...) -> None:
|
|
360
|
+
...
|
|
361
|
+
|
|
362
|
+
def HasField(self, field_name: typing.Literal['location', b'location']) -> builtins.bool:
|
|
363
|
+
...
|
|
364
|
+
|
|
365
|
+
def ClearField(self, field_name: typing.Literal['geometries', b'geometries', 'location', b'location']) -> None:
|
|
366
|
+
...
|
|
367
|
+
global___GeoGeometry = GeoGeometry
|
|
368
|
+
|
|
369
|
+
@typing.final
|
|
370
|
+
class Transform(google.protobuf.message.Message):
|
|
371
|
+
"""Transform contains a pose and two reference frames. The first reference frame is the starting reference frame, and the second reference
|
|
372
|
+
frame is the observer reference frame. The second reference frame has a pose which represents the pose of an object in the first
|
|
373
|
+
reference frame as observed within the second reference frame.
|
|
374
|
+
"""
|
|
375
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
376
|
+
REFERENCE_FRAME_FIELD_NUMBER: builtins.int
|
|
377
|
+
POSE_IN_OBSERVER_FRAME_FIELD_NUMBER: builtins.int
|
|
378
|
+
PHYSICAL_OBJECT_FIELD_NUMBER: builtins.int
|
|
379
|
+
reference_frame: builtins.str
|
|
380
|
+
'the name of a given reference frame'
|
|
381
|
+
|
|
382
|
+
@property
|
|
383
|
+
def pose_in_observer_frame(self) -> global___PoseInFrame:
|
|
384
|
+
"""the pose of the above reference frame with respect to a different observer reference frame"""
|
|
385
|
+
|
|
386
|
+
@property
|
|
387
|
+
def physical_object(self) -> global___Geometry:
|
|
388
|
+
...
|
|
389
|
+
|
|
390
|
+
def __init__(self, *, reference_frame: builtins.str=..., pose_in_observer_frame: global___PoseInFrame | None=..., physical_object: global___Geometry | None=...) -> None:
|
|
391
|
+
...
|
|
392
|
+
|
|
393
|
+
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:
|
|
394
|
+
...
|
|
395
|
+
|
|
396
|
+
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:
|
|
397
|
+
...
|
|
398
|
+
|
|
399
|
+
def WhichOneof(self, oneof_group: typing.Literal['_physical_object', b'_physical_object']) -> typing.Literal['physical_object'] | None:
|
|
400
|
+
...
|
|
401
|
+
global___Transform = Transform
|
|
402
|
+
|
|
403
|
+
@typing.final
|
|
404
|
+
class WorldState(google.protobuf.message.Message):
|
|
405
|
+
"""WorldState contains information about the physical environment around a given robot. All of the fields within this message are optional,
|
|
406
|
+
they can include information about the physical dimensions of an obstacle, the freespace of a robot, and any desired transforms between a
|
|
407
|
+
given reference frame and a new target reference frame.
|
|
408
|
+
"""
|
|
409
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
410
|
+
OBSTACLES_FIELD_NUMBER: builtins.int
|
|
411
|
+
TRANSFORMS_FIELD_NUMBER: builtins.int
|
|
412
|
+
|
|
413
|
+
@property
|
|
414
|
+
def obstacles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GeometriesInFrame]:
|
|
415
|
+
"""a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional"""
|
|
416
|
+
|
|
417
|
+
@property
|
|
418
|
+
def transforms(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Transform]:
|
|
419
|
+
"""a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to
|
|
420
|
+
another, or to attach moving geometries to the frame system. This field is optional
|
|
421
|
+
"""
|
|
422
|
+
|
|
423
|
+
def __init__(self, *, obstacles: collections.abc.Iterable[global___GeometriesInFrame] | None=..., transforms: collections.abc.Iterable[global___Transform] | None=...) -> None:
|
|
424
|
+
...
|
|
425
|
+
|
|
426
|
+
def ClearField(self, field_name: typing.Literal['obstacles', b'obstacles', 'transforms', b'transforms']) -> None:
|
|
427
|
+
...
|
|
428
|
+
global___WorldState = WorldState
|
|
429
|
+
|
|
430
|
+
@typing.final
|
|
431
|
+
class ActuatorStatus(google.protobuf.message.Message):
|
|
432
|
+
"""ActuatorStatus is a generic status for resources that only need to return actuator status."""
|
|
433
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
434
|
+
IS_MOVING_FIELD_NUMBER: builtins.int
|
|
435
|
+
is_moving: builtins.bool
|
|
436
|
+
|
|
437
|
+
def __init__(self, *, is_moving: builtins.bool=...) -> None:
|
|
438
|
+
...
|
|
439
|
+
|
|
440
|
+
def ClearField(self, field_name: typing.Literal['is_moving', b'is_moving']) -> None:
|
|
441
|
+
...
|
|
442
|
+
global___ActuatorStatus = ActuatorStatus
|
|
443
|
+
|
|
444
|
+
@typing.final
|
|
445
|
+
class ResponseMetadata(google.protobuf.message.Message):
|
|
446
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
447
|
+
CAPTURED_AT_FIELD_NUMBER: builtins.int
|
|
448
|
+
|
|
449
|
+
@property
|
|
450
|
+
def captured_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
451
|
+
"""captured_at is the time at which the resource as close as physically possible, captured
|
|
452
|
+
the data in the response.
|
|
453
|
+
Note: If correlating between other resources, be sure that the means
|
|
454
|
+
of measuring the capture are similar enough such that comparison can be made between them.
|
|
455
|
+
"""
|
|
456
|
+
|
|
457
|
+
def __init__(self, *, captured_at: google.protobuf.timestamp_pb2.Timestamp | None=...) -> None:
|
|
458
|
+
...
|
|
459
|
+
|
|
460
|
+
def HasField(self, field_name: typing.Literal['_captured_at', b'_captured_at', 'captured_at', b'captured_at']) -> builtins.bool:
|
|
461
|
+
...
|
|
462
|
+
|
|
463
|
+
def ClearField(self, field_name: typing.Literal['_captured_at', b'_captured_at', 'captured_at', b'captured_at']) -> None:
|
|
464
|
+
...
|
|
465
|
+
|
|
466
|
+
def WhichOneof(self, oneof_group: typing.Literal['_captured_at', b'_captured_at']) -> typing.Literal['captured_at'] | None:
|
|
467
|
+
...
|
|
468
|
+
global___ResponseMetadata = ResponseMetadata
|
|
469
|
+
|
|
470
|
+
@typing.final
|
|
471
|
+
class DoCommandRequest(google.protobuf.message.Message):
|
|
472
|
+
"""DoCommandRequest represents a generic DoCommand input"""
|
|
473
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
474
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
475
|
+
COMMAND_FIELD_NUMBER: builtins.int
|
|
476
|
+
name: builtins.str
|
|
477
|
+
|
|
478
|
+
@property
|
|
479
|
+
def command(self) -> google.protobuf.struct_pb2.Struct:
|
|
480
|
+
...
|
|
481
|
+
|
|
482
|
+
def __init__(self, *, name: builtins.str=..., command: google.protobuf.struct_pb2.Struct | None=...) -> None:
|
|
483
|
+
...
|
|
484
|
+
|
|
485
|
+
def HasField(self, field_name: typing.Literal['command', b'command']) -> builtins.bool:
|
|
486
|
+
...
|
|
487
|
+
|
|
488
|
+
def ClearField(self, field_name: typing.Literal['command', b'command', 'name', b'name']) -> None:
|
|
489
|
+
...
|
|
490
|
+
global___DoCommandRequest = DoCommandRequest
|
|
491
|
+
|
|
492
|
+
@typing.final
|
|
493
|
+
class DoCommandResponse(google.protobuf.message.Message):
|
|
494
|
+
"""DoCommandResponse represents a generic DoCommand output"""
|
|
495
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
496
|
+
RESULT_FIELD_NUMBER: builtins.int
|
|
497
|
+
|
|
498
|
+
@property
|
|
499
|
+
def result(self) -> google.protobuf.struct_pb2.Struct:
|
|
500
|
+
...
|
|
501
|
+
|
|
502
|
+
def __init__(self, *, result: google.protobuf.struct_pb2.Struct | None=...) -> None:
|
|
503
|
+
...
|
|
504
|
+
|
|
505
|
+
def HasField(self, field_name: typing.Literal['result', b'result']) -> builtins.bool:
|
|
506
|
+
...
|
|
507
|
+
|
|
508
|
+
def ClearField(self, field_name: typing.Literal['result', b'result']) -> None:
|
|
509
|
+
...
|
|
510
|
+
global___DoCommandResponse = DoCommandResponse
|
|
511
|
+
|
|
512
|
+
@typing.final
|
|
513
|
+
class GetKinematicsRequest(google.protobuf.message.Message):
|
|
514
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
515
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
516
|
+
EXTRA_FIELD_NUMBER: builtins.int
|
|
517
|
+
name: builtins.str
|
|
518
|
+
'The component name'
|
|
519
|
+
|
|
520
|
+
@property
|
|
521
|
+
def extra(self) -> google.protobuf.struct_pb2.Struct:
|
|
522
|
+
"""Additional arguments to the method"""
|
|
523
|
+
|
|
524
|
+
def __init__(self, *, name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
|
|
525
|
+
...
|
|
526
|
+
|
|
527
|
+
def HasField(self, field_name: typing.Literal['extra', b'extra']) -> builtins.bool:
|
|
528
|
+
...
|
|
529
|
+
|
|
530
|
+
def ClearField(self, field_name: typing.Literal['extra', b'extra', 'name', b'name']) -> None:
|
|
531
|
+
...
|
|
532
|
+
global___GetKinematicsRequest = GetKinematicsRequest
|
|
533
|
+
|
|
534
|
+
@typing.final
|
|
535
|
+
class GetKinematicsResponse(google.protobuf.message.Message):
|
|
536
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
537
|
+
FORMAT_FIELD_NUMBER: builtins.int
|
|
538
|
+
KINEMATICS_DATA_FIELD_NUMBER: builtins.int
|
|
539
|
+
format: global___KinematicsFileFormat.ValueType
|
|
540
|
+
'The kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra)\n https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parameters\n '
|
|
541
|
+
kinematics_data: builtins.bytes
|
|
542
|
+
'The byte contents of the file'
|
|
543
|
+
|
|
544
|
+
def __init__(self, *, format: global___KinematicsFileFormat.ValueType=..., kinematics_data: builtins.bytes=...) -> None:
|
|
545
|
+
...
|
|
546
|
+
|
|
547
|
+
def ClearField(self, field_name: typing.Literal['format', b'format', 'kinematics_data', b'kinematics_data']) -> None:
|
|
548
|
+
...
|
|
549
|
+
global___GetKinematicsResponse = GetKinematicsResponse
|
|
550
|
+
|
|
551
|
+
@typing.final
|
|
552
|
+
class GetGeometriesRequest(google.protobuf.message.Message):
|
|
553
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
554
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
555
|
+
EXTRA_FIELD_NUMBER: builtins.int
|
|
556
|
+
name: builtins.str
|
|
557
|
+
'The component name'
|
|
558
|
+
|
|
559
|
+
@property
|
|
560
|
+
def extra(self) -> google.protobuf.struct_pb2.Struct:
|
|
561
|
+
"""Additional arguments to the method"""
|
|
562
|
+
|
|
563
|
+
def __init__(self, *, name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
|
|
564
|
+
...
|
|
565
|
+
|
|
566
|
+
def HasField(self, field_name: typing.Literal['extra', b'extra']) -> builtins.bool:
|
|
567
|
+
...
|
|
568
|
+
|
|
569
|
+
def ClearField(self, field_name: typing.Literal['extra', b'extra', 'name', b'name']) -> None:
|
|
570
|
+
...
|
|
571
|
+
global___GetGeometriesRequest = GetGeometriesRequest
|
|
572
|
+
|
|
573
|
+
@typing.final
|
|
574
|
+
class GetGeometriesResponse(google.protobuf.message.Message):
|
|
575
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
576
|
+
GEOMETRIES_FIELD_NUMBER: builtins.int
|
|
577
|
+
|
|
578
|
+
@property
|
|
579
|
+
def geometries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Geometry]:
|
|
580
|
+
"""All geometries associated with the component, in their current configuration, in the frame of that component."""
|
|
581
|
+
|
|
582
|
+
def __init__(self, *, geometries: collections.abc.Iterable[global___Geometry] | None=...) -> None:
|
|
583
|
+
...
|
|
584
|
+
|
|
585
|
+
def ClearField(self, field_name: typing.Literal['geometries', b'geometries']) -> None:
|
|
586
|
+
...
|
|
587
|
+
global___GetGeometriesResponse = GetGeometriesResponse
|
|
588
|
+
|
|
589
|
+
@typing.final
|
|
590
|
+
class GetReadingsRequest(google.protobuf.message.Message):
|
|
591
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
592
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
593
|
+
EXTRA_FIELD_NUMBER: builtins.int
|
|
594
|
+
name: builtins.str
|
|
595
|
+
'Name of a sensor'
|
|
596
|
+
|
|
597
|
+
@property
|
|
598
|
+
def extra(self) -> google.protobuf.struct_pb2.Struct:
|
|
599
|
+
"""Additional arguments to the method"""
|
|
600
|
+
|
|
601
|
+
def __init__(self, *, name: builtins.str=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
|
|
602
|
+
...
|
|
603
|
+
|
|
604
|
+
def HasField(self, field_name: typing.Literal['extra', b'extra']) -> builtins.bool:
|
|
605
|
+
...
|
|
606
|
+
|
|
607
|
+
def ClearField(self, field_name: typing.Literal['extra', b'extra', 'name', b'name']) -> None:
|
|
608
|
+
...
|
|
609
|
+
global___GetReadingsRequest = GetReadingsRequest
|
|
610
|
+
|
|
611
|
+
@typing.final
|
|
612
|
+
class GetReadingsResponse(google.protobuf.message.Message):
|
|
613
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
614
|
+
|
|
615
|
+
@typing.final
|
|
616
|
+
class ReadingsEntry(google.protobuf.message.Message):
|
|
617
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
618
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
619
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
620
|
+
key: builtins.str
|
|
621
|
+
|
|
622
|
+
@property
|
|
623
|
+
def value(self) -> google.protobuf.struct_pb2.Value:
|
|
624
|
+
...
|
|
625
|
+
|
|
626
|
+
def __init__(self, *, key: builtins.str=..., value: google.protobuf.struct_pb2.Value | None=...) -> None:
|
|
627
|
+
...
|
|
628
|
+
|
|
629
|
+
def HasField(self, field_name: typing.Literal['value', b'value']) -> builtins.bool:
|
|
630
|
+
...
|
|
631
|
+
|
|
632
|
+
def ClearField(self, field_name: typing.Literal['key', b'key', 'value', b'value']) -> None:
|
|
633
|
+
...
|
|
634
|
+
READINGS_FIELD_NUMBER: builtins.int
|
|
635
|
+
|
|
636
|
+
@property
|
|
637
|
+
def readings(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, google.protobuf.struct_pb2.Value]:
|
|
638
|
+
...
|
|
639
|
+
|
|
640
|
+
def __init__(self, *, readings: collections.abc.Mapping[builtins.str, google.protobuf.struct_pb2.Value] | None=...) -> None:
|
|
641
|
+
...
|
|
642
|
+
|
|
643
|
+
def ClearField(self, field_name: typing.Literal['readings', b'readings']) -> None:
|
|
644
|
+
...
|
|
645
|
+
global___GetReadingsResponse = GetReadingsResponse
|
|
646
|
+
|
|
647
|
+
@typing.final
|
|
648
|
+
class LogEntry(google.protobuf.message.Message):
|
|
649
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
650
|
+
HOST_FIELD_NUMBER: builtins.int
|
|
651
|
+
LEVEL_FIELD_NUMBER: builtins.int
|
|
652
|
+
TIME_FIELD_NUMBER: builtins.int
|
|
653
|
+
LOGGER_NAME_FIELD_NUMBER: builtins.int
|
|
654
|
+
MESSAGE_FIELD_NUMBER: builtins.int
|
|
655
|
+
CALLER_FIELD_NUMBER: builtins.int
|
|
656
|
+
STACK_FIELD_NUMBER: builtins.int
|
|
657
|
+
FIELDS_FIELD_NUMBER: builtins.int
|
|
658
|
+
host: builtins.str
|
|
659
|
+
level: builtins.str
|
|
660
|
+
logger_name: builtins.str
|
|
661
|
+
message: builtins.str
|
|
662
|
+
stack: builtins.str
|
|
663
|
+
|
|
664
|
+
@property
|
|
665
|
+
def time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
666
|
+
...
|
|
667
|
+
|
|
668
|
+
@property
|
|
669
|
+
def caller(self) -> google.protobuf.struct_pb2.Struct:
|
|
670
|
+
...
|
|
671
|
+
|
|
672
|
+
@property
|
|
673
|
+
def fields(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Struct]:
|
|
674
|
+
...
|
|
675
|
+
|
|
676
|
+
def __init__(self, *, host: builtins.str=..., level: builtins.str=..., time: google.protobuf.timestamp_pb2.Timestamp | None=..., logger_name: builtins.str=..., message: builtins.str=..., caller: google.protobuf.struct_pb2.Struct | None=..., stack: builtins.str=..., fields: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=...) -> None:
|
|
677
|
+
...
|
|
678
|
+
|
|
679
|
+
def HasField(self, field_name: typing.Literal['caller', b'caller', 'time', b'time']) -> builtins.bool:
|
|
680
|
+
...
|
|
681
|
+
|
|
682
|
+
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:
|
|
683
|
+
...
|
|
684
|
+
global___LogEntry = LogEntry
|
|
685
|
+
SAFETY_HEARTBEAT_MONITORED_FIELD_NUMBER: builtins.int
|
|
686
|
+
safety_heartbeat_monitored: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[google.protobuf.descriptor_pb2.MethodOptions, builtins.bool]
|
|
687
|
+
'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'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|