@viamrobotics/sdk 0.0.8 → 0.0.9

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.
Files changed (38) hide show
  1. package/dist/components/base/Base.d.ts +8 -0
  2. package/dist/components/base/Client.d.ts +13 -0
  3. package/dist/components/camera/Client.d.ts +3 -2
  4. package/dist/components/motor/Client.d.ts +19 -0
  5. package/dist/components/motor/Motor.d.ts +14 -0
  6. package/dist/gen/common/v1/common_pb.d.ts +6 -0
  7. package/dist/gen/common/v1/common_pb.esm.d.ts +6 -0
  8. package/dist/gen/component/arm/v1/arm_pb.d.ts +40 -0
  9. package/dist/gen/component/arm/v1/arm_pb.esm.d.ts +40 -0
  10. package/dist/gen/component/arm/v1/arm_pb_service.d.ts +19 -0
  11. package/dist/gen/component/arm/v1/arm_pb_service.esm.d.ts +19 -0
  12. package/dist/gen/component/base/v1/base_pb.d.ts +40 -0
  13. package/dist/gen/component/base/v1/base_pb.esm.d.ts +40 -0
  14. package/dist/gen/component/base/v1/base_pb_service.d.ts +19 -0
  15. package/dist/gen/component/base/v1/base_pb_service.esm.d.ts +19 -0
  16. package/dist/gen/component/gantry/v1/gantry_pb.d.ts +40 -0
  17. package/dist/gen/component/gantry/v1/gantry_pb.esm.d.ts +40 -0
  18. package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +19 -0
  19. package/dist/gen/component/gantry/v1/gantry_pb_service.esm.d.ts +19 -0
  20. package/dist/gen/component/gripper/v1/gripper_pb.d.ts +40 -0
  21. package/dist/gen/component/gripper/v1/gripper_pb.esm.d.ts +40 -0
  22. package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +19 -0
  23. package/dist/gen/component/gripper/v1/gripper_pb_service.esm.d.ts +19 -0
  24. package/dist/gen/component/motor/v1/motor_pb.d.ts +40 -0
  25. package/dist/gen/component/motor/v1/motor_pb.esm.d.ts +40 -0
  26. package/dist/gen/component/motor/v1/motor_pb_service.d.ts +19 -0
  27. package/dist/gen/component/motor/v1/motor_pb_service.esm.d.ts +19 -0
  28. package/dist/gen/component/servo/v1/servo_pb.d.ts +40 -0
  29. package/dist/gen/component/servo/v1/servo_pb.esm.d.ts +40 -0
  30. package/dist/gen/component/servo/v1/servo_pb_service.d.ts +19 -0
  31. package/dist/gen/component/servo/v1/servo_pb_service.esm.d.ts +19 -0
  32. package/dist/gen/google/rpc/error_details_pb.d.ts +27 -27
  33. package/dist/gen/robot/v1/robot_pb.d.ts +10 -14
  34. package/dist/gen/robot/v1/robot_pb.esm.d.ts +10 -14
  35. package/dist/main.d.ts +5 -1
  36. package/dist/main.es.js +23064 -16977
  37. package/dist/main.umd.js +55 -49
  38. package/package.json +1 -1
@@ -142,3 +142,43 @@ export namespace StopResponse {
142
142
  }
143
143
  }
144
144
 
