@viamrobotics/sdk 0.25.0 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-version.d.ts +1 -1
- package/dist/app/app-client.d.ts +93 -90
- package/dist/app/billing-client.d.ts +7 -8
- package/dist/app/billing-client.spec.d.ts +1 -0
- package/dist/app/data-client.d.ts +42 -50
- package/dist/app/data-client.spec.d.ts +1 -0
- package/dist/app/ml-training-client.d.ts +9 -14
- package/dist/app/ml-training-client.spec.d.ts +1 -0
- package/dist/app/provisioning-client.d.ts +7 -7
- package/dist/app/provisioning-client.spec.d.ts +1 -0
- package/dist/app/viam-client.d.ts +13 -15
- package/dist/app/viam-transport.d.ts +4 -12
- package/dist/components/arm/arm.d.ts +10 -8
- package/dist/components/arm/client.d.ts +6 -6
- package/dist/components/arm.d.ts +1 -1
- package/dist/components/base/base.d.ts +11 -10
- package/dist/components/base/client.d.ts +4 -5
- package/dist/components/base.d.ts +1 -1
- package/dist/components/board/board.d.ts +17 -21
- package/dist/components/board/client.d.ts +7 -8
- package/dist/components/board/client.spec.d.ts +1 -0
- package/dist/components/board.d.ts +1 -1
- package/dist/components/camera/camera.d.ts +2 -2
- package/dist/components/camera/client.d.ts +4 -5
- package/dist/components/encoder/client.d.ts +6 -7
- package/dist/components/encoder/encoder.d.ts +9 -10
- package/dist/components/encoder.d.ts +1 -2
- package/dist/components/gantry/client.d.ts +3 -3
- package/dist/components/gantry/gantry.d.ts +7 -6
- package/dist/components/generic/client.d.ts +3 -3
- package/dist/components/gripper/client.d.ts +3 -3
- package/dist/components/gripper/gripper.d.ts +5 -4
- package/dist/components/input-controller/client.d.ts +5 -6
- package/dist/components/input-controller/input-controller.d.ts +7 -5
- package/dist/components/inputcontroller.d.ts +1 -1
- package/dist/components/motor/client.d.ts +3 -3
- package/dist/components/motor/motor.d.ts +11 -10
- package/dist/components/movement-sensor/client.d.ts +11 -12
- package/dist/components/movement-sensor/client.spec.d.ts +1 -0
- package/dist/components/movement-sensor/movement-sensor.d.ts +16 -14
- package/dist/components/movementsensor.d.ts +1 -1
- package/dist/components/power-sensor/client.d.ts +4 -4
- package/dist/components/power-sensor/client.spec.d.ts +1 -0
- package/dist/components/power-sensor/power-sensor.d.ts +5 -5
- package/dist/components/sensor/client.d.ts +4 -4
- package/dist/components/sensor/sensor.d.ts +3 -2
- package/dist/components/servo/client.d.ts +5 -5
- package/dist/components/servo/servo.d.ts +5 -4
- package/dist/extra/stream/client.d.ts +0 -1
- package/dist/extra/stream/client.spec.d.ts +1 -0
- package/dist/gen/app/agent/v1/agent_connect.d.ts +28 -0
- package/dist/gen/app/agent/v1/agent_pb.d.ts +244 -153
- package/dist/gen/app/build/v1/build_connect.d.ts +129 -0
- package/dist/gen/app/build/v1/build_pb.d.ts +668 -493
- package/dist/gen/app/cloudslam/v1/cloud_slam_connect.d.ts +71 -0
- package/dist/gen/app/cloudslam/v1/cloud_slam_pb.d.ts +548 -420
- package/dist/gen/app/data/v1/data_connect.d.ts +252 -0
- package/dist/gen/app/data/v1/data_pb.d.ts +1672 -1331
- package/dist/gen/app/dataset/v1/dataset_connect.d.ts +74 -0
- package/dist/gen/app/dataset/v1/dataset_pb.d.ts +272 -213
- package/dist/gen/app/datasync/v1/data_sync_connect.d.ts +52 -0
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +457 -376
- package/dist/gen/app/mlinference/v1/ml_inference_connect.d.ts +26 -0
- package/dist/gen/app/mlinference/v1/ml_inference_pb.d.ts +71 -0
- package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +94 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +566 -429
- package/dist/gen/app/packages/v1/packages_connect.d.ts +64 -0
- package/dist/gen/app/packages/v1/packages_pb.d.ts +396 -336
- package/dist/gen/app/v1/app_connect.d.ts +788 -0
- package/dist/gen/app/v1/app_pb.d.ts +5593 -4578
- package/dist/gen/app/v1/billing_connect.d.ts +72 -0
- package/dist/gen/app/v1/billing_pb.d.ts +564 -394
- package/dist/gen/app/v1/end_user_connect.d.ts +73 -0
- package/dist/gen/app/v1/end_user_pb.d.ts +292 -244
- package/dist/gen/app/v1/robot_connect.d.ts +63 -0
- package/dist/gen/app/v1/robot_pb.d.ts +1608 -1289
- package/dist/gen/common/v1/common_pb.d.ts +886 -662
- package/dist/gen/component/arm/v1/arm_connect.d.ts +121 -0
- package/dist/gen/component/arm/v1/arm_pb.d.ts +371 -294
- package/dist/gen/component/audioinput/v1/audioinput_connect.d.ts +78 -0
- package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +246 -189
- package/dist/gen/component/base/v1/base_connect.d.ts +122 -0
- package/dist/gen/component/base/v1/base_pb.d.ts +393 -307
- package/dist/gen/component/board/v1/board_connect.d.ts +161 -0
- package/dist/gen/component/board/v1/board_pb.d.ts +684 -535
- package/dist/gen/component/camera/v1/camera_connect.d.ts +99 -0
- package/dist/gen/component/camera/v1/camera_pb.d.ts +549 -399
- package/dist/gen/component/encoder/v1/encoder_connect.d.ts +71 -0
- package/dist/gen/component/encoder/v1/encoder_pb.d.ts +201 -144
- package/dist/gen/component/gantry/v1/gantry_connect.d.ts +108 -0
- package/dist/gen/component/gantry/v1/gantry_pb.d.ts +334 -279
- package/dist/gen/component/generic/v1/generic_connect.d.ts +41 -0
- package/dist/gen/component/gripper/v1/gripper_connect.d.ts +86 -0
- package/dist/gen/component/gripper/v1/gripper_pb.d.ts +188 -160
- package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +87 -0
- package/dist/gen/component/inputcontroller/v1/input_controller_pb.d.ts +334 -264
- package/dist/gen/component/motor/v1/motor_connect.d.ts +162 -0
- package/dist/gen/component/motor/v1/motor_pb.d.ts +577 -432
- package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +121 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +476 -379
- package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +53 -0
- package/dist/gen/component/posetracker/v1/pose_tracker_pb.d.ts +71 -53
- package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +75 -0
- package/dist/gen/component/powersensor/v1/powersensor_pb.d.ts +181 -136
- package/dist/gen/component/sensor/v1/sensor_connect.d.ts +52 -0
- package/dist/gen/component/servo/v1/servo_connect.d.ts +87 -0
- package/dist/gen/component/servo/v1/servo_pb.d.ts +228 -179
- package/dist/gen/component/testecho/v1/testecho_connect.d.ts +53 -0
- package/dist/gen/component/testecho/v1/testecho_pb.d.ts +186 -150
- package/dist/gen/google/api/annotations_pb.d.ts +26 -6
- package/dist/gen/google/api/client_pb.d.ts +895 -453
- package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +758 -438
- package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +236 -132
- package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +98 -54
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +943 -554
- package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +274 -197
- package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +200 -131
- package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +262 -151
- package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +614 -402
- package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +115 -56
- package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +275 -197
- package/dist/gen/google/api/field_behavior_pb.d.ts +139 -19
- package/dist/gen/google/api/field_info_pb.d.ts +169 -56
- package/dist/gen/google/api/http_pb.d.ts +480 -127
- package/dist/gen/google/api/httpbody_pb.d.ts +104 -35
- package/dist/gen/google/api/launch_stage_pb.d.ts +102 -16
- package/dist/gen/google/api/resource_pb.d.ts +334 -88
- package/dist/gen/google/api/visibility_pb.d.ts +157 -52
- package/dist/gen/google/bytestream/bytestream_connect.d.ts +124 -0
- package/dist/gen/google/bytestream/bytestream_pb.d.ts +241 -130
- package/dist/gen/google/geo/type/viewport_pb.d.ts +90 -31
- package/dist/gen/google/longrunning/operations_connect.d.ts +127 -0
- package/dist/gen/google/longrunning/operations_pb.d.ts +351 -202
- package/dist/gen/google/rpc/code_pb.d.ts +252 -25
- package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +664 -352
- package/dist/gen/google/rpc/error_details_pb.d.ts +604 -311
- package/dist/gen/google/rpc/status_pb.d.ts +72 -33
- package/dist/gen/google/type/calendar_period_pb.d.ts +86 -16
- package/dist/gen/google/type/color_pb.d.ts +201 -37
- package/dist/gen/google/type/date_pb.d.ts +72 -25
- package/dist/gen/google/type/datetime_pb.d.ts +176 -83
- package/dist/gen/google/type/dayofweek_pb.d.ts +80 -16
- package/dist/gen/google/type/decimal_pb.d.ts +112 -22
- package/dist/gen/google/type/expr_pb.d.ts +97 -28
- package/dist/gen/google/type/fraction_pb.d.ts +55 -26
- package/dist/gen/google/type/interval_pb.d.ts +65 -31
- package/dist/gen/google/type/latlng_pb.d.ts +58 -26
- package/dist/gen/google/type/localized_text_pb.d.ts +57 -26
- package/dist/gen/google/type/money_pb.d.ts +62 -25
- package/dist/gen/google/type/month_pb.d.ts +115 -21
- package/dist/gen/google/type/phone_number_pb.d.ts +169 -64
- package/dist/gen/google/type/postal_address_pb.d.ts +178 -53
- package/dist/gen/google/type/quaternion_pb.d.ts +117 -28
- package/dist/gen/google/type/timeofday_pb.d.ts +67 -28
- package/dist/gen/proto/rpc/examples/echo/v1/echo_connect.d.ts +44 -0
- package/dist/gen/proto/rpc/examples/echo/v1/echo_pb.d.ts +134 -108
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_connect.d.ts +44 -0
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb.d.ts +149 -119
- package/dist/gen/proto/rpc/v1/auth_connect.d.ts +69 -0
- package/dist/gen/proto/rpc/v1/auth_pb.d.ts +145 -101
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +349 -291
- package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +78 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +676 -529
- package/dist/gen/provisioning/v1/provisioning_connect.d.ts +63 -0
- package/dist/gen/provisioning/v1/provisioning_pb.d.ts +285 -231
- package/dist/gen/robot/v1/robot_connect.d.ts +239 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +1332 -1087
- package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +42 -0
- package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +52 -44
- package/dist/gen/service/generic/v1/generic_connect.d.ts +30 -0
- package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +42 -0
- package/dist/gen/service/mlmodel/v1/mlmodel_pb.d.ts +620 -510
- package/dist/gen/service/motion/v1/motion_connect.d.ts +118 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +1063 -795
- package/dist/gen/service/navigation/v1/navigation_connect.d.ts +115 -0
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +567 -435
- package/dist/gen/service/sensors/v1/sensors_connect.d.ts +58 -0
- package/dist/gen/service/sensors/v1/sensors_pb.d.ts +154 -120
- package/dist/gen/service/shell/v1/shell_connect.d.ts +78 -0
- package/dist/gen/service/shell/v1/shell_pb.d.ts +423 -309
- package/dist/gen/service/slam/v1/slam_connect.d.ts +81 -0
- package/dist/gen/service/slam/v1/slam_pb.d.ts +305 -204
- package/dist/gen/service/vision/v1/vision_connect.d.ts +108 -0
- package/dist/gen/service/vision/v1/vision_pb.d.ts +615 -471
- package/dist/gen/stream/v1/stream_connect.d.ts +56 -0
- package/dist/gen/stream/v1/stream_pb.d.ts +131 -97
- package/dist/gen/tagger/v1/tagger_pb.d.ts +17 -6
- package/dist/main.d.ts +81 -92
- package/dist/main.es.js +21120 -69216
- package/dist/main.umd.js +6 -13
- package/dist/robot/client.d.ts +990 -59
- package/dist/robot/dial.d.ts +2 -4
- package/dist/robot/grpc-connection-manager.d.ts +5 -7
- package/dist/robot/grpc-connection-manager.spec.d.ts +1 -0
- package/dist/robot/robot.d.ts +9 -10
- package/dist/robot/session-manager.d.ts +6 -8
- package/dist/robot/session-manager.spec.d.ts +1 -0
- package/dist/robot/session-transport.d.ts +8 -11
- package/dist/robot.d.ts +2 -2
- package/dist/rpc/base-channel.d.ts +2 -2
- package/dist/rpc/base-stream.d.ts +3 -6
- package/dist/rpc/client-channel.d.ts +5 -3
- package/dist/rpc/client-stream.d.ts +26 -12
- package/dist/rpc/dial.d.ts +49 -9
- package/dist/rpc/index.d.ts +3 -5
- package/dist/rpc/signaling-exchange.d.ts +33 -0
- package/dist/rpc/stream-client-stream.d.ts +16 -0
- package/dist/rpc/unary-client-stream.d.ts +13 -0
- package/dist/services/data-manager/client.d.ts +3 -3
- package/dist/services/data-manager/data-manager.d.ts +3 -2
- package/dist/services/generic/client.d.ts +3 -3
- package/dist/services/motion/client.d.ts +7 -8
- package/dist/services/motion/client.spec.d.ts +1 -0
- package/dist/services/motion/motion.d.ts +10 -9
- package/dist/services/motion/types.d.ts +12 -16
- package/dist/services/motion.d.ts +2 -2
- package/dist/services/navigation/client.d.ts +11 -12
- package/dist/services/navigation/client.spec.d.ts +1 -0
- package/dist/services/navigation/navigation.d.ts +11 -10
- package/dist/services/navigation/types.d.ts +8 -6
- package/dist/services/navigation.d.ts +2 -2
- package/dist/services/slam/client.d.ts +5 -6
- package/dist/services/slam/client.spec.d.ts +1 -0
- package/dist/services/slam/types.d.ts +4 -3
- package/dist/services/slam.d.ts +2 -2
- package/dist/services/vision/client.d.ts +13 -19
- package/dist/services/vision/types.d.ts +10 -7
- package/dist/services/vision/vision.d.ts +10 -9
- package/dist/services/vision.d.ts +2 -2
- package/dist/types.d.ts +21 -18
- package/dist/utils.d.ts +7 -37
- package/package.json +11 -8
- package/dist/gen/app/agent/v1/agent_pb_service.d.ts +0 -63
- package/dist/gen/app/build/v1/build_pb_service.d.ts +0 -226
- package/dist/gen/app/cloudslam/v1/cloud_slam_pb_service.d.ts +0 -158
- package/dist/gen/app/data/v1/data_pb_service.d.ts +0 -443
- package/dist/gen/app/dataset/v1/dataset_pb_service.d.ts +0 -139
- package/dist/gen/app/datasync/v1/data_sync_pb_service.d.ts +0 -85
- package/dist/gen/app/mltraining/v1/ml_training_pb_service.d.ts +0 -177
- package/dist/gen/app/packages/v1/packages_pb_service.d.ts +0 -112
- package/dist/gen/app/v1/app_pb_service.d.ts +0 -1415
- package/dist/gen/app/v1/billing_pb_service.d.ts +0 -131
- package/dist/gen/app/v1/end_user_pb_service.d.ts +0 -139
- package/dist/gen/app/v1/robot_pb_service.d.ts +0 -120
- package/dist/gen/common/v1/common_pb_service.d.ts +0 -3
- package/dist/gen/component/arm/v1/arm_pb_service.d.ts +0 -216
- package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +0 -133
- package/dist/gen/component/base/v1/base_pb_service.d.ts +0 -216
- package/dist/gen/component/board/v1/board_pb_service.d.ts +0 -284
- package/dist/gen/component/camera/v1/camera_pb_service.d.ts +0 -179
- package/dist/gen/component/encoder/v1/encoder_pb_service.d.ts +0 -140
- package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +0 -197
- package/dist/gen/component/generic/v1/generic_pb.d.ts +0 -7
- package/dist/gen/component/generic/v1/generic_pb_service.d.ts +0 -83
- package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +0 -159
- package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +0 -151
- package/dist/gen/component/motor/v1/motor_pb_service.d.ts +0 -273
- package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +0 -254
- package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +0 -102
- package/dist/gen/component/powersensor/v1/powersensor_pb_service.d.ts +0 -140
- package/dist/gen/component/sensor/v1/sensor_pb.d.ts +0 -7
- package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +0 -102
- package/dist/gen/component/servo/v1/servo_pb_service.d.ts +0 -159
- package/dist/gen/component/testecho/v1/testecho_pb_service.d.ts +0 -104
- package/dist/gen/google/api/annotations_pb_service.d.ts +0 -3
- package/dist/gen/google/api/client_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/checked_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/eval_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/explain_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/value_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/decl_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/eval_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/expr_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/source_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/value_pb_service.d.ts +0 -3
- package/dist/gen/google/api/field_behavior_pb_service.d.ts +0 -3
- package/dist/gen/google/api/field_info_pb_service.d.ts +0 -3
- package/dist/gen/google/api/http_pb_service.d.ts +0 -3
- package/dist/gen/google/api/httpbody_pb_service.d.ts +0 -3
- package/dist/gen/google/api/launch_stage_pb_service.d.ts +0 -3
- package/dist/gen/google/api/resource_pb_service.d.ts +0 -3
- package/dist/gen/google/api/visibility_pb_service.d.ts +0 -3
- package/dist/gen/google/bytestream/bytestream_pb_service.d.ts +0 -85
- package/dist/gen/google/geo/type/viewport_pb_service.d.ts +0 -3
- package/dist/gen/google/longrunning/operations_pb_service.d.ts +0 -140
- package/dist/gen/google/rpc/code_pb_service.d.ts +0 -3
- package/dist/gen/google/rpc/context/attribute_context_pb_service.d.ts +0 -3
- package/dist/gen/google/rpc/error_details_pb_service.d.ts +0 -3
- package/dist/gen/google/rpc/status_pb_service.d.ts +0 -3
- package/dist/gen/google/type/calendar_period_pb_service.d.ts +0 -3
- package/dist/gen/google/type/color_pb_service.d.ts +0 -3
- package/dist/gen/google/type/date_pb_service.d.ts +0 -3
- package/dist/gen/google/type/datetime_pb_service.d.ts +0 -3
- package/dist/gen/google/type/dayofweek_pb_service.d.ts +0 -3
- package/dist/gen/google/type/decimal_pb_service.d.ts +0 -3
- package/dist/gen/google/type/expr_pb_service.d.ts +0 -3
- package/dist/gen/google/type/fraction_pb_service.d.ts +0 -3
- package/dist/gen/google/type/interval_pb_service.d.ts +0 -3
- package/dist/gen/google/type/latlng_pb_service.d.ts +0 -3
- package/dist/gen/google/type/localized_text_pb_service.d.ts +0 -3
- package/dist/gen/google/type/money_pb_service.d.ts +0 -3
- package/dist/gen/google/type/month_pb_service.d.ts +0 -3
- package/dist/gen/google/type/phone_number_pb_service.d.ts +0 -3
- package/dist/gen/google/type/postal_address_pb_service.d.ts +0 -3
- package/dist/gen/google/type/quaternion_pb_service.d.ts +0 -3
- package/dist/gen/google/type/timeofday_pb_service.d.ts +0 -3
- package/dist/gen/proto/rpc/examples/echo/v1/echo_pb_service.d.ts +0 -85
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb_service.d.ts +0 -85
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +0 -66
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +0 -55
- package/dist/gen/proto/rpc/v1/auth_pb_service.d.ts +0 -92
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb_service.d.ts +0 -3
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb_service.d.ts +0 -104
- package/dist/gen/provisioning/v1/provisioning_pb_service.d.ts +0 -120
- package/dist/gen/robot/v1/robot_pb_service.d.ts +0 -435
- package/dist/gen/service/datamanager/v1/data_manager_pb_service.d.ts +0 -83
- package/dist/gen/service/generic/v1/generic_pb.d.ts +0 -7
- package/dist/gen/service/generic/v1/generic_pb_service.d.ts +0 -64
- package/dist/gen/service/mlmodel/v1/mlmodel_pb_service.d.ts +0 -82
- package/dist/gen/service/motion/v1/motion_pb_service.d.ts +0 -197
- package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +0 -235
- package/dist/gen/service/sensors/v1/sensors_pb_service.d.ts +0 -102
- package/dist/gen/service/shell/v1/shell_pb_service.d.ts +0 -97
- package/dist/gen/service/slam/v1/slam_pb_service.d.ts +0 -124
- package/dist/gen/service/vision/v1/vision_pb_service.d.ts +0 -197
- package/dist/gen/stream/v1/stream_pb_service.d.ts +0 -101
- package/dist/gen/tagger/v1/tagger_pb_service.d.ts +0 -3
- package/dist/responses.d.ts +0 -8
- package/dist/rpc/grpc-error.d.ts +0 -6
|
@@ -1,498 +1,643 @@
|
|
|
1
|
-
//
|
|
2
|
-
// file
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
20
|
-
|
|
21
|
-
serializeBinary(): Uint8Array;
|
|
22
|
-
toObject(includeInstance?: boolean): SetPowerRequest.AsObject;
|
|
23
|
-
static toObject(includeInstance: boolean, msg: SetPowerRequest): SetPowerRequest.AsObject;
|
|
24
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
25
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
26
|
-
static serializeBinaryToWriter(message: SetPowerRequest, writer: jspb.BinaryWriter): void;
|
|
27
|
-
static deserializeBinary(bytes: Uint8Array): SetPowerRequest;
|
|
28
|
-
static deserializeBinaryFromReader(message: SetPowerRequest, reader: jspb.BinaryReader): SetPowerRequest;
|
|
29
|
-
}
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0
|
|
2
|
+
// @generated from file component/motor/v1/motor.proto (package viam.component.motor.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message viam.component.motor.v1.SetPowerRequest
|
|
11
|
+
*/
|
|
12
|
+
export declare class SetPowerRequest extends Message<SetPowerRequest> {
|
|
13
|
+
/**
|
|
14
|
+
* Name of a motor
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string name = 1;
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
30
19
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
20
|
+
/**
|
|
21
|
+
* Percentage of motor's power, between -1 and 1
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: double power_pct = 2;
|
|
24
|
+
*/
|
|
25
|
+
powerPct: number;
|
|
38
26
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
static serializeBinaryToWriter(message: SetPowerResponse, writer: jspb.BinaryWriter): void;
|
|
46
|
-
static deserializeBinary(bytes: Uint8Array): SetPowerResponse;
|
|
47
|
-
static deserializeBinaryFromReader(message: SetPowerResponse, reader: jspb.BinaryReader): SetPowerResponse;
|
|
48
|
-
}
|
|
27
|
+
/**
|
|
28
|
+
* Additional arguments to the method
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
31
|
+
*/
|
|
32
|
+
extra?: Struct;
|
|
49
33
|
|
|
50
|
-
|
|
51
|
-
export type AsObject = {
|
|
52
|
-
}
|
|
53
|
-
}
|
|
34
|
+
constructor(data?: PartialMessage<SetPowerRequest>);
|
|
54
35
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
getRpm(): number;
|
|
60
|
-
setRpm(value: number): void;
|
|
61
|
-
|
|
62
|
-
getRevolutions(): number;
|
|
63
|
-
setRevolutions(value: number): void;
|
|
64
|
-
|
|
65
|
-
hasExtra(): boolean;
|
|
66
|
-
clearExtra(): void;
|
|
67
|
-
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
68
|
-
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
69
|
-
|
|
70
|
-
serializeBinary(): Uint8Array;
|
|
71
|
-
toObject(includeInstance?: boolean): GoForRequest.AsObject;
|
|
72
|
-
static toObject(includeInstance: boolean, msg: GoForRequest): GoForRequest.AsObject;
|
|
73
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
74
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
75
|
-
static serializeBinaryToWriter(message: GoForRequest, writer: jspb.BinaryWriter): void;
|
|
76
|
-
static deserializeBinary(bytes: Uint8Array): GoForRequest;
|
|
77
|
-
static deserializeBinaryFromReader(message: GoForRequest, reader: jspb.BinaryReader): GoForRequest;
|
|
78
|
-
}
|
|
36
|
+
static readonly runtime: typeof proto3;
|
|
37
|
+
static readonly typeName = "viam.component.motor.v1.SetPowerRequest";
|
|
38
|
+
static readonly fields: FieldList;
|
|
79
39
|
|
|
80
|
-
|
|
81
|
-
export type AsObject = {
|
|
82
|
-
name: string,
|
|
83
|
-
rpm: number,
|
|
84
|
-
revolutions: number,
|
|
85
|
-
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
86
|
-
}
|
|
87
|
-
}
|
|
40
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetPowerRequest;
|
|
88
41
|
|
|
89
|
-
|
|
90
|
-
serializeBinary(): Uint8Array;
|
|
91
|
-
toObject(includeInstance?: boolean): GoForResponse.AsObject;
|
|
92
|
-
static toObject(includeInstance: boolean, msg: GoForResponse): GoForResponse.AsObject;
|
|
93
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
94
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
95
|
-
static serializeBinaryToWriter(message: GoForResponse, writer: jspb.BinaryWriter): void;
|
|
96
|
-
static deserializeBinary(bytes: Uint8Array): GoForResponse;
|
|
97
|
-
static deserializeBinaryFromReader(message: GoForResponse, reader: jspb.BinaryReader): GoForResponse;
|
|
98
|
-
}
|
|
42
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetPowerRequest;
|
|
99
43
|
|
|
100
|
-
|
|
101
|
-
export type AsObject = {
|
|
102
|
-
}
|
|
103
|
-
}
|
|
44
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetPowerRequest;
|
|
104
45
|
|
|
105
|
-
|
|
106
|
-
getName(): string;
|
|
107
|
-
setName(value: string): void;
|
|
108
|
-
|
|
109
|
-
getRpm(): number;
|
|
110
|
-
setRpm(value: number): void;
|
|
111
|
-
|
|
112
|
-
getPositionRevolutions(): number;
|
|
113
|
-
setPositionRevolutions(value: number): void;
|
|
114
|
-
|
|
115
|
-
hasExtra(): boolean;
|
|
116
|
-
clearExtra(): void;
|
|
117
|
-
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
118
|
-
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
119
|
-
|
|
120
|
-
serializeBinary(): Uint8Array;
|
|
121
|
-
toObject(includeInstance?: boolean): GoToRequest.AsObject;
|
|
122
|
-
static toObject(includeInstance: boolean, msg: GoToRequest): GoToRequest.AsObject;
|
|
123
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
124
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
125
|
-
static serializeBinaryToWriter(message: GoToRequest, writer: jspb.BinaryWriter): void;
|
|
126
|
-
static deserializeBinary(bytes: Uint8Array): GoToRequest;
|
|
127
|
-
static deserializeBinaryFromReader(message: GoToRequest, reader: jspb.BinaryReader): GoToRequest;
|
|
46
|
+
static equals(a: SetPowerRequest | PlainMessage<SetPowerRequest> | undefined, b: SetPowerRequest | PlainMessage<SetPowerRequest> | undefined): boolean;
|
|
128
47
|
}
|
|
129
48
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
136
|
-
}
|
|
137
|
-
}
|
|
49
|
+
/**
|
|
50
|
+
* @generated from message viam.component.motor.v1.SetPowerResponse
|
|
51
|
+
*/
|
|
52
|
+
export declare class SetPowerResponse extends Message<SetPowerResponse> {
|
|
53
|
+
constructor(data?: PartialMessage<SetPowerResponse>);
|
|
138
54
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
static toObject(includeInstance: boolean, msg: GoToResponse): GoToResponse.AsObject;
|
|
143
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
144
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
145
|
-
static serializeBinaryToWriter(message: GoToResponse, writer: jspb.BinaryWriter): void;
|
|
146
|
-
static deserializeBinary(bytes: Uint8Array): GoToResponse;
|
|
147
|
-
static deserializeBinaryFromReader(message: GoToResponse, reader: jspb.BinaryReader): GoToResponse;
|
|
148
|
-
}
|
|
55
|
+
static readonly runtime: typeof proto3;
|
|
56
|
+
static readonly typeName = "viam.component.motor.v1.SetPowerResponse";
|
|
57
|
+
static readonly fields: FieldList;
|
|
149
58
|
|
|
150
|
-
|
|
151
|
-
export type AsObject = {
|
|
152
|
-
}
|
|
153
|
-
}
|
|
59
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetPowerResponse;
|
|
154
60
|
|
|
155
|
-
|
|
156
|
-
getName(): string;
|
|
157
|
-
setName(value: string): void;
|
|
158
|
-
|
|
159
|
-
getRpm(): number;
|
|
160
|
-
setRpm(value: number): void;
|
|
161
|
-
|
|
162
|
-
hasExtra(): boolean;
|
|
163
|
-
clearExtra(): void;
|
|
164
|
-
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
165
|
-
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
166
|
-
|
|
167
|
-
serializeBinary(): Uint8Array;
|
|
168
|
-
toObject(includeInstance?: boolean): SetRPMRequest.AsObject;
|
|
169
|
-
static toObject(includeInstance: boolean, msg: SetRPMRequest): SetRPMRequest.AsObject;
|
|
170
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
171
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
172
|
-
static serializeBinaryToWriter(message: SetRPMRequest, writer: jspb.BinaryWriter): void;
|
|
173
|
-
static deserializeBinary(bytes: Uint8Array): SetRPMRequest;
|
|
174
|
-
static deserializeBinaryFromReader(message: SetRPMRequest, reader: jspb.BinaryReader): SetRPMRequest;
|
|
175
|
-
}
|
|
61
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetPowerResponse;
|
|
176
62
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
rpm: number,
|
|
181
|
-
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
182
|
-
}
|
|
63
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetPowerResponse;
|
|
64
|
+
|
|
65
|
+
static equals(a: SetPowerResponse | PlainMessage<SetPowerResponse> | undefined, b: SetPowerResponse | PlainMessage<SetPowerResponse> | undefined): boolean;
|
|
183
66
|
}
|
|
184
67
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
68
|
+
/**
|
|
69
|
+
* @generated from message viam.component.motor.v1.GoForRequest
|
|
70
|
+
*/
|
|
71
|
+
export declare class GoForRequest extends Message<GoForRequest> {
|
|
72
|
+
/**
|
|
73
|
+
* Name of a motor
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: string name = 1;
|
|
76
|
+
*/
|
|
77
|
+
name: string;
|
|
195
78
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
79
|
+
/**
|
|
80
|
+
* Speed of motor travel in rotations per minute
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: double rpm = 2;
|
|
83
|
+
*/
|
|
84
|
+
rpm: number;
|
|
200
85
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
hasExtra(): boolean;
|
|
209
|
-
clearExtra(): void;
|
|
210
|
-
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
211
|
-
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
212
|
-
|
|
213
|
-
serializeBinary(): Uint8Array;
|
|
214
|
-
toObject(includeInstance?: boolean): ResetZeroPositionRequest.AsObject;
|
|
215
|
-
static toObject(includeInstance: boolean, msg: ResetZeroPositionRequest): ResetZeroPositionRequest.AsObject;
|
|
216
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
217
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
218
|
-
static serializeBinaryToWriter(message: ResetZeroPositionRequest, writer: jspb.BinaryWriter): void;
|
|
219
|
-
static deserializeBinary(bytes: Uint8Array): ResetZeroPositionRequest;
|
|
220
|
-
static deserializeBinaryFromReader(message: ResetZeroPositionRequest, reader: jspb.BinaryReader): ResetZeroPositionRequest;
|
|
221
|
-
}
|
|
86
|
+
/**
|
|
87
|
+
* Number of revolutions relative to motor's start position
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: double revolutions = 3;
|
|
90
|
+
*/
|
|
91
|
+
revolutions: number;
|
|
222
92
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
}
|
|
93
|
+
/**
|
|
94
|
+
* Additional arguments to the method
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
97
|
+
*/
|
|
98
|
+
extra?: Struct;
|
|
230
99
|
|
|
231
|
-
|
|
232
|
-
serializeBinary(): Uint8Array;
|
|
233
|
-
toObject(includeInstance?: boolean): ResetZeroPositionResponse.AsObject;
|
|
234
|
-
static toObject(includeInstance: boolean, msg: ResetZeroPositionResponse): ResetZeroPositionResponse.AsObject;
|
|
235
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
236
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
237
|
-
static serializeBinaryToWriter(message: ResetZeroPositionResponse, writer: jspb.BinaryWriter): void;
|
|
238
|
-
static deserializeBinary(bytes: Uint8Array): ResetZeroPositionResponse;
|
|
239
|
-
static deserializeBinaryFromReader(message: ResetZeroPositionResponse, reader: jspb.BinaryReader): ResetZeroPositionResponse;
|
|
240
|
-
}
|
|
100
|
+
constructor(data?: PartialMessage<GoForRequest>);
|
|
241
101
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}
|
|
102
|
+
static readonly runtime: typeof proto3;
|
|
103
|
+
static readonly typeName = "viam.component.motor.v1.GoForRequest";
|
|
104
|
+
static readonly fields: FieldList;
|
|
246
105
|
|
|
247
|
-
|
|
248
|
-
getName(): string;
|
|
249
|
-
setName(value: string): void;
|
|
250
|
-
|
|
251
|
-
hasExtra(): boolean;
|
|
252
|
-
clearExtra(): void;
|
|
253
|
-
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
254
|
-
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
255
|
-
|
|
256
|
-
serializeBinary(): Uint8Array;
|
|
257
|
-
toObject(includeInstance?: boolean): GetPositionRequest.AsObject;
|
|
258
|
-
static toObject(includeInstance: boolean, msg: GetPositionRequest): GetPositionRequest.AsObject;
|
|
259
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
260
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
261
|
-
static serializeBinaryToWriter(message: GetPositionRequest, writer: jspb.BinaryWriter): void;
|
|
262
|
-
static deserializeBinary(bytes: Uint8Array): GetPositionRequest;
|
|
263
|
-
static deserializeBinaryFromReader(message: GetPositionRequest, reader: jspb.BinaryReader): GetPositionRequest;
|
|
264
|
-
}
|
|
106
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoForRequest;
|
|
265
107
|
|
|
266
|
-
|
|
267
|
-
export type AsObject = {
|
|
268
|
-
name: string,
|
|
269
|
-
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
270
|
-
}
|
|
271
|
-
}
|
|
108
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoForRequest;
|
|
272
109
|
|
|
273
|
-
|
|
274
|
-
getPosition(): number;
|
|
275
|
-
setPosition(value: number): void;
|
|
276
|
-
|
|
277
|
-
serializeBinary(): Uint8Array;
|
|
278
|
-
toObject(includeInstance?: boolean): GetPositionResponse.AsObject;
|
|
279
|
-
static toObject(includeInstance: boolean, msg: GetPositionResponse): GetPositionResponse.AsObject;
|
|
280
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
281
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
282
|
-
static serializeBinaryToWriter(message: GetPositionResponse, writer: jspb.BinaryWriter): void;
|
|
283
|
-
static deserializeBinary(bytes: Uint8Array): GetPositionResponse;
|
|
284
|
-
static deserializeBinaryFromReader(message: GetPositionResponse, reader: jspb.BinaryReader): GetPositionResponse;
|
|
285
|
-
}
|
|
110
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoForRequest;
|
|
286
111
|
|
|
287
|
-
|
|
288
|
-
export type AsObject = {
|
|
289
|
-
position: number,
|
|
290
|
-
}
|
|
112
|
+
static equals(a: GoForRequest | PlainMessage<GoForRequest> | undefined, b: GoForRequest | PlainMessage<GoForRequest> | undefined): boolean;
|
|
291
113
|
}
|
|
292
114
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
static
|
|
306
|
-
|
|
307
|
-
static
|
|
308
|
-
|
|
309
|
-
static
|
|
115
|
+
/**
|
|
116
|
+
* @generated from message viam.component.motor.v1.GoForResponse
|
|
117
|
+
*/
|
|
118
|
+
export declare class GoForResponse extends Message<GoForResponse> {
|
|
119
|
+
constructor(data?: PartialMessage<GoForResponse>);
|
|
120
|
+
|
|
121
|
+
static readonly runtime: typeof proto3;
|
|
122
|
+
static readonly typeName = "viam.component.motor.v1.GoForResponse";
|
|
123
|
+
static readonly fields: FieldList;
|
|
124
|
+
|
|
125
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoForResponse;
|
|
126
|
+
|
|
127
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoForResponse;
|
|
128
|
+
|
|
129
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoForResponse;
|
|
130
|
+
|
|
131
|
+
static equals(a: GoForResponse | PlainMessage<GoForResponse> | undefined, b: GoForResponse | PlainMessage<GoForResponse> | undefined): boolean;
|
|
310
132
|
}
|
|
311
133
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message viam.component.motor.v1.GoToRequest
|
|
136
|
+
*/
|
|
137
|
+
export declare class GoToRequest extends Message<GoToRequest> {
|
|
138
|
+
/**
|
|
139
|
+
* Name of a motor
|
|
140
|
+
*
|
|
141
|
+
* @generated from field: string name = 1;
|
|
142
|
+
*/
|
|
143
|
+
name: string;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Speed of motor travel in rotations per minute
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: double rpm = 2;
|
|
149
|
+
*/
|
|
150
|
+
rpm: number;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Number of revolutions relative to motor's home home/zero
|
|
154
|
+
*
|
|
155
|
+
* @generated from field: double position_revolutions = 3;
|
|
156
|
+
*/
|
|
157
|
+
positionRevolutions: number;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Additional arguments to the method
|
|
161
|
+
*
|
|
162
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
163
|
+
*/
|
|
164
|
+
extra?: Struct;
|
|
165
|
+
|
|
166
|
+
constructor(data?: PartialMessage<GoToRequest>);
|
|
167
|
+
|
|
168
|
+
static readonly runtime: typeof proto3;
|
|
169
|
+
static readonly typeName = "viam.component.motor.v1.GoToRequest";
|
|
170
|
+
static readonly fields: FieldList;
|
|
171
|
+
|
|
172
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoToRequest;
|
|
173
|
+
|
|
174
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoToRequest;
|
|
175
|
+
|
|
176
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoToRequest;
|
|
177
|
+
|
|
178
|
+
static equals(a: GoToRequest | PlainMessage<GoToRequest> | undefined, b: GoToRequest | PlainMessage<GoToRequest> | undefined): boolean;
|
|
317
179
|
}
|
|
318
180
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
static
|
|
326
|
-
static
|
|
327
|
-
static
|
|
181
|
+
/**
|
|
182
|
+
* @generated from message viam.component.motor.v1.GoToResponse
|
|
183
|
+
*/
|
|
184
|
+
export declare class GoToResponse extends Message<GoToResponse> {
|
|
185
|
+
constructor(data?: PartialMessage<GoToResponse>);
|
|
186
|
+
|
|
187
|
+
static readonly runtime: typeof proto3;
|
|
188
|
+
static readonly typeName = "viam.component.motor.v1.GoToResponse";
|
|
189
|
+
static readonly fields: FieldList;
|
|
190
|
+
|
|
191
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoToResponse;
|
|
192
|
+
|
|
193
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoToResponse;
|
|
194
|
+
|
|
195
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoToResponse;
|
|
196
|
+
|
|
197
|
+
static equals(a: GoToResponse | PlainMessage<GoToResponse> | undefined, b: GoToResponse | PlainMessage<GoToResponse> | undefined): boolean;
|
|
328
198
|
}
|
|
329
199
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
200
|
+
/**
|
|
201
|
+
* @generated from message viam.component.motor.v1.SetRPMRequest
|
|
202
|
+
*/
|
|
203
|
+
export declare class SetRPMRequest extends Message<SetRPMRequest> {
|
|
204
|
+
/**
|
|
205
|
+
* Name of a motor
|
|
206
|
+
*
|
|
207
|
+
* @generated from field: string name = 1;
|
|
208
|
+
*/
|
|
209
|
+
name: string;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Speed of motor travel in rotations per minute
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: double rpm = 2;
|
|
215
|
+
*/
|
|
216
|
+
rpm: number;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Additional arguments to the method
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
222
|
+
*/
|
|
223
|
+
extra?: Struct;
|
|
224
|
+
|
|
225
|
+
constructor(data?: PartialMessage<SetRPMRequest>);
|
|
226
|
+
|
|
227
|
+
static readonly runtime: typeof proto3;
|
|
228
|
+
static readonly typeName = "viam.component.motor.v1.SetRPMRequest";
|
|
229
|
+
static readonly fields: FieldList;
|
|
230
|
+
|
|
231
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRPMRequest;
|
|
232
|
+
|
|
233
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRPMRequest;
|
|
234
|
+
|
|
235
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRPMRequest;
|
|
236
|
+
|
|
237
|
+
static equals(a: SetRPMRequest | PlainMessage<SetRPMRequest> | undefined, b: SetRPMRequest | PlainMessage<SetRPMRequest> | undefined): boolean;
|
|
333
238
|
}
|
|
334
239
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
static
|
|
348
|
-
|
|
349
|
-
static
|
|
350
|
-
|
|
351
|
-
static
|
|
240
|
+
/**
|
|
241
|
+
* @generated from message viam.component.motor.v1.SetRPMResponse
|
|
242
|
+
*/
|
|
243
|
+
export declare class SetRPMResponse extends Message<SetRPMResponse> {
|
|
244
|
+
constructor(data?: PartialMessage<SetRPMResponse>);
|
|
245
|
+
|
|
246
|
+
static readonly runtime: typeof proto3;
|
|
247
|
+
static readonly typeName = "viam.component.motor.v1.SetRPMResponse";
|
|
248
|
+
static readonly fields: FieldList;
|
|
249
|
+
|
|
250
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRPMResponse;
|
|
251
|
+
|
|
252
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRPMResponse;
|
|
253
|
+
|
|
254
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRPMResponse;
|
|
255
|
+
|
|
256
|
+
static equals(a: SetRPMResponse | PlainMessage<SetRPMResponse> | undefined, b: SetRPMResponse | PlainMessage<SetRPMResponse> | undefined): boolean;
|
|
352
257
|
}
|
|
353
258
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
259
|
+
/**
|
|
260
|
+
* @generated from message viam.component.motor.v1.ResetZeroPositionRequest
|
|
261
|
+
*/
|
|
262
|
+
export declare class ResetZeroPositionRequest extends Message<ResetZeroPositionRequest> {
|
|
263
|
+
/**
|
|
264
|
+
* Name of a motor
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: string name = 1;
|
|
267
|
+
*/
|
|
268
|
+
name: string;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Motor position
|
|
272
|
+
*
|
|
273
|
+
* @generated from field: double offset = 2;
|
|
274
|
+
*/
|
|
275
|
+
offset: number;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Additional arguments to the method
|
|
279
|
+
*
|
|
280
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
281
|
+
*/
|
|
282
|
+
extra?: Struct;
|
|
283
|
+
|
|
284
|
+
constructor(data?: PartialMessage<ResetZeroPositionRequest>);
|
|
285
|
+
|
|
286
|
+
static readonly runtime: typeof proto3;
|
|
287
|
+
static readonly typeName = "viam.component.motor.v1.ResetZeroPositionRequest";
|
|
288
|
+
static readonly fields: FieldList;
|
|
289
|
+
|
|
290
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResetZeroPositionRequest;
|
|
291
|
+
|
|
292
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResetZeroPositionRequest;
|
|
293
|
+
|
|
294
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResetZeroPositionRequest;
|
|
295
|
+
|
|
296
|
+
static equals(a: ResetZeroPositionRequest | PlainMessage<ResetZeroPositionRequest> | undefined, b: ResetZeroPositionRequest | PlainMessage<ResetZeroPositionRequest> | undefined): boolean;
|
|
359
297
|
}
|
|
360
298
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
static
|
|
372
|
-
|
|
373
|
-
static
|
|
374
|
-
|
|
375
|
-
static
|
|
299
|
+
/**
|
|
300
|
+
* @generated from message viam.component.motor.v1.ResetZeroPositionResponse
|
|
301
|
+
*/
|
|
302
|
+
export declare class ResetZeroPositionResponse extends Message<ResetZeroPositionResponse> {
|
|
303
|
+
constructor(data?: PartialMessage<ResetZeroPositionResponse>);
|
|
304
|
+
|
|
305
|
+
static readonly runtime: typeof proto3;
|
|
306
|
+
static readonly typeName = "viam.component.motor.v1.ResetZeroPositionResponse";
|
|
307
|
+
static readonly fields: FieldList;
|
|
308
|
+
|
|
309
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResetZeroPositionResponse;
|
|
310
|
+
|
|
311
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResetZeroPositionResponse;
|
|
312
|
+
|
|
313
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResetZeroPositionResponse;
|
|
314
|
+
|
|
315
|
+
static equals(a: ResetZeroPositionResponse | PlainMessage<ResetZeroPositionResponse> | undefined, b: ResetZeroPositionResponse | PlainMessage<ResetZeroPositionResponse> | undefined): boolean;
|
|
376
316
|
}
|
|
377
317
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
318
|
+
/**
|
|
319
|
+
* @generated from message viam.component.motor.v1.GetPositionRequest
|
|
320
|
+
*/
|
|
321
|
+
export declare class GetPositionRequest extends Message<GetPositionRequest> {
|
|
322
|
+
/**
|
|
323
|
+
* Name of a motor
|
|
324
|
+
*
|
|
325
|
+
* @generated from field: string name = 1;
|
|
326
|
+
*/
|
|
327
|
+
name: string;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Additional arguments to the method
|
|
331
|
+
*
|
|
332
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
333
|
+
*/
|
|
334
|
+
extra?: Struct;
|
|
335
|
+
|
|
336
|
+
constructor(data?: PartialMessage<GetPositionRequest>);
|
|
337
|
+
|
|
338
|
+
static readonly runtime: typeof proto3;
|
|
339
|
+
static readonly typeName = "viam.component.motor.v1.GetPositionRequest";
|
|
340
|
+
static readonly fields: FieldList;
|
|
341
|
+
|
|
342
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPositionRequest;
|
|
343
|
+
|
|
344
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPositionRequest;
|
|
345
|
+
|
|
346
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPositionRequest;
|
|
347
|
+
|
|
348
|
+
static equals(a: GetPositionRequest | PlainMessage<GetPositionRequest> | undefined, b: GetPositionRequest | PlainMessage<GetPositionRequest> | undefined): boolean;
|
|
383
349
|
}
|
|
384
350
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
static
|
|
399
|
-
static
|
|
400
|
-
static
|
|
401
|
-
|
|
351
|
+
/**
|
|
352
|
+
* @generated from message viam.component.motor.v1.GetPositionResponse
|
|
353
|
+
*/
|
|
354
|
+
export declare class GetPositionResponse extends Message<GetPositionResponse> {
|
|
355
|
+
/**
|
|
356
|
+
* Current position of the motor relative to its home
|
|
357
|
+
*
|
|
358
|
+
* @generated from field: double position = 1;
|
|
359
|
+
*/
|
|
360
|
+
position: number;
|
|
361
|
+
|
|
362
|
+
constructor(data?: PartialMessage<GetPositionResponse>);
|
|
363
|
+
|
|
364
|
+
static readonly runtime: typeof proto3;
|
|
365
|
+
static readonly typeName = "viam.component.motor.v1.GetPositionResponse";
|
|
366
|
+
static readonly fields: FieldList;
|
|
367
|
+
|
|
368
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPositionResponse;
|
|
369
|
+
|
|
370
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPositionResponse;
|
|
371
|
+
|
|
372
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPositionResponse;
|
|
373
|
+
|
|
374
|
+
static equals(a: GetPositionResponse | PlainMessage<GetPositionResponse> | undefined, b: GetPositionResponse | PlainMessage<GetPositionResponse> | undefined): boolean;
|
|
402
375
|
}
|
|
403
376
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
377
|
+
/**
|
|
378
|
+
* @generated from message viam.component.motor.v1.StopRequest
|
|
379
|
+
*/
|
|
380
|
+
export declare class StopRequest extends Message<StopRequest> {
|
|
381
|
+
/**
|
|
382
|
+
* Name of a motor
|
|
383
|
+
*
|
|
384
|
+
* @generated from field: string name = 1;
|
|
385
|
+
*/
|
|
386
|
+
name: string;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Additional arguments to the method
|
|
390
|
+
*
|
|
391
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
392
|
+
*/
|
|
393
|
+
extra?: Struct;
|
|
394
|
+
|
|
395
|
+
constructor(data?: PartialMessage<StopRequest>);
|
|
396
|
+
|
|
397
|
+
static readonly runtime: typeof proto3;
|
|
398
|
+
static readonly typeName = "viam.component.motor.v1.StopRequest";
|
|
399
|
+
static readonly fields: FieldList;
|
|
400
|
+
|
|
401
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopRequest;
|
|
402
|
+
|
|
403
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopRequest;
|
|
404
|
+
|
|
405
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopRequest;
|
|
406
|
+
|
|
407
|
+
static equals(a: StopRequest | PlainMessage<StopRequest> | undefined, b: StopRequest | PlainMessage<StopRequest> | undefined): boolean;
|
|
409
408
|
}
|
|
410
409
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
static
|
|
418
|
-
static
|
|
419
|
-
static
|
|
420
|
-
|
|
421
|
-
static
|
|
422
|
-
|
|
410
|
+
/**
|
|
411
|
+
* @generated from message viam.component.motor.v1.StopResponse
|
|
412
|
+
*/
|
|
413
|
+
export declare class StopResponse extends Message<StopResponse> {
|
|
414
|
+
constructor(data?: PartialMessage<StopResponse>);
|
|
415
|
+
|
|
416
|
+
static readonly runtime: typeof proto3;
|
|
417
|
+
static readonly typeName = "viam.component.motor.v1.StopResponse";
|
|
418
|
+
static readonly fields: FieldList;
|
|
419
|
+
|
|
420
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopResponse;
|
|
421
|
+
|
|
422
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopResponse;
|
|
423
|
+
|
|
424
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopResponse;
|
|
425
|
+
|
|
426
|
+
static equals(a: StopResponse | PlainMessage<StopResponse> | undefined, b: StopResponse | PlainMessage<StopResponse> | undefined): boolean;
|
|
423
427
|
}
|
|
424
428
|
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
+
/**
|
|
430
|
+
* @generated from message viam.component.motor.v1.IsPoweredRequest
|
|
431
|
+
*/
|
|
432
|
+
export declare class IsPoweredRequest extends Message<IsPoweredRequest> {
|
|
433
|
+
/**
|
|
434
|
+
* Name of a motor
|
|
435
|
+
*
|
|
436
|
+
* @generated from field: string name = 1;
|
|
437
|
+
*/
|
|
438
|
+
name: string;
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* Additional arguments to the method
|
|
442
|
+
*
|
|
443
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
444
|
+
*/
|
|
445
|
+
extra?: Struct;
|
|
446
|
+
|
|
447
|
+
constructor(data?: PartialMessage<IsPoweredRequest>);
|
|
448
|
+
|
|
449
|
+
static readonly runtime: typeof proto3;
|
|
450
|
+
static readonly typeName = "viam.component.motor.v1.IsPoweredRequest";
|
|
451
|
+
static readonly fields: FieldList;
|
|
452
|
+
|
|
453
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsPoweredRequest;
|
|
454
|
+
|
|
455
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsPoweredRequest;
|
|
456
|
+
|
|
457
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsPoweredRequest;
|
|
458
|
+
|
|
459
|
+
static equals(a: IsPoweredRequest | PlainMessage<IsPoweredRequest> | undefined, b: IsPoweredRequest | PlainMessage<IsPoweredRequest> | undefined): boolean;
|
|
429
460
|
}
|
|
430
461
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
462
|
+
/**
|
|
463
|
+
* @generated from message viam.component.motor.v1.IsPoweredResponse
|
|
464
|
+
*/
|
|
465
|
+
export declare class IsPoweredResponse extends Message<IsPoweredResponse> {
|
|
466
|
+
/**
|
|
467
|
+
* Returns true if the motor is on
|
|
468
|
+
*
|
|
469
|
+
* @generated from field: bool is_on = 1;
|
|
470
|
+
*/
|
|
471
|
+
isOn: boolean;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Returns power percent (from 0 to 1, or from -1 to 1 for motors that support negative power),
|
|
475
|
+
* based on the last command sent to motor. If the last command was a stop command, this value
|
|
476
|
+
* will be 0.
|
|
477
|
+
*
|
|
478
|
+
* @generated from field: double power_pct = 2;
|
|
479
|
+
*/
|
|
480
|
+
powerPct: number;
|
|
481
|
+
|
|
482
|
+
constructor(data?: PartialMessage<IsPoweredResponse>);
|
|
483
|
+
|
|
484
|
+
static readonly runtime: typeof proto3;
|
|
485
|
+
static readonly typeName = "viam.component.motor.v1.IsPoweredResponse";
|
|
486
|
+
static readonly fields: FieldList;
|
|
487
|
+
|
|
488
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsPoweredResponse;
|
|
434
489
|
|
|
435
|
-
|
|
436
|
-
setPosition(value: number): void;
|
|
490
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsPoweredResponse;
|
|
437
491
|
|
|
438
|
-
|
|
439
|
-
setIsMoving(value: boolean): void;
|
|
492
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsPoweredResponse;
|
|
440
493
|
|
|
441
|
-
|
|
442
|
-
toObject(includeInstance?: boolean): Status.AsObject;
|
|
443
|
-
static toObject(includeInstance: boolean, msg: Status): Status.AsObject;
|
|
444
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
445
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
446
|
-
static serializeBinaryToWriter(message: Status, writer: jspb.BinaryWriter): void;
|
|
447
|
-
static deserializeBinary(bytes: Uint8Array): Status;
|
|
448
|
-
static deserializeBinaryFromReader(message: Status, reader: jspb.BinaryReader): Status;
|
|
494
|
+
static equals(a: IsPoweredResponse | PlainMessage<IsPoweredResponse> | undefined, b: IsPoweredResponse | PlainMessage<IsPoweredResponse> | undefined): boolean;
|
|
449
495
|
}
|
|
450
496
|
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
497
|
+
/**
|
|
498
|
+
* @generated from message viam.component.motor.v1.GetPropertiesRequest
|
|
499
|
+
*/
|
|
500
|
+
export declare class GetPropertiesRequest extends Message<GetPropertiesRequest> {
|
|
501
|
+
/**
|
|
502
|
+
* Name of a motor
|
|
503
|
+
*
|
|
504
|
+
* @generated from field: string name = 1;
|
|
505
|
+
*/
|
|
506
|
+
name: string;
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* Additional arguments to the method
|
|
510
|
+
*
|
|
511
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
512
|
+
*/
|
|
513
|
+
extra?: Struct;
|
|
514
|
+
|
|
515
|
+
constructor(data?: PartialMessage<GetPropertiesRequest>);
|
|
516
|
+
|
|
517
|
+
static readonly runtime: typeof proto3;
|
|
518
|
+
static readonly typeName = "viam.component.motor.v1.GetPropertiesRequest";
|
|
519
|
+
static readonly fields: FieldList;
|
|
520
|
+
|
|
521
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPropertiesRequest;
|
|
522
|
+
|
|
523
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPropertiesRequest;
|
|
524
|
+
|
|
525
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPropertiesRequest;
|
|
526
|
+
|
|
527
|
+
static equals(a: GetPropertiesRequest | PlainMessage<GetPropertiesRequest> | undefined, b: GetPropertiesRequest | PlainMessage<GetPropertiesRequest> | undefined): boolean;
|
|
457
528
|
}
|
|
458
529
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
530
|
+
/**
|
|
531
|
+
* @generated from message viam.component.motor.v1.GetPropertiesResponse
|
|
532
|
+
*/
|
|
533
|
+
export declare class GetPropertiesResponse extends Message<GetPropertiesResponse> {
|
|
534
|
+
/**
|
|
535
|
+
* Returns true if the motor supports reporting its position
|
|
536
|
+
*
|
|
537
|
+
* @generated from field: bool position_reporting = 1;
|
|
538
|
+
*/
|
|
539
|
+
positionReporting: boolean;
|
|
540
|
+
|
|
541
|
+
constructor(data?: PartialMessage<GetPropertiesResponse>);
|
|
542
|
+
|
|
543
|
+
static readonly runtime: typeof proto3;
|
|
544
|
+
static readonly typeName = "viam.component.motor.v1.GetPropertiesResponse";
|
|
545
|
+
static readonly fields: FieldList;
|
|
546
|
+
|
|
547
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPropertiesResponse;
|
|
548
|
+
|
|
549
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPropertiesResponse;
|
|
550
|
+
|
|
551
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPropertiesResponse;
|
|
552
|
+
|
|
553
|
+
static equals(a: GetPropertiesResponse | PlainMessage<GetPropertiesResponse> | undefined, b: GetPropertiesResponse | PlainMessage<GetPropertiesResponse> | undefined): boolean;
|
|
471
554
|
}
|
|
472
555
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
556
|
+
/**
|
|
557
|
+
* @generated from message viam.component.motor.v1.Status
|
|
558
|
+
*/
|
|
559
|
+
export declare class Status extends Message<Status> {
|
|
560
|
+
/**
|
|
561
|
+
* Returns true if the motor is powered
|
|
562
|
+
*
|
|
563
|
+
* @generated from field: bool is_powered = 1;
|
|
564
|
+
*/
|
|
565
|
+
isPowered: boolean;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Returns current position of the motor relative to its home
|
|
569
|
+
*
|
|
570
|
+
* @generated from field: double position = 3;
|
|
571
|
+
*/
|
|
572
|
+
position: number;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Returns true if the motor is moving
|
|
576
|
+
*
|
|
577
|
+
* @generated from field: bool is_moving = 4;
|
|
578
|
+
*/
|
|
579
|
+
isMoving: boolean;
|
|
580
|
+
|
|
581
|
+
constructor(data?: PartialMessage<Status>);
|
|
582
|
+
|
|
583
|
+
static readonly runtime: typeof proto3;
|
|
584
|
+
static readonly typeName = "viam.component.motor.v1.Status";
|
|
585
|
+
static readonly fields: FieldList;
|
|
586
|
+
|
|
587
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Status;
|
|
588
|
+
|
|
589
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Status;
|
|
590
|
+
|
|
591
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Status;
|
|
592
|
+
|
|
593
|
+
static equals(a: Status | PlainMessage<Status> | undefined, b: Status | PlainMessage<Status> | undefined): boolean;
|
|
477
594
|
}
|
|
478
595
|
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
static
|
|
596
|
+
/**
|
|
597
|
+
* @generated from message viam.component.motor.v1.IsMovingRequest
|
|
598
|
+
*/
|
|
599
|
+
export declare class IsMovingRequest extends Message<IsMovingRequest> {
|
|
600
|
+
/**
|
|
601
|
+
* @generated from field: string name = 1;
|
|
602
|
+
*/
|
|
603
|
+
name: string;
|
|
604
|
+
|
|
605
|
+
constructor(data?: PartialMessage<IsMovingRequest>);
|
|
606
|
+
|
|
607
|
+
static readonly runtime: typeof proto3;
|
|
608
|
+
static readonly typeName = "viam.component.motor.v1.IsMovingRequest";
|
|
609
|
+
static readonly fields: FieldList;
|
|
610
|
+
|
|
611
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsMovingRequest;
|
|
612
|
+
|
|
613
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsMovingRequest;
|
|
614
|
+
|
|
615
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsMovingRequest;
|
|
616
|
+
|
|
617
|
+
static equals(a: IsMovingRequest | PlainMessage<IsMovingRequest> | undefined, b: IsMovingRequest | PlainMessage<IsMovingRequest> | undefined): boolean;
|
|
491
618
|
}
|
|
492
619
|
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
620
|
+
/**
|
|
621
|
+
* @generated from message viam.component.motor.v1.IsMovingResponse
|
|
622
|
+
*/
|
|
623
|
+
export declare class IsMovingResponse extends Message<IsMovingResponse> {
|
|
624
|
+
/**
|
|
625
|
+
* @generated from field: bool is_moving = 1;
|
|
626
|
+
*/
|
|
627
|
+
isMoving: boolean;
|
|
628
|
+
|
|
629
|
+
constructor(data?: PartialMessage<IsMovingResponse>);
|
|
630
|
+
|
|
631
|
+
static readonly runtime: typeof proto3;
|
|
632
|
+
static readonly typeName = "viam.component.motor.v1.IsMovingResponse";
|
|
633
|
+
static readonly fields: FieldList;
|
|
634
|
+
|
|
635
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsMovingResponse;
|
|
636
|
+
|
|
637
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsMovingResponse;
|
|
638
|
+
|
|
639
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsMovingResponse;
|
|
640
|
+
|
|
641
|
+
static equals(a: IsMovingResponse | PlainMessage<IsMovingResponse> | undefined, b: IsMovingResponse | PlainMessage<IsMovingResponse> | undefined): boolean;
|
|
497
642
|
}
|
|
498
643
|
|