@viamrobotics/sdk 0.77.0 → 0.78.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/README.md +1 -1
- package/dist/api-version.d.ts +1 -1
- package/dist/app/app-client.d.ts +85 -102
- package/dist/app/billing-client.d.ts +4 -5
- package/dist/app/data-client.d.ts +31 -31
- package/dist/app/ml-training-client.d.ts +6 -6
- package/dist/components/arm/arm.d.ts +8 -9
- package/dist/components/base/base.d.ts +8 -8
- package/dist/components/board/board.d.ts +12 -13
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/camera/camera.d.ts +2 -2
- package/dist/components/encoder/encoder.d.ts +4 -4
- package/dist/components/gantry/gantry.d.ts +8 -8
- package/dist/components/generic/generic.d.ts +1 -1
- package/dist/components/gripper/gripper.d.ts +6 -6
- package/dist/components/input-controller/input-controller.d.ts +3 -3
- package/dist/components/motor/motor.d.ts +11 -11
- package/dist/components/movement-sensor/movement-sensor.d.ts +10 -10
- package/dist/components/pose-tracker/pose-tracker.d.ts +1 -1
- package/dist/components/power-sensor/power-sensor.d.ts +4 -4
- package/dist/components/sensor/sensor.d.ts +1 -1
- package/dist/components/servo/servo.d.ts +5 -5
- package/dist/components/switch/switch.d.ts +3 -3
- package/dist/gen/app/v1/app_pb.d.ts +14 -0
- package/dist/gen/app/v1/billing_pb.d.ts +5 -0
- package/dist/gen/common/v1/common_pb.d.ts +588 -6
- package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +9 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +25 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +66 -2
- package/dist/gen/service/motion/v1/motion_pb.d.ts +8 -0
- package/dist/gen/service/navigation/v1/navigation_connect.d.ts +324 -43
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +2350 -229
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +6631 -4829
- package/dist/main.umd.js +9 -9
- package/dist/robot/client.d.ts +156 -30
- package/dist/services/data-manager/client.d.ts +2 -2
- package/dist/services/motion/motion.d.ts +7 -7
- package/dist/services/navigation/client.d.ts +32 -11
- package/dist/services/navigation/navigation.d.ts +162 -110
- package/dist/services/navigation/types.d.ts +36 -5
- package/dist/services/navigation.d.ts +1 -1
- package/dist/services/slam/slam.d.ts +4 -4
- package/dist/services/vision/vision.d.ts +8 -8
- package/package.json +1 -1
|
@@ -227,6 +227,14 @@ export declare class CallResponseInitStage extends Message<CallResponseInitStage
|
|
|
227
227
|
*/
|
|
228
228
|
sdp: string;
|
|
229
229
|
|
|
230
|
+
/**
|
|
231
|
+
* must_auth_against_answerer tells the caller that the signaling server could not
|
|
232
|
+
* authenticate it, so it must authenticate with the answerer over the PeerConnection.
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: bool must_auth_against_answerer = 2;
|
|
235
|
+
*/
|
|
236
|
+
mustAuthAgainstAnswerer: boolean;
|
|
237
|
+
|
|
230
238
|
constructor(data?: PartialMessage<CallResponseInitStage>);
|
|
231
239
|
|
|
232
240
|
static readonly runtime: typeof proto3;
|
|
@@ -492,6 +500,15 @@ export declare class AnswerRequestInitStage extends Message<AnswerRequestInitSta
|
|
|
492
500
|
*/
|
|
493
501
|
callerAuthMetadata: { [key: string]: string };
|
|
494
502
|
|
|
503
|
+
/**
|
|
504
|
+
* a warning from the signaling server that the signaling server
|
|
505
|
+
* could not auth the caller. if this flag is true, the answerer
|
|
506
|
+
* must auth the caller itself
|
|
507
|
+
*
|
|
508
|
+
* @generated from field: bool must_auth_caller = 6;
|
|
509
|
+
*/
|
|
510
|
+
mustAuthCaller: boolean;
|
|
511
|
+
|
|
495
512
|
constructor(data?: PartialMessage<AnswerRequestInitStage>);
|
|
496
513
|
|
|
497
514
|
static readonly runtime: typeof proto3;
|
|
@@ -682,6 +699,14 @@ export declare class AnswerResponseInitStage extends Message<AnswerResponseInitS
|
|
|
682
699
|
*/
|
|
683
700
|
sdp: string;
|
|
684
701
|
|
|
702
|
+
/**
|
|
703
|
+
* can_auth_callers tells the signaling server that this answerer can authenticate
|
|
704
|
+
* callers itself, so it may receive callers the signaling server could not authenticate.
|
|
705
|
+
*
|
|
706
|
+
* @generated from field: bool can_auth_callers = 2;
|
|
707
|
+
*/
|
|
708
|
+
canAuthCallers: boolean;
|
|
709
|
+
|
|
685
710
|
constructor(data?: PartialMessage<AnswerResponseInitStage>);
|
|
686
711
|
|
|
687
712
|
static readonly runtime: typeof proto3;
|
|
@@ -7,7 +7,7 @@ import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue
|
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
import type { ResourceSpans } from "../../opentelemetry/proto/trace/v1/trace_pb.js";
|
|
9
9
|
import type { UploadMetadata } from "../../app/datasync/v1/data_sync_pb.js";
|
|
10
|
-
import type { LogEntry, PoseInFrame, ResourceName, Transform } from "../../common/v1/common_pb.js";
|
|
10
|
+
import type { KinematicModel, LogEntry, PoseInFrame, ResourceName, Transform } from "../../common/v1/common_pb.js";
|
|
11
11
|
import type { PackageType } from "../../app/packages/v1/packages_pb.js";
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -304,10 +304,18 @@ export declare class FrameSystemConfig extends Message<FrameSystemConfig> {
|
|
|
304
304
|
frame?: Transform;
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
|
-
*
|
|
307
|
+
* Deprecated: use model
|
|
308
|
+
*
|
|
309
|
+
* @generated from field: google.protobuf.Struct kinematics = 2 [deprecated = true];
|
|
310
|
+
* @deprecated
|
|
308
311
|
*/
|
|
309
312
|
kinematics?: Struct;
|
|
310
313
|
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: viam.common.v1.KinematicModel model = 3;
|
|
316
|
+
*/
|
|
317
|
+
model?: KinematicModel;
|
|
318
|
+
|
|
311
319
|
constructor(data?: PartialMessage<FrameSystemConfig>);
|
|
312
320
|
|
|
313
321
|
static readonly runtime: typeof proto3;
|
|
@@ -1662,6 +1670,21 @@ export declare class ResourceStatus extends Message<ResourceStatus> {
|
|
|
1662
1670
|
*/
|
|
1663
1671
|
cloudMetadata?: GetCloudMetadataResponse;
|
|
1664
1672
|
|
|
1673
|
+
/**
|
|
1674
|
+
* whether calls to this resource by name can be routed through this machine.
|
|
1675
|
+
*
|
|
1676
|
+
* @generated from field: viam.robot.v1.ResourceStatus.Reachability reachability = 7;
|
|
1677
|
+
*/
|
|
1678
|
+
reachability: ResourceStatus_Reachability;
|
|
1679
|
+
|
|
1680
|
+
/**
|
|
1681
|
+
* name of the remote, as configured on this machine, that this resource is reached through;
|
|
1682
|
+
* for a resource on a remote's remote, this is the first hop. Unset for local resources.
|
|
1683
|
+
*
|
|
1684
|
+
* @generated from field: optional string remote = 8;
|
|
1685
|
+
*/
|
|
1686
|
+
remote?: string;
|
|
1687
|
+
|
|
1665
1688
|
constructor(data?: PartialMessage<ResourceStatus>);
|
|
1666
1689
|
|
|
1667
1690
|
static readonly runtime: typeof proto3;
|
|
@@ -1723,6 +1746,47 @@ export declare enum ResourceStatus_State {
|
|
|
1723
1746
|
UNHEALTHY = 5,
|
|
1724
1747
|
}
|
|
1725
1748
|
|
|
1749
|
+
/**
|
|
1750
|
+
* whether calls to the resource by name can be routed through this machine.
|
|
1751
|
+
* Independent of state, which for an unreachable resource is its last known state.
|
|
1752
|
+
*
|
|
1753
|
+
* @generated from enum viam.robot.v1.ResourceStatus.Reachability
|
|
1754
|
+
*/
|
|
1755
|
+
export declare enum ResourceStatus_Reachability {
|
|
1756
|
+
/**
|
|
1757
|
+
* set by machines that predate this field; treat as reachable.
|
|
1758
|
+
*
|
|
1759
|
+
* @generated from enum value: REACHABILITY_UNSPECIFIED = 0;
|
|
1760
|
+
*/
|
|
1761
|
+
UNSPECIFIED = 0,
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* @generated from enum value: REACHABILITY_REACHABLE = 1;
|
|
1765
|
+
*/
|
|
1766
|
+
REACHABLE = 1,
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* the remote machine this resource is on is disconnected.
|
|
1770
|
+
*
|
|
1771
|
+
* @generated from enum value: REACHABILITY_REMOTE_DISCONNECTED = 2;
|
|
1772
|
+
*/
|
|
1773
|
+
REMOTE_DISCONNECTED = 2,
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* a local resource has the same name, so calls by name go to the local resource.
|
|
1777
|
+
*
|
|
1778
|
+
* @generated from enum value: REACHABILITY_SHADOWED_BY_LOCAL = 3;
|
|
1779
|
+
*/
|
|
1780
|
+
SHADOWED_BY_LOCAL = 3,
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* multiple remote resources have the same name and no local resource claims it.
|
|
1784
|
+
*
|
|
1785
|
+
* @generated from enum value: REACHABILITY_AMBIGUOUS_REMOTE = 4;
|
|
1786
|
+
*/
|
|
1787
|
+
AMBIGUOUS_REMOTE = 4,
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1726
1790
|
/**
|
|
1727
1791
|
* @generated from message viam.robot.v1.ModuleStatus
|
|
1728
1792
|
*/
|
|
@@ -1450,6 +1450,14 @@ export declare class TempStreamArmJointPositionsRequest_Targets extends Message<
|
|
|
1450
1450
|
* @generated from message viam.service.motion.v1.TempStreamArmJointPositionsResponse
|
|
1451
1451
|
*/
|
|
1452
1452
|
export declare class TempStreamArmJointPositionsResponse extends Message<TempStreamArmJointPositionsResponse> {
|
|
1453
|
+
/**
|
|
1454
|
+
* motion_side_current_runway_ms is sent once per target, right after the service adds it. It is how much
|
|
1455
|
+
* motion, in milliseconds, the service has accepted but not yet handed to the arm at that moment.
|
|
1456
|
+
*
|
|
1457
|
+
* @generated from field: optional int32 motion_side_current_runway_ms = 1;
|
|
1458
|
+
*/
|
|
1459
|
+
motionSideCurrentRunwayMs?: number;
|
|
1460
|
+
|
|
1453
1461
|
constructor(data?: PartialMessage<TempStreamArmJointPositionsResponse>);
|
|
1454
1462
|
|
|
1455
1463
|
static readonly runtime: typeof proto3;
|
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import { AddLocationRequest, AddLocationResponse, AddRouteRequest, AddRouteResponse, AddZoneRequest, AddZoneResponse, CancelRequest, CancelResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteRouteRequest, DeleteRouteResponse, DeleteZoneRequest, DeleteZoneResponse, ExecutePlanRequest, ExecutePlanResponse, GetCostmapRequest, GetCostmapResponse, GetLocationRequest, GetLocationResponse, GetNavigationStatusRequest, GetNavigationStatusResponse, GetPositionRequest, GetPositionResponse, GetPropertiesRequest, GetPropertiesResponse, GetRouteRequest, GetRouteResponse, GetZoneRequest, GetZoneResponse, GoToLocationRequest, GoToLocationResponse, GoToPointRequest, GoToPointResponse, ListLocationsRequest, ListLocationsResponse, ListRoutesRequest, ListRoutesResponse, ListZonesRequest, ListZonesResponse, NavigateRouteRequest, NavigateRouteResponse, NavigateToLocationRequest, NavigateToLocationResponse, NavigateToPointRequest, NavigateToPointResponse, PlanToLocationRequest, PlanToLocationResponse, PlanToPointRequest, PlanToPointResponse, ResumeRequest, ResumeResponse, SuspendRequest, SuspendResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateRouteRequest, UpdateRouteResponse, UpdateZoneRequest, UpdateZoneResponse } from "./navigation_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { DoCommandRequest, DoCommandResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* A NavigationService declares the gRPC contract for a Navigation service
|
|
11
|
+
* A NavigationService declares the gRPC contract for a Navigation service.
|
|
12
|
+
* Each service instance is bound to exactly one controllable base and one map
|
|
13
|
+
* type (local SLAM or GPS). Apps save named locations, routes, and zones, then
|
|
14
|
+
* navigate with plan-then-drive or direct go-to motion.
|
|
12
15
|
*
|
|
13
16
|
* @generated from service viam.service.navigation.v1.NavigationService
|
|
14
17
|
*/
|
|
@@ -16,24 +19,21 @@ export declare const NavigationService: {
|
|
|
16
19
|
readonly typeName: "viam.service.navigation.v1.NavigationService",
|
|
17
20
|
readonly methods: {
|
|
18
21
|
/**
|
|
19
|
-
*
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
readonly I: typeof GetModeRequest,
|
|
24
|
-
readonly O: typeof GetModeResponse,
|
|
25
|
-
readonly kind: MethodKind.Unary,
|
|
26
|
-
},
|
|
27
|
-
/**
|
|
28
|
-
* @generated from rpc viam.service.navigation.v1.NavigationService.SetMode
|
|
22
|
+
* AddLocation saves a named position on the active map. If position is
|
|
23
|
+
* omitted, the robot's current position from GetPosition is saved.
|
|
24
|
+
*
|
|
25
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.AddLocation
|
|
29
26
|
*/
|
|
30
|
-
readonly
|
|
31
|
-
readonly name: "
|
|
32
|
-
readonly I: typeof
|
|
33
|
-
readonly O: typeof
|
|
27
|
+
readonly addLocation: {
|
|
28
|
+
readonly name: "AddLocation",
|
|
29
|
+
readonly I: typeof AddLocationRequest,
|
|
30
|
+
readonly O: typeof AddLocationResponse,
|
|
34
31
|
readonly kind: MethodKind.Unary,
|
|
35
32
|
},
|
|
36
33
|
/**
|
|
34
|
+
* GetLocation returns a saved location by name. This does not return the
|
|
35
|
+
* robot's current position; use GetPosition for that.
|
|
36
|
+
*
|
|
37
37
|
* @generated from rpc viam.service.navigation.v1.NavigationService.GetLocation
|
|
38
38
|
*/
|
|
39
39
|
readonly getLocation: {
|
|
@@ -43,53 +43,322 @@ export declare const NavigationService: {
|
|
|
43
43
|
readonly kind: MethodKind.Unary,
|
|
44
44
|
},
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* ListLocations lists all saved locations on the active map.
|
|
47
|
+
*
|
|
48
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.ListLocations
|
|
49
|
+
*/
|
|
50
|
+
readonly listLocations: {
|
|
51
|
+
readonly name: "ListLocations",
|
|
52
|
+
readonly I: typeof ListLocationsRequest,
|
|
53
|
+
readonly O: typeof ListLocationsResponse,
|
|
54
|
+
readonly kind: MethodKind.Unary,
|
|
55
|
+
},
|
|
56
|
+
/**
|
|
57
|
+
* UpdateLocation changes a saved location's position or name. Renaming a
|
|
58
|
+
* location updates every route waypoint that references it.
|
|
59
|
+
*
|
|
60
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.UpdateLocation
|
|
47
61
|
*/
|
|
48
|
-
readonly
|
|
49
|
-
readonly name: "
|
|
50
|
-
readonly I: typeof
|
|
51
|
-
readonly O: typeof
|
|
62
|
+
readonly updateLocation: {
|
|
63
|
+
readonly name: "UpdateLocation",
|
|
64
|
+
readonly I: typeof UpdateLocationRequest,
|
|
65
|
+
readonly O: typeof UpdateLocationResponse,
|
|
52
66
|
readonly kind: MethodKind.Unary,
|
|
53
67
|
},
|
|
54
68
|
/**
|
|
55
|
-
*
|
|
69
|
+
* DeleteLocation deletes a saved location. The location is also removed from
|
|
70
|
+
* every route that references it.
|
|
71
|
+
*
|
|
72
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.DeleteLocation
|
|
56
73
|
*/
|
|
57
|
-
readonly
|
|
58
|
-
readonly name: "
|
|
59
|
-
readonly I: typeof
|
|
60
|
-
readonly O: typeof
|
|
74
|
+
readonly deleteLocation: {
|
|
75
|
+
readonly name: "DeleteLocation",
|
|
76
|
+
readonly I: typeof DeleteLocationRequest,
|
|
77
|
+
readonly O: typeof DeleteLocationResponse,
|
|
61
78
|
readonly kind: MethodKind.Unary,
|
|
62
79
|
},
|
|
63
80
|
/**
|
|
64
|
-
*
|
|
81
|
+
* AddRoute creates a named route from an ordered list of waypoints. Every
|
|
82
|
+
* referenced location must already exist.
|
|
83
|
+
*
|
|
84
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.AddRoute
|
|
65
85
|
*/
|
|
66
|
-
readonly
|
|
67
|
-
readonly name: "
|
|
68
|
-
readonly I: typeof
|
|
69
|
-
readonly O: typeof
|
|
86
|
+
readonly addRoute: {
|
|
87
|
+
readonly name: "AddRoute",
|
|
88
|
+
readonly I: typeof AddRouteRequest,
|
|
89
|
+
readonly O: typeof AddRouteResponse,
|
|
70
90
|
readonly kind: MethodKind.Unary,
|
|
71
91
|
},
|
|
72
92
|
/**
|
|
73
|
-
*
|
|
93
|
+
* GetRoute returns a route by name.
|
|
94
|
+
*
|
|
95
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.GetRoute
|
|
74
96
|
*/
|
|
75
|
-
readonly
|
|
76
|
-
readonly name: "
|
|
77
|
-
readonly I: typeof
|
|
78
|
-
readonly O: typeof
|
|
97
|
+
readonly getRoute: {
|
|
98
|
+
readonly name: "GetRoute",
|
|
99
|
+
readonly I: typeof GetRouteRequest,
|
|
100
|
+
readonly O: typeof GetRouteResponse,
|
|
79
101
|
readonly kind: MethodKind.Unary,
|
|
80
102
|
},
|
|
81
103
|
/**
|
|
82
|
-
*
|
|
104
|
+
* ListRoutes lists all routes on the active map.
|
|
105
|
+
*
|
|
106
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.ListRoutes
|
|
107
|
+
*/
|
|
108
|
+
readonly listRoutes: {
|
|
109
|
+
readonly name: "ListRoutes",
|
|
110
|
+
readonly I: typeof ListRoutesRequest,
|
|
111
|
+
readonly O: typeof ListRoutesResponse,
|
|
112
|
+
readonly kind: MethodKind.Unary,
|
|
113
|
+
},
|
|
114
|
+
/**
|
|
115
|
+
* UpdateRoute renames a route and/or replaces its waypoints. An unset
|
|
116
|
+
* waypoints list leaves the waypoints unchanged. A set list, including an
|
|
117
|
+
* empty one, replaces them.
|
|
118
|
+
*
|
|
119
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.UpdateRoute
|
|
120
|
+
*/
|
|
121
|
+
readonly updateRoute: {
|
|
122
|
+
readonly name: "UpdateRoute",
|
|
123
|
+
readonly I: typeof UpdateRouteRequest,
|
|
124
|
+
readonly O: typeof UpdateRouteResponse,
|
|
125
|
+
readonly kind: MethodKind.Unary,
|
|
126
|
+
},
|
|
127
|
+
/**
|
|
128
|
+
* DeleteRoute deletes a route. The locations it references are not affected.
|
|
129
|
+
*
|
|
130
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.DeleteRoute
|
|
131
|
+
*/
|
|
132
|
+
readonly deleteRoute: {
|
|
133
|
+
readonly name: "DeleteRoute",
|
|
134
|
+
readonly I: typeof DeleteRouteRequest,
|
|
135
|
+
readonly O: typeof DeleteRouteResponse,
|
|
136
|
+
readonly kind: MethodKind.Unary,
|
|
137
|
+
},
|
|
138
|
+
/**
|
|
139
|
+
* AddZone creates a keep-out or speed-limit zone on the active map. The
|
|
140
|
+
* planner avoids keep-out zones and caps speed inside speed-limit zones.
|
|
141
|
+
*
|
|
142
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.AddZone
|
|
143
|
+
*/
|
|
144
|
+
readonly addZone: {
|
|
145
|
+
readonly name: "AddZone",
|
|
146
|
+
readonly I: typeof AddZoneRequest,
|
|
147
|
+
readonly O: typeof AddZoneResponse,
|
|
148
|
+
readonly kind: MethodKind.Unary,
|
|
149
|
+
},
|
|
150
|
+
/**
|
|
151
|
+
* GetZone returns a zone by name.
|
|
152
|
+
*
|
|
153
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.GetZone
|
|
154
|
+
*/
|
|
155
|
+
readonly getZone: {
|
|
156
|
+
readonly name: "GetZone",
|
|
157
|
+
readonly I: typeof GetZoneRequest,
|
|
158
|
+
readonly O: typeof GetZoneResponse,
|
|
159
|
+
readonly kind: MethodKind.Unary,
|
|
160
|
+
},
|
|
161
|
+
/**
|
|
162
|
+
* ListZones lists zones on the active map, optionally filtered by type.
|
|
163
|
+
*
|
|
164
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.ListZones
|
|
165
|
+
*/
|
|
166
|
+
readonly listZones: {
|
|
167
|
+
readonly name: "ListZones",
|
|
168
|
+
readonly I: typeof ListZonesRequest,
|
|
169
|
+
readonly O: typeof ListZonesResponse,
|
|
170
|
+
readonly kind: MethodKind.Unary,
|
|
171
|
+
},
|
|
172
|
+
/**
|
|
173
|
+
* UpdateZone changes a zone's type, geometry, speed limit, or name.
|
|
174
|
+
*
|
|
175
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.UpdateZone
|
|
176
|
+
*/
|
|
177
|
+
readonly updateZone: {
|
|
178
|
+
readonly name: "UpdateZone",
|
|
179
|
+
readonly I: typeof UpdateZoneRequest,
|
|
180
|
+
readonly O: typeof UpdateZoneResponse,
|
|
181
|
+
readonly kind: MethodKind.Unary,
|
|
182
|
+
},
|
|
183
|
+
/**
|
|
184
|
+
* DeleteZone deletes a zone.
|
|
185
|
+
*
|
|
186
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.DeleteZone
|
|
187
|
+
*/
|
|
188
|
+
readonly deleteZone: {
|
|
189
|
+
readonly name: "DeleteZone",
|
|
190
|
+
readonly I: typeof DeleteZoneRequest,
|
|
191
|
+
readonly O: typeof DeleteZoneResponse,
|
|
192
|
+
readonly kind: MethodKind.Unary,
|
|
193
|
+
},
|
|
194
|
+
/**
|
|
195
|
+
* NavigateToLocation plans an obstacle-aware path to a saved location and
|
|
196
|
+
* starts driving it. Returns once the goal is accepted; track progress with
|
|
197
|
+
* GetNavigationStatus.
|
|
198
|
+
*
|
|
199
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.NavigateToLocation
|
|
200
|
+
*/
|
|
201
|
+
readonly navigateToLocation: {
|
|
202
|
+
readonly name: "NavigateToLocation",
|
|
203
|
+
readonly I: typeof NavigateToLocationRequest,
|
|
204
|
+
readonly O: typeof NavigateToLocationResponse,
|
|
205
|
+
readonly kind: MethodKind.Unary,
|
|
206
|
+
},
|
|
207
|
+
/**
|
|
208
|
+
* NavigateToPoint plans an obstacle-aware path to a Position and starts
|
|
209
|
+
* driving it. Returns once the goal is accepted; track progress with
|
|
210
|
+
* GetNavigationStatus. On a Pose, theta defaults to 0 if omitted.
|
|
211
|
+
*
|
|
212
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.NavigateToPoint
|
|
83
213
|
*/
|
|
84
|
-
readonly
|
|
85
|
-
readonly name: "
|
|
86
|
-
readonly I: typeof
|
|
87
|
-
readonly O: typeof
|
|
214
|
+
readonly navigateToPoint: {
|
|
215
|
+
readonly name: "NavigateToPoint",
|
|
216
|
+
readonly I: typeof NavigateToPointRequest,
|
|
217
|
+
readonly O: typeof NavigateToPointResponse,
|
|
88
218
|
readonly kind: MethodKind.Unary,
|
|
89
219
|
},
|
|
90
220
|
/**
|
|
91
|
-
*
|
|
92
|
-
*
|
|
221
|
+
* NavigateRoute drives a route one waypoint at a time using the
|
|
222
|
+
* obstacle-aware planner. Provide either route_name (a saved route) or
|
|
223
|
+
* waypoints (an inline list).
|
|
224
|
+
*
|
|
225
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.NavigateRoute
|
|
226
|
+
*/
|
|
227
|
+
readonly navigateRoute: {
|
|
228
|
+
readonly name: "NavigateRoute",
|
|
229
|
+
readonly I: typeof NavigateRouteRequest,
|
|
230
|
+
readonly O: typeof NavigateRouteResponse,
|
|
231
|
+
readonly kind: MethodKind.Unary,
|
|
232
|
+
},
|
|
233
|
+
/**
|
|
234
|
+
* PlanToPoint computes a path from the robot (or a given start) to a
|
|
235
|
+
* Position without moving. Pass a feasible result to ExecutePlan to drive it.
|
|
236
|
+
* Raises an error if no path exists.
|
|
237
|
+
*
|
|
238
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.PlanToPoint
|
|
239
|
+
*/
|
|
240
|
+
readonly planToPoint: {
|
|
241
|
+
readonly name: "PlanToPoint",
|
|
242
|
+
readonly I: typeof PlanToPointRequest,
|
|
243
|
+
readonly O: typeof PlanToPointResponse,
|
|
244
|
+
readonly kind: MethodKind.Unary,
|
|
245
|
+
},
|
|
246
|
+
/**
|
|
247
|
+
* PlanToLocation computes a path to a saved location without moving. Accepts
|
|
248
|
+
* the same optional start as PlanToPoint. Raises an error if no path exists.
|
|
249
|
+
*
|
|
250
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.PlanToLocation
|
|
251
|
+
*/
|
|
252
|
+
readonly planToLocation: {
|
|
253
|
+
readonly name: "PlanToLocation",
|
|
254
|
+
readonly I: typeof PlanToLocationRequest,
|
|
255
|
+
readonly O: typeof PlanToLocationResponse,
|
|
256
|
+
readonly kind: MethodKind.Unary,
|
|
257
|
+
},
|
|
258
|
+
/**
|
|
259
|
+
* ExecutePlan drives a Plan (typically from PlanToPoint or PlanToLocation).
|
|
260
|
+
* While navigating, the active path is available on GetNavigationStatus. Rejected if
|
|
261
|
+
* the path is empty.
|
|
262
|
+
*
|
|
263
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.ExecutePlan
|
|
264
|
+
*/
|
|
265
|
+
readonly executePlan: {
|
|
266
|
+
readonly name: "ExecutePlan",
|
|
267
|
+
readonly I: typeof ExecutePlanRequest,
|
|
268
|
+
readonly O: typeof ExecutePlanResponse,
|
|
269
|
+
readonly kind: MethodKind.Unary,
|
|
270
|
+
},
|
|
271
|
+
/**
|
|
272
|
+
* GoToLocation drives directly to a saved location with a closed-loop
|
|
273
|
+
* controller, without full path planning. Intended for short hops and
|
|
274
|
+
* docking. With wait false, returns immediately while navigating.
|
|
275
|
+
*
|
|
276
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.GoToLocation
|
|
277
|
+
*/
|
|
278
|
+
readonly goToLocation: {
|
|
279
|
+
readonly name: "GoToLocation",
|
|
280
|
+
readonly I: typeof GoToLocationRequest,
|
|
281
|
+
readonly O: typeof GoToLocationResponse,
|
|
282
|
+
readonly kind: MethodKind.Unary,
|
|
283
|
+
},
|
|
284
|
+
/**
|
|
285
|
+
* GoToPoint drives directly to a Position with a closed-loop controller,
|
|
286
|
+
* without full path planning. Intended for short hops and docking. With wait
|
|
287
|
+
* false, returns immediately while navigating.
|
|
288
|
+
*
|
|
289
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.GoToPoint
|
|
290
|
+
*/
|
|
291
|
+
readonly goToPoint: {
|
|
292
|
+
readonly name: "GoToPoint",
|
|
293
|
+
readonly I: typeof GoToPointRequest,
|
|
294
|
+
readonly O: typeof GoToPointResponse,
|
|
295
|
+
readonly kind: MethodKind.Unary,
|
|
296
|
+
},
|
|
297
|
+
/**
|
|
298
|
+
* Suspend stops motion but remembers the current goal, including the current
|
|
299
|
+
* waypoint and loop setting for routes. A suspended goal must be canceled
|
|
300
|
+
* before a new one starts.
|
|
301
|
+
*
|
|
302
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.Suspend
|
|
303
|
+
*/
|
|
304
|
+
readonly suspend: {
|
|
305
|
+
readonly name: "Suspend",
|
|
306
|
+
readonly I: typeof SuspendRequest,
|
|
307
|
+
readonly O: typeof SuspendResponse,
|
|
308
|
+
readonly kind: MethodKind.Unary,
|
|
309
|
+
},
|
|
310
|
+
/**
|
|
311
|
+
* Resume resumes the suspended goal the same way it was started: planned
|
|
312
|
+
* navigation, simple go-to, or a route from its current waypoint.
|
|
313
|
+
*
|
|
314
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.Resume
|
|
315
|
+
*/
|
|
316
|
+
readonly resume: {
|
|
317
|
+
readonly name: "Resume",
|
|
318
|
+
readonly I: typeof ResumeRequest,
|
|
319
|
+
readonly O: typeof ResumeResponse,
|
|
320
|
+
readonly kind: MethodKind.Unary,
|
|
321
|
+
},
|
|
322
|
+
/**
|
|
323
|
+
* Cancel stops all motion and discards both the active goal and any
|
|
324
|
+
* suspended goal.
|
|
325
|
+
*
|
|
326
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.Cancel
|
|
327
|
+
*/
|
|
328
|
+
readonly cancel: {
|
|
329
|
+
readonly name: "Cancel",
|
|
330
|
+
readonly I: typeof CancelRequest,
|
|
331
|
+
readonly O: typeof CancelResponse,
|
|
332
|
+
readonly kind: MethodKind.Unary,
|
|
333
|
+
},
|
|
334
|
+
/**
|
|
335
|
+
* GetPosition returns the robot's current position on the active map. Use
|
|
336
|
+
* this for frequent position polling; GetNavigationStatus reports the same position
|
|
337
|
+
* alongside the rest of the navigation state.
|
|
338
|
+
*
|
|
339
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.GetPosition
|
|
340
|
+
*/
|
|
341
|
+
readonly getPosition: {
|
|
342
|
+
readonly name: "GetPosition",
|
|
343
|
+
readonly I: typeof GetPositionRequest,
|
|
344
|
+
readonly O: typeof GetPositionResponse,
|
|
345
|
+
readonly kind: MethodKind.Unary,
|
|
346
|
+
},
|
|
347
|
+
/**
|
|
348
|
+
* GetNavigationStatus returns the full navigation state, including the robot's
|
|
349
|
+
* current position and the latest goal.
|
|
350
|
+
*
|
|
351
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.GetNavigationStatus
|
|
352
|
+
*/
|
|
353
|
+
readonly getNavigationStatus: {
|
|
354
|
+
readonly name: "GetNavigationStatus",
|
|
355
|
+
readonly I: typeof GetNavigationStatusRequest,
|
|
356
|
+
readonly O: typeof GetNavigationStatusResponse,
|
|
357
|
+
readonly kind: MethodKind.Unary,
|
|
358
|
+
},
|
|
359
|
+
/**
|
|
360
|
+
* GetProperties returns the map type the service operates on and robot
|
|
361
|
+
* properties. These values do not change while the service is running.
|
|
93
362
|
*
|
|
94
363
|
* @generated from rpc viam.service.navigation.v1.NavigationService.GetProperties
|
|
95
364
|
*/
|
|
@@ -99,6 +368,18 @@ export declare const NavigationService: {
|
|
|
99
368
|
readonly O: typeof GetPropertiesResponse,
|
|
100
369
|
readonly kind: MethodKind.Unary,
|
|
101
370
|
},
|
|
371
|
+
/**
|
|
372
|
+
* GetCostmap returns the local or global costmap as a downsampled grid, for
|
|
373
|
+
* display in UIs.
|
|
374
|
+
*
|
|
375
|
+
* @generated from rpc viam.service.navigation.v1.NavigationService.GetCostmap
|
|
376
|
+
*/
|
|
377
|
+
readonly getCostmap: {
|
|
378
|
+
readonly name: "GetCostmap",
|
|
379
|
+
readonly I: typeof GetCostmapRequest,
|
|
380
|
+
readonly O: typeof GetCostmapResponse,
|
|
381
|
+
readonly kind: MethodKind.Unary,
|
|
382
|
+
},
|
|
102
383
|
/**
|
|
103
384
|
* DoCommand sends/receives arbitrary commands
|
|
104
385
|
*
|