145
+ export class IsMovingRequest extends jspb.Message {
146
+ getName(): string;
147
+ setName(value: string): void;
148
+
149
+ serializeBinary(): Uint8Array;
150
+ toObject(includeInstance?: boolean): IsMovingRequest.AsObject;
151
+ static toObject(includeInstance: boolean, msg: IsMovingRequest): IsMovingRequest.AsObject;
152
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
153
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
154
+ static serializeBinaryToWriter(message: IsMovingRequest, writer: jspb.BinaryWriter): void;
155
+ static deserializeBinary(bytes: Uint8Array): IsMovingRequest;
156
+ static deserializeBinaryFromReader(message: IsMovingRequest, reader: jspb.BinaryReader): IsMovingRequest;
157
+ }
158
+
159
+ export namespace IsMovingRequest {
160
+ export type AsObject = {
161
+ name: string,
162
+ }
163
+ }
164
+
165
+ export class IsMovingResponse extends jspb.Message {
166
+ getIsMoving(): boolean;
167
+ setIsMoving(value: boolean): void;
168
+
169
+ serializeBinary(): Uint8Array;
170
+ toObject(includeInstance?: boolean): IsMovingResponse.AsObject;
171
+ static toObject(includeInstance: boolean, msg: IsMovingResponse): IsMovingResponse.AsObject;
172
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
173
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
174
+ static serializeBinaryToWriter(message: IsMovingResponse, writer: jspb.BinaryWriter): void;
175
+ static deserializeBinary(bytes: Uint8Array): IsMovingResponse;
176
+ static deserializeBinaryFromReader(message: IsMovingResponse, reader: jspb.BinaryReader): IsMovingResponse;
177
+ }
178
+
179
+ export namespace IsMovingResponse {
180
+ export type AsObject = {
181
+ isMoving: boolean,
182
+ }
183
+ }
184
+
@@ -31,11 +31,21 @@ type GripperServiceStop = {
31
31
  readonly responseType: typeof component_gripper_v1_gripper_pb.StopResponse;
32
32
  };
33
33
 
34
+ type GripperServiceIsMoving = {
35
+ readonly methodName: string;
36
+ readonly service: typeof GripperService;
37
+ readonly requestStream: false;
38
+ readonly responseStream: false;
39
+ readonly requestType: typeof component_gripper_v1_gripper_pb.IsMovingRequest;
40
+ readonly responseType: typeof component_gripper_v1_gripper_pb.IsMovingResponse;
41
+ };
42
+
34
43
  export class GripperService {
35
44
  static readonly serviceName: string;
36
45
  static readonly Open: GripperServiceOpen;
37
46
  static readonly Grab: GripperServiceGrab;
38
47
  static readonly Stop: GripperServiceStop;
48
+ static readonly IsMoving: GripperServiceIsMoving;
39
49
  }
40
50
 
41
51
  export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
@@ -97,5 +107,14 @@ export class GripperServiceClient {
97
107
  requestMessage: component_gripper_v1_gripper_pb.StopRequest,
98
108
  callback: (error: ServiceError|null, responseMessage: component_gripper_v1_gripper_pb.StopResponse|null) => void
99
109
  ): UnaryResponse;
110
+ isMoving(
111
+ requestMessage: component_gripper_v1_gripper_pb.IsMovingRequest,
112
+ metadata: grpc.Metadata,
113
+ callback: (error: ServiceError|null, responseMessage: component_gripper_v1_gripper_pb.IsMovingResponse|null) => void
114
+ ): UnaryResponse;
115
+ isMoving(
116
+ requestMessage: component_gripper_v1_gripper_pb.IsMovingRequest,
117
+ callback: (error: ServiceError|null, responseMessage: component_gripper_v1_gripper_pb.IsMovingResponse|null) => void
118
+ ): UnaryResponse;
100
119
  }
101
120
 
@@ -31,11 +31,21 @@ type GripperServiceStop = {
31
31
  readonly responseType: typeof component_gripper_v1_gripper_pb.StopResponse;
32
32
  };
33
33
 
34
+ type GripperServiceIsMoving = {
35
+ readonly methodName: string;
36
+ readonly service: typeof GripperService;
37
+ readonly requestStream: false;
38
+ readonly responseStream: false;
39
+ readonly requestType: typeof component_gripper_v1_gripper_pb.IsMovingRequest;
40
+ readonly responseType: typeof component_gripper_v1_gripper_pb.IsMovingResponse;
41
+ };
42
+
34
43
  export class GripperService {
35
44
  static readonly serviceName: string;
36
45
  static readonly Open: GripperServiceOpen;
37
46
  static readonly Grab: GripperServiceGrab;
38
47
  static readonly Stop: GripperServiceStop;
48
+ static readonly IsMoving: GripperServiceIsMoving;
39
49
  }
40
50
 
41
51
  export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
@@ -97,5 +107,14 @@ export class GripperServiceClient {
97
107
  requestMessage: component_gripper_v1_gripper_pb.StopRequest,
98
108
  callback: (error: ServiceError|null, responseMessage: component_gripper_v1_gripper_pb.StopResponse|null) => void
99
109
  ): UnaryResponse;
