@viamrobotics/sdk 0.8.0-rc.0 → 0.8.1-next.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 +2 -2
- package/dist/gen/app/agent/v1/agent_pb.d.ts +310 -0
- package/dist/gen/app/agent/v1/agent_pb_service.d.ts +111 -0
- package/dist/gen/app/data/v1/data_pb.d.ts +16 -0
- package/dist/gen/app/v1/app_pb.d.ts +93 -0
- package/dist/gen/app/v1/app_pb_service.d.ts +38 -0
- package/dist/gen/app/v1/robot_pb.d.ts +26 -0
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +86 -7
- package/dist/main.umd.js +1 -1
- package/dist/services/navigation/client.d.ts +1 -0
- package/dist/services/navigation/navigation.d.ts +3 -1
- package/dist/services/navigation/types.d.ts +1 -0
- package/dist/services/navigation.d.ts +1 -1
- package/package.json +1 -1
|
@@ -21,5 +21,6 @@ export declare class NavigationClient implements Navigation {
|
|
|
21
21
|
addWayPoint(location: GeoPoint, extra?: {}): Promise<void>;
|
|
22
22
|
removeWayPoint(id: string, extra?: {}): Promise<void>;
|
|
23
23
|
getObstacles(extra?: {}): Promise<import("../../gen/common/v1/common_pb").GeoObstacle.AsObject[]>;
|
|
24
|
+
getPaths(extra?: {}): Promise<pb.Path.AsObject[]>;
|
|
24
25
|
doCommand(command: StructType): Promise<StructType>;
|
|
25
26
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GeoObstacle, GeoPoint, Resource, StructType } from '../../types';
|
|
2
|
-
import type { ModeMap, Waypoint, NavigationPosition } from './types';
|
|
2
|
+
import type { ModeMap, Waypoint, NavigationPosition, Path } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* A service that uses GPS to automatically navigate a robot to user defined
|
|
5
5
|
* endpoints.
|
|
@@ -33,4 +33,6 @@ export interface Navigation extends Resource {
|
|
|
33
33
|
removeWayPoint: (id: string, extra?: StructType) => Promise<void>;
|
|
34
34
|
/** Get a list of obstacles. */
|
|
35
35
|
getObstacles: (extra?: StructType) => Promise<GeoObstacle[]>;
|
|
36
|
+
/** Gets the list of paths known to the navigation service. */
|
|
37
|
+
getPaths: (extra?: StructType) => Promise<Path[]>;
|
|
36
38
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export type { Navigation } from './navigation/navigation';
|
|
2
|
-
export type { ModeMap, Waypoint, NavigationPosition } from './navigation/types';
|
|
2
|
+
export type { ModeMap, Waypoint, NavigationPosition, Path, } from './navigation/types';
|
|
3
3
|
export { NavigationClient } from './navigation/client';
|