@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.
Files changed (66) hide show
  1. package/README.md +1 -1
  2. package/dist/api-version.d.ts +1 -1
  3. package/dist/app/app-client.d.ts +108 -102
  4. package/dist/app/billing-client.d.ts +4 -5
  5. package/dist/app/data-client.d.ts +31 -31
  6. package/dist/app/ml-training-client.d.ts +6 -6
  7. package/dist/components/arm/arm.d.ts +8 -9
  8. package/dist/components/base/base.d.ts +8 -8
  9. package/dist/components/board/board.d.ts +12 -13
  10. package/dist/components/button/button.d.ts +1 -1
  11. package/dist/components/camera/camera.d.ts +2 -2
  12. package/dist/components/encoder/encoder.d.ts +4 -4
  13. package/dist/components/gantry/gantry.d.ts +8 -8
  14. package/dist/components/generic/generic.d.ts +1 -1
  15. package/dist/components/gripper/gripper.d.ts +6 -6
  16. package/dist/components/input-controller/input-controller.d.ts +3 -3
  17. package/dist/components/motor/motor.d.ts +11 -11
  18. package/dist/components/movement-sensor/movement-sensor.d.ts +10 -10
  19. package/dist/components/pose-tracker/pose-tracker.d.ts +1 -1
  20. package/dist/components/power-sensor/power-sensor.d.ts +4 -4
  21. package/dist/components/sensor/sensor.d.ts +1 -1
  22. package/dist/components/servo/servo.d.ts +5 -5
  23. package/dist/components/switch/switch.d.ts +3 -3
  24. package/dist/debug.d.ts +4 -0
  25. package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +46 -2
  26. package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +234 -10
  27. package/dist/gen/app/v1/app_connect.d.ts +45 -1
  28. package/dist/gen/app/v1/app_pb.d.ts +340 -1
  29. package/dist/gen/app/v1/billing_pb.d.ts +5 -0
  30. package/dist/gen/common/v1/common_pb.d.ts +588 -6
  31. package/dist/gen/component/camera/v1/camera_pb.d.ts +8 -0
  32. package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
  33. package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +2 -0
  34. package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +8 -0
  35. package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +6 -0
  36. package/dist/gen/opentelemetry/proto/logs/v1/logs_pb.d.ts +2 -0
  37. package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +3 -1
  38. package/dist/gen/opentelemetry/proto/processcontext/v1development/process_context_pb.d.ts +2 -0
  39. package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +140 -2
  40. package/dist/gen/opentelemetry/proto/resource/v1/resource_pb.d.ts +2 -0
  41. package/dist/gen/opentelemetry/proto/trace/v1/trace_pb.d.ts +15 -5
  42. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +9 -0
  43. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +25 -0
  44. package/dist/gen/robot/v1/robot_pb.d.ts +67 -3
  45. package/dist/gen/service/motion/v1/motion_connect.d.ts +18 -1
  46. package/dist/gen/service/motion/v1/motion_pb.d.ts +198 -0
  47. package/dist/gen/service/navigation/v1/navigation_connect.d.ts +324 -43
  48. package/dist/gen/service/navigation/v1/navigation_pb.d.ts +2350 -229
  49. package/dist/gen/service/vision/v1/vision_connect.d.ts +15 -1
  50. package/dist/gen/service/vision/v1/vision_pb.d.ts +131 -1
  51. package/dist/main.d.ts +2 -2
  52. package/dist/main.es.js +10919 -8671
  53. package/dist/main.umd.js +9 -9
  54. package/dist/robot/client.d.ts +168 -30
  55. package/dist/services/data-manager/client.d.ts +2 -2
  56. package/dist/services/motion/motion.d.ts +7 -7
  57. package/dist/services/navigation/client.d.ts +32 -11
  58. package/dist/services/navigation/navigation.d.ts +162 -110
  59. package/dist/services/navigation/types.d.ts +36 -5
  60. package/dist/services/navigation.d.ts +1 -1
  61. package/dist/services/slam/slam.d.ts +4 -4
  62. package/dist/services/vision/client.d.ts +4 -1
  63. package/dist/services/vision/types.d.ts +7 -1
  64. package/dist/services/vision/vision.d.ts +29 -8
  65. package/dist/services/vision.d.ts +1 -1
  66. package/package.json +5 -2
