@viamrobotics/sdk 0.0.40 → 0.0.41
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/gen/common/v1/common_pb.d.ts +557 -0
- package/dist/gen/common/v1/common_pb_service.d.ts +3 -0
- package/dist/gen/component/arm/v1/arm_pb.d.ts +336 -0
- package/dist/gen/component/arm/v1/arm_pb_service.d.ts +178 -0
- package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +222 -0
- package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +114 -0
- package/dist/gen/component/base/v1/base_pb.d.ts +298 -0
- package/dist/gen/component/base/v1/base_pb_service.d.ts +178 -0
- package/dist/gen/component/board/v1/board_pb.d.ts +517 -0
- package/dist/gen/component/board/v1/board_pb_service.d.ts +254 -0
- package/dist/gen/component/camera/v1/camera_pb.d.ts +330 -0
- package/dist/gen/component/camera/v1/camera_pb_service.d.ts +141 -0
- package/dist/gen/component/encoder/v1/encoder_pb.d.ts +164 -0
- package/dist/gen/component/encoder/v1/encoder_pb_service.d.ts +121 -0
- package/dist/gen/component/gantry/v1/gantry_pb.d.ts +266 -0
- package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +159 -0
- package/dist/gen/component/generic/v1/generic_pb.d.ts +7 -0
- package/dist/gen/component/generic/v1/generic_pb_service.d.ts +64 -0
- package/dist/gen/component/gripper/v1/gripper_pb.d.ts +184 -0
- package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +140 -0
- package/dist/gen/component/inputcontroller/v1/input_controller_pb.d.ts +295 -0
- package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +132 -0
- package/dist/gen/component/motor/v1/motor_pb.d.ts +452 -0
- package/dist/gen/component/motor/v1/motor_pb_service.d.ts +235 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +409 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +216 -0
- package/dist/gen/component/posetracker/v1/pose_tracker_pb.d.ts +59 -0
- package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +83 -0
- package/dist/gen/component/sensor/v1/sensor_pb.d.ts +53 -0
- package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +83 -0
- package/dist/gen/component/servo/v1/servo_pb.d.ts +206 -0
- package/dist/gen/component/servo/v1/servo_pb_service.d.ts +140 -0
- package/dist/gen/component/testecho/v1/testecho_pb.d.ts +174 -0
- package/dist/gen/component/testecho/v1/testecho_pb_service.d.ts +104 -0
- package/dist/gen/google/api/annotations_pb.d.ts +9 -0
- package/dist/gen/google/api/annotations_pb_service.d.ts +3 -0
- package/dist/gen/google/api/client_pb.d.ts +467 -0
- package/dist/gen/google/api/client_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +454 -0
- package/dist/gen/google/api/expr/v1alpha1/checked_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +145 -0
- package/dist/gen/google/api/expr/v1alpha1/eval_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +58 -0
- package/dist/gen/google/api/expr/v1alpha1/explain_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +503 -0
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +210 -0
- package/dist/gen/google/api/expr/v1alpha1/value_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +143 -0
- package/dist/gen/google/api/expr/v1beta1/decl_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +167 -0
- package/dist/gen/google/api/expr/v1beta1/eval_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +414 -0
- package/dist/gen/google/api/expr/v1beta1/expr_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +66 -0
- package/dist/gen/google/api/expr/v1beta1/source_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +210 -0
- package/dist/gen/google/api/expr/v1beta1/value_pb_service.d.ts +3 -0
- package/dist/gen/google/api/field_behavior_pb.d.ts +21 -0
- package/dist/gen/google/api/field_behavior_pb_service.d.ts +3 -0
- package/dist/gen/google/api/http_pb.d.ts +136 -0
- package/dist/gen/google/api/http_pb_service.d.ts +3 -0
- package/dist/gen/google/api/httpbody_pb.d.ts +38 -0
- package/dist/gen/google/api/httpbody_pb_service.d.ts +3 -0
- package/dist/gen/google/api/launch_stage_pb.d.ts +18 -0
- package/dist/gen/google/api/launch_stage_pb_service.d.ts +3 -0
- package/dist/gen/google/api/resource_pb.d.ts +99 -0
- package/dist/gen/google/api/resource_pb_service.d.ts +3 -0
- package/dist/gen/google/api/visibility_pb.d.ts +64 -0
- package/dist/gen/google/api/visibility_pb_service.d.ts +3 -0
- package/dist/gen/google/bytestream/bytestream_pb.d.ts +155 -0
- package/dist/gen/google/bytestream/bytestream_pb_service.d.ts +85 -0
- package/dist/gen/google/geo/type/viewport_pb.d.ts +34 -0
- package/dist/gen/google/geo/type/viewport_pb_service.d.ts +3 -0
- package/dist/gen/google/longrunning/operations_pb.d.ts +231 -0
- package/dist/gen/google/longrunning/operations_pb_service.d.ts +140 -0
- package/dist/gen/google/rpc/code_pb.d.ts +27 -0
- package/dist/gen/google/rpc/code_pb_service.d.ts +3 -0
- package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +356 -0
- package/dist/gen/google/rpc/context/attribute_context_pb_service.d.ts +3 -0
- package/dist/gen/google/rpc/error_details_pb.d.ts +349 -0
- package/dist/gen/google/rpc/error_details_pb_service.d.ts +3 -0
- package/dist/gen/google/rpc/status_pb.d.ts +36 -0
- package/dist/gen/google/rpc/status_pb_service.d.ts +3 -0
- package/dist/gen/google/type/calendar_period_pb.d.ts +18 -0
- package/dist/gen/google/type/calendar_period_pb_service.d.ts +3 -0
- package/dist/gen/google/type/color_pb.d.ts +40 -0
- package/dist/gen/google/type/color_pb_service.d.ts +3 -0
- package/dist/gen/google/type/date_pb.d.ts +33 -0
- package/dist/gen/google/type/date_pb_service.d.ts +3 -0
- package/dist/gen/google/type/datetime_pb.d.ts +93 -0
- package/dist/gen/google/type/datetime_pb_service.d.ts +3 -0
- package/dist/gen/google/type/dayofweek_pb.d.ts +18 -0
- package/dist/gen/google/type/dayofweek_pb_service.d.ts +3 -0
- package/dist/gen/google/type/decimal_pb.d.ts +25 -0
- package/dist/gen/google/type/decimal_pb_service.d.ts +3 -0
- package/dist/gen/google/type/expr_pb.d.ts +37 -0
- package/dist/gen/google/type/expr_pb_service.d.ts +3 -0
- package/dist/gen/google/type/fraction_pb.d.ts +29 -0
- package/dist/gen/google/type/fraction_pb_service.d.ts +3 -0
- package/dist/gen/google/type/interval_pb.d.ts +34 -0
- package/dist/gen/google/type/interval_pb_service.d.ts +3 -0
- package/dist/gen/google/type/latlng_pb.d.ts +29 -0
- package/dist/gen/google/type/latlng_pb_service.d.ts +3 -0
- package/dist/gen/google/type/localized_text_pb.d.ts +29 -0
- package/dist/gen/google/type/localized_text_pb_service.d.ts +3 -0
- package/dist/gen/google/type/money_pb.d.ts +33 -0
- package/dist/gen/google/type/money_pb_service.d.ts +3 -0
- package/dist/gen/google/type/month_pb.d.ts +23 -0
- package/dist/gen/google/type/month_pb_service.d.ts +3 -0
- package/dist/gen/google/type/phone_number_pb.d.ts +68 -0
- package/dist/gen/google/type/phone_number_pb_service.d.ts +3 -0
- package/dist/gen/google/type/postal_address_pb.d.ts +69 -0
- package/dist/gen/google/type/postal_address_pb_service.d.ts +3 -0
- package/dist/gen/google/type/quaternion_pb.d.ts +37 -0
- package/dist/gen/google/type/quaternion_pb_service.d.ts +3 -0
- package/dist/gen/google/type/timeofday_pb.d.ts +37 -0
- package/dist/gen/google/type/timeofday_pb_service.d.ts +3 -0
- package/dist/gen/proto/rpc/examples/echo/v1/echo_pb.d.ts +126 -0
- package/dist/gen/proto/rpc/examples/echo/v1/echo_pb_service.d.ts +85 -0
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb.d.ts +137 -0
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb_service.d.ts +85 -0
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +66 -0
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +55 -0
- package/dist/gen/proto/rpc/v1/auth_pb.d.ts +116 -0
- package/dist/gen/proto/rpc/v1/auth_pb_service.d.ts +92 -0
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +324 -0
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb_service.d.ts +3 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +585 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb_service.d.ts +104 -0
- package/dist/gen/proto/stream/v1/stream_pb.d.ts +115 -0
- package/dist/gen/proto/stream/v1/stream_pb_service.d.ts +101 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +912 -0
- package/dist/gen/robot/v1/robot_pb_service.d.ts +321 -0
- package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +50 -0
- package/dist/gen/service/datamanager/v1/data_manager_pb_service.d.ts +83 -0
- package/dist/gen/service/mlmodel/v1/mlmodel_pb.d.ts +219 -0
- package/dist/gen/service/mlmodel/v1/mlmodel_pb_service.d.ts +82 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +400 -0
- package/dist/gen/service/motion/v1/motion_pb_service.d.ts +140 -0
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +324 -0
- package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +178 -0
- package/dist/gen/service/sensors/v1/sensors_pb.d.ts +135 -0
- package/dist/gen/service/sensors/v1/sensors_pb_service.d.ts +102 -0
- package/dist/gen/service/shell/v1/shell_pb.d.ts +66 -0
- package/dist/gen/service/shell/v1/shell_pb_service.d.ts +75 -0
- package/dist/gen/service/slam/v1/slam_pb.d.ts +144 -0
- package/dist/gen/service/slam/v1/slam_pb_service.d.ts +105 -0
- package/dist/gen/service/vision/v1/vision_pb.d.ts +906 -0
- package/dist/gen/service/vision/v1/vision_pb_service.d.ts +349 -0
- package/dist/main.es.js +1 -1
- package/dist/main.umd.js +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
// package: viam.component.arm.v1
|
|
2
|
+
// file: component/arm/v1/arm.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as common_v1_common_pb from "../../../common/v1/common_pb";
|
|
6
|
+
import * as google_api_annotations_pb from "../../../google/api/annotations_pb";
|
|
7
|
+
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
8
|
+
|
|
9
|
+
export class GetEndPositionRequest extends jspb.Message {
|
|
10
|
+
getName(): string;
|
|
11
|
+
setName(value: string): void;
|
|
12
|
+
|
|
13
|
+
hasExtra(): boolean;
|
|
14
|
+
clearExtra(): void;
|
|
15
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
16
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
17
|
+
|
|
18
|
+
serializeBinary(): Uint8Array;
|
|
19
|
+
toObject(includeInstance?: boolean): GetEndPositionRequest.AsObject;
|
|
20
|
+
static toObject(includeInstance: boolean, msg: GetEndPositionRequest): GetEndPositionRequest.AsObject;
|
|
21
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
22
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
23
|
+
static serializeBinaryToWriter(message: GetEndPositionRequest, writer: jspb.BinaryWriter): void;
|
|
24
|
+
static deserializeBinary(bytes: Uint8Array): GetEndPositionRequest;
|
|
25
|
+
static deserializeBinaryFromReader(message: GetEndPositionRequest, reader: jspb.BinaryReader): GetEndPositionRequest;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export namespace GetEndPositionRequest {
|
|
29
|
+
export type AsObject = {
|
|
30
|
+
name: string,
|
|
31
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export class GetEndPositionResponse extends jspb.Message {
|
|
36
|
+
hasPose(): boolean;
|
|
37
|
+
clearPose(): void;
|
|
38
|
+
getPose(): common_v1_common_pb.Pose | undefined;
|
|
39
|
+
setPose(value?: common_v1_common_pb.Pose): void;
|
|
40
|
+
|
|
41
|
+
serializeBinary(): Uint8Array;
|
|
42
|
+
toObject(includeInstance?: boolean): GetEndPositionResponse.AsObject;
|
|
43
|
+
static toObject(includeInstance: boolean, msg: GetEndPositionResponse): GetEndPositionResponse.AsObject;
|
|
44
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
45
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
46
|
+
static serializeBinaryToWriter(message: GetEndPositionResponse, writer: jspb.BinaryWriter): void;
|
|
47
|
+
static deserializeBinary(bytes: Uint8Array): GetEndPositionResponse;
|
|
48
|
+
static deserializeBinaryFromReader(message: GetEndPositionResponse, reader: jspb.BinaryReader): GetEndPositionResponse;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export namespace GetEndPositionResponse {
|
|
52
|
+
export type AsObject = {
|
|
53
|
+
pose?: common_v1_common_pb.Pose.AsObject,
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export class JointPositions extends jspb.Message {
|
|
58
|
+
clearValuesList(): void;
|
|
59
|
+
getValuesList(): Array<number>;
|
|
60
|
+
setValuesList(value: Array<number>): void;
|
|
61
|
+
addValues(value: number, index?: number): number;
|
|
62
|
+
|
|
63
|
+
serializeBinary(): Uint8Array;
|
|
64
|
+
toObject(includeInstance?: boolean): JointPositions.AsObject;
|
|
65
|
+
static toObject(includeInstance: boolean, msg: JointPositions): JointPositions.AsObject;
|
|
66
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
67
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
68
|
+
static serializeBinaryToWriter(message: JointPositions, writer: jspb.BinaryWriter): void;
|
|
69
|
+
static deserializeBinary(bytes: Uint8Array): JointPositions;
|
|
70
|
+
static deserializeBinaryFromReader(message: JointPositions, reader: jspb.BinaryReader): JointPositions;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export namespace JointPositions {
|
|
74
|
+
export type AsObject = {
|
|
75
|
+
valuesList: Array<number>,
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export class GetJointPositionsRequest extends jspb.Message {
|
|
80
|
+
getName(): string;
|
|
81
|
+
setName(value: string): void;
|
|
82
|
+
|
|
83
|
+
hasExtra(): boolean;
|
|
84
|
+
clearExtra(): void;
|
|
85
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
86
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
87
|
+
|
|
88
|
+
serializeBinary(): Uint8Array;
|
|
89
|
+
toObject(includeInstance?: boolean): GetJointPositionsRequest.AsObject;
|
|
90
|
+
static toObject(includeInstance: boolean, msg: GetJointPositionsRequest): GetJointPositionsRequest.AsObject;
|
|
91
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
92
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
93
|
+
static serializeBinaryToWriter(message: GetJointPositionsRequest, writer: jspb.BinaryWriter): void;
|
|
94
|
+
static deserializeBinary(bytes: Uint8Array): GetJointPositionsRequest;
|
|
95
|
+
static deserializeBinaryFromReader(message: GetJointPositionsRequest, reader: jspb.BinaryReader): GetJointPositionsRequest;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export namespace GetJointPositionsRequest {
|
|
99
|
+
export type AsObject = {
|
|
100
|
+
name: string,
|
|
101
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export class GetJointPositionsResponse extends jspb.Message {
|
|
106
|
+
hasPositions(): boolean;
|
|
107
|
+
clearPositions(): void;
|
|
108
|
+
getPositions(): JointPositions | undefined;
|
|
109
|
+
setPositions(value?: JointPositions): void;
|
|
110
|
+
|
|
111
|
+
serializeBinary(): Uint8Array;
|
|
112
|
+
toObject(includeInstance?: boolean): GetJointPositionsResponse.AsObject;
|
|
113
|
+
static toObject(includeInstance: boolean, msg: GetJointPositionsResponse): GetJointPositionsResponse.AsObject;
|
|
114
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
115
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
116
|
+
static serializeBinaryToWriter(message: GetJointPositionsResponse, writer: jspb.BinaryWriter): void;
|
|
117
|
+
static deserializeBinary(bytes: Uint8Array): GetJointPositionsResponse;
|
|
118
|
+
static deserializeBinaryFromReader(message: GetJointPositionsResponse, reader: jspb.BinaryReader): GetJointPositionsResponse;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export namespace GetJointPositionsResponse {
|
|
122
|
+
export type AsObject = {
|
|
123
|
+
positions?: JointPositions.AsObject,
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export class MoveToPositionRequest extends jspb.Message {
|
|
128
|
+
getName(): string;
|
|
129
|
+
setName(value: string): void;
|
|
130
|
+
|
|
131
|
+
hasTo(): boolean;
|
|
132
|
+
clearTo(): void;
|
|
133
|
+
getTo(): common_v1_common_pb.Pose | undefined;
|
|
134
|
+
setTo(value?: common_v1_common_pb.Pose): void;
|
|
135
|
+
|
|
136
|
+
hasExtra(): boolean;
|
|
137
|
+
clearExtra(): void;
|
|
138
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
139
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
140
|
+
|
|
141
|
+
serializeBinary(): Uint8Array;
|
|
142
|
+
toObject(includeInstance?: boolean): MoveToPositionRequest.AsObject;
|
|
143
|
+
static toObject(includeInstance: boolean, msg: MoveToPositionRequest): MoveToPositionRequest.AsObject;
|
|
144
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
145
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
146
|
+
static serializeBinaryToWriter(message: MoveToPositionRequest, writer: jspb.BinaryWriter): void;
|
|
147
|
+
static deserializeBinary(bytes: Uint8Array): MoveToPositionRequest;
|
|
148
|
+
static deserializeBinaryFromReader(message: MoveToPositionRequest, reader: jspb.BinaryReader): MoveToPositionRequest;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export namespace MoveToPositionRequest {
|
|
152
|
+
export type AsObject = {
|
|
153
|
+
name: string,
|
|
154
|
+
to?: common_v1_common_pb.Pose.AsObject,
|
|
155
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export class MoveToPositionResponse extends jspb.Message {
|
|
160
|
+
serializeBinary(): Uint8Array;
|
|
161
|
+
toObject(includeInstance?: boolean): MoveToPositionResponse.AsObject;
|
|
162
|
+
static toObject(includeInstance: boolean, msg: MoveToPositionResponse): MoveToPositionResponse.AsObject;
|
|
163
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
164
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
165
|
+
static serializeBinaryToWriter(message: MoveToPositionResponse, writer: jspb.BinaryWriter): void;
|
|
166
|
+
static deserializeBinary(bytes: Uint8Array): MoveToPositionResponse;
|
|
167
|
+
static deserializeBinaryFromReader(message: MoveToPositionResponse, reader: jspb.BinaryReader): MoveToPositionResponse;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export namespace MoveToPositionResponse {
|
|
171
|
+
export type AsObject = {
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export class MoveToJointPositionsRequest extends jspb.Message {
|
|
176
|
+
getName(): string;
|
|
177
|
+
setName(value: string): void;
|
|
178
|
+
|
|
179
|
+
hasPositions(): boolean;
|
|
180
|
+
clearPositions(): void;
|
|
181
|
+
getPositions(): JointPositions | undefined;
|
|
182
|
+
setPositions(value?: JointPositions): void;
|
|
183
|
+
|
|
184
|
+
hasExtra(): boolean;
|
|
185
|
+
clearExtra(): void;
|
|
186
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
187
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
188
|
+
|
|
189
|
+
serializeBinary(): Uint8Array;
|
|
190
|
+
toObject(includeInstance?: boolean): MoveToJointPositionsRequest.AsObject;
|
|
191
|
+
static toObject(includeInstance: boolean, msg: MoveToJointPositionsRequest): MoveToJointPositionsRequest.AsObject;
|
|
192
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
193
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
194
|
+
static serializeBinaryToWriter(message: MoveToJointPositionsRequest, writer: jspb.BinaryWriter): void;
|
|
195
|
+
static deserializeBinary(bytes: Uint8Array): MoveToJointPositionsRequest;
|
|
196
|
+
static deserializeBinaryFromReader(message: MoveToJointPositionsRequest, reader: jspb.BinaryReader): MoveToJointPositionsRequest;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export namespace MoveToJointPositionsRequest {
|
|
200
|
+
export type AsObject = {
|
|
201
|
+
name: string,
|
|
202
|
+
positions?: JointPositions.AsObject,
|
|
203
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export class MoveToJointPositionsResponse extends jspb.Message {
|
|
208
|
+
serializeBinary(): Uint8Array;
|
|
209
|
+
toObject(includeInstance?: boolean): MoveToJointPositionsResponse.AsObject;
|
|
210
|
+
static toObject(includeInstance: boolean, msg: MoveToJointPositionsResponse): MoveToJointPositionsResponse.AsObject;
|
|
211
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
212
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
213
|
+
static serializeBinaryToWriter(message: MoveToJointPositionsResponse, writer: jspb.BinaryWriter): void;
|
|
214
|
+
static deserializeBinary(bytes: Uint8Array): MoveToJointPositionsResponse;
|
|
215
|
+
static deserializeBinaryFromReader(message: MoveToJointPositionsResponse, reader: jspb.BinaryReader): MoveToJointPositionsResponse;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export namespace MoveToJointPositionsResponse {
|
|
219
|
+
export type AsObject = {
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export class StopRequest extends jspb.Message {
|
|
224
|
+
getName(): string;
|
|
225
|
+
setName(value: string): void;
|
|
226
|
+
|
|
227
|
+
hasExtra(): boolean;
|
|
228
|
+
clearExtra(): void;
|
|
229
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
230
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
231
|
+
|
|
232
|
+
serializeBinary(): Uint8Array;
|
|
233
|
+
toObject(includeInstance?: boolean): StopRequest.AsObject;
|
|
234
|
+
static toObject(includeInstance: boolean, msg: StopRequest): StopRequest.AsObject;
|
|
235
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
236
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
237
|
+
static serializeBinaryToWriter(message: StopRequest, writer: jspb.BinaryWriter): void;
|
|
238
|
+
static deserializeBinary(bytes: Uint8Array): StopRequest;
|
|
239
|
+
static deserializeBinaryFromReader(message: StopRequest, reader: jspb.BinaryReader): StopRequest;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export namespace StopRequest {
|
|
243
|
+
export type AsObject = {
|
|
244
|
+
name: string,
|
|
245
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export class StopResponse extends jspb.Message {
|
|
250
|
+
serializeBinary(): Uint8Array;
|
|
251
|
+
toObject(includeInstance?: boolean): StopResponse.AsObject;
|
|
252
|
+
static toObject(includeInstance: boolean, msg: StopResponse): StopResponse.AsObject;
|
|
253
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
254
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
255
|
+
static serializeBinaryToWriter(message: StopResponse, writer: jspb.BinaryWriter): void;
|
|
256
|
+
static deserializeBinary(bytes: Uint8Array): StopResponse;
|
|
257
|
+
static deserializeBinaryFromReader(message: StopResponse, reader: jspb.BinaryReader): StopResponse;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export namespace StopResponse {
|
|
261
|
+
export type AsObject = {
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export class Status extends jspb.Message {
|
|
266
|
+
hasEndPosition(): boolean;
|
|
267
|
+
clearEndPosition(): void;
|
|
268
|
+
getEndPosition(): common_v1_common_pb.Pose | undefined;
|
|
269
|
+
setEndPosition(value?: common_v1_common_pb.Pose): void;
|
|
270
|
+
|
|
271
|
+
hasJointPositions(): boolean;
|
|
272
|
+
clearJointPositions(): void;
|
|
273
|
+
getJointPositions(): JointPositions | undefined;
|
|
274
|
+
setJointPositions(value?: JointPositions): void;
|
|
275
|
+
|
|
276
|
+
getIsMoving(): boolean;
|
|
277
|
+
setIsMoving(value: boolean): void;
|
|
278
|
+
|
|
279
|
+
serializeBinary(): Uint8Array;
|
|
280
|
+
toObject(includeInstance?: boolean): Status.AsObject;
|
|
281
|
+
static toObject(includeInstance: boolean, msg: Status): Status.AsObject;
|
|
282
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
283
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
284
|
+
static serializeBinaryToWriter(message: Status, writer: jspb.BinaryWriter): void;
|
|
285
|
+
static deserializeBinary(bytes: Uint8Array): Status;
|
|
286
|
+
static deserializeBinaryFromReader(message: Status, reader: jspb.BinaryReader): Status;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export namespace Status {
|
|
290
|
+
export type AsObject = {
|
|
291
|
+
endPosition?: common_v1_common_pb.Pose.AsObject,
|
|
292
|
+
jointPositions?: JointPositions.AsObject,
|
|
293
|
+
isMoving: boolean,
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export class IsMovingRequest extends jspb.Message {
|
|
298
|
+
getName(): string;
|
|
299
|
+
setName(value: string): void;
|
|
300
|
+
|
|
301
|
+
serializeBinary(): Uint8Array;
|
|
302
|
+
toObject(includeInstance?: boolean): IsMovingRequest.AsObject;
|
|
303
|
+
static toObject(includeInstance: boolean, msg: IsMovingRequest): IsMovingRequest.AsObject;
|
|
304
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
305
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
306
|
+
static serializeBinaryToWriter(message: IsMovingRequest, writer: jspb.BinaryWriter): void;
|
|
307
|
+
static deserializeBinary(bytes: Uint8Array): IsMovingRequest;
|
|
308
|
+
static deserializeBinaryFromReader(message: IsMovingRequest, reader: jspb.BinaryReader): IsMovingRequest;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export namespace IsMovingRequest {
|
|
312
|
+
export type AsObject = {
|
|
313
|
+
name: string,
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export class IsMovingResponse extends jspb.Message {
|
|
318
|
+
getIsMoving(): boolean;
|
|
319
|
+
setIsMoving(value: boolean): void;
|
|
320
|
+
|
|
321
|
+
serializeBinary(): Uint8Array;
|
|
322
|
+
toObject(includeInstance?: boolean): IsMovingResponse.AsObject;
|
|
323
|
+
static toObject(includeInstance: boolean, msg: IsMovingResponse): IsMovingResponse.AsObject;
|
|
324
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
325
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
326
|
+
static serializeBinaryToWriter(message: IsMovingResponse, writer: jspb.BinaryWriter): void;
|
|
327
|
+
static deserializeBinary(bytes: Uint8Array): IsMovingResponse;
|
|
328
|
+
static deserializeBinaryFromReader(message: IsMovingResponse, reader: jspb.BinaryReader): IsMovingResponse;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export namespace IsMovingResponse {
|
|
332
|
+
export type AsObject = {
|
|
333
|
+
isMoving: boolean,
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
// package: viam.component.arm.v1
|
|
2
|
+
// file: component/arm/v1/arm.proto
|
|
3
|
+
|
|
4
|
+
import * as component_arm_v1_arm_pb from "../../../component/arm/v1/arm_pb";
|
|
5
|
+
import * as common_v1_common_pb from "../../../common/v1/common_pb";
|
|
6
|
+
import {grpc} from "@improbable-eng/grpc-web";
|
|
7
|
+
|
|
8
|
+
type ArmServiceGetEndPosition = {
|
|
9
|
+
readonly methodName: string;
|
|
10
|
+
readonly service: typeof ArmService;
|
|
11
|
+
readonly requestStream: false;
|
|
12
|
+
readonly responseStream: false;
|
|
13
|
+
readonly requestType: typeof component_arm_v1_arm_pb.GetEndPositionRequest;
|
|
14
|
+
readonly responseType: typeof component_arm_v1_arm_pb.GetEndPositionResponse;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
type ArmServiceMoveToPosition = {
|
|
18
|
+
readonly methodName: string;
|
|
19
|
+
readonly service: typeof ArmService;
|
|
20
|
+
readonly requestStream: false;
|
|
21
|
+
readonly responseStream: false;
|
|
22
|
+
readonly requestType: typeof component_arm_v1_arm_pb.MoveToPositionRequest;
|
|
23
|
+
readonly responseType: typeof component_arm_v1_arm_pb.MoveToPositionResponse;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
type ArmServiceGetJointPositions = {
|
|
27
|
+
readonly methodName: string;
|
|
28
|
+
readonly service: typeof ArmService;
|
|
29
|
+
readonly requestStream: false;
|
|
30
|
+
readonly responseStream: false;
|
|
31
|
+
readonly requestType: typeof component_arm_v1_arm_pb.GetJointPositionsRequest;
|
|
32
|
+
readonly responseType: typeof component_arm_v1_arm_pb.GetJointPositionsResponse;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
type ArmServiceMoveToJointPositions = {
|
|
36
|
+
readonly methodName: string;
|
|
37
|
+
readonly service: typeof ArmService;
|
|
38
|
+
readonly requestStream: false;
|
|
39
|
+
readonly responseStream: false;
|
|
40
|
+
readonly requestType: typeof component_arm_v1_arm_pb.MoveToJointPositionsRequest;
|
|
41
|
+
readonly responseType: typeof component_arm_v1_arm_pb.MoveToJointPositionsResponse;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
type ArmServiceStop = {
|
|
45
|
+
readonly methodName: string;
|
|
46
|
+
readonly service: typeof ArmService;
|
|
47
|
+
readonly requestStream: false;
|
|
48
|
+
readonly responseStream: false;
|
|
49
|
+
readonly requestType: typeof component_arm_v1_arm_pb.StopRequest;
|
|
50
|
+
readonly responseType: typeof component_arm_v1_arm_pb.StopResponse;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
type ArmServiceIsMoving = {
|
|
54
|
+
readonly methodName: string;
|
|
55
|
+
readonly service: typeof ArmService;
|
|
56
|
+
readonly requestStream: false;
|
|
57
|
+
readonly responseStream: false;
|
|
58
|
+
readonly requestType: typeof component_arm_v1_arm_pb.IsMovingRequest;
|
|
59
|
+
readonly responseType: typeof component_arm_v1_arm_pb.IsMovingResponse;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
type ArmServiceDoCommand = {
|
|
63
|
+
readonly methodName: string;
|
|
64
|
+
readonly service: typeof ArmService;
|
|
65
|
+
readonly requestStream: false;
|
|
66
|
+
readonly responseStream: false;
|
|
67
|
+
readonly requestType: typeof common_v1_common_pb.DoCommandRequest;
|
|
68
|
+
readonly responseType: typeof common_v1_common_pb.DoCommandResponse;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export class ArmService {
|
|
72
|
+
static readonly serviceName: string;
|
|
73
|
+
static readonly GetEndPosition: ArmServiceGetEndPosition;
|
|
74
|
+
static readonly MoveToPosition: ArmServiceMoveToPosition;
|
|
75
|
+
static readonly GetJointPositions: ArmServiceGetJointPositions;
|
|
76
|
+
static readonly MoveToJointPositions: ArmServiceMoveToJointPositions;
|
|
77
|
+
static readonly Stop: ArmServiceStop;
|
|
78
|
+
static readonly IsMoving: ArmServiceIsMoving;
|
|
79
|
+
static readonly DoCommand: ArmServiceDoCommand;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
83
|
+
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
84
|
+
|
|
85
|
+
interface UnaryResponse {
|
|
86
|
+
cancel(): void;
|
|
87
|
+
}
|
|
88
|
+
interface ResponseStream<T> {
|
|
89
|
+
cancel(): void;
|
|
90
|
+
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
91
|
+
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
92
|
+
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
93
|
+
}
|
|
94
|
+
interface RequestStream<T> {
|
|
95
|
+
write(message: T): RequestStream<T>;
|
|
96
|
+
end(): void;
|
|
97
|
+
cancel(): void;
|
|
98
|
+
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
99
|
+
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
100
|
+
}
|
|
101
|
+
interface BidirectionalStream<ReqT, ResT> {
|
|
102
|
+
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
103
|
+
end(): void;
|
|
104
|
+
cancel(): void;
|
|
105
|
+
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
106
|
+
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
107
|
+
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export class ArmServiceClient {
|
|
111
|
+
readonly serviceHost: string;
|
|
112
|
+
|
|
113
|
+
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
114
|
+
getEndPosition(
|
|
115
|
+
requestMessage: component_arm_v1_arm_pb.GetEndPositionRequest,
|
|
116
|
+
metadata: grpc.Metadata,
|
|
117
|
+
callback: (error: ServiceError|null, responseMessage: component_arm_v1_arm_pb.GetEndPositionResponse|null) => void
|
|
118
|
+
): UnaryResponse;
|
|
119
|
+
getEndPosition(
|
|
120
|
+
requestMessage: component_arm_v1_arm_pb.GetEndPositionRequest,
|
|
121
|
+
callback: (error: ServiceError|null, responseMessage: component_arm_v1_arm_pb.GetEndPositionResponse|null) => void
|
|
122
|
+
): UnaryResponse;
|
|
123
|
+
moveToPosition(
|
|
124
|
+
requestMessage: component_arm_v1_arm_pb.MoveToPositionRequest,
|
|
125
|
+
metadata: grpc.Metadata,
|
|
126
|
+
callback: (error: ServiceError|null, responseMessage: component_arm_v1_arm_pb.MoveToPositionResponse|null) => void
|
|
127
|
+
): UnaryResponse;
|
|
128
|
+
moveToPosition(
|
|
129
|
+
requestMessage: component_arm_v1_arm_pb.MoveToPositionRequest,
|
|
130
|
+
callback: (error: ServiceError|null, responseMessage: component_arm_v1_arm_pb.MoveToPositionResponse|null) => void
|
|
131
|
+
): UnaryResponse;
|
|
132
|
+
getJointPositions(
|
|
133
|
+
requestMessage: component_arm_v1_arm_pb.GetJointPositionsRequest,
|
|
134
|
+
metadata: grpc.Metadata,
|
|
135
|
+
callback: (error: ServiceError|null, responseMessage: component_arm_v1_arm_pb.GetJointPositionsResponse|null) => void
|
|
136
|
+
): UnaryResponse;
|
|
137
|
+
getJointPositions(
|
|
138
|
+
requestMessage: component_arm_v1_arm_pb.GetJointPositionsRequest,
|
|
139
|
+
callback: (error: ServiceError|null, responseMessage: component_arm_v1_arm_pb.GetJointPositionsResponse|null) => void
|
|
140
|
+
): UnaryResponse;
|
|
141
|
+
moveToJointPositions(
|
|
142
|
+
requestMessage: component_arm_v1_arm_pb.MoveToJointPositionsRequest,
|
|
143
|
+
metadata: grpc.Metadata,
|
|
144
|
+
callback: (error: ServiceError|null, responseMessage: component_arm_v1_arm_pb.MoveToJointPositionsResponse|null) => void
|
|
145
|
+
): UnaryResponse;
|
|
146
|
+
moveToJointPositions(
|
|
147
|
+
requestMessage: component_arm_v1_arm_pb.MoveToJointPositionsRequest,
|
|
148
|
+
callback: (error: ServiceError|null, responseMessage: component_arm_v1_arm_pb.MoveToJointPositionsResponse|null) => void
|
|
149
|
+
): UnaryResponse;
|
|
150
|
+
stop(
|
|
151
|
+
requestMessage: component_arm_v1_arm_pb.StopRequest,
|
|
152
|
+
metadata: grpc.Metadata,
|
|
153
|
+
callback: (error: ServiceError|null, responseMessage: component_arm_v1_arm_pb.StopResponse|null) => void
|
|
154
|
+
): UnaryResponse;
|
|
155
|
+
stop(
|
|
156
|
+
requestMessage: component_arm_v1_arm_pb.StopRequest,
|
|
157
|
+
callback: (error: ServiceError|null, responseMessage: component_arm_v1_arm_pb.StopResponse|null) => void
|
|
158
|
+
): UnaryResponse;
|
|
159
|
+
isMoving(
|
|
160
|
+
requestMessage: component_arm_v1_arm_pb.IsMovingRequest,
|
|
161
|
+
metadata: grpc.Metadata,
|
|
162
|
+
callback: (error: ServiceError|null, responseMessage: component_arm_v1_arm_pb.IsMovingResponse|null) => void
|
|
163
|
+
): UnaryResponse;
|
|
164
|
+
isMoving(
|
|
165
|
+
requestMessage: component_arm_v1_arm_pb.IsMovingRequest,
|
|
166
|
+
callback: (error: ServiceError|null, responseMessage: component_arm_v1_arm_pb.IsMovingResponse|null) => void
|
|
167
|
+
): UnaryResponse;
|
|
168
|
+
doCommand(
|
|
169
|
+
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
170
|
+
metadata: grpc.Metadata,
|
|
171
|
+
callback: (error: ServiceError|null, responseMessage: common_v1_common_pb.DoCommandResponse|null) => void
|
|
172
|
+
): UnaryResponse;
|
|
173
|
+
doCommand(
|
|
174
|
+
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
175
|
+
callback: (error: ServiceError|null, responseMessage: common_v1_common_pb.DoCommandResponse|null) => void
|
|
176
|
+
): UnaryResponse;
|
|
177
|
+
}
|
|
178
|
+
|