@viamrobotics/sdk 0.0.43 → 0.0.44
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/components/base/Base.d.ts +2 -0
- package/dist/components/base/Client.d.ts +1 -0
- package/dist/components/motor/Client.d.ts +1 -0
- package/dist/components/motor/Motor.d.ts +2 -0
- package/dist/gen/component/camera/v1/camera_pb.d.ts +8 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.es.js +618 -381
- package/dist/main.umd.js +2 -2
- package/dist/services/{datamanager → data-manager}/client.d.ts +2 -2
- package/dist/services/{datamanager/datamanager.d.ts → data-manager/data-manager.d.ts} +1 -1
- package/dist/services/data-manager.d.ts +2 -0
- package/package.json +1 -1
|
@@ -34,4 +34,6 @@ export interface Base {
|
|
|
34
34
|
setVelocity(linear: Vector3D, angular: Vector3D, extra?: Extra): Promise<void>;
|
|
35
35
|
/** Stop a base */
|
|
36
36
|
stop(extra?: Extra): Promise<void>;
|
|
37
|
+
/** Return true if the base is in motion. */
|
|
38
|
+
isMoving(extra?: Extra): Promise<boolean>;
|
|
37
39
|
}
|
|
@@ -17,4 +17,5 @@ export declare class BaseClient implements Base {
|
|
|
17
17
|
setPower(linear: Vector3D, angular: Vector3D, extra?: {}): Promise<void>;
|
|
18
18
|
setVelocity(linear: Vector3D, angular: Vector3D, extra?: {}): Promise<void>;
|
|
19
19
|
stop(extra?: {}): Promise<void>;
|
|
20
|
+
isMoving(): Promise<boolean>;
|
|
20
21
|
}
|
|
@@ -51,4 +51,6 @@ export interface Motor {
|
|
|
51
51
|
getPosition(extra?: Extra): Promise<number>;
|
|
52
52
|
/** Return true if the motor is on. */
|
|
53
53
|
isPowered(extra?: Extra): Promise<readonly [boolean, number]>;
|
|
54
|
+
/** Return true if the motor is in motion. */
|
|
55
|
+
isMoving(): Promise<boolean>;
|
|
54
56
|
}
|
|
@@ -216,6 +216,12 @@ export class Webcam extends jspb.Message {
|
|
|
216
216
|
setPropertiesList(value: Array<Property>): void;
|
|
217
217
|
addProperties(value?: Property, index?: number): Property;
|
|
218
218
|
|
|
219
|
+
getName(): string;
|
|
220
|
+
setName(value: string): void;
|
|
221
|
+
|
|
222
|
+
getId(): string;
|
|
223
|
+
setId(value: string): void;
|
|
224
|
+
|
|
219
225
|
serializeBinary(): Uint8Array;
|
|
220
226
|
toObject(includeInstance?: boolean): Webcam.AsObject;
|
|
221
227
|
static toObject(includeInstance: boolean, msg: Webcam): Webcam.AsObject;
|
|
@@ -231,6 +237,8 @@ export namespace Webcam {
|
|
|
231
237
|
label: string,
|
|
232
238
|
status: string,
|
|
233
239
|
propertiesList: Array<Property.AsObject>,
|
|
240
|
+
name: string,
|
|
241
|
+
id: string,
|
|
234
242
|
}
|
|
235
243
|
}
|
|
236
244
|
|
package/dist/main.d.ts
CHANGED
|
@@ -265,6 +265,7 @@ export { default as inputControllerApi } from './gen/component/inputcontroller/v
|
|
|
265
265
|
*/
|
|
266
266
|
export { default as motionApi } from './gen/service/motion/v1/motion_pb';
|
|
267
267
|
export { type Motion, type MotionConstraints, MotionClient, } from './services/motion';
|
|
268
|
+
export { type DataManager, DataManagerClient } from './services/data-manager';
|
|
268
269
|
/**
|
|
269
270
|
* Raw Protobuf interfaces for a Navigation service.
|
|
270
271
|
*
|