110
+ isMoving(
111
+ requestMessage: component_gripper_v1_gripper_pb.IsMovingRequest,
112
+ metadata: grpc.Metadata,
113
+ callback: (error: ServiceError|null, responseMessage: component_gripper_v1_gripper_pb.IsMovingResponse|null) => void
114
+ ): UnaryResponse;
115
+ isMoving(
116
+ requestMessage: component_gripper_v1_gripper_pb.IsMovingRequest,
117
+ callback: (error: ServiceError|null, responseMessage: component_gripper_v1_gripper_pb.IsMovingResponse|null) => void
118
+ ): UnaryResponse;
100
119
  }
101
120
 
@@ -414,3 +414,43 @@ export namespace Status {
414
414
  }
415
415
  }
416
416
 
417
+ export class IsMovingRequest extends jspb.Message {
418
+ getName(): string;
419
+ setName(value: string): void;
420
+
421
+ serializeBinary(): Uint8Array;
422
+ toObject(includeInstance?: boolean): IsMovingRequest.AsObject;
423
+ static toObject(includeInstance: boolean, msg: IsMovingRequest): IsMovingRequest.AsObject;
424
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
425
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
426
+ static serializeBinaryToWriter(message: IsMovingRequest, writer: jspb.BinaryWriter): void;
427
+ static deserializeBinary(bytes: Uint8Array): IsMovingRequest;
428
+ static deserializeBinaryFromReader(message: IsMovingRequest, reader: jspb.BinaryReader): IsMovingRequest;
429
+ }
430
+
431
+ export namespace IsMovingRequest {
432
+ export type AsObject = {
433
+ name: string,
434
+ }
435
+ }
436
+
437
+ export class IsMovingResponse extends jspb.Message {
438
+ getIsMoving(): boolean;
439
+ setIsMoving(value: boolean): void;
440
+
441
+ serializeBinary(): Uint8Array;
442
+ toObject(includeInstance?: boolean): IsMovingResponse.AsObject;
443
+ static toObject(includeInstance: boolean, msg: IsMovingResponse): IsMovingResponse.AsObject;
444
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
445
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
446
+ static serializeBinaryToWriter(message: IsMovingResponse, writer: jspb.BinaryWriter): void;
447
+ static deserializeBinary(bytes: Uint8Array): IsMovingResponse;
448
+ static deserializeBinaryFromReader(message: IsMovingResponse, reader: jspb.BinaryReader): IsMovingResponse;
449
+ }
450
+
451
+ export namespace IsMovingResponse {
452
+ export type AsObject = {
453
+ isMoving: boolean,
454
+ }
455
+ }
456
+
@@ -414,3 +414,43 @@ export namespace Status {
414
414
  }
415
415
  }
416
416
 
417
+ export class IsMovingRequest extends jspb.Message {
418
+ getName(): string;
419
+ setName(value: string): void;
420
+
421
+ serializeBinary(): Uint8Array;
422
+ toObject(includeInstance?: boolean): IsMovingRequest.AsObject;
423
+ static toObject(includeInstance: boolean, msg: IsMovingRequest): IsMovingRequest.AsObject;
424
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
425
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
426
+ static serializeBinaryToWriter(message: IsMovingRequest, writer: jspb.BinaryWriter): void;
427
+ static deserializeBinary(bytes: Uint8Array): IsMovingRequest;
428
+ static deserializeBinaryFromReader(message: IsMovingRequest, reader: jspb.BinaryReader): IsMovingRequest;
429
+ }
430
+
431
+ export namespace IsMovingRequest {
432
+ export type AsObject = {
433
+ name: string,
434
+ }
435
+ }
436
+
437
+ export class IsMovingResponse extends jspb.Message {
438
+ getIsMoving(): boolean;
439
+ setIsMoving(value: boolean): void;
440
+
441
+ serializeBinary(): Uint8Array;
442
+ toObject(includeInstance?: boolean): IsMovingResponse.AsObject;
443
+ static toObject(includeInstance: boolean, msg: IsMovingResponse): IsMovingResponse.AsObject;
444
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
445
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
446
+ static serializeBinaryToWriter(message: IsMovingResponse, writer: jspb.BinaryWriter): void;
447
+ static deserializeBinary(bytes: Uint8Array): IsMovingResponse;
448
+ static deserializeBinaryFromReader(message: IsMovingResponse, reader: jspb.BinaryReader): IsMovingResponse;
449
+ }
450
+
451
+ export namespace IsMovingResponse {
452
+ export type AsObject = {
453
+ isMoving: boolean,
454
+ }
455
+ }
456
+
@@ -76,6 +76,15 @@ type MotorServiceIsPowered = {
76
76
  readonly responseType: typeof component_motor_v1_motor_pb.IsPoweredResponse;
77
77
  };
