@viamrobotics/sdk 0.76.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 +108 -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/debug.d.ts +4 -0
- package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +46 -2
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +234 -10
- package/dist/gen/app/v1/app_connect.d.ts +45 -1
- package/dist/gen/app/v1/app_pb.d.ts +340 -1
- 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/component/camera/v1/camera_pb.d.ts +8 -0
- package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +8 -0
- package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +6 -0
- package/dist/gen/opentelemetry/proto/logs/v1/logs_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +3 -1
- package/dist/gen/opentelemetry/proto/processcontext/v1development/process_context_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +140 -2
- package/dist/gen/opentelemetry/proto/resource/v1/resource_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/trace/v1/trace_pb.d.ts +15 -5
- 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 +67 -3
- package/dist/gen/service/motion/v1/motion_connect.d.ts +18 -1
- package/dist/gen/service/motion/v1/motion_pb.d.ts +198 -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/gen/service/vision/v1/vision_connect.d.ts +15 -1
- package/dist/gen/service/vision/v1/vision_pb.d.ts +131 -1
- package/dist/main.d.ts +2 -2
- package/dist/main.es.js +10919 -8671
- package/dist/main.umd.js +9 -9
- package/dist/robot/client.d.ts +168 -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/client.d.ts +4 -1
- package/dist/services/vision/types.d.ts +7 -1
- package/dist/services/vision/vision.d.ts +29 -8
- package/dist/services/vision.d.ts +1 -1
- package/package.json +5 -2
|
@@ -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
|
*
|