@viamrobotics/sdk 0.64.1 → 0.66.0
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/arm/client.d.ts +1 -1
- package/dist/components/audio-in/audio-in.d.ts +1 -1
- package/dist/components/audio-in/client.d.ts +2 -2
- package/dist/components/audio-out/audio-out.d.ts +1 -1
- package/dist/components/audio-out/client.d.ts +2 -2
- package/dist/components/base/client.d.ts +1 -1
- package/dist/components/board/client.d.ts +1 -1
- package/dist/components/button/client.d.ts +1 -1
- package/dist/components/camera/client.d.ts +1 -1
- package/dist/components/encoder/client.d.ts +1 -1
- package/dist/components/gantry/client.d.ts +1 -1
- package/dist/components/generic/client.d.ts +1 -1
- package/dist/components/gripper/client.d.ts +1 -1
- package/dist/components/input-controller/client.d.ts +1 -1
- package/dist/components/motor/client.d.ts +1 -1
- package/dist/components/movement-sensor/client.d.ts +1 -1
- package/dist/components/pose-tracker/client.d.ts +1 -1
- package/dist/components/power-sensor/client.d.ts +1 -1
- package/dist/components/sensor/client.d.ts +1 -1
- package/dist/components/servo/client.d.ts +1 -1
- package/dist/components/switch/client.d.ts +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.es.js +3079 -2956
- package/dist/main.umd.js +7 -7
- package/dist/services/data-manager/client.d.ts +1 -1
- package/dist/services/discovery/client.d.ts +1 -1
- package/dist/services/generic/client.d.ts +1 -1
- package/dist/services/motion/client.d.ts +1 -1
- package/dist/services/navigation/client.d.ts +1 -1
- package/dist/services/slam/client.d.ts +1 -1
- package/dist/services/video/client.d.ts +1 -1
- package/dist/services/video/video.d.ts +1 -1
- package/dist/services/vision/client.d.ts +1 -1
- package/dist/services/world-state-store/client.d.ts +1 -1
- package/dist/types.d.ts +10 -5
- package/dist/utils.d.ts +23 -2
- package/package.json +1 -1
|
@@ -26,5 +26,5 @@ export declare class ArmClient implements Arm {
|
|
|
26
26
|
getJointPositions(extra?: {}, callOptions?: CallOptions): Promise<JointPositions>;
|
|
27
27
|
stop(extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
28
28
|
isMoving(callOptions?: CallOptions): Promise<boolean>;
|
|
29
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
29
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
30
30
|
}
|
|
@@ -10,10 +10,10 @@ export declare class AudioInClient implements AudioIn {
|
|
|
10
10
|
callOptions: CallOptions;
|
|
11
11
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
12
12
|
getAudio(codec: string, durationSeconds: number, previousTimestamp?: bigint, extra?: {}, callOptions?: CallOptions): AsyncIterable<AudioChunk>;
|
|
13
|
-
getProperties(callOptions?: CallOptions): Promise<{
|
|
13
|
+
getProperties(extra?: {}, callOptions?: CallOptions): Promise<{
|
|
14
14
|
supportedCodecs: string[];
|
|
15
15
|
sampleRateHz: number;
|
|
16
16
|
numChannels: number;
|
|
17
17
|
}>;
|
|
18
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
18
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
19
19
|
}
|
|
@@ -16,10 +16,10 @@ export declare class AudioOutClient implements AudioOut {
|
|
|
16
16
|
callOptions: CallOptions;
|
|
17
17
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
18
18
|
play(audioData: Uint8Array, audioInfo?: AudioInfo, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
19
|
-
getProperties(callOptions?: CallOptions): Promise<{
|
|
19
|
+
getProperties(extra?: {}, callOptions?: CallOptions): Promise<{
|
|
20
20
|
supportedCodecs: string[];
|
|
21
21
|
sampleRateHz: number;
|
|
22
22
|
numChannels: number;
|
|
23
23
|
}>;
|
|
24
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
24
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
25
25
|
}
|
|
@@ -21,6 +21,6 @@ export declare class BaseClient implements Base {
|
|
|
21
21
|
setVelocity(linear: Vector3, angular: Vector3, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
22
22
|
stop(extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
23
23
|
isMoving(callOptions?: CallOptions): Promise<boolean>;
|
|
24
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
24
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
25
25
|
getProperties(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/component/base/v1/base_pb").GetPropertiesResponse>;
|
|
26
26
|
}
|
|
@@ -25,5 +25,5 @@ export declare class BoardClient implements Board {
|
|
|
25
25
|
getDigitalInterruptValue(digitalInterruptName: string, extra?: {}, callOptions?: CallOptions): Promise<number>;
|
|
26
26
|
streamTicks(interrupts: string[], queue: Tick[], extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
27
27
|
setPowerMode(powerMode: PowerMode, duration?: Duration, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
28
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
28
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
29
29
|
}
|
|
@@ -15,5 +15,5 @@ export declare class ButtonClient implements Button {
|
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
17
|
push(extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
18
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
18
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
19
19
|
}
|
|
@@ -25,5 +25,5 @@ export declare class CameraClient implements Camera {
|
|
|
25
25
|
}>;
|
|
26
26
|
getPointCloud(extra?: {}, callOptions?: CallOptions): Promise<Uint8Array>;
|
|
27
27
|
getProperties(callOptions?: CallOptions): Promise<import("../../gen/component/camera/v1/camera_pb").GetPropertiesResponse>;
|
|
28
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
28
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
29
29
|
}
|
|
@@ -17,5 +17,5 @@ export declare class EncoderClient implements Encoder {
|
|
|
17
17
|
resetPosition(extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
18
18
|
getProperties(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/component/encoder/v1/encoder_pb").GetPropertiesResponse>;
|
|
19
19
|
getPosition(positionType?: EncoderPositionType, extra?: {}, callOptions?: CallOptions): Promise<readonly [number, import("../../gen/component/encoder/v1/encoder_pb").PositionType]>;
|
|
20
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
20
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
21
21
|
}
|
|
@@ -23,5 +23,5 @@ export declare class GantryClient implements Gantry {
|
|
|
23
23
|
getLengths(extra?: {}, callOptions?: CallOptions): Promise<number[]>;
|
|
24
24
|
stop(extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
25
25
|
isMoving(callOptions?: CallOptions): Promise<boolean>;
|
|
26
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
26
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
27
27
|
}
|
|
@@ -15,5 +15,5 @@ export declare class GenericClient implements Generic {
|
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
17
|
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
18
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
18
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
19
19
|
}
|
|
@@ -20,5 +20,5 @@ export declare class GripperClient implements Gripper {
|
|
|
20
20
|
stop(extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
21
21
|
isMoving(callOptions?: CallOptions): Promise<boolean>;
|
|
22
22
|
isHoldingSomething(extra?: {}, callOptions?: CallOptions): Promise<boolean>;
|
|
23
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
23
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
24
24
|
}
|
|
@@ -16,5 +16,5 @@ export declare class InputControllerClient implements InputController {
|
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
17
|
getEvents(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/component/inputcontroller/v1/input_controller_pb").Event[]>;
|
|
18
18
|
triggerEvent(event: InputControllerEvent, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
19
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
19
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
20
20
|
}
|
|
@@ -26,5 +26,5 @@ export declare class MotorClient implements Motor {
|
|
|
26
26
|
getPosition(extra?: {}, callOptions?: CallOptions): Promise<number>;
|
|
27
27
|
isPowered(extra?: {}, callOptions?: CallOptions): Promise<readonly [boolean, number]>;
|
|
28
28
|
isMoving(callOptions?: CallOptions): Promise<boolean>;
|
|
29
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
29
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
30
30
|
}
|
|
@@ -23,5 +23,5 @@ export declare class MovementSensorClient implements MovementSensor {
|
|
|
23
23
|
getAccuracy(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/component/movementsensor/v1/movementsensor_pb").GetAccuracyResponse>;
|
|
24
24
|
getLinearAcceleration(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Vector3>;
|
|
25
25
|
getReadings(extra?: {}, callOptions?: CallOptions): Promise<Record<string, JsonValue>>;
|
|
26
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
26
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
27
27
|
}
|
|
@@ -15,5 +15,5 @@ export declare class PoseTrackerClient implements PoseTracker {
|
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
17
|
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
18
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
18
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
19
19
|
}
|
|
@@ -18,5 +18,5 @@ export declare class PowerSensorClient implements PowerSensor {
|
|
|
18
18
|
getCurrent(extra?: {}, callOptions?: CallOptions): Promise<readonly [number, boolean]>;
|
|
19
19
|
getPower(extra?: {}, callOptions?: CallOptions): Promise<number>;
|
|
20
20
|
getReadings(extra?: {}, callOptions?: CallOptions): Promise<Record<string, JsonValue>>;
|
|
21
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
21
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
22
22
|
}
|
|
@@ -15,5 +15,5 @@ export declare class SensorClient implements Sensor {
|
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
17
|
getReadings(extra?: {}, callOptions?: CallOptions): Promise<Record<string, JsonValue>>;
|
|
18
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
18
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
19
19
|
}
|
|
@@ -18,5 +18,5 @@ export declare class ServoClient implements Servo {
|
|
|
18
18
|
getPosition(extra?: {}, callOptions?: CallOptions): Promise<number>;
|
|
19
19
|
stop(extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
20
20
|
isMoving(callOptions?: CallOptions): Promise<boolean>;
|
|
21
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
21
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
22
22
|
}
|
|
@@ -17,5 +17,5 @@ export declare class SwitchClient implements Switch {
|
|
|
17
17
|
setPosition(position: number, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
18
18
|
getPosition(extra?: {}, callOptions?: CallOptions): Promise<number>;
|
|
19
19
|
getNumberOfPositions(extra?: {}, callOptions?: CallOptions): Promise<[number, string[]]>;
|
|
20
|
-
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
20
|
+
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
21
21
|
}
|
package/dist/main.d.ts
CHANGED
|
@@ -297,6 +297,7 @@ export { Classification, Detection, PointCloudObject, VisionClient, } from './se
|
|
|
297
297
|
*/
|
|
298
298
|
export * as visionApi from './gen/service/vision/v1/vision_pb';
|
|
299
299
|
export * from './services/world-state-store';
|
|
300
|
+
export * from './services/video';
|
|
300
301
|
export { GenericClient as GenericServiceClient, type Generic as GenericService, } from './services/generic';
|
|
301
302
|
/**
|
|
302
303
|
* Raw Protobuf interfaces for a Generic service.
|