@viamrobotics/sdk 0.0.39 → 0.0.40-alpha.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/components/arm/Client.d.ts +5 -1
- package/dist/components/base/Client.d.ts +5 -1
- package/dist/components/board/Client.d.ts +5 -1
- package/dist/components/camera/Client.d.ts +5 -1
- package/dist/components/gripper/Client.d.ts +19 -0
- package/dist/components/gripper/Gripper.d.ts +12 -0
- package/dist/components/gripper.d.ts +2 -0
- package/dist/components/motor/Client.d.ts +5 -1
- package/dist/components/movementsensor/Client.d.ts +5 -1
- package/dist/components/sensor/Client.d.ts +5 -1
- package/dist/extra/stream/Client.d.ts +5 -0
- package/dist/main.d.ts +380 -23
- package/dist/main.es.js +688 -647
- package/dist/main.umd.js +2 -2
- package/dist/robot/Client.d.ts +5 -1
- package/dist/robot/Robot.d.ts +0 -12
- package/package.json +4 -1
package/dist/robot/Client.d.ts
CHANGED
|
@@ -34,7 +34,11 @@ declare abstract class ServiceClient {
|
|
|
34
34
|
options?: grpc.RpcOptions | undefined;
|
|
35
35
|
constructor(serviceHost: string, options?: grpc.RpcOptions | undefined);
|
|
36
36
|
}
|
|
37
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* A gRPC-web client for a Robot.
|
|
39
|
+
*
|
|
40
|
+
* @group Clients
|
|
41
|
+
*/
|
|
38
42
|
export declare class RobotClient implements Robot {
|
|
39
43
|
private readonly serviceHost;
|
|
40
44
|
private readonly webrtcOptions;
|
package/dist/robot/Robot.d.ts
CHANGED
|
@@ -6,9 +6,6 @@ export interface Robot {
|
|
|
6
6
|
/**
|
|
7
7
|
* Get the list of operations currently running on the robot.
|
|
8
8
|
*
|
|
9
|
-
* @privateRemarks
|
|
10
|
-
* TODO: this function should return an more idiomatic type instead of just
|
|
11
|
-
* passing along a proto type.
|
|
12
9
|
* @group Operations
|
|
13
10
|
* @alpha
|
|
14
11
|
*/
|
|
@@ -43,9 +40,6 @@ export interface Robot {
|
|
|
43
40
|
/**
|
|
44
41
|
* Get the configuration of the frame system of a given robot.
|
|
45
42
|
*
|
|
46
|
-
* @privateRemarks
|
|
47
|
-
* TODO: this function should return an more idiomatic type instead of just
|
|
48
|
-
* passing along a proto type.
|
|
49
43
|
* @group Frame System
|
|
50
44
|
* @alpha
|
|
51
45
|
*/
|
|
@@ -54,9 +48,6 @@ export interface Robot {
|
|
|
54
48
|
* Transform a given source Pose from the reference frame to a new specified
|
|
55
49
|
* destination which is a reference frame.
|
|
56
50
|
*
|
|
57
|
-
* @privateRemarks
|
|
58
|
-
* TODO: this function should return an more idiomatic type instead of just
|
|
59
|
-
* passing along a proto type.
|
|
60
51
|
* @param query - The pose that should be transformed
|
|
61
52
|
* @param destination - The name of the reference frame to transform the given
|
|
62
53
|
* @param supplementalTransforms - Pose information on any additional
|
|
@@ -85,9 +76,6 @@ export interface Robot {
|
|
|
85
76
|
/**
|
|
86
77
|
* Get the list of discovered component configurations.
|
|
87
78
|
*
|
|
88
|
-
* @privateRemarks
|
|
89
|
-
* TODO: this function should return an more idiomatic type instead of just
|
|
90
|
-
* passing along a proto type.
|
|
91
79
|
* @param queries - The list of component models to discovery.
|
|
92
80
|
* @group Discovery
|
|
93
81
|
* @alpha
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viamrobotics/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.40-alpha.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/main.umd.js",
|
|
6
6
|
"module": "./dist/main.es.js",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"build": "vite build",
|
|
26
26
|
"check": "npm-check --production",
|
|
27
27
|
"doc": "typedoc",
|
|
28
|
+
"doc:watch": "typedoc --watch",
|
|
28
29
|
"format": "prettier --write './src/**/*.{ts,js}'",
|
|
29
30
|
"lint:prettier": "prettier --check './src/**/*.{ts,js}'",
|
|
30
31
|
"lint:eslint": "eslint './src/**/*.{ts,js}' --fix",
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
"@viamrobotics/rpc": "^0.1.34"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
49
|
+
"@bufbuild/buf": "^1.15.0-1",
|
|
48
50
|
"@improbable-eng/grpc-web": "^0.15.0",
|
|
49
51
|
"@improbable-eng/grpc-web-fake-transport": "^0.15.0",
|
|
50
52
|
"@types/google-protobuf": "^3.15.6",
|
|
@@ -52,6 +54,7 @@
|
|
|
52
54
|
"@typescript-eslint/parser": "^5.43.0",
|
|
53
55
|
"eslint": "^8.27.0",
|
|
54
56
|
"eslint-config-prettier": "^8.5.0",
|
|
57
|
+
"eslint-plugin-tsdoc": "^0.2.17",
|
|
55
58
|
"google-protobuf": "^3.21.2",
|
|
56
59
|
"grpc-web": "^1.4.2",
|
|
57
60
|
"happy-dom": "^8.2.6",
|