78
78
 
79
+ type MotorServiceIsMoving = {
80
+ readonly methodName: string;
81
+ readonly service: typeof MotorService;
82
+ readonly requestStream: false;
83
+ readonly responseStream: false;
84
+ readonly requestType: typeof component_motor_v1_motor_pb.IsMovingRequest;
85
+ readonly responseType: typeof component_motor_v1_motor_pb.IsMovingResponse;
86
+ };
87
+
79
88
  export class MotorService {
80
89
  static readonly serviceName: string;
81
90
  static readonly SetPower: MotorServiceSetPower;
@@ -86,6 +95,7 @@ export class MotorService {
86
95
  static readonly GetProperties: MotorServiceGetProperties;
87
96
  static readonly Stop: MotorServiceStop;
88
97
  static readonly IsPowered: MotorServiceIsPowered;
98
+ static readonly IsMoving: MotorServiceIsMoving;
89
99
  }
90
100
 
91
101
  export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
@@ -192,5 +202,14 @@ export class MotorServiceClient {
192
202
  requestMessage: component_motor_v1_motor_pb.IsPoweredRequest,
193
203
  callback: (error: ServiceError|null, responseMessage: component_motor_v1_motor_pb.IsPoweredResponse|null) => void
194
204
  ): UnaryResponse;
205
+ isMoving(
206
+ requestMessage: component_motor_v1_motor_pb.IsMovingRequest,
207
+ metadata: grpc.Metadata,
208
+ callback: (error: ServiceError|null, responseMessage: component_motor_v1_motor_pb.IsMovingResponse|null) => void
209
+ ): UnaryResponse;
210
+ isMoving(
211
+ requestMessage: component_motor_v1_motor_pb.IsMovingRequest,
212
+ callback: (error: ServiceError|null, responseMessage: component_motor_v1_motor_pb.IsMovingResponse|null) => void
213
+ ): UnaryResponse;
195
214
  }
196
215
 
@@ -76,6 +76,15 @@ type MotorServiceIsPowered = {
76
76
  readonly responseType: typeof component_motor_v1_motor_pb.IsPoweredResponse;
77
77
  };
78
78
 
79
+ type MotorServiceIsMoving = {
80
+ readonly methodName: string;
81
+ readonly service: typeof MotorService;
82
+ readonly requestStream: false;
83
+ readonly responseStream: false;
84
+ readonly requestType: typeof component_motor_v1_motor_pb.IsMovingRequest;
85
+ readonly responseType: typeof component_motor_v1_motor_pb.IsMovingResponse;
86
+ };
87
+
79
88
  export class MotorService {
80
89
  static readonly serviceName: string;
81
90
  static readonly SetPower: MotorServiceSetPower;
@@ -86,6 +95,7 @@ export class MotorService {
86
95
  static readonly GetProperties: MotorServiceGetProperties;
87
96
  static readonly Stop: MotorServiceStop;
88
97
  static readonly IsPowered: MotorServiceIsPowered;
98
+ static readonly IsMoving: MotorServiceIsMoving;
89
99
  }
90
100
 
91
101
  export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
@@ -192,5 +202,14 @@ export class MotorServiceClient {
192
202
  requestMessage: component_motor_v1_motor_pb.IsPoweredRequest,
193
203
  callback: (error: ServiceError|null, responseMessage: component_motor_v1_motor_pb.IsPoweredResponse|null) => void
194
204
  ): UnaryResponse;
205
+ isMoving(
206
+ requestMessage: component_motor_v1_motor_pb.IsMovingRequest,
207
+ metadata: grpc.Metadata,
208
+ callback: (error: ServiceError|null, responseMessage: component_motor_v1_motor_pb.IsMovingResponse|null) => void
209
+ ): UnaryResponse;
210
+ isMoving(
211
+ requestMessage: component_motor_v1_motor_pb.IsMovingRequest,
212
+ callback: (error: ServiceError|null, responseMessage: component_motor_v1_motor_pb.IsMovingResponse|null) => void
213
+ ): UnaryResponse;
195
214
  }
