@viamrobotics/sdk 0.6.0-rc.0 → 0.7.0-rc.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/app/data-client.d.ts +12 -2
- package/dist/components/movement-sensor/client.d.ts +2 -2
- package/dist/components/movement-sensor/movement-sensor.d.ts +4 -11
- package/dist/components/movementsensor.d.ts +1 -1
- package/dist/components/power-sensor/client.d.ts +3 -3
- package/dist/components/power-sensor/power-sensor.d.ts +2 -6
- package/dist/components/powersensor.d.ts +1 -1
- package/dist/gen/app/cloudslam/v1/cloud_slam_pb.d.ts +15 -6
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +40 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb_service.d.ts +19 -0
- package/dist/gen/app/v1/end_user_pb.d.ts +0 -8
- package/dist/gen/app/v1/robot_pb.d.ts +46 -0
- package/dist/gen/common/v1/common_pb.d.ts +45 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +19 -0
- package/dist/gen/component/powersensor/v1/powersensor_pb_service.d.ts +19 -0
- package/dist/gen/component/sensor/v1/sensor_pb.d.ts +0 -46
- package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +6 -6
- package/dist/gen/robot/v1/robot_pb.d.ts +6 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +33 -5
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +75 -0
- package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +19 -0
- package/dist/main.d.ts +3 -3
- package/dist/main.es.js +688 -329
- package/dist/main.umd.js +5 -5
- package/dist/services/motion/types.d.ts +1 -0
- package/dist/services/motion.d.ts +1 -1
- package/dist/services/navigation/client.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import pb from '../../gen/service/motion/v1/motion_pb';
|
|
2
2
|
export type Constraints = pb.Constraints.AsObject;
|
|
3
|
+
export type ObstacleDetector = pb.ObstacleDetector.AsObject;
|
|
3
4
|
export type LinearConstraint = pb.LinearConstraint.AsObject;
|
|
4
5
|
export type OrientationConstraint = pb.OrientationConstraint.AsObject;
|
|
5
6
|
export type CollisionSpecification = pb.CollisionSpecification.AsObject;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export type { Motion } from './motion/motion';
|
|
2
|
-
export type { Constraints, LinearConstraint, OrientationConstraint, CollisionSpecification, MotionConfiguration, } from './motion/types';
|
|
2
|
+
export type { Constraints, LinearConstraint, ObstacleDetector, OrientationConstraint, CollisionSpecification, MotionConfiguration, } from './motion/types';
|
|
3
3
|
export { MotionClient } from './motion/client';
|
|
@@ -14,7 +14,7 @@ export declare class NavigationClient implements Navigation {
|
|
|
14
14
|
private readonly options;
|
|
15
15
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
16
16
|
private get service();
|
|
17
|
-
getMode(extra?: {}): Promise<0 | 2 | 1>;
|
|
17
|
+
getMode(extra?: {}): Promise<0 | 2 | 1 | 3>;
|
|
18
18
|
setMode(mode: ModeMap[keyof ModeMap], extra?: {}): Promise<void>;
|
|
19
19
|
getLocation(extra?: {}): Promise<pb.GetLocationResponse.AsObject>;
|
|
20
20
|
getWayPoints(extra?: {}): Promise<pb.Waypoint.AsObject[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viamrobotics/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0-rc.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/main.umd.js",
|
|
6
6
|
"module": "./dist/main.es.js",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"grpc-web": "^1.4.2",
|
|
68
68
|
"happy-dom": "^8.2.6",
|
|
69
69
|
"npm-check": "^6.0.1",
|
|
70
|
-
"prettier": "^2.8.
|
|
70
|
+
"prettier": "^2.8.8",
|
|
71
71
|
"prettier-plugin-jsdoc": "^0.4.2",
|
|
72
72
|
"protoc-gen-js": "^3.21.2",
|
|
73
73
|
"ts-protoc-gen": "^0.15.0",
|