@@ -1122,16 +1122,10 @@ export declare class RobotClient extends EventDispatcher<RobotClientDispatchEven
1122
1122
  get navigationService(): Client<{
1123
1123
  readonly typeName: "viam.service.navigation.v1.NavigationService";
1124
1124
  readonly methods: {
1125
- readonly getMode: {
1126
- readonly name: "GetMode";
1127
- readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetModeRequest;
1128
- readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetModeResponse;
1129
- readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1130
- };
1131
- readonly setMode: {
1132
- readonly name: "SetMode";
1133
- readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").SetModeRequest;
1134
- readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").SetModeResponse;
1125
+ readonly addLocation: {
1126
+ readonly name: "AddLocation";
1127
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").AddLocationRequest;
1128
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").AddLocationResponse;
1135
1129
  readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1136
1130
  };
1137
1131
  readonly getLocation: {
@@ -1140,34 +1134,160 @@ export declare class RobotClient extends EventDispatcher<RobotClientDispatchEven
1140
1134
  readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetLocationResponse;
1141
1135
  readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1142
1136
  };
1143
- readonly getWaypoints: {
1144
- readonly name: "GetWaypoints";
1145
- readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetWaypointsRequest;
1146
- readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetWaypointsResponse;
1137
+ readonly listLocations: {
1138
+ readonly name: "ListLocations";
1139
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").ListLocationsRequest;
1140
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").ListLocationsResponse;
1141
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1142
+ };
1143
+ readonly updateLocation: {
1144
+ readonly name: "UpdateLocation";
1145
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").UpdateLocationRequest;
1146
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").UpdateLocationResponse;
1147
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1148
+ };
1149
+ readonly deleteLocation: {
1150
+ readonly name: "DeleteLocation";
1151
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").DeleteLocationRequest;
1152
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").DeleteLocationResponse;
1153
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1154
+ };
1155
+ readonly addRoute: {
1156
+ readonly name: "AddRoute";
1157
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").AddRouteRequest;
1158
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").AddRouteResponse;
1159
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1160
+ };
1161
+ readonly getRoute: {
1162
+ readonly name: "GetRoute";
1163
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetRouteRequest;
1164
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetRouteResponse;
1165
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1166
+ };
1167
+ readonly listRoutes: {
1168
+ readonly name: "ListRoutes";
1169
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").ListRoutesRequest;
1170
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").ListRoutesResponse;
1171
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1172
+ };
1173
+ readonly updateRoute: {
1174
+ readonly name: "UpdateRoute";
1175
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").UpdateRouteRequest;
1176
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").UpdateRouteResponse;
1177
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1178
+ };
1179
+ readonly deleteRoute: {
1180
+ readonly name: "DeleteRoute";
1181
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").DeleteRouteRequest;
1182
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").DeleteRouteResponse;
1183
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1184
+ };
1185
+ readonly addZone: {
1186
+ readonly name: "AddZone";
1187
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").AddZoneRequest;
1188
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").AddZoneResponse;
1189
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1190
+ };
1191
+ readonly getZone: {
1192
+ readonly name: "GetZone";
1193
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetZoneRequest;
1194
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetZoneResponse;
1195
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1196
+ };
1197
+ readonly listZones: {
1198
+ readonly name: "ListZones";
1199
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").ListZonesRequest;
1200
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").ListZonesResponse;
1201
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1202
+ };
1203
+ readonly updateZone: {
1204
+ readonly name: "UpdateZone";
1205
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").UpdateZoneRequest;
1206
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").UpdateZoneResponse;
1207
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1208
+ };
1209
+ readonly deleteZone: {
1210
+ readonly name: "DeleteZone";
1211
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").DeleteZoneRequest;
1212
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").DeleteZoneResponse;
1147
1213
  readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1148
1214
  };
1149
- readonly addWaypoint: {
1150
- readonly name: "AddWaypoint";
1151
- readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").AddWaypointRequest;
1152
- readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").AddWaypointResponse;
1215
+ readonly navigateToLocation: {
1216
+ readonly name: "NavigateToLocation";
1217
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").NavigateToLocationRequest;
1218
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").NavigateToLocationResponse;
1153
1219
  readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1154
1220
  };
1155
- readonly removeWaypoint: {
1156
- readonly name: "RemoveWaypoint";
1157
- readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").RemoveWaypointRequest;
1158
- readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").RemoveWaypointResponse;
1221
+ readonly navigateToPoint: {
1222
+ readonly name: "NavigateToPoint";
1223
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").NavigateToPointRequest;
1224
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").NavigateToPointResponse;
1159
1225
  readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1160
1226
  };
1161
- readonly getObstacles: {
1162
- readonly name: "GetObstacles";
1163
- readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetObstaclesRequest;
1164
- readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetObstaclesResponse;
1227
+ readonly navigateRoute: {
1228
+ readonly name: "NavigateRoute";
1229
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").NavigateRouteRequest;
1230
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").NavigateRouteResponse;
1165
1231
  readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1166
1232
  };
1167
- readonly getPaths: {
1168
- readonly name: "GetPaths";
1169
- readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetPathsRequest;
1170
- readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetPathsResponse;
1233
+ readonly planToPoint: {
1234
+ readonly name: "PlanToPoint";
1235
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").PlanToPointRequest;
1236
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").PlanToPointResponse;
1237
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1238
+ };
1239
+ readonly planToLocation: {
1240
+ readonly name: "PlanToLocation";
1241
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").PlanToLocationRequest;
1242
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").PlanToLocationResponse;
1243
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1244
+ };
1245
+ readonly executePlan: {
1246
+ readonly name: "ExecutePlan";
1247
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").ExecutePlanRequest;
1248
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").ExecutePlanResponse;
1249
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1250
+ };
1251
+ readonly goToLocation: {
1252
+ readonly name: "GoToLocation";
1253
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GoToLocationRequest;
1254
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GoToLocationResponse;
1255
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1256
+ };
1257
+ readonly goToPoint: {
1258
+ readonly name: "GoToPoint";
1259
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GoToPointRequest;
1260
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GoToPointResponse;
1261
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1262
+ };
1263
+ readonly suspend: {
1264
+ readonly name: "Suspend";
1265
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").SuspendRequest;
1266
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").SuspendResponse;
1267
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1268
+ };
1269
+ readonly resume: {
1270
+ readonly name: "Resume";
1271
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").ResumeRequest;
1272
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").ResumeResponse;
1273
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1274
+ };
1275
+ readonly cancel: {
1276
+ readonly name: "Cancel";
1277
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").CancelRequest;
1278
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").CancelResponse;
1279
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1280
+ };
1281
+ readonly getPosition: {
1282
+ readonly name: "GetPosition";
1283
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetPositionRequest;
1284
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetPositionResponse;
1285
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1286
+ };
1287
+ readonly getNavigationStatus: {
1288
+ readonly name: "GetNavigationStatus";
1289
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetNavigationStatusRequest;
1290
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetNavigationStatusResponse;
1171
1291
  readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1172
1292
  };
1173
1293
  readonly getProperties: {
@@ -1176,6 +1296,12 @@ export declare class RobotClient extends EventDispatcher<RobotClientDispatchEven
1176
1296
  readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetPropertiesResponse;
1177
1297
  readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1178
1298
  };
1299
+ readonly getCostmap: {
1300
+ readonly name: "GetCostmap";
1301
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetCostmapRequest;
1302
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetCostmapResponse;
1303
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1304
+ };
1179
1305
  readonly doCommand: {
1180
1306
  readonly name: "DoCommand";
1181
1307
  readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
@@ -1258,6 +1384,12 @@ export declare class RobotClient extends EventDispatcher<RobotClientDispatchEven
1258
1384
  readonly O: typeof import("../gen/service/motion/v1/motion_pb").GetPlanResponse;
1259
1385
  readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1260
1386
  };
1387
+ readonly tempStreamArmJointPositions: {
1388
+ readonly name: "TempStreamArmJointPositions";
1389
+ readonly I: typeof import("../gen/service/motion/v1/motion_pb").TempStreamArmJointPositionsRequest;
1390
+ readonly O: typeof import("../gen/service/motion/v1/motion_pb").TempStreamArmJointPositionsResponse;
1391
+ readonly kind: import("@bufbuild/protobuf").MethodKind.BiDiStreaming;
1392
+ };
1261
1393
  readonly doCommand: {
1262
1394
  readonly name: "DoCommand";
1263
1395
  readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
@@ -1299,6 +1431,12 @@ export declare class RobotClient extends EventDispatcher<RobotClientDispatchEven
1299
1431
  readonly O: typeof import("../gen/service/vision/v1/vision_pb").GetClassificationsResponse;
1300
1432
  readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1301
1433
  };
1434
+ readonly getDetections3D: {
1435
+ readonly name: "GetDetections3D";
1436
+ readonly I: typeof import("../gen/service/vision/v1/vision_pb").GetDetections3DRequest;
1437
+ readonly O: typeof import("../gen/service/vision/v1/vision_pb").GetDetections3DResponse;
1438
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1439
+ };
1302
1440
  readonly getObjectPointClouds: {
1303
1441
  readonly name: "GetObjectPointClouds";
1304
1442
  readonly I: typeof import("../gen/service/vision/v1/vision_pb").GetObjectPointCloudsRequest;
@@ -21,7 +21,7 @@ export declare class DataManagerClient implements DataManager {
21
21
  * ```
22
22
  *
23
23
  * For more information, see [Data Manager
24
- * API](https://docs.viam.com/dev/reference/apis/services/data/#sync).
24
+ * API](https://docs.viam.com/reference/apis/services/data/#sync).
25
25
  *
26
26
  * @param extra - Extra arguments to pass to the sync request.
27
27
  * @param callOptions - Call options for the sync request.
@@ -38,7 +38,7 @@ export declare class DataManagerClient implements DataManager {
38
38
  * ```
39
39
  *
40
40
  * For more information, see [Data Manager
41
- * API](https://docs.viam.com/dev/reference/apis/services/data/#docommand).
41
+ * API](https://docs.viam.com/reference/apis/services/data/#docommand).
42
42
  *
43
43
  * @param command - The command to do.
44
44
  * @param callOptions - Call options for the command.
@@ -34,7 +34,7 @@ export interface Motion extends Resource {
34
34
  * ```
35
35
  *
36
36
  * For more information, see [Motion
37
- * API](https://docs.viam.com/dev/reference/apis/services/motion/#move).
37
+ * API](https://docs.viam.com/reference/apis/services/motion/#move).
38
38
  *
39
39
  * @param destination - Destination to move to, which can a pose in the reference frame of any
40
40
  * frame in the robot's frame system.
@@ -77,7 +77,7 @@ export interface Motion extends Resource {
77
77
  * ```
78
78
  *
79
79
  * For more information, see [Motion
80
- * API](https://docs.viam.com/dev/reference/apis/services/motion/#moveonmap).
80
+ * API](https://docs.viam.com/reference/apis/services/motion/#moveonmap).
81
81
  *
82
82
  * @param destination - Specify a destination to, which can be any `Pose` with respect to the SLAM
83
83
  * map's origin.
@@ -118,7 +118,7 @@ export interface Motion extends Resource {
118
118
  * ```
119
119
  *
120
120
  * For more information, see [Motion
121
- * API](https://docs.viam.com/dev/reference/apis/services/motion/#moveonglobe).
121
+ * API](https://docs.viam.com/reference/apis/services/motion/#moveonglobe).
122
122
  *
123
123
  * @param destination - Destination for the component to move to, represented as a `GeoPoint`.
124
124
  * @param componentName - The name of the component to move.
@@ -144,7 +144,7 @@ export interface Motion extends Resource {
144
144
  * ```
145
145
  *
146
146
  * For more information, see [Motion
147
- * API](https://docs.viam.com/dev/reference/apis/services/motion/#stopplan).
147
+ * API](https://docs.viam.com/reference/apis/services/motion/#stopplan).
148
148
  *
149
149
  * @param componentName - The component to stop
150
150
  */
@@ -173,7 +173,7 @@ export interface Motion extends Resource {
173
173
  * ```
174
174
  *
175
175
  * For more information, see [Motion
176
- * API](https://docs.viam.com/dev/reference/apis/services/motion/#getplan).
176
+ * API](https://docs.viam.com/reference/apis/services/motion/#getplan).
177
177
  *
178
178
  * @param componentName - The component to query
179
179
  * @param destinationFrame - The reference frame in which the component's `Pose` should be
@@ -201,7 +201,7 @@ export interface Motion extends Resource {
201
201
  * ```
202
202
  *
203
203
  * For more information, see [Motion
204
- * API](https://docs.viam.com/dev/reference/apis/services/motion/#listplanstatuses).
204
+ * API](https://docs.viam.com/reference/apis/services/motion/#listplanstatuses).
205
205
  *
206
206
  * @param onlyActivePlans - If true, the response will only return plans which are executing.
207
207
  */
@@ -222,7 +222,7 @@ export interface Motion extends Resource {
222
222
  * ```
223
223
  *
224
224
  * For more information, see [Motion
225
- * API](https://docs.viam.com/dev/reference/apis/services/motion/#getpose).
225
+ * API](https://docs.viam.com/reference/apis/services/motion/#getpose).
226
226
  *
227
227
  * @param componentName - The component whose `Pose` is being requested.
228
228
  * @param destinationFrame - The reference frame in which the component's `Pose` should be
@@ -1,9 +1,9 @@
1
1
  import { Struct, type JsonValue } from '@bufbuild/protobuf';
2
2
  import type { CallOptions } from '@connectrpc/connect';
3
3
  import { type RobotClient } from '../../robot';
4
- import type { GeoPoint, Options } from '../../types';
4
+ import type { Options } from '../../types';
5
5
  import type { Navigation } from './navigation';
6
- import type { Mode } from './types';
6
+ import type { NavigateRouteOptions, Plan, Position, Waypoint } from './types';
7
7
  /**
8
8
  * A gRPC-web client for a Navigation service.
9
9
  *
@@ -15,15 +15,36 @@ export declare class NavigationClient implements Navigation {
15
15
  private readonly options;
16
16
  callOptions: CallOptions;
17
17
  constructor(client: RobotClient, name: string, options?: Options);
18
- getMode(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Mode>;
19
- setMode(mode: Mode, extra?: {}, callOptions?: CallOptions): Promise<void>;
20
- getLocation(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").GetLocationResponse>;
21
- getWayPoints(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Waypoint[]>;
22
- addWayPoint(location: GeoPoint, extra?: {}, callOptions?: CallOptions): Promise<void>;
23
- removeWayPoint(id: string, extra?: {}, callOptions?: CallOptions): Promise<void>;
24
- getObstacles(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").GeoGeometry[]>;
25
- getPaths(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Path[]>;
26
- getProperties(callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").GetPropertiesResponse>;
18
+ addLocation(locationName: string, position?: Position, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Location>;
19
+ getLocation(locationName: string, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Location>;
20
+ listLocations(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Location[]>;
21
+ updateLocation(locationName: string, position?: Position, newName?: string, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Location>;
22
+ deleteLocation(locationName: string, extra?: {}, callOptions?: CallOptions): Promise<void>;
23
+ addRoute(routeName: string, waypoints: Waypoint[], extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Route>;
24
+ getRoute(routeName: string, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Route>;
25
+ listRoutes(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Route[]>;
26
+ updateRoute(routeName: string, newName?: string, waypoints?: Waypoint[], extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Route>;
27
+ deleteRoute(routeName: string, extra?: {}, callOptions?: CallOptions): Promise<void>;
28
+ addZone(zoneName: string, type: string, geometry: Struct, maxSpeed?: number, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Zone>;
29
+ getZone(zoneName: string, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Zone>;
30
+ listZones(type?: string, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Zone[]>;
31
+ updateZone(zoneName: string, type?: string, geometry?: Struct, maxSpeed?: number, newName?: string, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Zone>;
32
+ deleteZone(zoneName: string, extra?: {}, callOptions?: CallOptions): Promise<void>;
33
+ navigateToLocation(locationName: string, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Status>;
34
+ navigateToPoint(destination: Position, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Status>;
35
+ navigateRoute({ routeName, waypoints, startIndex, startNearest, loop, wait, }: NavigateRouteOptions, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Status>;
36
+ planToPoint(destination: Position, start?: Position, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Plan>;
37
+ planToLocation(locationName: string, start?: Position, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Plan>;
38
+ executePlan(plan: Plan, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Status>;
39
+ goToLocation(locationName: string, wait?: boolean, linearMPerSec?: number, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Status>;
40
+ goToPoint(destination: Position, wait?: boolean, linearMPerSec?: number, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Status>;
41
+ suspend(reason?: string, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Status>;
42
+ resume(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Status>;
43
+ cancel(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Status>;
44
+ getPosition(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Position>;
45
+ getNavigationStatus(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Status>;
46
+ getProperties(callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").Properties>;
47
+ getCostmap(layer?: string, stride?: number, extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/navigation/v1/navigation_pb").GetCostmapResponse>;
27
48
  getStatus(callOptions?: CallOptions): Promise<JsonValue>;
28
49
  doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
29
50
  }