196
215
 
@@ -164,3 +164,43 @@ export namespace Status {
164
164
  }
165
165
  }
166
166
 
167
+ export class IsMovingRequest extends jspb.Message {
168
+ getName(): string;
169
+ setName(value: string): void;
170
+
171
+ serializeBinary(): Uint8Array;
172
+ toObject(includeInstance?: boolean): IsMovingRequest.AsObject;
173
+ static toObject(includeInstance: boolean, msg: IsMovingRequest): IsMovingRequest.AsObject;
174
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
175
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
176
+ static serializeBinaryToWriter(message: IsMovingRequest, writer: jspb.BinaryWriter): void;
177
+ static deserializeBinary(bytes: Uint8Array): IsMovingRequest;
178
+ static deserializeBinaryFromReader(message: IsMovingRequest, reader: jspb.BinaryReader): IsMovingRequest;
179
+ }
180
+
181
+ export namespace IsMovingRequest {
182
+ export type AsObject = {
183
+ name: string,
184
+ }
185
+ }
186
+
187
+ export class IsMovingResponse extends jspb.Message {
188
+ getIsMoving(): boolean;
189
+ setIsMoving(value: boolean): void;
190
+
191
+ serializeBinary(): Uint8Array;
192
+ toObject(includeInstance?: boolean): IsMovingResponse.AsObject;
193
+ static toObject(includeInstance: boolean, msg: IsMovingResponse): IsMovingResponse.AsObject;
194
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
195
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
196
+ static serializeBinaryToWriter(message: IsMovingResponse, writer: jspb.BinaryWriter): void;
197
+ static deserializeBinary(bytes: Uint8Array): IsMovingResponse;
198
+ static deserializeBinaryFromReader(message: IsMovingResponse, reader: jspb.BinaryReader): IsMovingResponse;
199
+ }
200
+
201
+ export namespace IsMovingResponse {
202
+ export type AsObject = {
203
+ isMoving: boolean,
204
+ }
205
+ }
206
+
@@ -164,3 +164,43 @@ export namespace Status {
164
164
  }
165
165
  }
166
166
 
167
+ export class IsMovingRequest extends jspb.Message {
168
+ getName(): string;
169
+ setName(value: string): void;
170
+
171
+ serializeBinary(): Uint8Array;
172
+ toObject(includeInstance?: boolean): IsMovingRequest.AsObject;
173
+ static toObject(includeInstance: boolean, msg: IsMovingRequest): IsMovingRequest.AsObject;
174
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
175
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
176
+ static serializeBinaryToWriter(message: IsMovingRequest, writer: jspb.BinaryWriter): void;
177
+ static deserializeBinary(bytes: Uint8Array): IsMovingRequest;
178
+ static deserializeBinaryFromReader(message: IsMovingRequest, reader: jspb.BinaryReader): IsMovingRequest;
179
+ }
180
+
181
+ export namespace IsMovingRequest {
182
+ export type AsObject = {
183
+ name: string,
184
+ }
185
+ }
186
+
187
+ export class IsMovingResponse extends jspb.Message {
188
+ getIsMoving(): boolean;
189
+ setIsMoving(value: boolean): void;
190
+
191
+ serializeBinary(): Uint8Array;
192
+ toObject(includeInstance?: boolean): IsMovingResponse.AsObject;
193
+ static toObject(includeInstance: boolean, msg: IsMovingResponse): IsMovingResponse.AsObject;
194
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
195
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
196
+ static serializeBinaryToWriter(message: IsMovingResponse, writer: jspb.BinaryWriter): void;
197
+ static deserializeBinary(bytes: Uint8Array): IsMovingResponse;
198
+ static deserializeBinaryFromReader(message: IsMovingResponse, reader: jspb.BinaryReader): IsMovingResponse;
199
+ }
200
+
201
+ export namespace IsMovingResponse {
202
+ export type AsObject = {
203
+ isMoving: boolean,
204
+ }
205
+ }
206
+
@@ -31,11 +31,21 @@ type ServoServiceStop = {
31
31
  readonly responseType: typeof component_servo_v1_servo_pb.StopResponse;
32
32
  };
