@viamrobotics/sdk 0.8.1 → 0.9.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/main.es.js CHANGED
@@ -23948,7 +23948,7 @@ const promisify = (i, e) => new Promise((n, s) => {
23948
23948
  return e.setNamespace(i.namespace), e.setType(i.type), e.setSubtype(i.subtype), e.setName(i.name), e;
23949
23949
  }, encodeGeometry = (i) => {
23950
23950
  const e = new common_pb.Geometry();
23951
- if (i.center !== void 0 && e.setCenter(encodePose(i.center)), i.sphere !== void 0) {
23951
+ if (i.label && e.setLabel(i.label), i.center !== void 0 && e.setCenter(encodePose(i.center)), i.sphere !== void 0) {
23952
23952
  const n = new common_pb.Sphere();
23953
23953
  n.setRadiusMm(i.sphere.radiusMm), e.setSphere(n);
23954
23954
  }
@@ -31145,11 +31145,15 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
31145
31145
  var p = struct_pb;
31146
31146
  n.object.extend(proto, p);
31147
31147
  var t = timestamp_pb;
31148
- n.object.extend(proto, t), n.exportSymbol("proto.viam.service.motion.v1.CollisionSpecification", null, s), n.exportSymbol("proto.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions", null, s), n.exportSymbol("proto.viam.service.motion.v1.ComponentState", null, s), n.exportSymbol("proto.viam.service.motion.v1.Constraints", null, s), n.exportSymbol("proto.viam.service.motion.v1.GetPlanRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.GetPlanResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.GetPoseRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.GetPoseResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.LinearConstraint", null, s), n.exportSymbol("proto.viam.service.motion.v1.ListPlanStatusesRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.ListPlanStatusesResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.MotionConfiguration", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveOnGlobeNewRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveOnGlobeNewResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveOnGlobeRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveOnGlobeResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveOnMapRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveOnMapResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.ObstacleDetector", null, s), n.exportSymbol("proto.viam.service.motion.v1.OrientationConstraint", null, s), n.exportSymbol("proto.viam.service.motion.v1.Plan", null, s), n.exportSymbol("proto.viam.service.motion.v1.PlanState", null, s), n.exportSymbol("proto.viam.service.motion.v1.PlanStatus", null, s), n.exportSymbol("proto.viam.service.motion.v1.PlanStatusWithID", null, s), n.exportSymbol("proto.viam.service.motion.v1.PlanStep", null, s), n.exportSymbol("proto.viam.service.motion.v1.PlanWithStatus", null, s), n.exportSymbol("proto.viam.service.motion.v1.StopPlanRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.StopPlanResponse", null, s), proto.viam.service.motion.v1.MoveRequest = function(o) {
31148
+ n.object.extend(proto, t), n.exportSymbol("proto.viam.service.motion.v1.CollisionSpecification", null, s), n.exportSymbol("proto.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions", null, s), n.exportSymbol("proto.viam.service.motion.v1.ComponentState", null, s), n.exportSymbol("proto.viam.service.motion.v1.Constraints", null, s), n.exportSymbol("proto.viam.service.motion.v1.GetPlanRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.GetPlanResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.GetPoseRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.GetPoseResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.LinearConstraint", null, s), n.exportSymbol("proto.viam.service.motion.v1.ListPlanStatusesRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.ListPlanStatusesResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.MotionConfiguration", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveOnGlobeRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveOnGlobeResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveOnMapNewRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveOnMapNewResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveOnMapRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveOnMapResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.MoveResponse", null, s), n.exportSymbol("proto.viam.service.motion.v1.ObstacleDetector", null, s), n.exportSymbol("proto.viam.service.motion.v1.OrientationConstraint", null, s), n.exportSymbol("proto.viam.service.motion.v1.Plan", null, s), n.exportSymbol("proto.viam.service.motion.v1.PlanState", null, s), n.exportSymbol("proto.viam.service.motion.v1.PlanStatus", null, s), n.exportSymbol("proto.viam.service.motion.v1.PlanStatusWithID", null, s), n.exportSymbol("proto.viam.service.motion.v1.PlanStep", null, s), n.exportSymbol("proto.viam.service.motion.v1.PlanWithStatus", null, s), n.exportSymbol("proto.viam.service.motion.v1.StopPlanRequest", null, s), n.exportSymbol("proto.viam.service.motion.v1.StopPlanResponse", null, s), proto.viam.service.motion.v1.MoveRequest = function(o) {
31149
31149
  e.Message.initialize(this, o, 0, -1, null, null);
31150
31150
  }, n.inherits(proto.viam.service.motion.v1.MoveRequest, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveRequest.displayName = "proto.viam.service.motion.v1.MoveRequest"), proto.viam.service.motion.v1.MoveResponse = function(o) {
31151
31151
  e.Message.initialize(this, o, 0, -1, null, null);
31152
- }, n.inherits(proto.viam.service.motion.v1.MoveResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveResponse.displayName = "proto.viam.service.motion.v1.MoveResponse"), proto.viam.service.motion.v1.MoveOnMapRequest = function(o) {
31152
+ }, n.inherits(proto.viam.service.motion.v1.MoveResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveResponse.displayName = "proto.viam.service.motion.v1.MoveResponse"), proto.viam.service.motion.v1.MoveOnMapNewRequest = function(o) {
31153
+ e.Message.initialize(this, o, 0, -1, null, null);
31154
+ }, n.inherits(proto.viam.service.motion.v1.MoveOnMapNewRequest, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnMapNewRequest.displayName = "proto.viam.service.motion.v1.MoveOnMapNewRequest"), proto.viam.service.motion.v1.MoveOnMapNewResponse = function(o) {
31155
+ e.Message.initialize(this, o, 0, -1, null, null);
31156
+ }, n.inherits(proto.viam.service.motion.v1.MoveOnMapNewResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnMapNewResponse.displayName = "proto.viam.service.motion.v1.MoveOnMapNewResponse"), proto.viam.service.motion.v1.MoveOnMapRequest = function(o) {
31153
31157
  e.Message.initialize(this, o, 0, -1, null, null);
31154
31158
  }, n.inherits(proto.viam.service.motion.v1.MoveOnMapRequest, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnMapRequest.displayName = "proto.viam.service.motion.v1.MoveOnMapRequest"), proto.viam.service.motion.v1.MoveOnMapResponse = function(o) {
31155
31159
  e.Message.initialize(this, o, 0, -1, null, null);
@@ -31161,11 +31165,7 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
31161
31165
  e.Message.initialize(this, o, 0, -1, proto.viam.service.motion.v1.MoveOnGlobeRequest.repeatedFields_, null);
31162
31166
  }, n.inherits(proto.viam.service.motion.v1.MoveOnGlobeRequest, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnGlobeRequest.displayName = "proto.viam.service.motion.v1.MoveOnGlobeRequest"), proto.viam.service.motion.v1.MoveOnGlobeResponse = function(o) {
31163
31167
  e.Message.initialize(this, o, 0, -1, null, null);
31164
- }, n.inherits(proto.viam.service.motion.v1.MoveOnGlobeResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnGlobeResponse.displayName = "proto.viam.service.motion.v1.MoveOnGlobeResponse"), proto.viam.service.motion.v1.MoveOnGlobeNewRequest = function(o) {
31165
- e.Message.initialize(this, o, 0, -1, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.repeatedFields_, null);
31166
- }, n.inherits(proto.viam.service.motion.v1.MoveOnGlobeNewRequest, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnGlobeNewRequest.displayName = "proto.viam.service.motion.v1.MoveOnGlobeNewRequest"), proto.viam.service.motion.v1.MoveOnGlobeNewResponse = function(o) {
31167
- e.Message.initialize(this, o, 0, -1, null, null);
31168
- }, n.inherits(proto.viam.service.motion.v1.MoveOnGlobeNewResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnGlobeNewResponse.displayName = "proto.viam.service.motion.v1.MoveOnGlobeNewResponse"), proto.viam.service.motion.v1.GetPoseRequest = function(o) {
31168
+ }, n.inherits(proto.viam.service.motion.v1.MoveOnGlobeResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnGlobeResponse.displayName = "proto.viam.service.motion.v1.MoveOnGlobeResponse"), proto.viam.service.motion.v1.GetPoseRequest = function(o) {
31169
31169
  e.Message.initialize(this, o, 0, -1, proto.viam.service.motion.v1.GetPoseRequest.repeatedFields_, null);
31170
31170
  }, n.inherits(proto.viam.service.motion.v1.GetPoseRequest, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.motion.v1.GetPoseRequest.displayName = "proto.viam.service.motion.v1.GetPoseRequest"), proto.viam.service.motion.v1.GetPoseResponse = function(o) {
31171
31171
  e.Message.initialize(this, o, 0, -1, null, null);
@@ -31389,6 +31389,192 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
31389
31389
  );
31390
31390
  }, proto.viam.service.motion.v1.MoveResponse.prototype.setSuccess = function(o) {
31391
31391
  return e.Message.setProto3BooleanField(this, 1, o);
31392
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.toObject = function(o) {
31393
+ return proto.viam.service.motion.v1.MoveOnMapNewRequest.toObject(o, this);
31394
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.toObject = function(o, r) {
31395
+ var u, c = {
31396
+ name: e.Message.getFieldWithDefault(r, 1, ""),
31397
+ destination: (u = r.getDestination()) && l.Pose.toObject(o, u),
31398
+ componentName: (u = r.getComponentName()) && l.ResourceName.toObject(o, u),
31399
+ slamServiceName: (u = r.getSlamServiceName()) && l.ResourceName.toObject(o, u),
31400
+ motionConfiguration: (u = r.getMotionConfiguration()) && proto.viam.service.motion.v1.MotionConfiguration.toObject(o, u),
31401
+ extra: (u = r.getExtra()) && p.Struct.toObject(o, u)
31402
+ };
31403
+ return o && (c.$jspbMessageInstance = r), c;
31404
+ }), proto.viam.service.motion.v1.MoveOnMapNewRequest.deserializeBinary = function(o) {
31405
+ var r = new e.BinaryReader(o), u = new proto.viam.service.motion.v1.MoveOnMapNewRequest();
31406
+ return proto.viam.service.motion.v1.MoveOnMapNewRequest.deserializeBinaryFromReader(u, r);
31407
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.deserializeBinaryFromReader = function(o, r) {
31408
+ for (; r.nextField() && !r.isEndGroup(); ) {
31409
+ var u = r.getFieldNumber();
31410
+ switch (u) {
31411
+ case 1:
31412
+ var c = (
31413
+ /** @type {string} */
31414
+ r.readString()
31415
+ );
31416
+ o.setName(c);
31417
+ break;
31418
+ case 2:
31419
+ var c = new l.Pose();
31420
+ r.readMessage(c, l.Pose.deserializeBinaryFromReader), o.setDestination(c);
31421
+ break;
31422
+ case 3:
31423
+ var c = new l.ResourceName();
31424
+ r.readMessage(c, l.ResourceName.deserializeBinaryFromReader), o.setComponentName(c);
31425
+ break;
31426
+ case 4:
31427
+ var c = new l.ResourceName();
31428
+ r.readMessage(c, l.ResourceName.deserializeBinaryFromReader), o.setSlamServiceName(c);
31429
+ break;
31430
+ case 5:
31431
+ var c = new proto.viam.service.motion.v1.MotionConfiguration();
31432
+ r.readMessage(c, proto.viam.service.motion.v1.MotionConfiguration.deserializeBinaryFromReader), o.setMotionConfiguration(c);
31433
+ break;
31434
+ case 99:
31435
+ var c = new p.Struct();
31436
+ r.readMessage(c, p.Struct.deserializeBinaryFromReader), o.setExtra(c);
31437
+ break;
31438
+ default:
31439
+ r.skipField();
31440
+ break;
31441
+ }
31442
+ }
31443
+ return o;
31444
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.serializeBinary = function() {
31445
+ var o = new e.BinaryWriter();
31446
+ return proto.viam.service.motion.v1.MoveOnMapNewRequest.serializeBinaryToWriter(this, o), o.getResultBuffer();
31447
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.serializeBinaryToWriter = function(o, r) {
31448
+ var u = void 0;
31449
+ u = o.getName(), u.length > 0 && r.writeString(
31450
+ 1,
31451
+ u
31452
+ ), u = o.getDestination(), u != null && r.writeMessage(
31453
+ 2,
31454
+ u,
31455
+ l.Pose.serializeBinaryToWriter
31456
+ ), u = o.getComponentName(), u != null && r.writeMessage(
31457
+ 3,
31458
+ u,
31459
+ l.ResourceName.serializeBinaryToWriter
31460
+ ), u = o.getSlamServiceName(), u != null && r.writeMessage(
31461
+ 4,
31462
+ u,
31463
+ l.ResourceName.serializeBinaryToWriter
31464
+ ), u = o.getMotionConfiguration(), u != null && r.writeMessage(
31465
+ 5,
31466
+ u,
31467
+ proto.viam.service.motion.v1.MotionConfiguration.serializeBinaryToWriter
31468
+ ), u = o.getExtra(), u != null && r.writeMessage(
31469
+ 99,
31470
+ u,
31471
+ p.Struct.serializeBinaryToWriter
31472
+ );
31473
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.getName = function() {
31474
+ return (
31475
+ /** @type {string} */
31476
+ e.Message.getFieldWithDefault(this, 1, "")
31477
+ );
31478
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.setName = function(o) {
31479
+ return e.Message.setProto3StringField(this, 1, o);
31480
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.getDestination = function() {
31481
+ return (
31482
+ /** @type{?proto.viam.common.v1.Pose} */
31483
+ e.Message.getWrapperField(this, l.Pose, 2)
31484
+ );
31485
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.setDestination = function(o) {
31486
+ return e.Message.setWrapperField(this, 2, o);
31487
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.clearDestination = function() {
31488
+ return this.setDestination(void 0);
31489
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.hasDestination = function() {
31490
+ return e.Message.getField(this, 2) != null;
31491
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.getComponentName = function() {
31492
+ return (
31493
+ /** @type{?proto.viam.common.v1.ResourceName} */
31494
+ e.Message.getWrapperField(this, l.ResourceName, 3)
31495
+ );
31496
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.setComponentName = function(o) {
31497
+ return e.Message.setWrapperField(this, 3, o);
31498
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.clearComponentName = function() {
31499
+ return this.setComponentName(void 0);
31500
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.hasComponentName = function() {
31501
+ return e.Message.getField(this, 3) != null;
31502
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.getSlamServiceName = function() {
31503
+ return (
31504
+ /** @type{?proto.viam.common.v1.ResourceName} */
31505
+ e.Message.getWrapperField(this, l.ResourceName, 4)
31506
+ );
31507
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.setSlamServiceName = function(o) {
31508
+ return e.Message.setWrapperField(this, 4, o);
31509
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.clearSlamServiceName = function() {
31510
+ return this.setSlamServiceName(void 0);
31511
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.hasSlamServiceName = function() {
31512
+ return e.Message.getField(this, 4) != null;
31513
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.getMotionConfiguration = function() {
31514
+ return (
31515
+ /** @type{?proto.viam.service.motion.v1.MotionConfiguration} */
31516
+ e.Message.getWrapperField(this, proto.viam.service.motion.v1.MotionConfiguration, 5)
31517
+ );
31518
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.setMotionConfiguration = function(o) {
31519
+ return e.Message.setWrapperField(this, 5, o);
31520
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.clearMotionConfiguration = function() {
31521
+ return this.setMotionConfiguration(void 0);
31522
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.hasMotionConfiguration = function() {
31523
+ return e.Message.getField(this, 5) != null;
31524
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.getExtra = function() {
31525
+ return (
31526
+ /** @type{?proto.google.protobuf.Struct} */
31527
+ e.Message.getWrapperField(this, p.Struct, 99)
31528
+ );
31529
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.setExtra = function(o) {
31530
+ return e.Message.setWrapperField(this, 99, o);
31531
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.clearExtra = function() {
31532
+ return this.setExtra(void 0);
31533
+ }, proto.viam.service.motion.v1.MoveOnMapNewRequest.prototype.hasExtra = function() {
31534
+ return e.Message.getField(this, 99) != null;
31535
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.MoveOnMapNewResponse.prototype.toObject = function(o) {
31536
+ return proto.viam.service.motion.v1.MoveOnMapNewResponse.toObject(o, this);
31537
+ }, proto.viam.service.motion.v1.MoveOnMapNewResponse.toObject = function(o, r) {
31538
+ var u = {
31539
+ executionId: e.Message.getFieldWithDefault(r, 1, "")
31540
+ };
31541
+ return o && (u.$jspbMessageInstance = r), u;
31542
+ }), proto.viam.service.motion.v1.MoveOnMapNewResponse.deserializeBinary = function(o) {
31543
+ var r = new e.BinaryReader(o), u = new proto.viam.service.motion.v1.MoveOnMapNewResponse();
31544
+ return proto.viam.service.motion.v1.MoveOnMapNewResponse.deserializeBinaryFromReader(u, r);
31545
+ }, proto.viam.service.motion.v1.MoveOnMapNewResponse.deserializeBinaryFromReader = function(o, r) {
31546
+ for (; r.nextField() && !r.isEndGroup(); ) {
31547
+ var u = r.getFieldNumber();
31548
+ switch (u) {
31549
+ case 1:
31550
+ var c = (
31551
+ /** @type {string} */
31552
+ r.readString()
31553
+ );
31554
+ o.setExecutionId(c);
31555
+ break;
31556
+ default:
31557
+ r.skipField();
31558
+ break;
31559
+ }
31560
+ }
31561
+ return o;
31562
+ }, proto.viam.service.motion.v1.MoveOnMapNewResponse.prototype.serializeBinary = function() {
31563
+ var o = new e.BinaryWriter();
31564
+ return proto.viam.service.motion.v1.MoveOnMapNewResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
31565
+ }, proto.viam.service.motion.v1.MoveOnMapNewResponse.serializeBinaryToWriter = function(o, r) {
31566
+ var u = void 0;
31567
+ u = o.getExecutionId(), u.length > 0 && r.writeString(
31568
+ 1,
31569
+ u
31570
+ );
31571
+ }, proto.viam.service.motion.v1.MoveOnMapNewResponse.prototype.getExecutionId = function() {
31572
+ return (
31573
+ /** @type {string} */
31574
+ e.Message.getFieldWithDefault(this, 1, "")
31575
+ );
31576
+ }, proto.viam.service.motion.v1.MoveOnMapNewResponse.prototype.setExecutionId = function(o) {
31577
+ return e.Message.setProto3StringField(this, 1, o);
31392
31578
  }, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.MoveOnMapRequest.prototype.toObject = function(o) {
31393
31579
  return proto.viam.service.motion.v1.MoveOnMapRequest.toObject(o, this);
31394
31580
  }, proto.viam.service.motion.v1.MoveOnMapRequest.toObject = function(o, r) {
@@ -31978,246 +32164,13 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
31978
32164
  return proto.viam.service.motion.v1.MoveOnGlobeResponse.toObject(o, this);
31979
32165
  }, proto.viam.service.motion.v1.MoveOnGlobeResponse.toObject = function(o, r) {
31980
32166
  var u = {
31981
- success: e.Message.getBooleanFieldWithDefault(r, 1, !1)
32167
+ executionId: e.Message.getFieldWithDefault(r, 1, "")
31982
32168
  };
31983
32169
  return o && (u.$jspbMessageInstance = r), u;
31984
32170
  }), proto.viam.service.motion.v1.MoveOnGlobeResponse.deserializeBinary = function(o) {
31985
32171
  var r = new e.BinaryReader(o), u = new proto.viam.service.motion.v1.MoveOnGlobeResponse();
31986
32172
  return proto.viam.service.motion.v1.MoveOnGlobeResponse.deserializeBinaryFromReader(u, r);
31987
32173
  }, proto.viam.service.motion.v1.MoveOnGlobeResponse.deserializeBinaryFromReader = function(o, r) {
31988
- for (; r.nextField() && !r.isEndGroup(); ) {
31989
- var u = r.getFieldNumber();
31990
- switch (u) {
31991
- case 1:
31992
- var c = (
31993
- /** @type {boolean} */
31994
- r.readBool()
31995
- );
31996
- o.setSuccess(c);
31997
- break;
31998
- default:
31999
- r.skipField();
32000
- break;
32001
- }
32002
- }
32003
- return o;
32004
- }, proto.viam.service.motion.v1.MoveOnGlobeResponse.prototype.serializeBinary = function() {
32005
- var o = new e.BinaryWriter();
32006
- return proto.viam.service.motion.v1.MoveOnGlobeResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
32007
- }, proto.viam.service.motion.v1.MoveOnGlobeResponse.serializeBinaryToWriter = function(o, r) {
32008
- var u = void 0;
32009
- u = o.getSuccess(), u && r.writeBool(
32010
- 1,
32011
- u
32012
- );
32013
- }, proto.viam.service.motion.v1.MoveOnGlobeResponse.prototype.getSuccess = function() {
32014
- return (
32015
- /** @type {boolean} */
32016
- e.Message.getBooleanFieldWithDefault(this, 1, !1)
32017
- );
32018
- }, proto.viam.service.motion.v1.MoveOnGlobeResponse.prototype.setSuccess = function(o) {
32019
- return e.Message.setProto3BooleanField(this, 1, o);
32020
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.repeatedFields_ = [6], e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.toObject = function(o) {
32021
- return proto.viam.service.motion.v1.MoveOnGlobeNewRequest.toObject(o, this);
32022
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.toObject = function(o, r) {
32023
- var u, c = {
32024
- name: e.Message.getFieldWithDefault(r, 1, ""),
32025
- destination: (u = r.getDestination()) && l.GeoPoint.toObject(o, u),
32026
- heading: e.Message.getFloatingPointFieldWithDefault(r, 3, 0),
32027
- componentName: (u = r.getComponentName()) && l.ResourceName.toObject(o, u),
32028
- movementSensorName: (u = r.getMovementSensorName()) && l.ResourceName.toObject(o, u),
32029
- obstaclesList: e.Message.toObjectList(
32030
- r.getObstaclesList(),
32031
- l.GeoObstacle.toObject,
32032
- o
32033
- ),
32034
- motionConfiguration: (u = r.getMotionConfiguration()) && proto.viam.service.motion.v1.MotionConfiguration.toObject(o, u),
32035
- extra: (u = r.getExtra()) && p.Struct.toObject(o, u)
32036
- };
32037
- return o && (c.$jspbMessageInstance = r), c;
32038
- }), proto.viam.service.motion.v1.MoveOnGlobeNewRequest.deserializeBinary = function(o) {
32039
- var r = new e.BinaryReader(o), u = new proto.viam.service.motion.v1.MoveOnGlobeNewRequest();
32040
- return proto.viam.service.motion.v1.MoveOnGlobeNewRequest.deserializeBinaryFromReader(u, r);
32041
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.deserializeBinaryFromReader = function(o, r) {
32042
- for (; r.nextField() && !r.isEndGroup(); ) {
32043
- var u = r.getFieldNumber();
32044
- switch (u) {
32045
- case 1:
32046
- var c = (
32047
- /** @type {string} */
32048
- r.readString()
32049
- );
32050
- o.setName(c);
32051
- break;
32052
- case 2:
32053
- var c = new l.GeoPoint();
32054
- r.readMessage(c, l.GeoPoint.deserializeBinaryFromReader), o.setDestination(c);
32055
- break;
32056
- case 3:
32057
- var c = (
32058
- /** @type {number} */
32059
- r.readDouble()
32060
- );
32061
- o.setHeading(c);
32062
- break;
32063
- case 4:
32064
- var c = new l.ResourceName();
32065
- r.readMessage(c, l.ResourceName.deserializeBinaryFromReader), o.setComponentName(c);
32066
- break;
32067
- case 5:
32068
- var c = new l.ResourceName();
32069
- r.readMessage(c, l.ResourceName.deserializeBinaryFromReader), o.setMovementSensorName(c);
32070
- break;
32071
- case 6:
32072
- var c = new l.GeoObstacle();
32073
- r.readMessage(c, l.GeoObstacle.deserializeBinaryFromReader), o.addObstacles(c);
32074
- break;
32075
- case 7:
32076
- var c = new proto.viam.service.motion.v1.MotionConfiguration();
32077
- r.readMessage(c, proto.viam.service.motion.v1.MotionConfiguration.deserializeBinaryFromReader), o.setMotionConfiguration(c);
32078
- break;
32079
- case 99:
32080
- var c = new p.Struct();
32081
- r.readMessage(c, p.Struct.deserializeBinaryFromReader), o.setExtra(c);
32082
- break;
32083
- default:
32084
- r.skipField();
32085
- break;
32086
- }
32087
- }
32088
- return o;
32089
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.serializeBinary = function() {
32090
- var o = new e.BinaryWriter();
32091
- return proto.viam.service.motion.v1.MoveOnGlobeNewRequest.serializeBinaryToWriter(this, o), o.getResultBuffer();
32092
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.serializeBinaryToWriter = function(o, r) {
32093
- var u = void 0;
32094
- u = o.getName(), u.length > 0 && r.writeString(
32095
- 1,
32096
- u
32097
- ), u = o.getDestination(), u != null && r.writeMessage(
32098
- 2,
32099
- u,
32100
- l.GeoPoint.serializeBinaryToWriter
32101
- ), u = /** @type {number} */
32102
- e.Message.getField(o, 3), u != null && r.writeDouble(
32103
- 3,
32104
- u
32105
- ), u = o.getComponentName(), u != null && r.writeMessage(
32106
- 4,
32107
- u,
32108
- l.ResourceName.serializeBinaryToWriter
32109
- ), u = o.getMovementSensorName(), u != null && r.writeMessage(
32110
- 5,
32111
- u,
32112
- l.ResourceName.serializeBinaryToWriter
32113
- ), u = o.getObstaclesList(), u.length > 0 && r.writeRepeatedMessage(
32114
- 6,
32115
- u,
32116
- l.GeoObstacle.serializeBinaryToWriter
32117
- ), u = o.getMotionConfiguration(), u != null && r.writeMessage(
32118
- 7,
32119
- u,
32120
- proto.viam.service.motion.v1.MotionConfiguration.serializeBinaryToWriter
32121
- ), u = o.getExtra(), u != null && r.writeMessage(
32122
- 99,
32123
- u,
32124
- p.Struct.serializeBinaryToWriter
32125
- );
32126
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.getName = function() {
32127
- return (
32128
- /** @type {string} */
32129
- e.Message.getFieldWithDefault(this, 1, "")
32130
- );
32131
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.setName = function(o) {
32132
- return e.Message.setProto3StringField(this, 1, o);
32133
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.getDestination = function() {
32134
- return (
32135
- /** @type{?proto.viam.common.v1.GeoPoint} */
32136
- e.Message.getWrapperField(this, l.GeoPoint, 2)
32137
- );
32138
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.setDestination = function(o) {
32139
- return e.Message.setWrapperField(this, 2, o);
32140
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.clearDestination = function() {
32141
- return this.setDestination(void 0);
32142
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.hasDestination = function() {
32143
- return e.Message.getField(this, 2) != null;
32144
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.getHeading = function() {
32145
- return (
32146
- /** @type {number} */
32147
- e.Message.getFloatingPointFieldWithDefault(this, 3, 0)
32148
- );
32149
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.setHeading = function(o) {
32150
- return e.Message.setField(this, 3, o);
32151
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.clearHeading = function() {
32152
- return e.Message.setField(this, 3, void 0);
32153
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.hasHeading = function() {
32154
- return e.Message.getField(this, 3) != null;
32155
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.getComponentName = function() {
32156
- return (
32157
- /** @type{?proto.viam.common.v1.ResourceName} */
32158
- e.Message.getWrapperField(this, l.ResourceName, 4)
32159
- );
32160
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.setComponentName = function(o) {
32161
- return e.Message.setWrapperField(this, 4, o);
32162
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.clearComponentName = function() {
32163
- return this.setComponentName(void 0);
32164
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.hasComponentName = function() {
32165
- return e.Message.getField(this, 4) != null;
32166
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.getMovementSensorName = function() {
32167
- return (
32168
- /** @type{?proto.viam.common.v1.ResourceName} */
32169
- e.Message.getWrapperField(this, l.ResourceName, 5)
32170
- );
32171
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.setMovementSensorName = function(o) {
32172
- return e.Message.setWrapperField(this, 5, o);
32173
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.clearMovementSensorName = function() {
32174
- return this.setMovementSensorName(void 0);
32175
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.hasMovementSensorName = function() {
32176
- return e.Message.getField(this, 5) != null;
32177
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.getObstaclesList = function() {
32178
- return (
32179
- /** @type{!Array<!proto.viam.common.v1.GeoObstacle>} */
32180
- e.Message.getRepeatedWrapperField(this, l.GeoObstacle, 6)
32181
- );
32182
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.setObstaclesList = function(o) {
32183
- return e.Message.setRepeatedWrapperField(this, 6, o);
32184
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.addObstacles = function(o, r) {
32185
- return e.Message.addToRepeatedWrapperField(this, 6, o, proto.viam.common.v1.GeoObstacle, r);
32186
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.clearObstaclesList = function() {
32187
- return this.setObstaclesList([]);
32188
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.getMotionConfiguration = function() {
32189
- return (
32190
- /** @type{?proto.viam.service.motion.v1.MotionConfiguration} */
32191
- e.Message.getWrapperField(this, proto.viam.service.motion.v1.MotionConfiguration, 7)
32192
- );
32193
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.setMotionConfiguration = function(o) {
32194
- return e.Message.setWrapperField(this, 7, o);
32195
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.clearMotionConfiguration = function() {
32196
- return this.setMotionConfiguration(void 0);
32197
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.hasMotionConfiguration = function() {
32198
- return e.Message.getField(this, 7) != null;
32199
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.getExtra = function() {
32200
- return (
32201
- /** @type{?proto.google.protobuf.Struct} */
32202
- e.Message.getWrapperField(this, p.Struct, 99)
32203
- );
32204
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.setExtra = function(o) {
32205
- return e.Message.setWrapperField(this, 99, o);
32206
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.clearExtra = function() {
32207
- return this.setExtra(void 0);
32208
- }, proto.viam.service.motion.v1.MoveOnGlobeNewRequest.prototype.hasExtra = function() {
32209
- return e.Message.getField(this, 99) != null;
32210
- }, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.MoveOnGlobeNewResponse.prototype.toObject = function(o) {
32211
- return proto.viam.service.motion.v1.MoveOnGlobeNewResponse.toObject(o, this);
32212
- }, proto.viam.service.motion.v1.MoveOnGlobeNewResponse.toObject = function(o, r) {
32213
- var u = {
32214
- executionId: e.Message.getFieldWithDefault(r, 1, "")
32215
- };
32216
- return o && (u.$jspbMessageInstance = r), u;
32217
- }), proto.viam.service.motion.v1.MoveOnGlobeNewResponse.deserializeBinary = function(o) {
32218
- var r = new e.BinaryReader(o), u = new proto.viam.service.motion.v1.MoveOnGlobeNewResponse();
32219
- return proto.viam.service.motion.v1.MoveOnGlobeNewResponse.deserializeBinaryFromReader(u, r);
32220
- }, proto.viam.service.motion.v1.MoveOnGlobeNewResponse.deserializeBinaryFromReader = function(o, r) {
32221
32174
  for (; r.nextField() && !r.isEndGroup(); ) {
32222
32175
  var u = r.getFieldNumber();
32223
32176
  switch (u) {
@@ -32234,21 +32187,21 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
32234
32187
  }
32235
32188
  }
32236
32189
  return o;
32237
- }, proto.viam.service.motion.v1.MoveOnGlobeNewResponse.prototype.serializeBinary = function() {
32190
+ }, proto.viam.service.motion.v1.MoveOnGlobeResponse.prototype.serializeBinary = function() {
32238
32191
  var o = new e.BinaryWriter();
32239
- return proto.viam.service.motion.v1.MoveOnGlobeNewResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
32240
- }, proto.viam.service.motion.v1.MoveOnGlobeNewResponse.serializeBinaryToWriter = function(o, r) {
32192
+ return proto.viam.service.motion.v1.MoveOnGlobeResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
32193
+ }, proto.viam.service.motion.v1.MoveOnGlobeResponse.serializeBinaryToWriter = function(o, r) {
32241
32194
  var u = void 0;
32242
32195
  u = o.getExecutionId(), u.length > 0 && r.writeString(
32243
32196
  1,
32244
32197
  u
32245
32198
  );
32246
- }, proto.viam.service.motion.v1.MoveOnGlobeNewResponse.prototype.getExecutionId = function() {
32199
+ }, proto.viam.service.motion.v1.MoveOnGlobeResponse.prototype.getExecutionId = function() {
32247
32200
  return (
32248
32201
  /** @type {string} */
32249
32202
  e.Message.getFieldWithDefault(this, 1, "")
32250
32203
  );
32251
- }, proto.viam.service.motion.v1.MoveOnGlobeNewResponse.prototype.setExecutionId = function(o) {
32204
+ }, proto.viam.service.motion.v1.MoveOnGlobeResponse.prototype.setExecutionId = function(o) {
32252
32205
  return e.Message.setProto3StringField(this, 1, o);
32253
32206
  }, proto.viam.service.motion.v1.GetPoseRequest.repeatedFields_ = [4], e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.GetPoseRequest.prototype.toObject = function(o) {
32254
32207
  return proto.viam.service.motion.v1.GetPoseRequest.toObject(o, this);
@@ -33673,21 +33626,21 @@ MotionService.MoveOnMap = {
33673
33626
  requestType: service_motion_v1_motion_pb.MoveOnMapRequest,
33674
33627
  responseType: service_motion_v1_motion_pb.MoveOnMapResponse
33675
33628
  };
33676
- MotionService.MoveOnGlobe = {
33677
- methodName: "MoveOnGlobe",
33629
+ MotionService.MoveOnMapNew = {
33630
+ methodName: "MoveOnMapNew",
33678
33631
  service: MotionService,
33679
33632
  requestStream: !1,
33680
33633
  responseStream: !1,
33681
- requestType: service_motion_v1_motion_pb.MoveOnGlobeRequest,
33682
- responseType: service_motion_v1_motion_pb.MoveOnGlobeResponse
33634
+ requestType: service_motion_v1_motion_pb.MoveOnMapNewRequest,
33635
+ responseType: service_motion_v1_motion_pb.MoveOnMapNewResponse
33683
33636
  };
33684
- MotionService.MoveOnGlobeNew = {
33685
- methodName: "MoveOnGlobeNew",
33637
+ MotionService.MoveOnGlobe = {
33638
+ methodName: "MoveOnGlobe",
33686
33639
  service: MotionService,
33687
33640
  requestStream: !1,
33688
33641
  responseStream: !1,
33689
- requestType: service_motion_v1_motion_pb.MoveOnGlobeNewRequest,
33690
- responseType: service_motion_v1_motion_pb.MoveOnGlobeNewResponse
33642
+ requestType: service_motion_v1_motion_pb.MoveOnGlobeRequest,
33643
+ responseType: service_motion_v1_motion_pb.MoveOnGlobeResponse
33691
33644
  };
33692
33645
  MotionService.GetPose = {
33693
33646
  methodName: "GetPose",
@@ -33778,9 +33731,9 @@ MotionServiceClient.prototype.moveOnMap = function i(e, n, s) {
33778
33731
  }
33779
33732
  };
33780
33733
  };
33781
- MotionServiceClient.prototype.moveOnGlobe = function i(e, n, s) {
33734
+ MotionServiceClient.prototype.moveOnMapNew = function i(e, n, s) {
33782
33735
  arguments.length === 2 && (s = arguments[1]);
33783
- var l = grpc$h.unary(MotionService.MoveOnGlobe, {
33736
+ var l = grpc$h.unary(MotionService.MoveOnMapNew, {
33784
33737
  request: e,
33785
33738
  host: this.serviceHost,
33786
33739
  metadata: n,
@@ -33801,9 +33754,9 @@ MotionServiceClient.prototype.moveOnGlobe = function i(e, n, s) {
33801
33754
  }
33802
33755
  };
33803
33756
  };
33804
- MotionServiceClient.prototype.moveOnGlobeNew = function i(e, n, s) {
33757
+ MotionServiceClient.prototype.moveOnGlobe = function i(e, n, s) {
33805
33758
  arguments.length === 2 && (s = arguments[1]);
33806
- var l = grpc$h.unary(MotionService.MoveOnGlobeNew, {
33759
+ var l = grpc$h.unary(MotionService.MoveOnGlobe, {
33807
33760
  request: e,
33808
33761
  host: this.serviceHost,
33809
33762
  metadata: n,
@@ -52375,7 +52328,7 @@ var camera_pb = {}, httpbody_pb = {};
52375
52328
  }, n.inherits(proto.viam.component.camera.v1.GetPointCloudResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.component.camera.v1.GetPointCloudResponse.displayName = "proto.viam.component.camera.v1.GetPointCloudResponse"), proto.viam.component.camera.v1.GetPropertiesRequest = function(o) {
52376
52329
  e.Message.initialize(this, o, 0, -1, null, null);
52377
52330
  }, n.inherits(proto.viam.component.camera.v1.GetPropertiesRequest, e.Message), n.DEBUG && !COMPILED && (proto.viam.component.camera.v1.GetPropertiesRequest.displayName = "proto.viam.component.camera.v1.GetPropertiesRequest"), proto.viam.component.camera.v1.GetPropertiesResponse = function(o) {
52378
- e.Message.initialize(this, o, 0, -1, null, null);
52331
+ e.Message.initialize(this, o, 0, -1, proto.viam.component.camera.v1.GetPropertiesResponse.repeatedFields_, null);
52379
52332
  }, n.inherits(proto.viam.component.camera.v1.GetPropertiesResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.component.camera.v1.GetPropertiesResponse.displayName = "proto.viam.component.camera.v1.GetPropertiesResponse"), proto.viam.component.camera.v1.Webcams = function(o) {
52380
52333
  e.Message.initialize(this, o, 0, -1, proto.viam.component.camera.v1.Webcams.repeatedFields_, null);
52381
52334
  }, n.inherits(proto.viam.component.camera.v1.Webcams, e.Message), n.DEBUG && !COMPILED && (proto.viam.component.camera.v1.Webcams.displayName = "proto.viam.component.camera.v1.Webcams"), proto.viam.component.camera.v1.Webcam = function(o) {
@@ -53027,13 +52980,14 @@ var camera_pb = {}, httpbody_pb = {};
53027
52980
  );
53028
52981
  }, proto.viam.component.camera.v1.GetPropertiesRequest.prototype.setName = function(o) {
53029
52982
  return e.Message.setProto3StringField(this, 1, o);
53030
- }, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetPropertiesResponse.prototype.toObject = function(o) {
52983
+ }, proto.viam.component.camera.v1.GetPropertiesResponse.repeatedFields_ = [4], e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetPropertiesResponse.prototype.toObject = function(o) {
53031
52984
  return proto.viam.component.camera.v1.GetPropertiesResponse.toObject(o, this);
53032
52985
  }, proto.viam.component.camera.v1.GetPropertiesResponse.toObject = function(o, r) {
53033
52986
  var u, c = {
53034
52987
  supportsPcd: e.Message.getBooleanFieldWithDefault(r, 1, !1),
53035
52988
  intrinsicParameters: (u = r.getIntrinsicParameters()) && proto.viam.component.camera.v1.IntrinsicParameters.toObject(o, u),
53036
- distortionParameters: (u = r.getDistortionParameters()) && proto.viam.component.camera.v1.DistortionParameters.toObject(o, u)
52989
+ distortionParameters: (u = r.getDistortionParameters()) && proto.viam.component.camera.v1.DistortionParameters.toObject(o, u),
52990
+ mimeTypesList: (u = e.Message.getRepeatedField(r, 4)) == null ? void 0 : u
53037
52991
  };
53038
52992
  return o && (c.$jspbMessageInstance = r), c;
53039
52993
  }), proto.viam.component.camera.v1.GetPropertiesResponse.deserializeBinary = function(o) {
@@ -53058,6 +53012,13 @@ var camera_pb = {}, httpbody_pb = {};
53058
53012
  var c = new proto.viam.component.camera.v1.DistortionParameters();
53059
53013
  r.readMessage(c, proto.viam.component.camera.v1.DistortionParameters.deserializeBinaryFromReader), o.setDistortionParameters(c);
53060
53014
  break;
53015
+ case 4:
53016
+ var c = (
53017
+ /** @type {string} */
53018
+ r.readString()
53019
+ );
53020
+ o.addMimeTypes(c);
53021
+ break;
53061
53022
  default:
53062
53023
  r.skipField();
53063
53024
  break;
@@ -53080,6 +53041,9 @@ var camera_pb = {}, httpbody_pb = {};
53080
53041
  3,
53081
53042
  u,
53082
53043
  proto.viam.component.camera.v1.DistortionParameters.serializeBinaryToWriter
53044
+ ), u = o.getMimeTypesList(), u.length > 0 && r.writeRepeatedString(
53045
+ 4,
53046
+ u
53083
53047
  );
53084
53048
  }, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.getSupportsPcd = function() {
53085
53049
  return (
@@ -53110,6 +53074,17 @@ var camera_pb = {}, httpbody_pb = {};
53110
53074
  return this.setDistortionParameters(void 0);
53111
53075
  }, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.hasDistortionParameters = function() {
53112
53076
  return e.Message.getField(this, 3) != null;
53077
+ }, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.getMimeTypesList = function() {
53078
+ return (
53079
+ /** @type {!Array<string>} */
53080
+ e.Message.getRepeatedField(this, 4)
53081
+ );
53082
+ }, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.setMimeTypesList = function(o) {
53083
+ return e.Message.setField(this, 4, o || []);
53084
+ }, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.addMimeTypes = function(o, r) {
53085
+ return e.Message.addToRepeatedField(this, 4, o, r);
53086
+ }, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.clearMimeTypesList = function() {
53087
+ return this.setMimeTypesList([]);
53113
53088
  }, proto.viam.component.camera.v1.Webcams.repeatedFields_ = [1], e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.Webcams.prototype.toObject = function(o) {
53114
53089
  return proto.viam.component.camera.v1.Webcams.toObject(o, this);
53115
53090
  }, proto.viam.component.camera.v1.Webcams.toObject = function(o, r) {
@@ -54771,7 +54746,25 @@ class MotionClient {
54771
54746
  }
54772
54747
  async moveOnGlobe(e, n, s, l, g, p, t = {}) {
54773
54748
  const { service: o } = this, r = new motion_pb.MoveOnGlobeRequest();
54774
- return r.setName(this.name), r.setDestination(encodeGeoPoint(e)), r.setComponentName(encodeResourceName(n)), r.setMovementSensorName(encodeResourceName(s)), l && r.setHeading(l), g && r.setObstaclesList(g.map((c) => encodeGeoObstacle(c))), p && r.setMotionConfiguration(encodeMotionConfiguration(p)), r.setExtra(struct_pb.Struct.fromJavaScript(t)), this.options.requestLogger?.(r), (await promisify(o.moveOnGlobe.bind(o), r)).getSuccess();
54749
+ return r.setName(this.name), r.setDestination(encodeGeoPoint(e)), r.setComponentName(encodeResourceName(n)), r.setMovementSensorName(encodeResourceName(s)), l && r.setHeading(l), g && r.setObstaclesList(g.map((c) => encodeGeoObstacle(c))), p && r.setMotionConfiguration(encodeMotionConfiguration(p)), r.setExtra(struct_pb.Struct.fromJavaScript(t)), this.options.requestLogger?.(r), (await promisify(o.moveOnGlobe.bind(o), r)).toObject().executionId;
54750
+ }
54751
+ async stopPlan(e, n = {}) {
54752
+ const { service: s } = this, l = new motion_pb.StopPlanRequest();
54753
+ return l.setName(this.name), l.setComponentName(encodeResourceName(e)), l.setExtra(struct_pb.Struct.fromJavaScript(n)), this.options.requestLogger?.(l), await promisify(
54754
+ s.stopPlan.bind(s),
54755
+ l
54756
+ ), null;
54757
+ }
54758
+ async getPlan(e, n, s, l = {}) {
54759
+ const { service: g } = this, p = new motion_pb.GetPlanRequest();
54760
+ return p.setName(this.name), p.setComponentName(encodeResourceName(e)), n && p.setLastPlanOnly(n), s && p.setExecutionId(s), p.setExtra(struct_pb.Struct.fromJavaScript(l)), this.options.requestLogger?.(p), (await promisify(
54761
+ g.getPlan.bind(g),
54762
+ p
54763
+ )).toObject();
54764
+ }
54765
+ async listPlanStatuses(e, n = {}) {
54766
+ const { service: s } = this, l = new motion_pb.ListPlanStatusesRequest();
54767
+ return l.setName(this.name), e && l.setOnlyActivePlans(e), l.setExtra(struct_pb.Struct.fromJavaScript(n)), this.options.requestLogger?.(l), (await promisify(s.listPlanStatuses.bind(s), l)).toObject();
54775
54768
  }
54776
54769
  async getPose(e, n, s, l = {}) {
54777
54770
  const { service: g } = this, p = new motion_pb.GetPoseRequest();
@@ -55049,6 +55042,13 @@ class NavigationClient {
55049
55042
  const { service: n } = this, s = new navigation_pb.GetObstaclesRequest();
55050
55043
  return s.setName(this.name), s.setExtra(struct_pb.Struct.fromJavaScript(e)), this.options.requestLogger?.(s), (await promisify(n.getObstacles.bind(n), s)).getObstaclesList().map((g) => g.toObject());
55051
55044
  }
55045
+ async getPaths(e = {}) {
55046
+ const { service: n } = this, s = new navigation_pb.GetPathsRequest();
55047
+ return s.setName(this.name), s.setExtra(struct_pb.Struct.fromJavaScript(e)), this.options.requestLogger?.(s), (await promisify(
55048
+ n.getPaths.bind(n),
55049
+ s
55050
+ )).getPathsList().map((g) => g.toObject());
55051
+ }
55052
55052
  async doCommand(e) {
55053
55053
  const { service: n } = this;
55054
55054
  return doCommandFromClient(n, this.name, e, this.options);
@@ -55193,7 +55193,7 @@ const concatArrayU8 = (i) => {
55193
55193
  for (const l of i)
55194
55194
  n.set(l, s), s += l.length;
55195
55195
  return n;
55196
- }, version = "0.8.1";
55196
+ }, version = "0.9.0-rc.0";
55197
55197
  export {
55198
55198
  ArmClient,
55199
55199
  BaseClient,
@@ -55224,6 +55224,7 @@ export {
55224
55224
  createRobotClient,
55225
55225
  createViamClient,
55226
55226
  data_pb as dataApi,
55227
+ doCommandFromClient,
55227
55228
  encoder_pb as encoderApi,
55228
55229
  gantry_pb as gantryApi,
55229
55230
  generic_pb as genericApi,