33
33
 
34
+ type ServoServiceIsMoving = {
35
+ readonly methodName: string;
36
+ readonly service: typeof ServoService;
37
+ readonly requestStream: false;
38
+ readonly responseStream: false;
39
+ readonly requestType: typeof component_servo_v1_servo_pb.IsMovingRequest;
40
+ readonly responseType: typeof component_servo_v1_servo_pb.IsMovingResponse;
41
+ };
42
+
34
43
  export class ServoService {
35
44
  static readonly serviceName: string;
36
45
  static readonly Move: ServoServiceMove;
37
46
  static readonly GetPosition: ServoServiceGetPosition;
38
47
  static readonly Stop: ServoServiceStop;
48
+ static readonly IsMoving: ServoServiceIsMoving;
39
49
  }
40
50
 
41
51
  export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
@@ -97,5 +107,14 @@ export class ServoServiceClient {
97
107
  requestMessage: component_servo_v1_servo_pb.StopRequest,
98
108
  callback: (error: ServiceError|null, responseMessage: component_servo_v1_servo_pb.StopResponse|null) => void
99
109
  ): UnaryResponse;
110
+ isMoving(
111
+ requestMessage: component_servo_v1_servo_pb.IsMovingRequest,
112
+ metadata: grpc.Metadata,
113
+ callback: (error: ServiceError|null, responseMessage: component_servo_v1_servo_pb.IsMovingResponse|null) => void
114
+ ): UnaryResponse;
115
+ isMoving(
116
+ requestMessage: component_servo_v1_servo_pb.IsMovingRequest,
117
+ callback: (error: ServiceError|null, responseMessage: component_servo_v1_servo_pb.IsMovingResponse|null) => void
118
+ ): UnaryResponse;
100
119
  }
101
120
 
@@ -31,11 +31,21 @@ type ServoServiceStop = {
31
31
  readonly responseType: typeof component_servo_v1_servo_pb.StopResponse;
32
32
  };
33
33
 
34
+ type ServoServiceIsMoving = {
35
+ readonly methodName: string;
36
+ readonly service: typeof ServoService;
37
+ readonly requestStream: false;
38
+ readonly responseStream: false;
39
+ readonly requestType: typeof component_servo_v1_servo_pb.IsMovingRequest;
40
+ readonly responseType: typeof component_servo_v1_servo_pb.IsMovingResponse;
41
+ };
42
+
34
43
  export class ServoService {
35
44
  static readonly serviceName: string;
36
45
  static readonly Move: ServoServiceMove;
37
46
  static readonly GetPosition: ServoServiceGetPosition;
38
47
  static readonly Stop: ServoServiceStop;
48
+ static readonly IsMoving: ServoServiceIsMoving;
39
49
  }
40
50
 
41
51
  export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
@@ -97,5 +107,14 @@ export class ServoServiceClient {
97
107
  requestMessage: component_servo_v1_servo_pb.StopRequest,
98
108
  callback: (error: ServiceError|null, responseMessage: component_servo_v1_servo_pb.StopResponse|null) => void
99
109
  ): UnaryResponse;
110
+ isMoving(
111
+ requestMessage: component_servo_v1_servo_pb.IsMovingRequest,
112
+ metadata: grpc.Metadata,
113
+ callback: (error: ServiceError|null, responseMessage: component_servo_v1_servo_pb.IsMovingResponse|null) => void
114
+ ): UnaryResponse;
115
+ isMoving(
116
+ requestMessage: component_servo_v1_servo_pb.IsMovingRequest,
117
+ callback: (error: ServiceError|null, responseMessage: component_servo_v1_servo_pb.IsMovingResponse|null) => void
118
+ ): UnaryResponse;
100
119
  }
101
120
 
@@ -4,6 +4,33 @@
4
4
  import * as jspb from "google-protobuf";
5
5
  import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb";
6
6
 
7
+ export class ErrorInfo extends jspb.Message {
8
+ getReason(): string;
9
+ setReason(value: string): void;
10
+
11
+ getDomain(): string;
12
+ setDomain(value: string): void;
13
+
14
+ getMetadataMap(): jspb.Map<string, string>;
15
+ clearMetadataMap(): void;
16
+ serializeBinary(): Uint8Array;
17
+ toObject(includeInstance?: boolean): ErrorInfo.AsObject;
18
+ static toObject(includeInstance: boolean, msg: ErrorInfo): ErrorInfo.AsObject;
19
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
20
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
21
+ static serializeBinaryToWriter(message: ErrorInfo, writer: jspb.BinaryWriter): void;
22
+ static deserializeBinary(bytes: Uint8Array): ErrorInfo;
23
+ static deserializeBinaryFromReader(message: ErrorInfo, reader: jspb.BinaryReader): ErrorInfo;
24
+ }
25
+
26
+ export namespace ErrorInfo {
27
+ export type AsObject = {
28
+ reason: string,
29
+ domain: string,
30
+ metadataMap: Array<[string, string]>,
31
+ }
32
+ }
33
+
7
34
  export class RetryInfo extends jspb.Message {
8
35
  hasRetryDelay(): boolean;
9
36
  clearRetryDelay(): void;
@@ -98,33 +125,6 @@ export namespace QuotaFailure {
98
125
  }
99
126
  }
100
127
 
101
- export class ErrorInfo extends jspb.Message {
102
- getReason(): string;
103
- setReason(value: string): void;
104
-
105
- getDomain(): string;
106
- setDomain(value: string): void;
107
-
108
- getMetadataMap(): jspb.Map<string, string>;
109
- clearMetadataMap(): void;
110
- serializeBinary(): Uint8Array;
111
- toObject(includeInstance?: boolean): ErrorInfo.AsObject;
112
- static toObject(includeInstance: boolean, msg: ErrorInfo): ErrorInfo.AsObject;
113
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
114
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
115
- static serializeBinaryToWriter(message: ErrorInfo, writer: jspb.BinaryWriter): void;
116
- static deserializeBinary(bytes: Uint8Array): ErrorInfo;
117
- static deserializeBinaryFromReader(message: ErrorInfo, reader: jspb.BinaryReader): ErrorInfo;
118
- }
119
-
120
- export namespace ErrorInfo {
121
- export type AsObject = {
122
- reason: string,
123
- domain: string,
124
- metadataMap: Array<[string, string]>,
125
- }
126
- }
127
-
128
128
  export class PreconditionFailure extends jspb.Message {
129
129
  clearViolationsList(): void;
130
130
  getViolationsList(): Array<PreconditionFailure.Violation>;
@@ -9,18 +9,15 @@ import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/stru
9
9
  import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
10
10
 
11
11
  export class FrameSystemConfig extends jspb.Message {
12
- getName(): string;
13
- setName(value: string): void;
12
+ hasFrame(): boolean;
13
+ clearFrame(): void;
14
+ getFrame(): common_v1_common_pb.Transform | undefined;
15
+ setFrame(value?: common_v1_common_pb.Transform): void;
14
16
 
15
- hasPoseInParentFrame(): boolean;
16
- clearPoseInParentFrame(): void;
17
- getPoseInParentFrame(): common_v1_common_pb.PoseInFrame | undefined;
18
- setPoseInParentFrame(value?: common_v1_common_pb.PoseInFrame): void;
19
-
20
- getModelJson(): Uint8Array | string;
21
- getModelJson_asU8(): Uint8Array;
22
- getModelJson_asB64(): string;
23
- setModelJson(value: Uint8Array | string): void;
17
+ hasKinematics(): boolean;
18
+ clearKinematics(): void;
19
+ getKinematics(): google_protobuf_struct_pb.Struct | undefined;
20
+ setKinematics(value?: google_protobuf_struct_pb.Struct): void;
24
21
 
25
22
  serializeBinary(): Uint8Array;
26
23
  toObject(includeInstance?: boolean): FrameSystemConfig.AsObject;
@@ -34,9 +31,8 @@ export class FrameSystemConfig extends jspb.Message {
34
31
 
35
32
  export namespace FrameSystemConfig {
36
33
  export type AsObject = {
37
- name: string,
38
- poseInParentFrame?: common_v1_common_pb.PoseInFrame.AsObject,
39
- modelJson: Uint8Array | string,
34
+ frame?: common_v1_common_pb.Transform.AsObject,
35
+ kinematics?: google_protobuf_struct_pb.Struct.AsObject,
40
36
  }
41
37
  }
42
38
 
@@ -9,18 +9,15 @@ import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/stru
9
9
  import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
10
10
 
11
11
  export class FrameSystemConfig extends jspb.Message {
12
- getName(): string;
13
- setName(value: string): void;
12
+ hasFrame(): boolean;
13
+ clearFrame(): void;
14
+ getFrame(): common_v1_common_pb.Transform | undefined;
15
+ setFrame(value?: common_v1_common_pb.Transform): void;
14
16
 
15
- hasPoseInParentFrame(): boolean;
16
- clearPoseInParentFrame(): void;
17
- getPoseInParentFrame(): common_v1_common_pb.PoseInFrame | undefined;
18
- setPoseInParentFrame(value?: common_v1_common_pb.PoseInFrame): void;
19
-
20
- getModelJson(): Uint8Array | string;
21
- getModelJson_asU8(): Uint8Array;
22
- getModelJson_asB64(): string;
23
- setModelJson(value: Uint8Array | string): void;
17
+ hasKinematics(): boolean;
18
+ clearKinematics(): void;
19
+ getKinematics(): google_protobuf_struct_pb.Struct | undefined;
20
+ setKinematics(value?: google_protobuf_struct_pb.Struct): void;
24
21
 
25
22
  serializeBinary(): Uint8Array;
26
23
  toObject(includeInstance?: boolean): FrameSystemConfig.AsObject;
@@ -34,9 +31,8 @@ export class FrameSystemConfig extends jspb.Message {
34
31
 
35
32
  export namespace FrameSystemConfig {
36
33
  export type AsObject = {
37
- name: string,
38
- poseInParentFrame?: common_v1_common_pb.PoseInFrame.AsObject,
39
- modelJson: Uint8Array | string,
34
+ frame?: common_v1_common_pb.Transform.AsObject,
35
+ kinematics?: google_protobuf_struct_pb.Struct.AsObject,
40
36
  }
41
37
  }
42
38
 
package/dist/main.d.ts CHANGED
@@ -1,6 +1,10 @@
1
+ import * as Base from './components/base/Base';
1
2
  import * as Camera from './components/camera/Camera';
3
+ import * as Motor from './components/motor/Motor';
4
+ import { BaseClient } from './components/base/Client';
2
5
  import { CameraClient } from './components/camera/Client';
3
6
  import Client from './Client';
7
+ import { MotorClient } from './components/motor/Client';
4
8
  import armApi from './gen/component/arm/v1/arm_pb.esm';
5
9
  import baseApi from './gen/component/base/v1/base_pb.esm';
6
10
  import boardApi from './gen/component/board/v1/board_pb.esm';
@@ -20,5 +24,5 @@ import servoApi from './gen/component/servo/v1/servo_pb.esm';
20
24
  import slamApi from './gen/service/slam/v1/slam_pb.esm';
21
25
  import streamApi from './gen/proto/stream/v1/stream_pb.esm';
22
26
  import visionApi from './gen/service/vision/v1/vision_pb.esm';
23
- export { commonApi, armApi, baseApi, boardApi, cameraApi, gantryApi, genericApi, gripperApi, inputControllerApi, motorApi, motionApi, movementSensorApi, servoApi, robotApi, navigationApi, sensorsApi, slamApi, visionApi, streamApi, Camera, CameraClient, Client };
27
+ export { commonApi, armApi, baseApi, boardApi, cameraApi, gantryApi, genericApi, gripperApi, inputControllerApi, motorApi, motionApi, movementSensorApi, servoApi, robotApi, navigationApi, sensorsApi, slamApi, visionApi, streamApi, Camera, Motor, Base, BaseClient, CameraClient, Client, MotorClient };
24
28
  export type { ResponseStream, ServiceError } from './gen/robot/v1/robot_pb_service.esm';