@viamrobotics/sdk 0.2.5-next.0 → 0.2.5-next.2

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
@@ -13835,11 +13835,11 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
13835
13835
  for (; ; ) {
13836
13836
  if (!l(this.buffer, this.position, 5))
13837
13837
  return b;
13838
- var C = c(this.buffer, this.position, this.position + 5), q = new DataView(C.buffer, C.byteOffset, C.byteLength), W = n(q);
13838
+ var C = c(this.buffer, this.position, this.position + 5), L = new DataView(C.buffer, C.byteOffset, C.byteLength), W = n(L);
13839
13839
  if (!l(this.buffer, this.position, 5 + W))
13840
13840
  return b;
13841
13841
  var x = c(this.buffer, this.position + 5, this.position + 5 + W);
13842
- if (this.position += 5 + W, r(q))
13842
+ if (this.position += 5 + W, r(L))
13843
13843
  return b.push({ chunkType: u.TRAILERS, trailers: (f = x, new g.Metadata(o(f))) }), b;
13844
13844
  b.push({ chunkType: u.MESSAGE, data: x });
13845
13845
  }
@@ -20368,8 +20368,8 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
20368
20368
  M ? (y = M.getCode(), f = M.getMessage(), b.set("grpc-status", "".concat(M.getCode())), f !== void 0 && b.set("grpc-message", M.getMessage())) : (y = 0, b.set("grpc-status", "0"), f = "");
20369
20369
  var h = function(w) {
20370
20370
  var C = "";
20371
- return w.forEach(function(q, W) {
20372
- C += "".concat(q, ": ").concat(W.join(", "), `\r
20371
+ return w.forEach(function(L, W) {
20372
+ C += "".concat(L, ": ").concat(W.join(", "), `\r
20373
20373
  `);
20374
20374
  }), n(C);
20375
20375
  }(b), O = new ArrayBuffer(h.length + 5);
@@ -20407,7 +20407,7 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
20407
20407
  function v(h, O) {
20408
20408
  return i.__awaiter(this, void 0, void 0, function() {
20409
20409
  var w, C;
20410
- return i.__generator(this, function(q) {
20410
+ return i.__generator(this, function(L) {
20411
20411
  return M(O), w = function(W) {
20412
20412
  return u.grpc.CrossBrowserHttpTransport({ withCredentials: !1 })(W);
20413
20413
  }, !O?.accessToken || O?.externalAuthAddress && O?.externalAuthToEntity ? O && (O?.credentials || O?.accessToken) ? [2, y(h, w, O)] : [2, w] : ((C = new u.grpc.Metadata()).set("authorization", "Bearer ".concat(O.accessToken)), [2, function(W) {
@@ -20418,11 +20418,11 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
20418
20418
  }
20419
20419
  function y(h, O, w) {
20420
20420
  return i.__awaiter(this, void 0, void 0, function() {
20421
- var C, q, W, x = this;
20421
+ var C, L, W, x = this;
20422
20422
  return i.__generator(this, function(U) {
20423
20423
  switch (U.label) {
20424
20424
  case 0:
20425
- return C = "", q = function() {
20425
+ return C = "", L = function() {
20426
20426
  return i.__awaiter(x, void 0, void 0, function() {
20427
20427
  var I, z, k, S, R, _, E, F, P, T;
20428
20428
  return i.__generator(this, function(j) {
@@ -20454,7 +20454,7 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
20454
20454
  }
20455
20455
  });
20456
20456
  });
20457
- }, [4, q()];
20457
+ }, [4, L()];
20458
20458
  case 1:
20459
20459
  return W = U.sent(), [2, function(I) {
20460
20460
  return new f(I, O, W);
@@ -20482,15 +20482,15 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
20482
20482
  }();
20483
20483
  function b(h, O, w) {
20484
20484
  return i.__awaiter(this, void 0, void 0, function() {
20485
- var C, q, W, x, U, I;
20485
+ var C, L, W, x, U, I;
20486
20486
  return i.__generator(this, function(z) {
20487
20487
  switch (z.label) {
20488
20488
  case 0:
20489
20489
  return C = i.__assign({}, w), [4, v(h, C)];
20490
20490
  case 1:
20491
- return q = z.sent(), I = new Promise(function(k, S) {
20491
+ return L = z.sent(), I = new Promise(function(k, S) {
20492
20492
  W = k, x = S;
20493
- }), u.grpc.unary(m.SignalingService.OptionalWebRTCConfig, { request: new c.OptionalWebRTCConfigRequest(), metadata: { "rpc-host": O }, host: h, transport: q, onEnd: function(k) {
20493
+ }), u.grpc.unary(m.SignalingService.OptionalWebRTCConfig, { request: new c.OptionalWebRTCConfigRequest(), metadata: { "rpc-host": O }, host: h, transport: L, onEnd: function(k) {
20494
20494
  var S = k.status, R = k.statusMessage, _ = k.message;
20495
20495
  if (S === u.grpc.Code.OK && _) {
20496
20496
  if (!(U = _.getConfig()))
@@ -20533,7 +20533,7 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
20533
20533
  }
20534
20534
  }
20535
20535
  e.dialWebRTC = function(h, O, w) {
20536
- var C, q, W, x, U, I, z;
20536
+ var C, L, W, x, U, I, z;
20537
20537
  return i.__awaiter(this, void 0, void 0, function() {
20538
20538
  var k, S, R, _, E, F, P, T, j, A, D, B, G, V, Z, oe, re, ge, ae, ne, pe, ie, le, se, ce, ue, me = this;
20539
20539
  return i.__generator(this, function(J) {
@@ -20541,21 +20541,21 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
20541
20541
  case 0:
20542
20542
  return h = h.replace(/(\/)$/, ""), M(w), [4, b(h, O, w)];
20543
20543
  case 1:
20544
- return k = J.sent(), S = k.toObject().additionalIceServersList.map(function(L) {
20545
- return { urls: L.urlsList, credential: L.credential, username: L.username };
20544
+ return k = J.sent(), S = k.toObject().additionalIceServersList.map(function(q) {
20545
+ return { urls: q.urlsList, credential: q.credential, username: q.username };
20546
20546
  }), w || (w = {}), w.webrtcOptions ? (R = w.webrtcOptions).rtcConfig ? R.rtcConfig.iceServers = i.__spreadArray(i.__spreadArray([], R.rtcConfig.iceServers || [], !0), S, !0) : R.rtcConfig = { iceServers: S } : R = { disableTrickleICE: k.getDisableTrickle(), rtcConfig: { iceServers: S } }, [4, (0, d.newPeerConnectionForClient)(R !== void 0 && R.disableTrickleICE, R?.rtcConfig)];
20547
20547
  case 2:
20548
20548
  _ = J.sent(), E = _.pc, F = _.dc, P = !1, J.label = 3;
20549
20549
  case 3:
20550
- return J.trys.push([3, , 10, 11]), T = w, w && (T = i.__assign({}, w), w.accessToken || (T.authEntity = (C = w?.webrtcOptions) === null || C === void 0 ? void 0 : C.signalingAuthEntity, T.authEntity || (T.externalAuthAddress ? T.authEntity = (q = w.externalAuthAddress) === null || q === void 0 ? void 0 : q.replace(/^(.*:\/\/)/, "") : T.authEntity = h.replace(/^(.*:\/\/)/, "")), T.credentials = (W = w?.webrtcOptions) === null || W === void 0 ? void 0 : W.signalingCredentials, T.accessToken = (x = w?.webrtcOptions) === null || x === void 0 ? void 0 : x.signalingAccessToken), T.externalAuthAddress = (U = w?.webrtcOptions) === null || U === void 0 ? void 0 : U.signalingExternalAuthAddress, T.externalAuthToEntity = (I = w?.webrtcOptions) === null || I === void 0 ? void 0 : I.signalingExternalAuthToEntity), [4, v(h, T)];
20550
+ return J.trys.push([3, , 10, 11]), T = w, w && (T = i.__assign({}, w), w.accessToken || (T.authEntity = (C = w?.webrtcOptions) === null || C === void 0 ? void 0 : C.signalingAuthEntity, T.authEntity || (T.externalAuthAddress ? T.authEntity = (L = w.externalAuthAddress) === null || L === void 0 ? void 0 : L.replace(/^(.*:\/\/)/, "") : T.authEntity = h.replace(/^(.*:\/\/)/, "")), T.credentials = (W = w?.webrtcOptions) === null || W === void 0 ? void 0 : W.signalingCredentials, T.accessToken = (x = w?.webrtcOptions) === null || x === void 0 ? void 0 : x.signalingAccessToken), T.externalAuthAddress = (U = w?.webrtcOptions) === null || U === void 0 ? void 0 : U.signalingExternalAuthAddress, T.externalAuthToEntity = (I = w?.webrtcOptions) === null || I === void 0 ? void 0 : I.signalingExternalAuthToEntity), [4, v(h, T)];
20551
20551
  case 4:
20552
- return j = J.sent(), A = u.grpc.client(m.SignalingService.Call, { host: h, transport: j }), D = "", B = !1, G = function(L) {
20552
+ return j = J.sent(), A = u.grpc.client(m.SignalingService.Call, { host: h, transport: j }), D = "", B = !1, G = function(q) {
20553
20553
  if (!B) {
20554
20554
  B = !0;
20555
20555
  var N = new c.CallUpdateRequest();
20556
20556
  N.setUuid(D);
20557
20557
  var $ = new r.Status();
20558
- $.setCode(o.Code.UNKNOWN), $.setMessage(L), N.setError($), u.grpc.unary(m.SignalingService.CallUpdate, { request: N, metadata: { "rpc-host": O }, host: h, transport: j, onEnd: function(K) {
20558
+ $.setCode(o.Code.UNKNOWN), $.setMessage(q), N.setError($), u.grpc.unary(m.SignalingService.CallUpdate, { request: N, metadata: { "rpc-host": O }, host: h, transport: j, onEnd: function(K) {
20559
20559
  var H = K.status, Y = K.statusMessage, Q = K.message;
20560
20560
  H === u.grpc.Code.OK && Q || console.error(Y);
20561
20561
  } });
@@ -20563,17 +20563,17 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
20563
20563
  }, V = function() {
20564
20564
  if (!B) {
20565
20565
  B = !0;
20566
- var L = new c.CallUpdateRequest();
20567
- L.setUuid(D), L.setDone(!0), u.grpc.unary(m.SignalingService.CallUpdate, { request: L, metadata: { "rpc-host": O }, host: h, transport: j, onEnd: function(N) {
20566
+ var q = new c.CallUpdateRequest();
20567
+ q.setUuid(D), q.setDone(!0), u.grpc.unary(m.SignalingService.CallUpdate, { request: q, metadata: { "rpc-host": O }, host: h, transport: j, onEnd: function(N) {
20568
20568
  var $ = N.status, K = N.statusMessage, H = N.message;
20569
20569
  $ === u.grpc.Code.OK && H || console.error(K);
20570
20570
  } });
20571
20571
  }
20572
- }, oe = new Promise(function(L) {
20573
- Z = L;
20572
+ }, oe = new Promise(function(q) {
20573
+ Z = q;
20574
20574
  }), re = !1, R?.disableTrickleICE ? [3, 7] : [4, E.createOffer()];
20575
20575
  case 5:
20576
- return ge = J.sent(), ae = !1, E.onicecandidate = function(L) {
20576
+ return ge = J.sent(), ae = !1, E.onicecandidate = function(q) {
20577
20577
  return i.__awaiter(me, void 0, void 0, function() {
20578
20578
  var N, $;
20579
20579
  return i.__generator(this, function(K) {
@@ -20581,7 +20581,7 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
20581
20581
  case 0:
20582
20582
  return [4, oe];
20583
20583
  case 1:
20584
- return K.sent(), re ? [2] : L.candidate === null ? (ae = !0, V(), [2]) : (H = L.candidate, (Y = new c.ICECandidate()).setCandidate(H.candidate), H.sdpMid && Y.setSdpMid(H.sdpMid), H.sdpMLineIndex && Y.setSdpmLineIndex(H.sdpMLineIndex), H.usernameFragment && Y.setUsernameFragment(H.usernameFragment), N = Y, ($ = new c.CallUpdateRequest()).setUuid(D), $.setCandidate(N), u.grpc.unary(m.SignalingService.CallUpdate, { request: $, metadata: { "rpc-host": O }, host: h, transport: j, onEnd: function(Q) {
20584
+ return K.sent(), re ? [2] : q.candidate === null ? (ae = !0, V(), [2]) : (H = q.candidate, (Y = new c.ICECandidate()).setCandidate(H.candidate), H.sdpMid && Y.setSdpMid(H.sdpMid), H.sdpMLineIndex && Y.setSdpmLineIndex(H.sdpMLineIndex), H.usernameFragment && Y.setUsernameFragment(H.usernameFragment), N = Y, ($ = new c.CallUpdateRequest()).setUuid(D), $.setCandidate(N), u.grpc.unary(m.SignalingService.CallUpdate, { request: $, metadata: { "rpc-host": O }, host: h, transport: j, onEnd: function(Q) {
20585
20585
  var ee = Q.status, X = Q.statusMessage, te = Q.message;
20586
20586
  ee === u.grpc.Code.OK && te || re || ae || console.error("error sending candidate", X);
20587
20587
  } }), [2]);
@@ -20593,13 +20593,13 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
20593
20593
  case 6:
20594
20594
  J.sent(), J.label = 7;
20595
20595
  case 7:
20596
- return ne = !1, A.onMessage(function(L) {
20596
+ return ne = !1, A.onMessage(function(q) {
20597
20597
  return i.__awaiter(me, void 0, void 0, function() {
20598
20598
  var N, $, K, H, Y, Q;
20599
20599
  return i.__generator(this, function(ee) {
20600
20600
  switch (ee.label) {
20601
20601
  case 0:
20602
- return (N = L).hasInit() ? ne ? (G("got init stage more than once"), [2]) : ($ = N.getInit(), ne = !0, D = N.getUuid(), K = new RTCSessionDescription(JSON.parse(atob($.getSdp()))), [4, E.setRemoteDescription(K)]) : [3, 2];
20602
+ return (N = q).hasInit() ? ne ? (G("got init stage more than once"), [2]) : ($ = N.getInit(), ne = !0, D = N.getUuid(), K = new RTCSessionDescription(JSON.parse(atob($.getSdp()))), [4, E.setRemoteDescription(K)]) : [3, 2];
20603
20603
  case 1:
20604
20604
  return ee.sent(), Z(!0), R?.disableTrickleICE ? (re = !0, V(), [2]) : [3, 8];
20605
20605
  case 2:
@@ -20626,14 +20626,14 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
20626
20626
  var X, te;
20627
20627
  });
20628
20628
  });
20629
- }), le = new Promise(function(L, N) {
20630
- pe = L, ie = N;
20631
- }), A.onEnd(function(L, N, $) {
20632
- L !== u.grpc.Code.OK ? N !== "Response closed without headers" ? (console.error(N), ie(N)) : ie(new p.ConnectionClosedError("failed to dial")) : pe();
20629
+ }), le = new Promise(function(q, N) {
20630
+ pe = q, ie = N;
20631
+ }), A.onEnd(function(q, N, $) {
20632
+ q !== u.grpc.Code.OK ? N !== "Response closed without headers" ? (console.error(N), ie(N)) : ie(new p.ConnectionClosedError("failed to dial")) : pe();
20633
20633
  }), A.start({ "rpc-host": O }), se = new c.CallRequest(), ce = btoa(JSON.stringify(E.localDescription)), se.setSdp(ce), R && R.disableTrickleICE && se.setDisableTrickle(R.disableTrickleICE), A.send(se), (ue = new g.ClientChannel(E, F)).ready.then(function() {
20634
20634
  return pe();
20635
- }).catch(function(L) {
20636
- return ie(L);
20635
+ }).catch(function(q) {
20636
+ return ie(q);
20637
20637
  }), [4, le];
20638
20638
  case 8:
20639
20639
  return J.sent(), [4, ue.ready];
@@ -20742,7 +20742,7 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
20742
20742
  });
20743
20743
  };
20744
20744
  }, 655: (t, e, s) => {
20745
- s.r(e), s.d(e, { __assign: () => g, __asyncDelegator: () => w, __asyncGenerator: () => O, __asyncValues: () => C, __await: () => h, __awaiter: () => l, __classPrivateFieldGet: () => I, __classPrivateFieldIn: () => k, __classPrivateFieldSet: () => z, __createBinding: () => m, __decorate: () => o, __exportStar: () => d, __extends: () => u, __generator: () => c, __importDefault: () => U, __importStar: () => x, __makeTemplateObject: () => q, __metadata: () => n, __param: () => r, __read: () => y, __rest: () => p, __spread: () => f, __spreadArray: () => M, __spreadArrays: () => b, __values: () => v });
20745
+ s.r(e), s.d(e, { __assign: () => g, __asyncDelegator: () => w, __asyncGenerator: () => O, __asyncValues: () => C, __await: () => h, __awaiter: () => l, __classPrivateFieldGet: () => I, __classPrivateFieldIn: () => k, __classPrivateFieldSet: () => z, __createBinding: () => m, __decorate: () => o, __exportStar: () => d, __extends: () => u, __generator: () => c, __importDefault: () => U, __importStar: () => x, __makeTemplateObject: () => L, __metadata: () => n, __param: () => r, __read: () => y, __rest: () => p, __spread: () => f, __spreadArray: () => M, __spreadArrays: () => b, __values: () => v });
20746
20746
  var i = function(S, R) {
20747
20747
  return i = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(_, E) {
20748
20748
  _.__proto__ = E;
@@ -21015,7 +21015,7 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
21015
21015
  };
21016
21016
  }
21017
21017
  }
21018
- function q(S, R) {
21018
+ function L(S, R) {
21019
21019
  return Object.defineProperty ? Object.defineProperty(S, "raw", { value: R }) : S.raw = R, S;
21020
21020
  }
21021
21021
  var W = Object.create ? function(S, R) {
@@ -23252,8 +23252,8 @@ var grpcWebClient_umdExports = {}, grpcWebClient_umd = {
23252
23252
  else if (this.position === this.buffer.byteLength)
23253
23253
  this.buffer = b, this.position = 0;
23254
23254
  else {
23255
- var w = this.buffer.byteLength - this.position, C = new Uint8Array(w + b.byteLength), q = v(this.buffer, this.position);
23256
- C.set(q, 0);
23255
+ var w = this.buffer.byteLength - this.position, C = new Uint8Array(w + b.byteLength), L = v(this.buffer, this.position);
23256
+ C.set(L, 0);
23257
23257
  var W = new Uint8Array(b);
23258
23258
  C.set(W, w), this.buffer = C, this.position = 0;
23259
23259
  }
@@ -24607,7 +24607,7 @@ var arm_pb = {};
24607
24607
  return e.Message.setProto3BooleanField(this, 1, o);
24608
24608
  }, s.object.extend(t, proto.viam.component.arm.v1);
24609
24609
  })(arm_pb);
24610
- var component_arm_v1_arm_pb = arm_pb, common_v1_common_pb$j = common_pb, grpc$k = grpcWebClient_umdExports.grpc, ArmService = function() {
24610
+ var component_arm_v1_arm_pb = arm_pb, common_v1_common_pb$k = common_pb, grpc$l = grpcWebClient_umdExports.grpc, ArmService = function() {
24611
24611
  function t() {
24612
24612
  }
24613
24613
  return t.serviceName = "viam.component.arm.v1.ArmService", t;
@@ -24665,31 +24665,31 @@ ArmService.DoCommand = {
24665
24665
  service: ArmService,
24666
24666
  requestStream: !1,
24667
24667
  responseStream: !1,
24668
- requestType: common_v1_common_pb$j.DoCommandRequest,
24669
- responseType: common_v1_common_pb$j.DoCommandResponse
24668
+ requestType: common_v1_common_pb$k.DoCommandRequest,
24669
+ responseType: common_v1_common_pb$k.DoCommandResponse
24670
24670
  };
24671
24671
  ArmService.GetKinematics = {
24672
24672
  methodName: "GetKinematics",
24673
24673
  service: ArmService,
24674
24674
  requestStream: !1,
24675
24675
  responseStream: !1,
24676
- requestType: common_v1_common_pb$j.GetKinematicsRequest,
24677
- responseType: common_v1_common_pb$j.GetKinematicsResponse
24676
+ requestType: common_v1_common_pb$k.GetKinematicsRequest,
24677
+ responseType: common_v1_common_pb$k.GetKinematicsResponse
24678
24678
  };
24679
24679
  ArmService.GetGeometries = {
24680
24680
  methodName: "GetGeometries",
24681
24681
  service: ArmService,
24682
24682
  requestStream: !1,
24683
24683
  responseStream: !1,
24684
- requestType: common_v1_common_pb$j.GetGeometriesRequest,
24685
- responseType: common_v1_common_pb$j.GetGeometriesResponse
24684
+ requestType: common_v1_common_pb$k.GetGeometriesRequest,
24685
+ responseType: common_v1_common_pb$k.GetGeometriesResponse
24686
24686
  };
24687
24687
  function ArmServiceClient(t, e) {
24688
24688
  this.serviceHost = t, this.options = e || {};
24689
24689
  }
24690
24690
  ArmServiceClient.prototype.getEndPosition = function t(e, s, i) {
24691
24691
  arguments.length === 2 && (i = arguments[1]);
24692
- var u = grpc$k.unary(ArmService.GetEndPosition, {
24692
+ var u = grpc$l.unary(ArmService.GetEndPosition, {
24693
24693
  request: e,
24694
24694
  host: this.serviceHost,
24695
24695
  metadata: s,
@@ -24697,7 +24697,7 @@ ArmServiceClient.prototype.getEndPosition = function t(e, s, i) {
24697
24697
  debug: this.options.debug,
24698
24698
  onEnd: function(g) {
24699
24699
  if (i)
24700
- if (g.status !== grpc$k.Code.OK) {
24700
+ if (g.status !== grpc$l.Code.OK) {
24701
24701
  var p = new Error(g.statusMessage);
24702
24702
  p.code = g.status, p.metadata = g.trailers, i(p, null);
24703
24703
  } else
@@ -24712,7 +24712,7 @@ ArmServiceClient.prototype.getEndPosition = function t(e, s, i) {
24712
24712
  };
24713
24713
  ArmServiceClient.prototype.moveToPosition = function t(e, s, i) {
24714
24714
  arguments.length === 2 && (i = arguments[1]);
24715
- var u = grpc$k.unary(ArmService.MoveToPosition, {
24715
+ var u = grpc$l.unary(ArmService.MoveToPosition, {
24716
24716
  request: e,
24717
24717
  host: this.serviceHost,
24718
24718
  metadata: s,
@@ -24720,7 +24720,7 @@ ArmServiceClient.prototype.moveToPosition = function t(e, s, i) {
24720
24720
  debug: this.options.debug,
24721
24721
  onEnd: function(g) {
24722
24722
  if (i)
24723
- if (g.status !== grpc$k.Code.OK) {
24723
+ if (g.status !== grpc$l.Code.OK) {
24724
24724
  var p = new Error(g.statusMessage);
24725
24725
  p.code = g.status, p.metadata = g.trailers, i(p, null);
24726
24726
  } else
@@ -24735,7 +24735,7 @@ ArmServiceClient.prototype.moveToPosition = function t(e, s, i) {
24735
24735
  };
24736
24736
  ArmServiceClient.prototype.getJointPositions = function t(e, s, i) {
24737
24737
  arguments.length === 2 && (i = arguments[1]);
24738
- var u = grpc$k.unary(ArmService.GetJointPositions, {
24738
+ var u = grpc$l.unary(ArmService.GetJointPositions, {
24739
24739
  request: e,
24740
24740
  host: this.serviceHost,
24741
24741
  metadata: s,
@@ -24743,7 +24743,7 @@ ArmServiceClient.prototype.getJointPositions = function t(e, s, i) {
24743
24743
  debug: this.options.debug,
24744
24744
  onEnd: function(g) {
24745
24745
  if (i)
24746
- if (g.status !== grpc$k.Code.OK) {
24746
+ if (g.status !== grpc$l.Code.OK) {
24747
24747
  var p = new Error(g.statusMessage);
24748
24748
  p.code = g.status, p.metadata = g.trailers, i(p, null);
24749
24749
  } else
@@ -24758,7 +24758,7 @@ ArmServiceClient.prototype.getJointPositions = function t(e, s, i) {
24758
24758
  };
24759
24759
  ArmServiceClient.prototype.moveToJointPositions = function t(e, s, i) {
24760
24760
  arguments.length === 2 && (i = arguments[1]);
24761
- var u = grpc$k.unary(ArmService.MoveToJointPositions, {
24761
+ var u = grpc$l.unary(ArmService.MoveToJointPositions, {
24762
24762
  request: e,
24763
24763
  host: this.serviceHost,
24764
24764
  metadata: s,
@@ -24766,7 +24766,7 @@ ArmServiceClient.prototype.moveToJointPositions = function t(e, s, i) {
24766
24766
  debug: this.options.debug,
24767
24767
  onEnd: function(g) {
24768
24768
  if (i)
24769
- if (g.status !== grpc$k.Code.OK) {
24769
+ if (g.status !== grpc$l.Code.OK) {
24770
24770
  var p = new Error(g.statusMessage);
24771
24771
  p.code = g.status, p.metadata = g.trailers, i(p, null);
24772
24772
  } else
@@ -24781,7 +24781,7 @@ ArmServiceClient.prototype.moveToJointPositions = function t(e, s, i) {
24781
24781
  };
24782
24782
  ArmServiceClient.prototype.stop = function t(e, s, i) {
24783
24783
  arguments.length === 2 && (i = arguments[1]);
24784
- var u = grpc$k.unary(ArmService.Stop, {
24784
+ var u = grpc$l.unary(ArmService.Stop, {
24785
24785
  request: e,
24786
24786
  host: this.serviceHost,
24787
24787
  metadata: s,
@@ -24789,7 +24789,7 @@ ArmServiceClient.prototype.stop = function t(e, s, i) {
24789
24789
  debug: this.options.debug,
24790
24790
  onEnd: function(g) {
24791
24791
  if (i)
24792
- if (g.status !== grpc$k.Code.OK) {
24792
+ if (g.status !== grpc$l.Code.OK) {
24793
24793
  var p = new Error(g.statusMessage);
24794
24794
  p.code = g.status, p.metadata = g.trailers, i(p, null);
24795
24795
  } else
@@ -24804,7 +24804,7 @@ ArmServiceClient.prototype.stop = function t(e, s, i) {
24804
24804
  };
24805
24805
  ArmServiceClient.prototype.isMoving = function t(e, s, i) {
24806
24806
  arguments.length === 2 && (i = arguments[1]);
24807
- var u = grpc$k.unary(ArmService.IsMoving, {
24807
+ var u = grpc$l.unary(ArmService.IsMoving, {
24808
24808
  request: e,
24809
24809
  host: this.serviceHost,
24810
24810
  metadata: s,
@@ -24812,7 +24812,7 @@ ArmServiceClient.prototype.isMoving = function t(e, s, i) {
24812
24812
  debug: this.options.debug,
24813
24813
  onEnd: function(g) {
24814
24814
  if (i)
24815
- if (g.status !== grpc$k.Code.OK) {
24815
+ if (g.status !== grpc$l.Code.OK) {
24816
24816
  var p = new Error(g.statusMessage);
24817
24817
  p.code = g.status, p.metadata = g.trailers, i(p, null);
24818
24818
  } else
@@ -24827,7 +24827,7 @@ ArmServiceClient.prototype.isMoving = function t(e, s, i) {
24827
24827
  };
24828
24828
  ArmServiceClient.prototype.doCommand = function t(e, s, i) {
24829
24829
  arguments.length === 2 && (i = arguments[1]);
24830
- var u = grpc$k.unary(ArmService.DoCommand, {
24830
+ var u = grpc$l.unary(ArmService.DoCommand, {
24831
24831
  request: e,
24832
24832
  host: this.serviceHost,
24833
24833
  metadata: s,
@@ -24835,7 +24835,7 @@ ArmServiceClient.prototype.doCommand = function t(e, s, i) {
24835
24835
  debug: this.options.debug,
24836
24836
  onEnd: function(g) {
24837
24837
  if (i)
24838
- if (g.status !== grpc$k.Code.OK) {
24838
+ if (g.status !== grpc$l.Code.OK) {
24839
24839
  var p = new Error(g.statusMessage);
24840
24840
  p.code = g.status, p.metadata = g.trailers, i(p, null);
24841
24841
  } else
@@ -24850,7 +24850,7 @@ ArmServiceClient.prototype.doCommand = function t(e, s, i) {
24850
24850
  };
24851
24851
  ArmServiceClient.prototype.getKinematics = function t(e, s, i) {
24852
24852
  arguments.length === 2 && (i = arguments[1]);
24853
- var u = grpc$k.unary(ArmService.GetKinematics, {
24853
+ var u = grpc$l.unary(ArmService.GetKinematics, {
24854
24854
  request: e,
24855
24855
  host: this.serviceHost,
24856
24856
  metadata: s,
@@ -24858,7 +24858,7 @@ ArmServiceClient.prototype.getKinematics = function t(e, s, i) {
24858
24858
  debug: this.options.debug,
24859
24859
  onEnd: function(g) {
24860
24860
  if (i)
24861
- if (g.status !== grpc$k.Code.OK) {
24861
+ if (g.status !== grpc$l.Code.OK) {
24862
24862
  var p = new Error(g.statusMessage);
24863
24863
  p.code = g.status, p.metadata = g.trailers, i(p, null);
24864
24864
  } else
@@ -24873,7 +24873,7 @@ ArmServiceClient.prototype.getKinematics = function t(e, s, i) {
24873
24873
  };
24874
24874
  ArmServiceClient.prototype.getGeometries = function t(e, s, i) {
24875
24875
  arguments.length === 2 && (i = arguments[1]);
24876
- var u = grpc$k.unary(ArmService.GetGeometries, {
24876
+ var u = grpc$l.unary(ArmService.GetGeometries, {
24877
24877
  request: e,
24878
24878
  host: this.serviceHost,
24879
24879
  metadata: s,
@@ -24881,7 +24881,7 @@ ArmServiceClient.prototype.getGeometries = function t(e, s, i) {
24881
24881
  debug: this.options.debug,
24882
24882
  onEnd: function(g) {
24883
24883
  if (i)
24884
- if (g.status !== grpc$k.Code.OK) {
24884
+ if (g.status !== grpc$l.Code.OK) {
24885
24885
  var p = new Error(g.statusMessage);
24886
24886
  p.code = g.status, p.metadata = g.trailers, i(p, null);
24887
24887
  } else
@@ -25720,7 +25720,7 @@ var ArmServiceClient_1 = ArmServiceClient, base_pb = {};
25720
25720
  return e.Message.setProto3FloatField(this, 2, o);
25721
25721
  }, s.object.extend(t, proto.viam.component.base.v1);
25722
25722
  })(base_pb);
25723
- var component_base_v1_base_pb = base_pb, common_v1_common_pb$i = common_pb, grpc$j = grpcWebClient_umdExports.grpc, BaseService = function() {
25723
+ var component_base_v1_base_pb = base_pb, common_v1_common_pb$j = common_pb, grpc$k = grpcWebClient_umdExports.grpc, BaseService = function() {
25724
25724
  function t() {
25725
25725
  }
25726
25726
  return t.serviceName = "viam.component.base.v1.BaseService", t;
@@ -25778,16 +25778,16 @@ BaseService.DoCommand = {
25778
25778
  service: BaseService,
25779
25779
  requestStream: !1,
25780
25780
  responseStream: !1,
25781
- requestType: common_v1_common_pb$i.DoCommandRequest,
25782
- responseType: common_v1_common_pb$i.DoCommandResponse
25781
+ requestType: common_v1_common_pb$j.DoCommandRequest,
25782
+ responseType: common_v1_common_pb$j.DoCommandResponse
25783
25783
  };
25784
25784
  BaseService.GetGeometries = {
25785
25785
  methodName: "GetGeometries",
25786
25786
  service: BaseService,
25787
25787
  requestStream: !1,
25788
25788
  responseStream: !1,
25789
- requestType: common_v1_common_pb$i.GetGeometriesRequest,
25790
- responseType: common_v1_common_pb$i.GetGeometriesResponse
25789
+ requestType: common_v1_common_pb$j.GetGeometriesRequest,
25790
+ responseType: common_v1_common_pb$j.GetGeometriesResponse
25791
25791
  };
25792
25792
  BaseService.GetProperties = {
25793
25793
  methodName: "GetProperties",
@@ -25802,7 +25802,7 @@ function BaseServiceClient(t, e) {
25802
25802
  }
25803
25803
  BaseServiceClient.prototype.moveStraight = function t(e, s, i) {
25804
25804
  arguments.length === 2 && (i = arguments[1]);
25805
- var u = grpc$j.unary(BaseService.MoveStraight, {
25805
+ var u = grpc$k.unary(BaseService.MoveStraight, {
25806
25806
  request: e,
25807
25807
  host: this.serviceHost,
25808
25808
  metadata: s,
@@ -25810,7 +25810,7 @@ BaseServiceClient.prototype.moveStraight = function t(e, s, i) {
25810
25810
  debug: this.options.debug,
25811
25811
  onEnd: function(g) {
25812
25812
  if (i)
25813
- if (g.status !== grpc$j.Code.OK) {
25813
+ if (g.status !== grpc$k.Code.OK) {
25814
25814
  var p = new Error(g.statusMessage);
25815
25815
  p.code = g.status, p.metadata = g.trailers, i(p, null);
25816
25816
  } else
@@ -25825,7 +25825,7 @@ BaseServiceClient.prototype.moveStraight = function t(e, s, i) {
25825
25825
  };
25826
25826
  BaseServiceClient.prototype.spin = function t(e, s, i) {
25827
25827
  arguments.length === 2 && (i = arguments[1]);
25828
- var u = grpc$j.unary(BaseService.Spin, {
25828
+ var u = grpc$k.unary(BaseService.Spin, {
25829
25829
  request: e,
25830
25830
  host: this.serviceHost,
25831
25831
  metadata: s,
@@ -25833,7 +25833,7 @@ BaseServiceClient.prototype.spin = function t(e, s, i) {
25833
25833
  debug: this.options.debug,
25834
25834
  onEnd: function(g) {
25835
25835
  if (i)
25836
- if (g.status !== grpc$j.Code.OK) {
25836
+ if (g.status !== grpc$k.Code.OK) {
25837
25837
  var p = new Error(g.statusMessage);
25838
25838
  p.code = g.status, p.metadata = g.trailers, i(p, null);
25839
25839
  } else
@@ -25848,7 +25848,7 @@ BaseServiceClient.prototype.spin = function t(e, s, i) {
25848
25848
  };
25849
25849
  BaseServiceClient.prototype.setPower = function t(e, s, i) {
25850
25850
  arguments.length === 2 && (i = arguments[1]);
25851
- var u = grpc$j.unary(BaseService.SetPower, {
25851
+ var u = grpc$k.unary(BaseService.SetPower, {
25852
25852
  request: e,
25853
25853
  host: this.serviceHost,
25854
25854
  metadata: s,
@@ -25856,7 +25856,7 @@ BaseServiceClient.prototype.setPower = function t(e, s, i) {
25856
25856
  debug: this.options.debug,
25857
25857
  onEnd: function(g) {
25858
25858
  if (i)
25859
- if (g.status !== grpc$j.Code.OK) {
25859
+ if (g.status !== grpc$k.Code.OK) {
25860
25860
  var p = new Error(g.statusMessage);
25861
25861
  p.code = g.status, p.metadata = g.trailers, i(p, null);
25862
25862
  } else
@@ -25871,7 +25871,7 @@ BaseServiceClient.prototype.setPower = function t(e, s, i) {
25871
25871
  };
25872
25872
  BaseServiceClient.prototype.setVelocity = function t(e, s, i) {
25873
25873
  arguments.length === 2 && (i = arguments[1]);
25874
- var u = grpc$j.unary(BaseService.SetVelocity, {
25874
+ var u = grpc$k.unary(BaseService.SetVelocity, {
25875
25875
  request: e,
25876
25876
  host: this.serviceHost,
25877
25877
  metadata: s,
@@ -25879,7 +25879,7 @@ BaseServiceClient.prototype.setVelocity = function t(e, s, i) {
25879
25879
  debug: this.options.debug,
25880
25880
  onEnd: function(g) {
25881
25881
  if (i)
25882
- if (g.status !== grpc$j.Code.OK) {
25882
+ if (g.status !== grpc$k.Code.OK) {
25883
25883
  var p = new Error(g.statusMessage);
25884
25884
  p.code = g.status, p.metadata = g.trailers, i(p, null);
25885
25885
  } else
@@ -25894,7 +25894,7 @@ BaseServiceClient.prototype.setVelocity = function t(e, s, i) {
25894
25894
  };
25895
25895
  BaseServiceClient.prototype.stop = function t(e, s, i) {
25896
25896
  arguments.length === 2 && (i = arguments[1]);
25897
- var u = grpc$j.unary(BaseService.Stop, {
25897
+ var u = grpc$k.unary(BaseService.Stop, {
25898
25898
  request: e,
25899
25899
  host: this.serviceHost,
25900
25900
  metadata: s,
@@ -25902,7 +25902,7 @@ BaseServiceClient.prototype.stop = function t(e, s, i) {
25902
25902
  debug: this.options.debug,
25903
25903
  onEnd: function(g) {
25904
25904
  if (i)
25905
- if (g.status !== grpc$j.Code.OK) {
25905
+ if (g.status !== grpc$k.Code.OK) {
25906
25906
  var p = new Error(g.statusMessage);
25907
25907
  p.code = g.status, p.metadata = g.trailers, i(p, null);
25908
25908
  } else
@@ -25917,7 +25917,7 @@ BaseServiceClient.prototype.stop = function t(e, s, i) {
25917
25917
  };
25918
25918
  BaseServiceClient.prototype.isMoving = function t(e, s, i) {
25919
25919
  arguments.length === 2 && (i = arguments[1]);
25920
- var u = grpc$j.unary(BaseService.IsMoving, {
25920
+ var u = grpc$k.unary(BaseService.IsMoving, {
25921
25921
  request: e,
25922
25922
  host: this.serviceHost,
25923
25923
  metadata: s,
@@ -25925,7 +25925,7 @@ BaseServiceClient.prototype.isMoving = function t(e, s, i) {
25925
25925
  debug: this.options.debug,
25926
25926
  onEnd: function(g) {
25927
25927
  if (i)
25928
- if (g.status !== grpc$j.Code.OK) {
25928
+ if (g.status !== grpc$k.Code.OK) {
25929
25929
  var p = new Error(g.statusMessage);
25930
25930
  p.code = g.status, p.metadata = g.trailers, i(p, null);
25931
25931
  } else
@@ -25940,7 +25940,7 @@ BaseServiceClient.prototype.isMoving = function t(e, s, i) {
25940
25940
  };
25941
25941
  BaseServiceClient.prototype.doCommand = function t(e, s, i) {
25942
25942
  arguments.length === 2 && (i = arguments[1]);
25943
- var u = grpc$j.unary(BaseService.DoCommand, {
25943
+ var u = grpc$k.unary(BaseService.DoCommand, {
25944
25944
  request: e,
25945
25945
  host: this.serviceHost,
25946
25946
  metadata: s,
@@ -25948,7 +25948,7 @@ BaseServiceClient.prototype.doCommand = function t(e, s, i) {
25948
25948
  debug: this.options.debug,
25949
25949
  onEnd: function(g) {
25950
25950
  if (i)
25951
- if (g.status !== grpc$j.Code.OK) {
25951
+ if (g.status !== grpc$k.Code.OK) {
25952
25952
  var p = new Error(g.statusMessage);
25953
25953
  p.code = g.status, p.metadata = g.trailers, i(p, null);
25954
25954
  } else
@@ -25963,7 +25963,7 @@ BaseServiceClient.prototype.doCommand = function t(e, s, i) {
25963
25963
  };
25964
25964
  BaseServiceClient.prototype.getGeometries = function t(e, s, i) {
25965
25965
  arguments.length === 2 && (i = arguments[1]);
25966
- var u = grpc$j.unary(BaseService.GetGeometries, {
25966
+ var u = grpc$k.unary(BaseService.GetGeometries, {
25967
25967
  request: e,
25968
25968
  host: this.serviceHost,
25969
25969
  metadata: s,
@@ -25971,7 +25971,7 @@ BaseServiceClient.prototype.getGeometries = function t(e, s, i) {
25971
25971
  debug: this.options.debug,
25972
25972
  onEnd: function(g) {
25973
25973
  if (i)
25974
- if (g.status !== grpc$j.Code.OK) {
25974
+ if (g.status !== grpc$k.Code.OK) {
25975
25975
  var p = new Error(g.statusMessage);
25976
25976
  p.code = g.status, p.metadata = g.trailers, i(p, null);
25977
25977
  } else
@@ -25986,7 +25986,7 @@ BaseServiceClient.prototype.getGeometries = function t(e, s, i) {
25986
25986
  };
25987
25987
  BaseServiceClient.prototype.getProperties = function t(e, s, i) {
25988
25988
  arguments.length === 2 && (i = arguments[1]);
25989
- var u = grpc$j.unary(BaseService.GetProperties, {
25989
+ var u = grpc$k.unary(BaseService.GetProperties, {
25990
25990
  request: e,
25991
25991
  host: this.serviceHost,
25992
25992
  metadata: s,
@@ -25994,7 +25994,7 @@ BaseServiceClient.prototype.getProperties = function t(e, s, i) {
25994
25994
  debug: this.options.debug,
25995
25995
  onEnd: function(g) {
25996
25996
  if (i)
25997
- if (g.status !== grpc$j.Code.OK) {
25997
+ if (g.status !== grpc$k.Code.OK) {
25998
25998
  var p = new Error(g.statusMessage);
25999
25999
  p.code = g.status, p.metadata = g.trailers, i(p, null);
26000
26000
  } else
@@ -27278,7 +27278,7 @@ var BaseServiceClient_1 = BaseServiceClient, board_pb = {};
27278
27278
  POWER_MODE_OFFLINE_DEEP: 2
27279
27279
  }, s.object.extend(t, proto.viam.component.board.v1);
27280
27280
  })(board_pb);
27281
- var component_board_v1_board_pb = board_pb, common_v1_common_pb$h = common_pb, grpc$i = grpcWebClient_umdExports.grpc, BoardService = function() {
27281
+ var component_board_v1_board_pb = board_pb, common_v1_common_pb$i = common_pb, grpc$j = grpcWebClient_umdExports.grpc, BoardService = function() {
27282
27282
  function t() {
27283
27283
  }
27284
27284
  return t.serviceName = "viam.component.board.v1.BoardService", t;
@@ -27344,8 +27344,8 @@ BoardService.DoCommand = {
27344
27344
  service: BoardService,
27345
27345
  requestStream: !1,
27346
27346
  responseStream: !1,
27347
- requestType: common_v1_common_pb$h.DoCommandRequest,
27348
- responseType: common_v1_common_pb$h.DoCommandResponse
27347
+ requestType: common_v1_common_pb$i.DoCommandRequest,
27348
+ responseType: common_v1_common_pb$i.DoCommandResponse
27349
27349
  };
27350
27350
  BoardService.ReadAnalogReader = {
27351
27351
  methodName: "ReadAnalogReader",
@@ -27376,15 +27376,15 @@ BoardService.GetGeometries = {
27376
27376
  service: BoardService,
27377
27377
  requestStream: !1,
27378
27378
  responseStream: !1,
27379
- requestType: common_v1_common_pb$h.GetGeometriesRequest,
27380
- responseType: common_v1_common_pb$h.GetGeometriesResponse
27379
+ requestType: common_v1_common_pb$i.GetGeometriesRequest,
27380
+ responseType: common_v1_common_pb$i.GetGeometriesResponse
27381
27381
  };
27382
27382
  function BoardServiceClient(t, e) {
27383
27383
  this.serviceHost = t, this.options = e || {};
27384
27384
  }
27385
27385
  BoardServiceClient.prototype.status = function t(e, s, i) {
27386
27386
  arguments.length === 2 && (i = arguments[1]);
27387
- var u = grpc$i.unary(BoardService.Status, {
27387
+ var u = grpc$j.unary(BoardService.Status, {
27388
27388
  request: e,
27389
27389
  host: this.serviceHost,
27390
27390
  metadata: s,
@@ -27392,7 +27392,7 @@ BoardServiceClient.prototype.status = function t(e, s, i) {
27392
27392
  debug: this.options.debug,
27393
27393
  onEnd: function(g) {
27394
27394
  if (i)
27395
- if (g.status !== grpc$i.Code.OK) {
27395
+ if (g.status !== grpc$j.Code.OK) {
27396
27396
  var p = new Error(g.statusMessage);
27397
27397
  p.code = g.status, p.metadata = g.trailers, i(p, null);
27398
27398
  } else
@@ -27407,7 +27407,7 @@ BoardServiceClient.prototype.status = function t(e, s, i) {
27407
27407
  };
27408
27408
  BoardServiceClient.prototype.setGPIO = function t(e, s, i) {
27409
27409
  arguments.length === 2 && (i = arguments[1]);
27410
- var u = grpc$i.unary(BoardService.SetGPIO, {
27410
+ var u = grpc$j.unary(BoardService.SetGPIO, {
27411
27411
  request: e,
27412
27412
  host: this.serviceHost,
27413
27413
  metadata: s,
@@ -27415,7 +27415,7 @@ BoardServiceClient.prototype.setGPIO = function t(e, s, i) {
27415
27415
  debug: this.options.debug,
27416
27416
  onEnd: function(g) {
27417
27417
  if (i)
27418
- if (g.status !== grpc$i.Code.OK) {
27418
+ if (g.status !== grpc$j.Code.OK) {
27419
27419
  var p = new Error(g.statusMessage);
27420
27420
  p.code = g.status, p.metadata = g.trailers, i(p, null);
27421
27421
  } else
@@ -27430,7 +27430,7 @@ BoardServiceClient.prototype.setGPIO = function t(e, s, i) {
27430
27430
  };
27431
27431
  BoardServiceClient.prototype.getGPIO = function t(e, s, i) {
27432
27432
  arguments.length === 2 && (i = arguments[1]);
27433
- var u = grpc$i.unary(BoardService.GetGPIO, {
27433
+ var u = grpc$j.unary(BoardService.GetGPIO, {
27434
27434
  request: e,
27435
27435
  host: this.serviceHost,
27436
27436
  metadata: s,
@@ -27438,7 +27438,7 @@ BoardServiceClient.prototype.getGPIO = function t(e, s, i) {
27438
27438
  debug: this.options.debug,
27439
27439
  onEnd: function(g) {
27440
27440
  if (i)
27441
- if (g.status !== grpc$i.Code.OK) {
27441
+ if (g.status !== grpc$j.Code.OK) {
27442
27442
  var p = new Error(g.statusMessage);
27443
27443
  p.code = g.status, p.metadata = g.trailers, i(p, null);
27444
27444
  } else
@@ -27453,7 +27453,7 @@ BoardServiceClient.prototype.getGPIO = function t(e, s, i) {
27453
27453
  };
27454
27454
  BoardServiceClient.prototype.pWM = function t(e, s, i) {
27455
27455
  arguments.length === 2 && (i = arguments[1]);
27456
- var u = grpc$i.unary(BoardService.PWM, {
27456
+ var u = grpc$j.unary(BoardService.PWM, {
27457
27457
  request: e,
27458
27458
  host: this.serviceHost,
27459
27459
  metadata: s,
@@ -27461,7 +27461,7 @@ BoardServiceClient.prototype.pWM = function t(e, s, i) {
27461
27461
  debug: this.options.debug,
27462
27462
  onEnd: function(g) {
27463
27463
  if (i)
27464
- if (g.status !== grpc$i.Code.OK) {
27464
+ if (g.status !== grpc$j.Code.OK) {
27465
27465
  var p = new Error(g.statusMessage);
27466
27466
  p.code = g.status, p.metadata = g.trailers, i(p, null);
27467
27467
  } else
@@ -27476,7 +27476,7 @@ BoardServiceClient.prototype.pWM = function t(e, s, i) {
27476
27476
  };
27477
27477
  BoardServiceClient.prototype.setPWM = function t(e, s, i) {
27478
27478
  arguments.length === 2 && (i = arguments[1]);
27479
- var u = grpc$i.unary(BoardService.SetPWM, {
27479
+ var u = grpc$j.unary(BoardService.SetPWM, {
27480
27480
  request: e,
27481
27481
  host: this.serviceHost,
27482
27482
  metadata: s,
@@ -27484,7 +27484,7 @@ BoardServiceClient.prototype.setPWM = function t(e, s, i) {
27484
27484
  debug: this.options.debug,
27485
27485
  onEnd: function(g) {
27486
27486
  if (i)
27487
- if (g.status !== grpc$i.Code.OK) {
27487
+ if (g.status !== grpc$j.Code.OK) {
27488
27488
  var p = new Error(g.statusMessage);
27489
27489
  p.code = g.status, p.metadata = g.trailers, i(p, null);
27490
27490
  } else
@@ -27499,7 +27499,7 @@ BoardServiceClient.prototype.setPWM = function t(e, s, i) {
27499
27499
  };
27500
27500
  BoardServiceClient.prototype.pWMFrequency = function t(e, s, i) {
27501
27501
  arguments.length === 2 && (i = arguments[1]);
27502
- var u = grpc$i.unary(BoardService.PWMFrequency, {
27502
+ var u = grpc$j.unary(BoardService.PWMFrequency, {
27503
27503
  request: e,
27504
27504
  host: this.serviceHost,
27505
27505
  metadata: s,
@@ -27507,7 +27507,7 @@ BoardServiceClient.prototype.pWMFrequency = function t(e, s, i) {
27507
27507
  debug: this.options.debug,
27508
27508
  onEnd: function(g) {
27509
27509
  if (i)
27510
- if (g.status !== grpc$i.Code.OK) {
27510
+ if (g.status !== grpc$j.Code.OK) {
27511
27511
  var p = new Error(g.statusMessage);
27512
27512
  p.code = g.status, p.metadata = g.trailers, i(p, null);
27513
27513
  } else
@@ -27522,7 +27522,7 @@ BoardServiceClient.prototype.pWMFrequency = function t(e, s, i) {
27522
27522
  };
27523
27523
  BoardServiceClient.prototype.setPWMFrequency = function t(e, s, i) {
27524
27524
  arguments.length === 2 && (i = arguments[1]);
27525
- var u = grpc$i.unary(BoardService.SetPWMFrequency, {
27525
+ var u = grpc$j.unary(BoardService.SetPWMFrequency, {
27526
27526
  request: e,
27527
27527
  host: this.serviceHost,
27528
27528
  metadata: s,
@@ -27530,7 +27530,7 @@ BoardServiceClient.prototype.setPWMFrequency = function t(e, s, i) {
27530
27530
  debug: this.options.debug,
27531
27531
  onEnd: function(g) {
27532
27532
  if (i)
27533
- if (g.status !== grpc$i.Code.OK) {
27533
+ if (g.status !== grpc$j.Code.OK) {
27534
27534
  var p = new Error(g.statusMessage);
27535
27535
  p.code = g.status, p.metadata = g.trailers, i(p, null);
27536
27536
  } else
@@ -27545,7 +27545,7 @@ BoardServiceClient.prototype.setPWMFrequency = function t(e, s, i) {
27545
27545
  };
27546
27546
  BoardServiceClient.prototype.doCommand = function t(e, s, i) {
27547
27547
  arguments.length === 2 && (i = arguments[1]);
27548
- var u = grpc$i.unary(BoardService.DoCommand, {
27548
+ var u = grpc$j.unary(BoardService.DoCommand, {
27549
27549
  request: e,
27550
27550
  host: this.serviceHost,
27551
27551
  metadata: s,
@@ -27553,7 +27553,7 @@ BoardServiceClient.prototype.doCommand = function t(e, s, i) {
27553
27553
  debug: this.options.debug,
27554
27554
  onEnd: function(g) {
27555
27555
  if (i)
27556
- if (g.status !== grpc$i.Code.OK) {
27556
+ if (g.status !== grpc$j.Code.OK) {
27557
27557
  var p = new Error(g.statusMessage);
27558
27558
  p.code = g.status, p.metadata = g.trailers, i(p, null);
27559
27559
  } else
@@ -27568,7 +27568,7 @@ BoardServiceClient.prototype.doCommand = function t(e, s, i) {
27568
27568
  };
27569
27569
  BoardServiceClient.prototype.readAnalogReader = function t(e, s, i) {
27570
27570
  arguments.length === 2 && (i = arguments[1]);
27571
- var u = grpc$i.unary(BoardService.ReadAnalogReader, {
27571
+ var u = grpc$j.unary(BoardService.ReadAnalogReader, {
27572
27572
  request: e,
27573
27573
  host: this.serviceHost,
27574
27574
  metadata: s,
@@ -27576,7 +27576,7 @@ BoardServiceClient.prototype.readAnalogReader = function t(e, s, i) {
27576
27576
  debug: this.options.debug,
27577
27577
  onEnd: function(g) {
27578
27578
  if (i)
27579
- if (g.status !== grpc$i.Code.OK) {
27579
+ if (g.status !== grpc$j.Code.OK) {
27580
27580
  var p = new Error(g.statusMessage);
27581
27581
  p.code = g.status, p.metadata = g.trailers, i(p, null);
27582
27582
  } else
@@ -27591,7 +27591,7 @@ BoardServiceClient.prototype.readAnalogReader = function t(e, s, i) {
27591
27591
  };
27592
27592
  BoardServiceClient.prototype.getDigitalInterruptValue = function t(e, s, i) {
27593
27593
  arguments.length === 2 && (i = arguments[1]);
27594
- var u = grpc$i.unary(BoardService.GetDigitalInterruptValue, {
27594
+ var u = grpc$j.unary(BoardService.GetDigitalInterruptValue, {
27595
27595
  request: e,
27596
27596
  host: this.serviceHost,
27597
27597
  metadata: s,
@@ -27599,7 +27599,7 @@ BoardServiceClient.prototype.getDigitalInterruptValue = function t(e, s, i) {
27599
27599
  debug: this.options.debug,
27600
27600
  onEnd: function(g) {
27601
27601
  if (i)
27602
- if (g.status !== grpc$i.Code.OK) {
27602
+ if (g.status !== grpc$j.Code.OK) {
27603
27603
  var p = new Error(g.statusMessage);
27604
27604
  p.code = g.status, p.metadata = g.trailers, i(p, null);
27605
27605
  } else
@@ -27614,7 +27614,7 @@ BoardServiceClient.prototype.getDigitalInterruptValue = function t(e, s, i) {
27614
27614
  };
27615
27615
  BoardServiceClient.prototype.setPowerMode = function t(e, s, i) {
27616
27616
  arguments.length === 2 && (i = arguments[1]);
27617
- var u = grpc$i.unary(BoardService.SetPowerMode, {
27617
+ var u = grpc$j.unary(BoardService.SetPowerMode, {
27618
27618
  request: e,
27619
27619
  host: this.serviceHost,
27620
27620
  metadata: s,
@@ -27622,7 +27622,7 @@ BoardServiceClient.prototype.setPowerMode = function t(e, s, i) {
27622
27622
  debug: this.options.debug,
27623
27623
  onEnd: function(g) {
27624
27624
  if (i)
27625
- if (g.status !== grpc$i.Code.OK) {
27625
+ if (g.status !== grpc$j.Code.OK) {
27626
27626
  var p = new Error(g.statusMessage);
27627
27627
  p.code = g.status, p.metadata = g.trailers, i(p, null);
27628
27628
  } else
@@ -27637,7 +27637,7 @@ BoardServiceClient.prototype.setPowerMode = function t(e, s, i) {
27637
27637
  };
27638
27638
  BoardServiceClient.prototype.getGeometries = function t(e, s, i) {
27639
27639
  arguments.length === 2 && (i = arguments[1]);
27640
- var u = grpc$i.unary(BoardService.GetGeometries, {
27640
+ var u = grpc$j.unary(BoardService.GetGeometries, {
27641
27641
  request: e,
27642
27642
  host: this.serviceHost,
27643
27643
  metadata: s,
@@ -27645,7 +27645,7 @@ BoardServiceClient.prototype.getGeometries = function t(e, s, i) {
27645
27645
  debug: this.options.debug,
27646
27646
  onEnd: function(g) {
27647
27647
  if (i)
27648
- if (g.status !== grpc$i.Code.OK) {
27648
+ if (g.status !== grpc$j.Code.OK) {
27649
27649
  var p = new Error(g.statusMessage);
27650
27650
  p.code = g.status, p.metadata = g.trailers, i(p, null);
27651
27651
  } else
@@ -28041,7 +28041,7 @@ var BoardServiceClient_1 = BoardServiceClient, encoder_pb = {};
28041
28041
  POSITION_TYPE_ANGLE_DEGREES: 2
28042
28042
  }, s.object.extend(t, proto.viam.component.encoder.v1);
28043
28043
  })(encoder_pb);
28044
- var component_encoder_v1_encoder_pb = encoder_pb, common_v1_common_pb$g = common_pb, grpc$h = grpcWebClient_umdExports.grpc, EncoderService = function() {
28044
+ var component_encoder_v1_encoder_pb = encoder_pb, common_v1_common_pb$h = common_pb, grpc$i = grpcWebClient_umdExports.grpc, EncoderService = function() {
28045
28045
  function t() {
28046
28046
  }
28047
28047
  return t.serviceName = "viam.component.encoder.v1.EncoderService", t;
@@ -28075,23 +28075,23 @@ EncoderService.DoCommand = {
28075
28075
  service: EncoderService,
28076
28076
  requestStream: !1,
28077
28077
  responseStream: !1,
28078
- requestType: common_v1_common_pb$g.DoCommandRequest,
28079
- responseType: common_v1_common_pb$g.DoCommandResponse
28078
+ requestType: common_v1_common_pb$h.DoCommandRequest,
28079
+ responseType: common_v1_common_pb$h.DoCommandResponse
28080
28080
  };
28081
28081
  EncoderService.GetGeometries = {
28082
28082
  methodName: "GetGeometries",
28083
28083
  service: EncoderService,
28084
28084
  requestStream: !1,
28085
28085
  responseStream: !1,
28086
- requestType: common_v1_common_pb$g.GetGeometriesRequest,
28087
- responseType: common_v1_common_pb$g.GetGeometriesResponse
28086
+ requestType: common_v1_common_pb$h.GetGeometriesRequest,
28087
+ responseType: common_v1_common_pb$h.GetGeometriesResponse
28088
28088
  };
28089
28089
  function EncoderServiceClient(t, e) {
28090
28090
  this.serviceHost = t, this.options = e || {};
28091
28091
  }
28092
28092
  EncoderServiceClient.prototype.getPosition = function t(e, s, i) {
28093
28093
  arguments.length === 2 && (i = arguments[1]);
28094
- var u = grpc$h.unary(EncoderService.GetPosition, {
28094
+ var u = grpc$i.unary(EncoderService.GetPosition, {
28095
28095
  request: e,
28096
28096
  host: this.serviceHost,
28097
28097
  metadata: s,
@@ -28099,7 +28099,7 @@ EncoderServiceClient.prototype.getPosition = function t(e, s, i) {
28099
28099
  debug: this.options.debug,
28100
28100
  onEnd: function(g) {
28101
28101
  if (i)
28102
- if (g.status !== grpc$h.Code.OK) {
28102
+ if (g.status !== grpc$i.Code.OK) {
28103
28103
  var p = new Error(g.statusMessage);
28104
28104
  p.code = g.status, p.metadata = g.trailers, i(p, null);
28105
28105
  } else
@@ -28114,7 +28114,7 @@ EncoderServiceClient.prototype.getPosition = function t(e, s, i) {
28114
28114
  };
28115
28115
  EncoderServiceClient.prototype.resetPosition = function t(e, s, i) {
28116
28116
  arguments.length === 2 && (i = arguments[1]);
28117
- var u = grpc$h.unary(EncoderService.ResetPosition, {
28117
+ var u = grpc$i.unary(EncoderService.ResetPosition, {
28118
28118
  request: e,
28119
28119
  host: this.serviceHost,
28120
28120
  metadata: s,
@@ -28122,7 +28122,7 @@ EncoderServiceClient.prototype.resetPosition = function t(e, s, i) {
28122
28122
  debug: this.options.debug,
28123
28123
  onEnd: function(g) {
28124
28124
  if (i)
28125
- if (g.status !== grpc$h.Code.OK) {
28125
+ if (g.status !== grpc$i.Code.OK) {
28126
28126
  var p = new Error(g.statusMessage);
28127
28127
  p.code = g.status, p.metadata = g.trailers, i(p, null);
28128
28128
  } else
@@ -28137,7 +28137,7 @@ EncoderServiceClient.prototype.resetPosition = function t(e, s, i) {
28137
28137
  };
28138
28138
  EncoderServiceClient.prototype.getProperties = function t(e, s, i) {
28139
28139
  arguments.length === 2 && (i = arguments[1]);
28140
- var u = grpc$h.unary(EncoderService.GetProperties, {
28140
+ var u = grpc$i.unary(EncoderService.GetProperties, {
28141
28141
  request: e,
28142
28142
  host: this.serviceHost,
28143
28143
  metadata: s,
@@ -28145,7 +28145,7 @@ EncoderServiceClient.prototype.getProperties = function t(e, s, i) {
28145
28145
  debug: this.options.debug,
28146
28146
  onEnd: function(g) {
28147
28147
  if (i)
28148
- if (g.status !== grpc$h.Code.OK) {
28148
+ if (g.status !== grpc$i.Code.OK) {
28149
28149
  var p = new Error(g.statusMessage);
28150
28150
  p.code = g.status, p.metadata = g.trailers, i(p, null);
28151
28151
  } else
@@ -28160,7 +28160,7 @@ EncoderServiceClient.prototype.getProperties = function t(e, s, i) {
28160
28160
  };
28161
28161
  EncoderServiceClient.prototype.doCommand = function t(e, s, i) {
28162
28162
  arguments.length === 2 && (i = arguments[1]);
28163
- var u = grpc$h.unary(EncoderService.DoCommand, {
28163
+ var u = grpc$i.unary(EncoderService.DoCommand, {
28164
28164
  request: e,
28165
28165
  host: this.serviceHost,
28166
28166
  metadata: s,
@@ -28168,7 +28168,7 @@ EncoderServiceClient.prototype.doCommand = function t(e, s, i) {
28168
28168
  debug: this.options.debug,
28169
28169
  onEnd: function(g) {
28170
28170
  if (i)
28171
- if (g.status !== grpc$h.Code.OK) {
28171
+ if (g.status !== grpc$i.Code.OK) {
28172
28172
  var p = new Error(g.statusMessage);
28173
28173
  p.code = g.status, p.metadata = g.trailers, i(p, null);
28174
28174
  } else
@@ -28183,7 +28183,7 @@ EncoderServiceClient.prototype.doCommand = function t(e, s, i) {
28183
28183
  };
28184
28184
  EncoderServiceClient.prototype.getGeometries = function t(e, s, i) {
28185
28185
  arguments.length === 2 && (i = arguments[1]);
28186
- var u = grpc$h.unary(EncoderService.GetGeometries, {
28186
+ var u = grpc$i.unary(EncoderService.GetGeometries, {
28187
28187
  request: e,
28188
28188
  host: this.serviceHost,
28189
28189
  metadata: s,
@@ -28191,7 +28191,7 @@ EncoderServiceClient.prototype.getGeometries = function t(e, s, i) {
28191
28191
  debug: this.options.debug,
28192
28192
  onEnd: function(g) {
28193
28193
  if (i)
28194
- if (g.status !== grpc$h.Code.OK) {
28194
+ if (g.status !== grpc$i.Code.OK) {
28195
28195
  var p = new Error(g.statusMessage);
28196
28196
  p.code = g.status, p.metadata = g.trailers, i(p, null);
28197
28197
  } else
@@ -28954,7 +28954,7 @@ var EncoderServiceClient_1 = EncoderServiceClient, gantry_pb = {};
28954
28954
  return e.Message.setProto3BooleanField(this, 1, o);
28955
28955
  }, s.object.extend(t, proto.viam.component.gantry.v1);
28956
28956
  })(gantry_pb);
28957
- var component_gantry_v1_gantry_pb = gantry_pb, common_v1_common_pb$f = common_pb, grpc$g = grpcWebClient_umdExports.grpc, GantryService = function() {
28957
+ var component_gantry_v1_gantry_pb = gantry_pb, common_v1_common_pb$g = common_pb, grpc$h = grpcWebClient_umdExports.grpc, GantryService = function() {
28958
28958
  function t() {
28959
28959
  }
28960
28960
  return t.serviceName = "viam.component.gantry.v1.GantryService", t;
@@ -29012,23 +29012,23 @@ GantryService.DoCommand = {
29012
29012
  service: GantryService,
29013
29013
  requestStream: !1,
29014
29014
  responseStream: !1,
29015
- requestType: common_v1_common_pb$f.DoCommandRequest,
29016
- responseType: common_v1_common_pb$f.DoCommandResponse
29015
+ requestType: common_v1_common_pb$g.DoCommandRequest,
29016
+ responseType: common_v1_common_pb$g.DoCommandResponse
29017
29017
  };
29018
29018
  GantryService.GetGeometries = {
29019
29019
  methodName: "GetGeometries",
29020
29020
  service: GantryService,
29021
29021
  requestStream: !1,
29022
29022
  responseStream: !1,
29023
- requestType: common_v1_common_pb$f.GetGeometriesRequest,
29024
- responseType: common_v1_common_pb$f.GetGeometriesResponse
29023
+ requestType: common_v1_common_pb$g.GetGeometriesRequest,
29024
+ responseType: common_v1_common_pb$g.GetGeometriesResponse
29025
29025
  };
29026
29026
  function GantryServiceClient(t, e) {
29027
29027
  this.serviceHost = t, this.options = e || {};
29028
29028
  }
29029
29029
  GantryServiceClient.prototype.getPosition = function t(e, s, i) {
29030
29030
  arguments.length === 2 && (i = arguments[1]);
29031
- var u = grpc$g.unary(GantryService.GetPosition, {
29031
+ var u = grpc$h.unary(GantryService.GetPosition, {
29032
29032
  request: e,
29033
29033
  host: this.serviceHost,
29034
29034
  metadata: s,
@@ -29036,7 +29036,7 @@ GantryServiceClient.prototype.getPosition = function t(e, s, i) {
29036
29036
  debug: this.options.debug,
29037
29037
  onEnd: function(g) {
29038
29038
  if (i)
29039
- if (g.status !== grpc$g.Code.OK) {
29039
+ if (g.status !== grpc$h.Code.OK) {
29040
29040
  var p = new Error(g.statusMessage);
29041
29041
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29042
29042
  } else
@@ -29051,7 +29051,7 @@ GantryServiceClient.prototype.getPosition = function t(e, s, i) {
29051
29051
  };
29052
29052
  GantryServiceClient.prototype.moveToPosition = function t(e, s, i) {
29053
29053
  arguments.length === 2 && (i = arguments[1]);
29054
- var u = grpc$g.unary(GantryService.MoveToPosition, {
29054
+ var u = grpc$h.unary(GantryService.MoveToPosition, {
29055
29055
  request: e,
29056
29056
  host: this.serviceHost,
29057
29057
  metadata: s,
@@ -29059,7 +29059,7 @@ GantryServiceClient.prototype.moveToPosition = function t(e, s, i) {
29059
29059
  debug: this.options.debug,
29060
29060
  onEnd: function(g) {
29061
29061
  if (i)
29062
- if (g.status !== grpc$g.Code.OK) {
29062
+ if (g.status !== grpc$h.Code.OK) {
29063
29063
  var p = new Error(g.statusMessage);
29064
29064
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29065
29065
  } else
@@ -29074,7 +29074,7 @@ GantryServiceClient.prototype.moveToPosition = function t(e, s, i) {
29074
29074
  };
29075
29075
  GantryServiceClient.prototype.home = function t(e, s, i) {
29076
29076
  arguments.length === 2 && (i = arguments[1]);
29077
- var u = grpc$g.unary(GantryService.Home, {
29077
+ var u = grpc$h.unary(GantryService.Home, {
29078
29078
  request: e,
29079
29079
  host: this.serviceHost,
29080
29080
  metadata: s,
@@ -29082,7 +29082,7 @@ GantryServiceClient.prototype.home = function t(e, s, i) {
29082
29082
  debug: this.options.debug,
29083
29083
  onEnd: function(g) {
29084
29084
  if (i)
29085
- if (g.status !== grpc$g.Code.OK) {
29085
+ if (g.status !== grpc$h.Code.OK) {
29086
29086
  var p = new Error(g.statusMessage);
29087
29087
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29088
29088
  } else
@@ -29097,7 +29097,7 @@ GantryServiceClient.prototype.home = function t(e, s, i) {
29097
29097
  };
29098
29098
  GantryServiceClient.prototype.getLengths = function t(e, s, i) {
29099
29099
  arguments.length === 2 && (i = arguments[1]);
29100
- var u = grpc$g.unary(GantryService.GetLengths, {
29100
+ var u = grpc$h.unary(GantryService.GetLengths, {
29101
29101
  request: e,
29102
29102
  host: this.serviceHost,
29103
29103
  metadata: s,
@@ -29105,7 +29105,7 @@ GantryServiceClient.prototype.getLengths = function t(e, s, i) {
29105
29105
  debug: this.options.debug,
29106
29106
  onEnd: function(g) {
29107
29107
  if (i)
29108
- if (g.status !== grpc$g.Code.OK) {
29108
+ if (g.status !== grpc$h.Code.OK) {
29109
29109
  var p = new Error(g.statusMessage);
29110
29110
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29111
29111
  } else
@@ -29120,7 +29120,7 @@ GantryServiceClient.prototype.getLengths = function t(e, s, i) {
29120
29120
  };
29121
29121
  GantryServiceClient.prototype.stop = function t(e, s, i) {
29122
29122
  arguments.length === 2 && (i = arguments[1]);
29123
- var u = grpc$g.unary(GantryService.Stop, {
29123
+ var u = grpc$h.unary(GantryService.Stop, {
29124
29124
  request: e,
29125
29125
  host: this.serviceHost,
29126
29126
  metadata: s,
@@ -29128,7 +29128,7 @@ GantryServiceClient.prototype.stop = function t(e, s, i) {
29128
29128
  debug: this.options.debug,
29129
29129
  onEnd: function(g) {
29130
29130
  if (i)
29131
- if (g.status !== grpc$g.Code.OK) {
29131
+ if (g.status !== grpc$h.Code.OK) {
29132
29132
  var p = new Error(g.statusMessage);
29133
29133
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29134
29134
  } else
@@ -29143,7 +29143,7 @@ GantryServiceClient.prototype.stop = function t(e, s, i) {
29143
29143
  };
29144
29144
  GantryServiceClient.prototype.isMoving = function t(e, s, i) {
29145
29145
  arguments.length === 2 && (i = arguments[1]);
29146
- var u = grpc$g.unary(GantryService.IsMoving, {
29146
+ var u = grpc$h.unary(GantryService.IsMoving, {
29147
29147
  request: e,
29148
29148
  host: this.serviceHost,
29149
29149
  metadata: s,
@@ -29151,7 +29151,7 @@ GantryServiceClient.prototype.isMoving = function t(e, s, i) {
29151
29151
  debug: this.options.debug,
29152
29152
  onEnd: function(g) {
29153
29153
  if (i)
29154
- if (g.status !== grpc$g.Code.OK) {
29154
+ if (g.status !== grpc$h.Code.OK) {
29155
29155
  var p = new Error(g.statusMessage);
29156
29156
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29157
29157
  } else
@@ -29166,7 +29166,7 @@ GantryServiceClient.prototype.isMoving = function t(e, s, i) {
29166
29166
  };
29167
29167
  GantryServiceClient.prototype.doCommand = function t(e, s, i) {
29168
29168
  arguments.length === 2 && (i = arguments[1]);
29169
- var u = grpc$g.unary(GantryService.DoCommand, {
29169
+ var u = grpc$h.unary(GantryService.DoCommand, {
29170
29170
  request: e,
29171
29171
  host: this.serviceHost,
29172
29172
  metadata: s,
@@ -29174,7 +29174,7 @@ GantryServiceClient.prototype.doCommand = function t(e, s, i) {
29174
29174
  debug: this.options.debug,
29175
29175
  onEnd: function(g) {
29176
29176
  if (i)
29177
- if (g.status !== grpc$g.Code.OK) {
29177
+ if (g.status !== grpc$h.Code.OK) {
29178
29178
  var p = new Error(g.statusMessage);
29179
29179
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29180
29180
  } else
@@ -29189,7 +29189,7 @@ GantryServiceClient.prototype.doCommand = function t(e, s, i) {
29189
29189
  };
29190
29190
  GantryServiceClient.prototype.getGeometries = function t(e, s, i) {
29191
29191
  arguments.length === 2 && (i = arguments[1]);
29192
- var u = grpc$g.unary(GantryService.GetGeometries, {
29192
+ var u = grpc$h.unary(GantryService.GetGeometries, {
29193
29193
  request: e,
29194
29194
  host: this.serviceHost,
29195
29195
  metadata: s,
@@ -29197,7 +29197,7 @@ GantryServiceClient.prototype.getGeometries = function t(e, s, i) {
29197
29197
  debug: this.options.debug,
29198
29198
  onEnd: function(g) {
29199
29199
  if (i)
29200
- if (g.status !== grpc$g.Code.OK) {
29200
+ if (g.status !== grpc$h.Code.OK) {
29201
29201
  var p = new Error(g.statusMessage);
29202
29202
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29203
29203
  } else
@@ -29212,11 +29212,11 @@ GantryServiceClient.prototype.getGeometries = function t(e, s, i) {
29212
29212
  };
29213
29213
  var GantryServiceClient_1 = GantryServiceClient, generic_pb = {}, jspb = googleProtobuf, goog = jspb, global$1 = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof global$1 < "u" && global$1 || typeof self < "u" && self || function() {
29214
29214
  return this;
29215
- }.call(null) || Function("return this")(), common_v1_common_pb$e = common_pb;
29216
- goog.object.extend(proto, common_v1_common_pb$e);
29215
+ }.call(null) || Function("return this")(), common_v1_common_pb$f = common_pb;
29216
+ goog.object.extend(proto, common_v1_common_pb$f);
29217
29217
  var google_api_annotations_pb = annotations_pb;
29218
29218
  goog.object.extend(proto, google_api_annotations_pb);
29219
- var common_v1_common_pb$d = common_pb, grpc$f = grpcWebClient_umdExports.grpc, GenericService = function() {
29219
+ var common_v1_common_pb$e = common_pb, grpc$g = grpcWebClient_umdExports.grpc, GenericService = function() {
29220
29220
  function t() {
29221
29221
  }
29222
29222
  return t.serviceName = "viam.component.generic.v1.GenericService", t;
@@ -29226,23 +29226,23 @@ GenericService.DoCommand = {
29226
29226
  service: GenericService,
29227
29227
  requestStream: !1,
29228
29228
  responseStream: !1,
29229
- requestType: common_v1_common_pb$d.DoCommandRequest,
29230
- responseType: common_v1_common_pb$d.DoCommandResponse
29229
+ requestType: common_v1_common_pb$e.DoCommandRequest,
29230
+ responseType: common_v1_common_pb$e.DoCommandResponse
29231
29231
  };
29232
29232
  GenericService.GetGeometries = {
29233
29233
  methodName: "GetGeometries",
29234
29234
  service: GenericService,
29235
29235
  requestStream: !1,
29236
29236
  responseStream: !1,
29237
- requestType: common_v1_common_pb$d.GetGeometriesRequest,
29238
- responseType: common_v1_common_pb$d.GetGeometriesResponse
29237
+ requestType: common_v1_common_pb$e.GetGeometriesRequest,
29238
+ responseType: common_v1_common_pb$e.GetGeometriesResponse
29239
29239
  };
29240
29240
  function GenericServiceClient(t, e) {
29241
29241
  this.serviceHost = t, this.options = e || {};
29242
29242
  }
29243
29243
  GenericServiceClient.prototype.doCommand = function t(e, s, i) {
29244
29244
  arguments.length === 2 && (i = arguments[1]);
29245
- var u = grpc$f.unary(GenericService.DoCommand, {
29245
+ var u = grpc$g.unary(GenericService.DoCommand, {
29246
29246
  request: e,
29247
29247
  host: this.serviceHost,
29248
29248
  metadata: s,
@@ -29250,7 +29250,7 @@ GenericServiceClient.prototype.doCommand = function t(e, s, i) {
29250
29250
  debug: this.options.debug,
29251
29251
  onEnd: function(g) {
29252
29252
  if (i)
29253
- if (g.status !== grpc$f.Code.OK) {
29253
+ if (g.status !== grpc$g.Code.OK) {
29254
29254
  var p = new Error(g.statusMessage);
29255
29255
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29256
29256
  } else
@@ -29265,7 +29265,7 @@ GenericServiceClient.prototype.doCommand = function t(e, s, i) {
29265
29265
  };
29266
29266
  GenericServiceClient.prototype.getGeometries = function t(e, s, i) {
29267
29267
  arguments.length === 2 && (i = arguments[1]);
29268
- var u = grpc$f.unary(GenericService.GetGeometries, {
29268
+ var u = grpc$g.unary(GenericService.GetGeometries, {
29269
29269
  request: e,
29270
29270
  host: this.serviceHost,
29271
29271
  metadata: s,
@@ -29273,7 +29273,7 @@ GenericServiceClient.prototype.getGeometries = function t(e, s, i) {
29273
29273
  debug: this.options.debug,
29274
29274
  onEnd: function(g) {
29275
29275
  if (i)
29276
- if (g.status !== grpc$f.Code.OK) {
29276
+ if (g.status !== grpc$g.Code.OK) {
29277
29277
  var p = new Error(g.statusMessage);
29278
29278
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29279
29279
  } else
@@ -29695,7 +29695,7 @@ var GenericServiceClient_1 = GenericServiceClient, gripper_pb = {};
29695
29695
  return e.Message.setProto3BooleanField(this, 1, o);
29696
29696
  }, s.object.extend(t, proto.viam.component.gripper.v1);
29697
29697
  })(gripper_pb);
29698
- var component_gripper_v1_gripper_pb = gripper_pb, common_v1_common_pb$c = common_pb, grpc$e = grpcWebClient_umdExports.grpc, GripperService = function() {
29698
+ var component_gripper_v1_gripper_pb = gripper_pb, common_v1_common_pb$d = common_pb, grpc$f = grpcWebClient_umdExports.grpc, GripperService = function() {
29699
29699
  function t() {
29700
29700
  }
29701
29701
  return t.serviceName = "viam.component.gripper.v1.GripperService", t;
@@ -29737,23 +29737,23 @@ GripperService.DoCommand = {
29737
29737
  service: GripperService,
29738
29738
  requestStream: !1,
29739
29739
  responseStream: !1,
29740
- requestType: common_v1_common_pb$c.DoCommandRequest,
29741
- responseType: common_v1_common_pb$c.DoCommandResponse
29740
+ requestType: common_v1_common_pb$d.DoCommandRequest,
29741
+ responseType: common_v1_common_pb$d.DoCommandResponse
29742
29742
  };
29743
29743
  GripperService.GetGeometries = {
29744
29744
  methodName: "GetGeometries",
29745
29745
  service: GripperService,
29746
29746
  requestStream: !1,
29747
29747
  responseStream: !1,
29748
- requestType: common_v1_common_pb$c.GetGeometriesRequest,
29749
- responseType: common_v1_common_pb$c.GetGeometriesResponse
29748
+ requestType: common_v1_common_pb$d.GetGeometriesRequest,
29749
+ responseType: common_v1_common_pb$d.GetGeometriesResponse
29750
29750
  };
29751
29751
  function GripperServiceClient(t, e) {
29752
29752
  this.serviceHost = t, this.options = e || {};
29753
29753
  }
29754
29754
  GripperServiceClient.prototype.open = function t(e, s, i) {
29755
29755
  arguments.length === 2 && (i = arguments[1]);
29756
- var u = grpc$e.unary(GripperService.Open, {
29756
+ var u = grpc$f.unary(GripperService.Open, {
29757
29757
  request: e,
29758
29758
  host: this.serviceHost,
29759
29759
  metadata: s,
@@ -29761,7 +29761,7 @@ GripperServiceClient.prototype.open = function t(e, s, i) {
29761
29761
  debug: this.options.debug,
29762
29762
  onEnd: function(g) {
29763
29763
  if (i)
29764
- if (g.status !== grpc$e.Code.OK) {
29764
+ if (g.status !== grpc$f.Code.OK) {
29765
29765
  var p = new Error(g.statusMessage);
29766
29766
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29767
29767
  } else
@@ -29776,7 +29776,7 @@ GripperServiceClient.prototype.open = function t(e, s, i) {
29776
29776
  };
29777
29777
  GripperServiceClient.prototype.grab = function t(e, s, i) {
29778
29778
  arguments.length === 2 && (i = arguments[1]);
29779
- var u = grpc$e.unary(GripperService.Grab, {
29779
+ var u = grpc$f.unary(GripperService.Grab, {
29780
29780
  request: e,
29781
29781
  host: this.serviceHost,
29782
29782
  metadata: s,
@@ -29784,7 +29784,7 @@ GripperServiceClient.prototype.grab = function t(e, s, i) {
29784
29784
  debug: this.options.debug,
29785
29785
  onEnd: function(g) {
29786
29786
  if (i)
29787
- if (g.status !== grpc$e.Code.OK) {
29787
+ if (g.status !== grpc$f.Code.OK) {
29788
29788
  var p = new Error(g.statusMessage);
29789
29789
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29790
29790
  } else
@@ -29799,7 +29799,7 @@ GripperServiceClient.prototype.grab = function t(e, s, i) {
29799
29799
  };
29800
29800
  GripperServiceClient.prototype.stop = function t(e, s, i) {
29801
29801
  arguments.length === 2 && (i = arguments[1]);
29802
- var u = grpc$e.unary(GripperService.Stop, {
29802
+ var u = grpc$f.unary(GripperService.Stop, {
29803
29803
  request: e,
29804
29804
  host: this.serviceHost,
29805
29805
  metadata: s,
@@ -29807,7 +29807,7 @@ GripperServiceClient.prototype.stop = function t(e, s, i) {
29807
29807
  debug: this.options.debug,
29808
29808
  onEnd: function(g) {
29809
29809
  if (i)
29810
- if (g.status !== grpc$e.Code.OK) {
29810
+ if (g.status !== grpc$f.Code.OK) {
29811
29811
  var p = new Error(g.statusMessage);
29812
29812
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29813
29813
  } else
@@ -29822,7 +29822,7 @@ GripperServiceClient.prototype.stop = function t(e, s, i) {
29822
29822
  };
29823
29823
  GripperServiceClient.prototype.isMoving = function t(e, s, i) {
29824
29824
  arguments.length === 2 && (i = arguments[1]);
29825
- var u = grpc$e.unary(GripperService.IsMoving, {
29825
+ var u = grpc$f.unary(GripperService.IsMoving, {
29826
29826
  request: e,
29827
29827
  host: this.serviceHost,
29828
29828
  metadata: s,
@@ -29830,7 +29830,7 @@ GripperServiceClient.prototype.isMoving = function t(e, s, i) {
29830
29830
  debug: this.options.debug,
29831
29831
  onEnd: function(g) {
29832
29832
  if (i)
29833
- if (g.status !== grpc$e.Code.OK) {
29833
+ if (g.status !== grpc$f.Code.OK) {
29834
29834
  var p = new Error(g.statusMessage);
29835
29835
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29836
29836
  } else
@@ -29845,7 +29845,7 @@ GripperServiceClient.prototype.isMoving = function t(e, s, i) {
29845
29845
  };
29846
29846
  GripperServiceClient.prototype.doCommand = function t(e, s, i) {
29847
29847
  arguments.length === 2 && (i = arguments[1]);
29848
- var u = grpc$e.unary(GripperService.DoCommand, {
29848
+ var u = grpc$f.unary(GripperService.DoCommand, {
29849
29849
  request: e,
29850
29850
  host: this.serviceHost,
29851
29851
  metadata: s,
@@ -29853,7 +29853,7 @@ GripperServiceClient.prototype.doCommand = function t(e, s, i) {
29853
29853
  debug: this.options.debug,
29854
29854
  onEnd: function(g) {
29855
29855
  if (i)
29856
- if (g.status !== grpc$e.Code.OK) {
29856
+ if (g.status !== grpc$f.Code.OK) {
29857
29857
  var p = new Error(g.statusMessage);
29858
29858
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29859
29859
  } else
@@ -29868,7 +29868,7 @@ GripperServiceClient.prototype.doCommand = function t(e, s, i) {
29868
29868
  };
29869
29869
  GripperServiceClient.prototype.getGeometries = function t(e, s, i) {
29870
29870
  arguments.length === 2 && (i = arguments[1]);
29871
- var u = grpc$e.unary(GripperService.GetGeometries, {
29871
+ var u = grpc$f.unary(GripperService.GetGeometries, {
29872
29872
  request: e,
29873
29873
  host: this.serviceHost,
29874
29874
  metadata: s,
@@ -29876,7 +29876,7 @@ GripperServiceClient.prototype.getGeometries = function t(e, s, i) {
29876
29876
  debug: this.options.debug,
29877
29877
  onEnd: function(g) {
29878
29878
  if (i)
29879
- if (g.status !== grpc$e.Code.OK) {
29879
+ if (g.status !== grpc$f.Code.OK) {
29880
29880
  var p = new Error(g.statusMessage);
29881
29881
  p.code = g.status, p.metadata = g.trailers, i(p, null);
29882
29882
  } else
@@ -30618,7 +30618,7 @@ var GripperServiceClient_1 = GripperServiceClient, input_controller_pb = {};
30618
30618
  return this.setEventsList([]);
30619
30619
  }, s.object.extend(t, proto.viam.component.inputcontroller.v1);
30620
30620
  })(input_controller_pb);
30621
- var component_inputcontroller_v1_input_controller_pb = input_controller_pb, common_v1_common_pb$b = common_pb, grpc$d = grpcWebClient_umdExports.grpc, InputControllerService = function() {
30621
+ var component_inputcontroller_v1_input_controller_pb = input_controller_pb, common_v1_common_pb$c = common_pb, grpc$e = grpcWebClient_umdExports.grpc, InputControllerService = function() {
30622
30622
  function t() {
30623
30623
  }
30624
30624
  return t.serviceName = "viam.component.inputcontroller.v1.InputControllerService", t;
@@ -30660,23 +30660,23 @@ InputControllerService.DoCommand = {
30660
30660
  service: InputControllerService,
30661
30661
  requestStream: !1,
30662
30662
  responseStream: !1,
30663
- requestType: common_v1_common_pb$b.DoCommandRequest,
30664
- responseType: common_v1_common_pb$b.DoCommandResponse
30663
+ requestType: common_v1_common_pb$c.DoCommandRequest,
30664
+ responseType: common_v1_common_pb$c.DoCommandResponse
30665
30665
  };
30666
30666
  InputControllerService.GetGeometries = {
30667
30667
  methodName: "GetGeometries",
30668
30668
  service: InputControllerService,
30669
30669
  requestStream: !1,
30670
30670
  responseStream: !1,
30671
- requestType: common_v1_common_pb$b.GetGeometriesRequest,
30672
- responseType: common_v1_common_pb$b.GetGeometriesResponse
30671
+ requestType: common_v1_common_pb$c.GetGeometriesRequest,
30672
+ responseType: common_v1_common_pb$c.GetGeometriesResponse
30673
30673
  };
30674
30674
  function InputControllerServiceClient(t, e) {
30675
30675
  this.serviceHost = t, this.options = e || {};
30676
30676
  }
30677
30677
  InputControllerServiceClient.prototype.getControls = function t(e, s, i) {
30678
30678
  arguments.length === 2 && (i = arguments[1]);
30679
- var u = grpc$d.unary(InputControllerService.GetControls, {
30679
+ var u = grpc$e.unary(InputControllerService.GetControls, {
30680
30680
  request: e,
30681
30681
  host: this.serviceHost,
30682
30682
  metadata: s,
@@ -30684,7 +30684,7 @@ InputControllerServiceClient.prototype.getControls = function t(e, s, i) {
30684
30684
  debug: this.options.debug,
30685
30685
  onEnd: function(g) {
30686
30686
  if (i)
30687
- if (g.status !== grpc$d.Code.OK) {
30687
+ if (g.status !== grpc$e.Code.OK) {
30688
30688
  var p = new Error(g.statusMessage);
30689
30689
  p.code = g.status, p.metadata = g.trailers, i(p, null);
30690
30690
  } else
@@ -30699,7 +30699,7 @@ InputControllerServiceClient.prototype.getControls = function t(e, s, i) {
30699
30699
  };
30700
30700
  InputControllerServiceClient.prototype.getEvents = function t(e, s, i) {
30701
30701
  arguments.length === 2 && (i = arguments[1]);
30702
- var u = grpc$d.unary(InputControllerService.GetEvents, {
30702
+ var u = grpc$e.unary(InputControllerService.GetEvents, {
30703
30703
  request: e,
30704
30704
  host: this.serviceHost,
30705
30705
  metadata: s,
@@ -30707,7 +30707,7 @@ InputControllerServiceClient.prototype.getEvents = function t(e, s, i) {
30707
30707
  debug: this.options.debug,
30708
30708
  onEnd: function(g) {
30709
30709
  if (i)
30710
- if (g.status !== grpc$d.Code.OK) {
30710
+ if (g.status !== grpc$e.Code.OK) {
30711
30711
  var p = new Error(g.statusMessage);
30712
30712
  p.code = g.status, p.metadata = g.trailers, i(p, null);
30713
30713
  } else
@@ -30725,7 +30725,7 @@ InputControllerServiceClient.prototype.streamEvents = function t(e, s) {
30725
30725
  data: [],
30726
30726
  end: [],
30727
30727
  status: []
30728
- }, u = grpc$d.invoke(InputControllerService.StreamEvents, {
30728
+ }, u = grpc$e.invoke(InputControllerService.StreamEvents, {
30729
30729
  request: e,
30730
30730
  host: this.serviceHost,
30731
30731
  metadata: s,
@@ -30755,7 +30755,7 @@ InputControllerServiceClient.prototype.streamEvents = function t(e, s) {
30755
30755
  };
30756
30756
  InputControllerServiceClient.prototype.triggerEvent = function t(e, s, i) {
30757
30757
  arguments.length === 2 && (i = arguments[1]);
30758
- var u = grpc$d.unary(InputControllerService.TriggerEvent, {
30758
+ var u = grpc$e.unary(InputControllerService.TriggerEvent, {
30759
30759
  request: e,
30760
30760
  host: this.serviceHost,
30761
30761
  metadata: s,
@@ -30763,7 +30763,7 @@ InputControllerServiceClient.prototype.triggerEvent = function t(e, s, i) {
30763
30763
  debug: this.options.debug,
30764
30764
  onEnd: function(g) {
30765
30765
  if (i)
30766
- if (g.status !== grpc$d.Code.OK) {
30766
+ if (g.status !== grpc$e.Code.OK) {
30767
30767
  var p = new Error(g.statusMessage);
30768
30768
  p.code = g.status, p.metadata = g.trailers, i(p, null);
30769
30769
  } else
@@ -30778,7 +30778,7 @@ InputControllerServiceClient.prototype.triggerEvent = function t(e, s, i) {
30778
30778
  };
30779
30779
  InputControllerServiceClient.prototype.doCommand = function t(e, s, i) {
30780
30780
  arguments.length === 2 && (i = arguments[1]);
30781
- var u = grpc$d.unary(InputControllerService.DoCommand, {
30781
+ var u = grpc$e.unary(InputControllerService.DoCommand, {
30782
30782
  request: e,
30783
30783
  host: this.serviceHost,
30784
30784
  metadata: s,
@@ -30786,7 +30786,7 @@ InputControllerServiceClient.prototype.doCommand = function t(e, s, i) {
30786
30786
  debug: this.options.debug,
30787
30787
  onEnd: function(g) {
30788
30788
  if (i)
30789
- if (g.status !== grpc$d.Code.OK) {
30789
+ if (g.status !== grpc$e.Code.OK) {
30790
30790
  var p = new Error(g.statusMessage);
30791
30791
  p.code = g.status, p.metadata = g.trailers, i(p, null);
30792
30792
  } else
@@ -30801,7 +30801,7 @@ InputControllerServiceClient.prototype.doCommand = function t(e, s, i) {
30801
30801
  };
30802
30802
  InputControllerServiceClient.prototype.getGeometries = function t(e, s, i) {
30803
30803
  arguments.length === 2 && (i = arguments[1]);
30804
- var u = grpc$d.unary(InputControllerService.GetGeometries, {
30804
+ var u = grpc$e.unary(InputControllerService.GetGeometries, {
30805
30805
  request: e,
30806
30806
  host: this.serviceHost,
30807
30807
  metadata: s,
@@ -30809,7 +30809,7 @@ InputControllerServiceClient.prototype.getGeometries = function t(e, s, i) {
30809
30809
  debug: this.options.debug,
30810
30810
  onEnd: function(g) {
30811
30811
  if (i)
30812
- if (g.status !== grpc$d.Code.OK) {
30812
+ if (g.status !== grpc$e.Code.OK) {
30813
30813
  var p = new Error(g.statusMessage);
30814
30814
  p.code = g.status, p.metadata = g.trailers, i(p, null);
30815
30815
  } else
@@ -32136,7 +32136,7 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
32136
32136
  return this.setAllowsList([]);
32137
32137
  }, s.object.extend(t, proto.viam.service.motion.v1);
32138
32138
  })(motion_pb);
32139
- var service_motion_v1_motion_pb = motion_pb, common_v1_common_pb$a = common_pb, grpc$c = grpcWebClient_umdExports.grpc, MotionService = function() {
32139
+ var service_motion_v1_motion_pb = motion_pb, common_v1_common_pb$b = common_pb, grpc$d = grpcWebClient_umdExports.grpc, MotionService = function() {
32140
32140
  function t() {
32141
32141
  }
32142
32142
  return t.serviceName = "viam.service.motion.v1.MotionService", t;
@@ -32186,15 +32186,15 @@ MotionService.DoCommand = {
32186
32186
  service: MotionService,
32187
32187
  requestStream: !1,
32188
32188
  responseStream: !1,
32189
- requestType: common_v1_common_pb$a.DoCommandRequest,
32190
- responseType: common_v1_common_pb$a.DoCommandResponse
32189
+ requestType: common_v1_common_pb$b.DoCommandRequest,
32190
+ responseType: common_v1_common_pb$b.DoCommandResponse
32191
32191
  };
32192
32192
  function MotionServiceClient(t, e) {
32193
32193
  this.serviceHost = t, this.options = e || {};
32194
32194
  }
32195
32195
  MotionServiceClient.prototype.move = function t(e, s, i) {
32196
32196
  arguments.length === 2 && (i = arguments[1]);
32197
- var u = grpc$c.unary(MotionService.Move, {
32197
+ var u = grpc$d.unary(MotionService.Move, {
32198
32198
  request: e,
32199
32199
  host: this.serviceHost,
32200
32200
  metadata: s,
@@ -32202,7 +32202,7 @@ MotionServiceClient.prototype.move = function t(e, s, i) {
32202
32202
  debug: this.options.debug,
32203
32203
  onEnd: function(g) {
32204
32204
  if (i)
32205
- if (g.status !== grpc$c.Code.OK) {
32205
+ if (g.status !== grpc$d.Code.OK) {
32206
32206
  var p = new Error(g.statusMessage);
32207
32207
  p.code = g.status, p.metadata = g.trailers, i(p, null);
32208
32208
  } else
@@ -32217,7 +32217,7 @@ MotionServiceClient.prototype.move = function t(e, s, i) {
32217
32217
  };
32218
32218
  MotionServiceClient.prototype.moveOnMap = function t(e, s, i) {
32219
32219
  arguments.length === 2 && (i = arguments[1]);
32220
- var u = grpc$c.unary(MotionService.MoveOnMap, {
32220
+ var u = grpc$d.unary(MotionService.MoveOnMap, {
32221
32221
  request: e,
32222
32222
  host: this.serviceHost,
32223
32223
  metadata: s,
@@ -32225,7 +32225,7 @@ MotionServiceClient.prototype.moveOnMap = function t(e, s, i) {
32225
32225
  debug: this.options.debug,
32226
32226
  onEnd: function(g) {
32227
32227
  if (i)
32228
- if (g.status !== grpc$c.Code.OK) {
32228
+ if (g.status !== grpc$d.Code.OK) {
32229
32229
  var p = new Error(g.statusMessage);
32230
32230
  p.code = g.status, p.metadata = g.trailers, i(p, null);
32231
32231
  } else
@@ -32240,7 +32240,7 @@ MotionServiceClient.prototype.moveOnMap = function t(e, s, i) {
32240
32240
  };
32241
32241
  MotionServiceClient.prototype.moveOnGlobe = function t(e, s, i) {
32242
32242
  arguments.length === 2 && (i = arguments[1]);
32243
- var u = grpc$c.unary(MotionService.MoveOnGlobe, {
32243
+ var u = grpc$d.unary(MotionService.MoveOnGlobe, {
32244
32244
  request: e,
32245
32245
  host: this.serviceHost,
32246
32246
  metadata: s,
@@ -32248,7 +32248,7 @@ MotionServiceClient.prototype.moveOnGlobe = function t(e, s, i) {
32248
32248
  debug: this.options.debug,
32249
32249
  onEnd: function(g) {
32250
32250
  if (i)
32251
- if (g.status !== grpc$c.Code.OK) {
32251
+ if (g.status !== grpc$d.Code.OK) {
32252
32252
  var p = new Error(g.statusMessage);
32253
32253
  p.code = g.status, p.metadata = g.trailers, i(p, null);
32254
32254
  } else
@@ -32263,7 +32263,7 @@ MotionServiceClient.prototype.moveOnGlobe = function t(e, s, i) {
32263
32263
  };
32264
32264
  MotionServiceClient.prototype.moveSingleComponent = function t(e, s, i) {
32265
32265
  arguments.length === 2 && (i = arguments[1]);
32266
- var u = grpc$c.unary(MotionService.MoveSingleComponent, {
32266
+ var u = grpc$d.unary(MotionService.MoveSingleComponent, {
32267
32267
  request: e,
32268
32268
  host: this.serviceHost,
32269
32269
  metadata: s,
@@ -32271,7 +32271,7 @@ MotionServiceClient.prototype.moveSingleComponent = function t(e, s, i) {
32271
32271
  debug: this.options.debug,
32272
32272
  onEnd: function(g) {
32273
32273
  if (i)
32274
- if (g.status !== grpc$c.Code.OK) {
32274
+ if (g.status !== grpc$d.Code.OK) {
32275
32275
  var p = new Error(g.statusMessage);
32276
32276
  p.code = g.status, p.metadata = g.trailers, i(p, null);
32277
32277
  } else
@@ -32286,7 +32286,7 @@ MotionServiceClient.prototype.moveSingleComponent = function t(e, s, i) {
32286
32286
  };
32287
32287
  MotionServiceClient.prototype.getPose = function t(e, s, i) {
32288
32288
  arguments.length === 2 && (i = arguments[1]);
32289
- var u = grpc$c.unary(MotionService.GetPose, {
32289
+ var u = grpc$d.unary(MotionService.GetPose, {
32290
32290
  request: e,
32291
32291
  host: this.serviceHost,
32292
32292
  metadata: s,
@@ -32294,7 +32294,7 @@ MotionServiceClient.prototype.getPose = function t(e, s, i) {
32294
32294
  debug: this.options.debug,
32295
32295
  onEnd: function(g) {
32296
32296
  if (i)
32297
- if (g.status !== grpc$c.Code.OK) {
32297
+ if (g.status !== grpc$d.Code.OK) {
32298
32298
  var p = new Error(g.statusMessage);
32299
32299
  p.code = g.status, p.metadata = g.trailers, i(p, null);
32300
32300
  } else
@@ -32309,7 +32309,7 @@ MotionServiceClient.prototype.getPose = function t(e, s, i) {
32309
32309
  };
32310
32310
  MotionServiceClient.prototype.doCommand = function t(e, s, i) {
32311
32311
  arguments.length === 2 && (i = arguments[1]);
32312
- var u = grpc$c.unary(MotionService.DoCommand, {
32312
+ var u = grpc$d.unary(MotionService.DoCommand, {
32313
32313
  request: e,
32314
32314
  host: this.serviceHost,
32315
32315
  metadata: s,
@@ -32317,7 +32317,7 @@ MotionServiceClient.prototype.doCommand = function t(e, s, i) {
32317
32317
  debug: this.options.debug,
32318
32318
  onEnd: function(g) {
32319
32319
  if (i)
32320
- if (g.status !== grpc$c.Code.OK) {
32320
+ if (g.status !== grpc$d.Code.OK) {
32321
32321
  var p = new Error(g.statusMessage);
32322
32322
  p.code = g.status, p.metadata = g.trailers, i(p, null);
32323
32323
  } else
@@ -33413,7 +33413,7 @@ var MotionServiceClient_1 = MotionServiceClient, motor_pb = {};
33413
33413
  return e.Message.setProto3BooleanField(this, 1, o);
33414
33414
  }, s.object.extend(t, proto.viam.component.motor.v1);
33415
33415
  })(motor_pb);
33416
- var component_motor_v1_motor_pb = motor_pb, common_v1_common_pb$9 = common_pb, grpc$b = grpcWebClient_umdExports.grpc, MotorService = function() {
33416
+ var component_motor_v1_motor_pb = motor_pb, common_v1_common_pb$a = common_pb, grpc$c = grpcWebClient_umdExports.grpc, MotorService = function() {
33417
33417
  function t() {
33418
33418
  }
33419
33419
  return t.serviceName = "viam.component.motor.v1.MotorService", t;
@@ -33495,23 +33495,23 @@ MotorService.DoCommand = {
33495
33495
  service: MotorService,
33496
33496
  requestStream: !1,
33497
33497
  responseStream: !1,
33498
- requestType: common_v1_common_pb$9.DoCommandRequest,
33499
- responseType: common_v1_common_pb$9.DoCommandResponse
33498
+ requestType: common_v1_common_pb$a.DoCommandRequest,
33499
+ responseType: common_v1_common_pb$a.DoCommandResponse
33500
33500
  };
33501
33501
  MotorService.GetGeometries = {
33502
33502
  methodName: "GetGeometries",
33503
33503
  service: MotorService,
33504
33504
  requestStream: !1,
33505
33505
  responseStream: !1,
33506
- requestType: common_v1_common_pb$9.GetGeometriesRequest,
33507
- responseType: common_v1_common_pb$9.GetGeometriesResponse
33506
+ requestType: common_v1_common_pb$a.GetGeometriesRequest,
33507
+ responseType: common_v1_common_pb$a.GetGeometriesResponse
33508
33508
  };
33509
33509
  function MotorServiceClient(t, e) {
33510
33510
  this.serviceHost = t, this.options = e || {};
33511
33511
  }
33512
33512
  MotorServiceClient.prototype.setPower = function t(e, s, i) {
33513
33513
  arguments.length === 2 && (i = arguments[1]);
33514
- var u = grpc$b.unary(MotorService.SetPower, {
33514
+ var u = grpc$c.unary(MotorService.SetPower, {
33515
33515
  request: e,
33516
33516
  host: this.serviceHost,
33517
33517
  metadata: s,
@@ -33519,7 +33519,7 @@ MotorServiceClient.prototype.setPower = function t(e, s, i) {
33519
33519
  debug: this.options.debug,
33520
33520
  onEnd: function(g) {
33521
33521
  if (i)
33522
- if (g.status !== grpc$b.Code.OK) {
33522
+ if (g.status !== grpc$c.Code.OK) {
33523
33523
  var p = new Error(g.statusMessage);
33524
33524
  p.code = g.status, p.metadata = g.trailers, i(p, null);
33525
33525
  } else
@@ -33534,7 +33534,7 @@ MotorServiceClient.prototype.setPower = function t(e, s, i) {
33534
33534
  };
33535
33535
  MotorServiceClient.prototype.goFor = function t(e, s, i) {
33536
33536
  arguments.length === 2 && (i = arguments[1]);
33537
- var u = grpc$b.unary(MotorService.GoFor, {
33537
+ var u = grpc$c.unary(MotorService.GoFor, {
33538
33538
  request: e,
33539
33539
  host: this.serviceHost,
33540
33540
  metadata: s,
@@ -33542,7 +33542,7 @@ MotorServiceClient.prototype.goFor = function t(e, s, i) {
33542
33542
  debug: this.options.debug,
33543
33543
  onEnd: function(g) {
33544
33544
  if (i)
33545
- if (g.status !== grpc$b.Code.OK) {
33545
+ if (g.status !== grpc$c.Code.OK) {
33546
33546
  var p = new Error(g.statusMessage);
33547
33547
  p.code = g.status, p.metadata = g.trailers, i(p, null);
33548
33548
  } else
@@ -33557,7 +33557,7 @@ MotorServiceClient.prototype.goFor = function t(e, s, i) {
33557
33557
  };
33558
33558
  MotorServiceClient.prototype.goTo = function t(e, s, i) {
33559
33559
  arguments.length === 2 && (i = arguments[1]);
33560
- var u = grpc$b.unary(MotorService.GoTo, {
33560
+ var u = grpc$c.unary(MotorService.GoTo, {
33561
33561
  request: e,
33562
33562
  host: this.serviceHost,
33563
33563
  metadata: s,
@@ -33565,7 +33565,7 @@ MotorServiceClient.prototype.goTo = function t(e, s, i) {
33565
33565
  debug: this.options.debug,
33566
33566
  onEnd: function(g) {
33567
33567
  if (i)
33568
- if (g.status !== grpc$b.Code.OK) {
33568
+ if (g.status !== grpc$c.Code.OK) {
33569
33569
  var p = new Error(g.statusMessage);
33570
33570
  p.code = g.status, p.metadata = g.trailers, i(p, null);
33571
33571
  } else
@@ -33580,7 +33580,7 @@ MotorServiceClient.prototype.goTo = function t(e, s, i) {
33580
33580
  };
33581
33581
  MotorServiceClient.prototype.resetZeroPosition = function t(e, s, i) {
33582
33582
  arguments.length === 2 && (i = arguments[1]);
33583
- var u = grpc$b.unary(MotorService.ResetZeroPosition, {
33583
+ var u = grpc$c.unary(MotorService.ResetZeroPosition, {
33584
33584
  request: e,
33585
33585
  host: this.serviceHost,
33586
33586
  metadata: s,
@@ -33588,7 +33588,7 @@ MotorServiceClient.prototype.resetZeroPosition = function t(e, s, i) {
33588
33588
  debug: this.options.debug,
33589
33589
  onEnd: function(g) {
33590
33590
  if (i)
33591
- if (g.status !== grpc$b.Code.OK) {
33591
+ if (g.status !== grpc$c.Code.OK) {
33592
33592
  var p = new Error(g.statusMessage);
33593
33593
  p.code = g.status, p.metadata = g.trailers, i(p, null);
33594
33594
  } else
@@ -33603,7 +33603,7 @@ MotorServiceClient.prototype.resetZeroPosition = function t(e, s, i) {
33603
33603
  };
33604
33604
  MotorServiceClient.prototype.getPosition = function t(e, s, i) {
33605
33605
  arguments.length === 2 && (i = arguments[1]);
33606
- var u = grpc$b.unary(MotorService.GetPosition, {
33606
+ var u = grpc$c.unary(MotorService.GetPosition, {
33607
33607
  request: e,
33608
33608
  host: this.serviceHost,
33609
33609
  metadata: s,
@@ -33611,7 +33611,7 @@ MotorServiceClient.prototype.getPosition = function t(e, s, i) {
33611
33611
  debug: this.options.debug,
33612
33612
  onEnd: function(g) {
33613
33613
  if (i)
33614
- if (g.status !== grpc$b.Code.OK) {
33614
+ if (g.status !== grpc$c.Code.OK) {
33615
33615
  var p = new Error(g.statusMessage);
33616
33616
  p.code = g.status, p.metadata = g.trailers, i(p, null);
33617
33617
  } else
@@ -33626,7 +33626,7 @@ MotorServiceClient.prototype.getPosition = function t(e, s, i) {
33626
33626
  };
33627
33627
  MotorServiceClient.prototype.getProperties = function t(e, s, i) {
33628
33628
  arguments.length === 2 && (i = arguments[1]);
33629
- var u = grpc$b.unary(MotorService.GetProperties, {
33629
+ var u = grpc$c.unary(MotorService.GetProperties, {
33630
33630
  request: e,
33631
33631
  host: this.serviceHost,
33632
33632
  metadata: s,
@@ -33634,7 +33634,7 @@ MotorServiceClient.prototype.getProperties = function t(e, s, i) {
33634
33634
  debug: this.options.debug,
33635
33635
  onEnd: function(g) {
33636
33636
  if (i)
33637
- if (g.status !== grpc$b.Code.OK) {
33637
+ if (g.status !== grpc$c.Code.OK) {
33638
33638
  var p = new Error(g.statusMessage);
33639
33639
  p.code = g.status, p.metadata = g.trailers, i(p, null);
33640
33640
  } else
@@ -33649,7 +33649,7 @@ MotorServiceClient.prototype.getProperties = function t(e, s, i) {
33649
33649
  };
33650
33650
  MotorServiceClient.prototype.stop = function t(e, s, i) {
33651
33651
  arguments.length === 2 && (i = arguments[1]);
33652
- var u = grpc$b.unary(MotorService.Stop, {
33652
+ var u = grpc$c.unary(MotorService.Stop, {
33653
33653
  request: e,
33654
33654
  host: this.serviceHost,
33655
33655
  metadata: s,
@@ -33657,7 +33657,7 @@ MotorServiceClient.prototype.stop = function t(e, s, i) {
33657
33657
  debug: this.options.debug,
33658
33658
  onEnd: function(g) {
33659
33659
  if (i)
33660
- if (g.status !== grpc$b.Code.OK) {
33660
+ if (g.status !== grpc$c.Code.OK) {
33661
33661
  var p = new Error(g.statusMessage);
33662
33662
  p.code = g.status, p.metadata = g.trailers, i(p, null);
33663
33663
  } else
@@ -33672,7 +33672,7 @@ MotorServiceClient.prototype.stop = function t(e, s, i) {
33672
33672
  };
33673
33673
  MotorServiceClient.prototype.isPowered = function t(e, s, i) {
33674
33674
  arguments.length === 2 && (i = arguments[1]);
33675
- var u = grpc$b.unary(MotorService.IsPowered, {
33675
+ var u = grpc$c.unary(MotorService.IsPowered, {
33676
33676
  request: e,
33677
33677
  host: this.serviceHost,
33678
33678
  metadata: s,
@@ -33680,7 +33680,7 @@ MotorServiceClient.prototype.isPowered = function t(e, s, i) {
33680
33680
  debug: this.options.debug,
33681
33681
  onEnd: function(g) {
33682
33682
  if (i)
33683
- if (g.status !== grpc$b.Code.OK) {
33683
+ if (g.status !== grpc$c.Code.OK) {
33684
33684
  var p = new Error(g.statusMessage);
33685
33685
  p.code = g.status, p.metadata = g.trailers, i(p, null);
33686
33686
  } else
@@ -33695,7 +33695,7 @@ MotorServiceClient.prototype.isPowered = function t(e, s, i) {
33695
33695
  };
33696
33696
  MotorServiceClient.prototype.isMoving = function t(e, s, i) {
33697
33697
  arguments.length === 2 && (i = arguments[1]);
33698
- var u = grpc$b.unary(MotorService.IsMoving, {
33698
+ var u = grpc$c.unary(MotorService.IsMoving, {
33699
33699
  request: e,
33700
33700
  host: this.serviceHost,
33701
33701
  metadata: s,
@@ -33703,7 +33703,7 @@ MotorServiceClient.prototype.isMoving = function t(e, s, i) {
33703
33703
  debug: this.options.debug,
33704
33704
  onEnd: function(g) {
33705
33705
  if (i)
33706
- if (g.status !== grpc$b.Code.OK) {
33706
+ if (g.status !== grpc$c.Code.OK) {
33707
33707
  var p = new Error(g.statusMessage);
33708
33708
  p.code = g.status, p.metadata = g.trailers, i(p, null);
33709
33709
  } else
@@ -33718,7 +33718,7 @@ MotorServiceClient.prototype.isMoving = function t(e, s, i) {
33718
33718
  };
33719
33719
  MotorServiceClient.prototype.doCommand = function t(e, s, i) {
33720
33720
  arguments.length === 2 && (i = arguments[1]);
33721
- var u = grpc$b.unary(MotorService.DoCommand, {
33721
+ var u = grpc$c.unary(MotorService.DoCommand, {
33722
33722
  request: e,
33723
33723
  host: this.serviceHost,
33724
33724
  metadata: s,
@@ -33726,7 +33726,7 @@ MotorServiceClient.prototype.doCommand = function t(e, s, i) {
33726
33726
  debug: this.options.debug,
33727
33727
  onEnd: function(g) {
33728
33728
  if (i)
33729
- if (g.status !== grpc$b.Code.OK) {
33729
+ if (g.status !== grpc$c.Code.OK) {
33730
33730
  var p = new Error(g.statusMessage);
33731
33731
  p.code = g.status, p.metadata = g.trailers, i(p, null);
33732
33732
  } else
@@ -33741,7 +33741,7 @@ MotorServiceClient.prototype.doCommand = function t(e, s, i) {
33741
33741
  };
33742
33742
  MotorServiceClient.prototype.getGeometries = function t(e, s, i) {
33743
33743
  arguments.length === 2 && (i = arguments[1]);
33744
- var u = grpc$b.unary(MotorService.GetGeometries, {
33744
+ var u = grpc$c.unary(MotorService.GetGeometries, {
33745
33745
  request: e,
33746
33746
  host: this.serviceHost,
33747
33747
  metadata: s,
@@ -33749,7 +33749,7 @@ MotorServiceClient.prototype.getGeometries = function t(e, s, i) {
33749
33749
  debug: this.options.debug,
33750
33750
  onEnd: function(g) {
33751
33751
  if (i)
33752
- if (g.status !== grpc$b.Code.OK) {
33752
+ if (g.status !== grpc$c.Code.OK) {
33753
33753
  var p = new Error(g.statusMessage);
33754
33754
  p.code = g.status, p.metadata = g.trailers, i(p, null);
33755
33755
  } else
@@ -34772,7 +34772,7 @@ var MotorServiceClient_1 = MotorServiceClient, movementsensor_pb = {};
34772
34772
  return e.Message.getField(this, 1) != null;
34773
34773
  }, s.object.extend(t, proto.viam.component.movementsensor.v1);
34774
34774
  })(movementsensor_pb);
34775
- var component_movementsensor_v1_movementsensor_pb = movementsensor_pb, common_v1_common_pb$8 = common_pb, grpc$a = grpcWebClient_umdExports.grpc, MovementSensorService = function() {
34775
+ var component_movementsensor_v1_movementsensor_pb = movementsensor_pb, common_v1_common_pb$9 = common_pb, grpc$b = grpcWebClient_umdExports.grpc, MovementSensorService = function() {
34776
34776
  function t() {
34777
34777
  }
34778
34778
  return t.serviceName = "viam.component.movementsensor.v1.MovementSensorService", t;
@@ -34846,23 +34846,23 @@ MovementSensorService.DoCommand = {
34846
34846
  service: MovementSensorService,
34847
34847
  requestStream: !1,
34848
34848
  responseStream: !1,
34849
- requestType: common_v1_common_pb$8.DoCommandRequest,
34850
- responseType: common_v1_common_pb$8.DoCommandResponse
34849
+ requestType: common_v1_common_pb$9.DoCommandRequest,
34850
+ responseType: common_v1_common_pb$9.DoCommandResponse
34851
34851
  };
34852
34852
  MovementSensorService.GetGeometries = {
34853
34853
  methodName: "GetGeometries",
34854
34854
  service: MovementSensorService,
34855
34855
  requestStream: !1,
34856
34856
  responseStream: !1,
34857
- requestType: common_v1_common_pb$8.GetGeometriesRequest,
34858
- responseType: common_v1_common_pb$8.GetGeometriesResponse
34857
+ requestType: common_v1_common_pb$9.GetGeometriesRequest,
34858
+ responseType: common_v1_common_pb$9.GetGeometriesResponse
34859
34859
  };
34860
34860
  function MovementSensorServiceClient(t, e) {
34861
34861
  this.serviceHost = t, this.options = e || {};
34862
34862
  }
34863
34863
  MovementSensorServiceClient.prototype.getLinearVelocity = function t(e, s, i) {
34864
34864
  arguments.length === 2 && (i = arguments[1]);
34865
- var u = grpc$a.unary(MovementSensorService.GetLinearVelocity, {
34865
+ var u = grpc$b.unary(MovementSensorService.GetLinearVelocity, {
34866
34866
  request: e,
34867
34867
  host: this.serviceHost,
34868
34868
  metadata: s,
@@ -34870,7 +34870,7 @@ MovementSensorServiceClient.prototype.getLinearVelocity = function t(e, s, i) {
34870
34870
  debug: this.options.debug,
34871
34871
  onEnd: function(g) {
34872
34872
  if (i)
34873
- if (g.status !== grpc$a.Code.OK) {
34873
+ if (g.status !== grpc$b.Code.OK) {
34874
34874
  var p = new Error(g.statusMessage);
34875
34875
  p.code = g.status, p.metadata = g.trailers, i(p, null);
34876
34876
  } else
@@ -34885,7 +34885,7 @@ MovementSensorServiceClient.prototype.getLinearVelocity = function t(e, s, i) {
34885
34885
  };
34886
34886
  MovementSensorServiceClient.prototype.getAngularVelocity = function t(e, s, i) {
34887
34887
  arguments.length === 2 && (i = arguments[1]);
34888
- var u = grpc$a.unary(MovementSensorService.GetAngularVelocity, {
34888
+ var u = grpc$b.unary(MovementSensorService.GetAngularVelocity, {
34889
34889
  request: e,
34890
34890
  host: this.serviceHost,
34891
34891
  metadata: s,
@@ -34893,7 +34893,7 @@ MovementSensorServiceClient.prototype.getAngularVelocity = function t(e, s, i) {
34893
34893
  debug: this.options.debug,
34894
34894
  onEnd: function(g) {
34895
34895
  if (i)
34896
- if (g.status !== grpc$a.Code.OK) {
34896
+ if (g.status !== grpc$b.Code.OK) {
34897
34897
  var p = new Error(g.statusMessage);
34898
34898
  p.code = g.status, p.metadata = g.trailers, i(p, null);
34899
34899
  } else
@@ -34908,7 +34908,7 @@ MovementSensorServiceClient.prototype.getAngularVelocity = function t(e, s, i) {
34908
34908
  };
34909
34909
  MovementSensorServiceClient.prototype.getCompassHeading = function t(e, s, i) {
34910
34910
  arguments.length === 2 && (i = arguments[1]);
34911
- var u = grpc$a.unary(MovementSensorService.GetCompassHeading, {
34911
+ var u = grpc$b.unary(MovementSensorService.GetCompassHeading, {
34912
34912
  request: e,
34913
34913
  host: this.serviceHost,
34914
34914
  metadata: s,
@@ -34916,7 +34916,7 @@ MovementSensorServiceClient.prototype.getCompassHeading = function t(e, s, i) {
34916
34916
  debug: this.options.debug,
34917
34917
  onEnd: function(g) {
34918
34918
  if (i)
34919
- if (g.status !== grpc$a.Code.OK) {
34919
+ if (g.status !== grpc$b.Code.OK) {
34920
34920
  var p = new Error(g.statusMessage);
34921
34921
  p.code = g.status, p.metadata = g.trailers, i(p, null);
34922
34922
  } else
@@ -34931,7 +34931,7 @@ MovementSensorServiceClient.prototype.getCompassHeading = function t(e, s, i) {
34931
34931
  };
34932
34932
  MovementSensorServiceClient.prototype.getOrientation = function t(e, s, i) {
34933
34933
  arguments.length === 2 && (i = arguments[1]);
34934
- var u = grpc$a.unary(MovementSensorService.GetOrientation, {
34934
+ var u = grpc$b.unary(MovementSensorService.GetOrientation, {
34935
34935
  request: e,
34936
34936
  host: this.serviceHost,
34937
34937
  metadata: s,
@@ -34939,7 +34939,7 @@ MovementSensorServiceClient.prototype.getOrientation = function t(e, s, i) {
34939
34939
  debug: this.options.debug,
34940
34940
  onEnd: function(g) {
34941
34941
  if (i)
34942
- if (g.status !== grpc$a.Code.OK) {
34942
+ if (g.status !== grpc$b.Code.OK) {
34943
34943
  var p = new Error(g.statusMessage);
34944
34944
  p.code = g.status, p.metadata = g.trailers, i(p, null);
34945
34945
  } else
@@ -34954,7 +34954,7 @@ MovementSensorServiceClient.prototype.getOrientation = function t(e, s, i) {
34954
34954
  };
34955
34955
  MovementSensorServiceClient.prototype.getPosition = function t(e, s, i) {
34956
34956
  arguments.length === 2 && (i = arguments[1]);
34957
- var u = grpc$a.unary(MovementSensorService.GetPosition, {
34957
+ var u = grpc$b.unary(MovementSensorService.GetPosition, {
34958
34958
  request: e,
34959
34959
  host: this.serviceHost,
34960
34960
  metadata: s,
@@ -34962,7 +34962,7 @@ MovementSensorServiceClient.prototype.getPosition = function t(e, s, i) {
34962
34962
  debug: this.options.debug,
34963
34963
  onEnd: function(g) {
34964
34964
  if (i)
34965
- if (g.status !== grpc$a.Code.OK) {
34965
+ if (g.status !== grpc$b.Code.OK) {
34966
34966
  var p = new Error(g.statusMessage);
34967
34967
  p.code = g.status, p.metadata = g.trailers, i(p, null);
34968
34968
  } else
@@ -34977,7 +34977,7 @@ MovementSensorServiceClient.prototype.getPosition = function t(e, s, i) {
34977
34977
  };
34978
34978
  MovementSensorServiceClient.prototype.getProperties = function t(e, s, i) {
34979
34979
  arguments.length === 2 && (i = arguments[1]);
34980
- var u = grpc$a.unary(MovementSensorService.GetProperties, {
34980
+ var u = grpc$b.unary(MovementSensorService.GetProperties, {
34981
34981
  request: e,
34982
34982
  host: this.serviceHost,
34983
34983
  metadata: s,
@@ -34985,7 +34985,7 @@ MovementSensorServiceClient.prototype.getProperties = function t(e, s, i) {
34985
34985
  debug: this.options.debug,
34986
34986
  onEnd: function(g) {
34987
34987
  if (i)
34988
- if (g.status !== grpc$a.Code.OK) {
34988
+ if (g.status !== grpc$b.Code.OK) {
34989
34989
  var p = new Error(g.statusMessage);
34990
34990
  p.code = g.status, p.metadata = g.trailers, i(p, null);
34991
34991
  } else
@@ -35000,7 +35000,7 @@ MovementSensorServiceClient.prototype.getProperties = function t(e, s, i) {
35000
35000
  };
35001
35001
  MovementSensorServiceClient.prototype.getAccuracy = function t(e, s, i) {
35002
35002
  arguments.length === 2 && (i = arguments[1]);
35003
- var u = grpc$a.unary(MovementSensorService.GetAccuracy, {
35003
+ var u = grpc$b.unary(MovementSensorService.GetAccuracy, {
35004
35004
  request: e,
35005
35005
  host: this.serviceHost,
35006
35006
  metadata: s,
@@ -35008,7 +35008,7 @@ MovementSensorServiceClient.prototype.getAccuracy = function t(e, s, i) {
35008
35008
  debug: this.options.debug,
35009
35009
  onEnd: function(g) {
35010
35010
  if (i)
35011
- if (g.status !== grpc$a.Code.OK) {
35011
+ if (g.status !== grpc$b.Code.OK) {
35012
35012
  var p = new Error(g.statusMessage);
35013
35013
  p.code = g.status, p.metadata = g.trailers, i(p, null);
35014
35014
  } else
@@ -35023,7 +35023,7 @@ MovementSensorServiceClient.prototype.getAccuracy = function t(e, s, i) {
35023
35023
  };
35024
35024
  MovementSensorServiceClient.prototype.getLinearAcceleration = function t(e, s, i) {
35025
35025
  arguments.length === 2 && (i = arguments[1]);
35026
- var u = grpc$a.unary(MovementSensorService.GetLinearAcceleration, {
35026
+ var u = grpc$b.unary(MovementSensorService.GetLinearAcceleration, {
35027
35027
  request: e,
35028
35028
  host: this.serviceHost,
35029
35029
  metadata: s,
@@ -35031,7 +35031,7 @@ MovementSensorServiceClient.prototype.getLinearAcceleration = function t(e, s, i
35031
35031
  debug: this.options.debug,
35032
35032
  onEnd: function(g) {
35033
35033
  if (i)
35034
- if (g.status !== grpc$a.Code.OK) {
35034
+ if (g.status !== grpc$b.Code.OK) {
35035
35035
  var p = new Error(g.statusMessage);
35036
35036
  p.code = g.status, p.metadata = g.trailers, i(p, null);
35037
35037
  } else
@@ -35046,7 +35046,7 @@ MovementSensorServiceClient.prototype.getLinearAcceleration = function t(e, s, i
35046
35046
  };
35047
35047
  MovementSensorServiceClient.prototype.doCommand = function t(e, s, i) {
35048
35048
  arguments.length === 2 && (i = arguments[1]);
35049
- var u = grpc$a.unary(MovementSensorService.DoCommand, {
35049
+ var u = grpc$b.unary(MovementSensorService.DoCommand, {
35050
35050
  request: e,
35051
35051
  host: this.serviceHost,
35052
35052
  metadata: s,
@@ -35054,7 +35054,7 @@ MovementSensorServiceClient.prototype.doCommand = function t(e, s, i) {
35054
35054
  debug: this.options.debug,
35055
35055
  onEnd: function(g) {
35056
35056
  if (i)
35057
- if (g.status !== grpc$a.Code.OK) {
35057
+ if (g.status !== grpc$b.Code.OK) {
35058
35058
  var p = new Error(g.statusMessage);
35059
35059
  p.code = g.status, p.metadata = g.trailers, i(p, null);
35060
35060
  } else
@@ -35069,7 +35069,7 @@ MovementSensorServiceClient.prototype.doCommand = function t(e, s, i) {
35069
35069
  };
35070
35070
  MovementSensorServiceClient.prototype.getGeometries = function t(e, s, i) {
35071
35071
  arguments.length === 2 && (i = arguments[1]);
35072
- var u = grpc$a.unary(MovementSensorService.GetGeometries, {
35072
+ var u = grpc$b.unary(MovementSensorService.GetGeometries, {
35073
35073
  request: e,
35074
35074
  host: this.serviceHost,
35075
35075
  metadata: s,
@@ -35077,7 +35077,7 @@ MovementSensorServiceClient.prototype.getGeometries = function t(e, s, i) {
35077
35077
  debug: this.options.debug,
35078
35078
  onEnd: function(g) {
35079
35079
  if (i)
35080
- if (g.status !== grpc$a.Code.OK) {
35080
+ if (g.status !== grpc$b.Code.OK) {
35081
35081
  var p = new Error(g.statusMessage);
35082
35082
  p.code = g.status, p.metadata = g.trailers, i(p, null);
35083
35083
  } else
@@ -35947,7 +35947,7 @@ var MovementSensorServiceClient_1 = MovementSensorServiceClient, navigation_pb =
35947
35947
  MODE_WAYPOINT: 2
35948
35948
  }, s.object.extend(t, proto.viam.service.navigation.v1);
35949
35949
  })(navigation_pb);
35950
- var service_navigation_v1_navigation_pb = navigation_pb, common_v1_common_pb$7 = common_pb, grpc$9 = grpcWebClient_umdExports.grpc, NavigationService = function() {
35950
+ var service_navigation_v1_navigation_pb = navigation_pb, common_v1_common_pb$8 = common_pb, grpc$a = grpcWebClient_umdExports.grpc, NavigationService = function() {
35951
35951
  function t() {
35952
35952
  }
35953
35953
  return t.serviceName = "viam.service.navigation.v1.NavigationService", t;
@@ -36013,15 +36013,15 @@ NavigationService.DoCommand = {
36013
36013
  service: NavigationService,
36014
36014
  requestStream: !1,
36015
36015
  responseStream: !1,
36016
- requestType: common_v1_common_pb$7.DoCommandRequest,
36017
- responseType: common_v1_common_pb$7.DoCommandResponse
36016
+ requestType: common_v1_common_pb$8.DoCommandRequest,
36017
+ responseType: common_v1_common_pb$8.DoCommandResponse
36018
36018
  };
36019
36019
  function NavigationServiceClient(t, e) {
36020
36020
  this.serviceHost = t, this.options = e || {};
36021
36021
  }
36022
36022
  NavigationServiceClient.prototype.getMode = function t(e, s, i) {
36023
36023
  arguments.length === 2 && (i = arguments[1]);
36024
- var u = grpc$9.unary(NavigationService.GetMode, {
36024
+ var u = grpc$a.unary(NavigationService.GetMode, {
36025
36025
  request: e,
36026
36026
  host: this.serviceHost,
36027
36027
  metadata: s,
@@ -36029,7 +36029,7 @@ NavigationServiceClient.prototype.getMode = function t(e, s, i) {
36029
36029
  debug: this.options.debug,
36030
36030
  onEnd: function(g) {
36031
36031
  if (i)
36032
- if (g.status !== grpc$9.Code.OK) {
36032
+ if (g.status !== grpc$a.Code.OK) {
36033
36033
  var p = new Error(g.statusMessage);
36034
36034
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36035
36035
  } else
@@ -36044,7 +36044,7 @@ NavigationServiceClient.prototype.getMode = function t(e, s, i) {
36044
36044
  };
36045
36045
  NavigationServiceClient.prototype.setMode = function t(e, s, i) {
36046
36046
  arguments.length === 2 && (i = arguments[1]);
36047
- var u = grpc$9.unary(NavigationService.SetMode, {
36047
+ var u = grpc$a.unary(NavigationService.SetMode, {
36048
36048
  request: e,
36049
36049
  host: this.serviceHost,
36050
36050
  metadata: s,
@@ -36052,7 +36052,7 @@ NavigationServiceClient.prototype.setMode = function t(e, s, i) {
36052
36052
  debug: this.options.debug,
36053
36053
  onEnd: function(g) {
36054
36054
  if (i)
36055
- if (g.status !== grpc$9.Code.OK) {
36055
+ if (g.status !== grpc$a.Code.OK) {
36056
36056
  var p = new Error(g.statusMessage);
36057
36057
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36058
36058
  } else
@@ -36067,7 +36067,7 @@ NavigationServiceClient.prototype.setMode = function t(e, s, i) {
36067
36067
  };
36068
36068
  NavigationServiceClient.prototype.getLocation = function t(e, s, i) {
36069
36069
  arguments.length === 2 && (i = arguments[1]);
36070
- var u = grpc$9.unary(NavigationService.GetLocation, {
36070
+ var u = grpc$a.unary(NavigationService.GetLocation, {
36071
36071
  request: e,
36072
36072
  host: this.serviceHost,
36073
36073
  metadata: s,
@@ -36075,7 +36075,7 @@ NavigationServiceClient.prototype.getLocation = function t(e, s, i) {
36075
36075
  debug: this.options.debug,
36076
36076
  onEnd: function(g) {
36077
36077
  if (i)
36078
- if (g.status !== grpc$9.Code.OK) {
36078
+ if (g.status !== grpc$a.Code.OK) {
36079
36079
  var p = new Error(g.statusMessage);
36080
36080
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36081
36081
  } else
@@ -36090,7 +36090,7 @@ NavigationServiceClient.prototype.getLocation = function t(e, s, i) {
36090
36090
  };
36091
36091
  NavigationServiceClient.prototype.getWaypoints = function t(e, s, i) {
36092
36092
  arguments.length === 2 && (i = arguments[1]);
36093
- var u = grpc$9.unary(NavigationService.GetWaypoints, {
36093
+ var u = grpc$a.unary(NavigationService.GetWaypoints, {
36094
36094
  request: e,
36095
36095
  host: this.serviceHost,
36096
36096
  metadata: s,
@@ -36098,7 +36098,7 @@ NavigationServiceClient.prototype.getWaypoints = function t(e, s, i) {
36098
36098
  debug: this.options.debug,
36099
36099
  onEnd: function(g) {
36100
36100
  if (i)
36101
- if (g.status !== grpc$9.Code.OK) {
36101
+ if (g.status !== grpc$a.Code.OK) {
36102
36102
  var p = new Error(g.statusMessage);
36103
36103
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36104
36104
  } else
@@ -36113,7 +36113,7 @@ NavigationServiceClient.prototype.getWaypoints = function t(e, s, i) {
36113
36113
  };
36114
36114
  NavigationServiceClient.prototype.addWaypoint = function t(e, s, i) {
36115
36115
  arguments.length === 2 && (i = arguments[1]);
36116
- var u = grpc$9.unary(NavigationService.AddWaypoint, {
36116
+ var u = grpc$a.unary(NavigationService.AddWaypoint, {
36117
36117
  request: e,
36118
36118
  host: this.serviceHost,
36119
36119
  metadata: s,
@@ -36121,7 +36121,7 @@ NavigationServiceClient.prototype.addWaypoint = function t(e, s, i) {
36121
36121
  debug: this.options.debug,
36122
36122
  onEnd: function(g) {
36123
36123
  if (i)
36124
- if (g.status !== grpc$9.Code.OK) {
36124
+ if (g.status !== grpc$a.Code.OK) {
36125
36125
  var p = new Error(g.statusMessage);
36126
36126
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36127
36127
  } else
@@ -36136,7 +36136,7 @@ NavigationServiceClient.prototype.addWaypoint = function t(e, s, i) {
36136
36136
  };
36137
36137
  NavigationServiceClient.prototype.removeWaypoint = function t(e, s, i) {
36138
36138
  arguments.length === 2 && (i = arguments[1]);
36139
- var u = grpc$9.unary(NavigationService.RemoveWaypoint, {
36139
+ var u = grpc$a.unary(NavigationService.RemoveWaypoint, {
36140
36140
  request: e,
36141
36141
  host: this.serviceHost,
36142
36142
  metadata: s,
@@ -36144,7 +36144,7 @@ NavigationServiceClient.prototype.removeWaypoint = function t(e, s, i) {
36144
36144
  debug: this.options.debug,
36145
36145
  onEnd: function(g) {
36146
36146
  if (i)
36147
- if (g.status !== grpc$9.Code.OK) {
36147
+ if (g.status !== grpc$a.Code.OK) {
36148
36148
  var p = new Error(g.statusMessage);
36149
36149
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36150
36150
  } else
@@ -36159,7 +36159,7 @@ NavigationServiceClient.prototype.removeWaypoint = function t(e, s, i) {
36159
36159
  };
36160
36160
  NavigationServiceClient.prototype.getObstacles = function t(e, s, i) {
36161
36161
  arguments.length === 2 && (i = arguments[1]);
36162
- var u = grpc$9.unary(NavigationService.GetObstacles, {
36162
+ var u = grpc$a.unary(NavigationService.GetObstacles, {
36163
36163
  request: e,
36164
36164
  host: this.serviceHost,
36165
36165
  metadata: s,
@@ -36167,7 +36167,7 @@ NavigationServiceClient.prototype.getObstacles = function t(e, s, i) {
36167
36167
  debug: this.options.debug,
36168
36168
  onEnd: function(g) {
36169
36169
  if (i)
36170
- if (g.status !== grpc$9.Code.OK) {
36170
+ if (g.status !== grpc$a.Code.OK) {
36171
36171
  var p = new Error(g.statusMessage);
36172
36172
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36173
36173
  } else
@@ -36182,7 +36182,7 @@ NavigationServiceClient.prototype.getObstacles = function t(e, s, i) {
36182
36182
  };
36183
36183
  NavigationServiceClient.prototype.doCommand = function t(e, s, i) {
36184
36184
  arguments.length === 2 && (i = arguments[1]);
36185
- var u = grpc$9.unary(NavigationService.DoCommand, {
36185
+ var u = grpc$a.unary(NavigationService.DoCommand, {
36186
36186
  request: e,
36187
36187
  host: this.serviceHost,
36188
36188
  metadata: s,
@@ -36190,7 +36190,7 @@ NavigationServiceClient.prototype.doCommand = function t(e, s, i) {
36190
36190
  debug: this.options.debug,
36191
36191
  onEnd: function(g) {
36192
36192
  if (i)
36193
- if (g.status !== grpc$9.Code.OK) {
36193
+ if (g.status !== grpc$a.Code.OK) {
36194
36194
  var p = new Error(g.statusMessage);
36195
36195
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36196
36196
  } else
@@ -36203,7 +36203,7 @@ NavigationServiceClient.prototype.doCommand = function t(e, s, i) {
36203
36203
  }
36204
36204
  };
36205
36205
  };
36206
- var NavigationServiceClient_1 = NavigationServiceClient, robot_v1_robot_pb = robot_pb, grpc$8 = grpcWebClient_umdExports.grpc, RobotService = function() {
36206
+ var NavigationServiceClient_1 = NavigationServiceClient, robot_v1_robot_pb = robot_pb, grpc$9 = grpcWebClient_umdExports.grpc, RobotService = function() {
36207
36207
  function t() {
36208
36208
  }
36209
36209
  return t.serviceName = "viam.robot.v1.RobotService", t;
@@ -36333,7 +36333,7 @@ function RobotServiceClient(t, e) {
36333
36333
  }
36334
36334
  RobotServiceClient.prototype.getOperations = function t(e, s, i) {
36335
36335
  arguments.length === 2 && (i = arguments[1]);
36336
- var u = grpc$8.unary(RobotService.GetOperations, {
36336
+ var u = grpc$9.unary(RobotService.GetOperations, {
36337
36337
  request: e,
36338
36338
  host: this.serviceHost,
36339
36339
  metadata: s,
@@ -36341,7 +36341,7 @@ RobotServiceClient.prototype.getOperations = function t(e, s, i) {
36341
36341
  debug: this.options.debug,
36342
36342
  onEnd: function(g) {
36343
36343
  if (i)
36344
- if (g.status !== grpc$8.Code.OK) {
36344
+ if (g.status !== grpc$9.Code.OK) {
36345
36345
  var p = new Error(g.statusMessage);
36346
36346
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36347
36347
  } else
@@ -36356,7 +36356,7 @@ RobotServiceClient.prototype.getOperations = function t(e, s, i) {
36356
36356
  };
36357
36357
  RobotServiceClient.prototype.getSessions = function t(e, s, i) {
36358
36358
  arguments.length === 2 && (i = arguments[1]);
36359
- var u = grpc$8.unary(RobotService.GetSessions, {
36359
+ var u = grpc$9.unary(RobotService.GetSessions, {
36360
36360
  request: e,
36361
36361
  host: this.serviceHost,
36362
36362
  metadata: s,
@@ -36364,7 +36364,7 @@ RobotServiceClient.prototype.getSessions = function t(e, s, i) {
36364
36364
  debug: this.options.debug,
36365
36365
  onEnd: function(g) {
36366
36366
  if (i)
36367
- if (g.status !== grpc$8.Code.OK) {
36367
+ if (g.status !== grpc$9.Code.OK) {
36368
36368
  var p = new Error(g.statusMessage);
36369
36369
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36370
36370
  } else
@@ -36379,7 +36379,7 @@ RobotServiceClient.prototype.getSessions = function t(e, s, i) {
36379
36379
  };
36380
36380
  RobotServiceClient.prototype.resourceNames = function t(e, s, i) {
36381
36381
  arguments.length === 2 && (i = arguments[1]);
36382
- var u = grpc$8.unary(RobotService.ResourceNames, {
36382
+ var u = grpc$9.unary(RobotService.ResourceNames, {
36383
36383
  request: e,
36384
36384
  host: this.serviceHost,
36385
36385
  metadata: s,
@@ -36387,7 +36387,7 @@ RobotServiceClient.prototype.resourceNames = function t(e, s, i) {
36387
36387
  debug: this.options.debug,
36388
36388
  onEnd: function(g) {
36389
36389
  if (i)
36390
- if (g.status !== grpc$8.Code.OK) {
36390
+ if (g.status !== grpc$9.Code.OK) {
36391
36391
  var p = new Error(g.statusMessage);
36392
36392
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36393
36393
  } else
@@ -36402,7 +36402,7 @@ RobotServiceClient.prototype.resourceNames = function t(e, s, i) {
36402
36402
  };
36403
36403
  RobotServiceClient.prototype.resourceRPCSubtypes = function t(e, s, i) {
36404
36404
  arguments.length === 2 && (i = arguments[1]);
36405
- var u = grpc$8.unary(RobotService.ResourceRPCSubtypes, {
36405
+ var u = grpc$9.unary(RobotService.ResourceRPCSubtypes, {
36406
36406
  request: e,
36407
36407
  host: this.serviceHost,
36408
36408
  metadata: s,
@@ -36410,7 +36410,7 @@ RobotServiceClient.prototype.resourceRPCSubtypes = function t(e, s, i) {
36410
36410
  debug: this.options.debug,
36411
36411
  onEnd: function(g) {
36412
36412
  if (i)
36413
- if (g.status !== grpc$8.Code.OK) {
36413
+ if (g.status !== grpc$9.Code.OK) {
36414
36414
  var p = new Error(g.statusMessage);
36415
36415
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36416
36416
  } else
@@ -36425,7 +36425,7 @@ RobotServiceClient.prototype.resourceRPCSubtypes = function t(e, s, i) {
36425
36425
  };
36426
36426
  RobotServiceClient.prototype.cancelOperation = function t(e, s, i) {
36427
36427
  arguments.length === 2 && (i = arguments[1]);
36428
- var u = grpc$8.unary(RobotService.CancelOperation, {
36428
+ var u = grpc$9.unary(RobotService.CancelOperation, {
36429
36429
  request: e,
36430
36430
  host: this.serviceHost,
36431
36431
  metadata: s,
@@ -36433,7 +36433,7 @@ RobotServiceClient.prototype.cancelOperation = function t(e, s, i) {
36433
36433
  debug: this.options.debug,
36434
36434
  onEnd: function(g) {
36435
36435
  if (i)
36436
- if (g.status !== grpc$8.Code.OK) {
36436
+ if (g.status !== grpc$9.Code.OK) {
36437
36437
  var p = new Error(g.statusMessage);
36438
36438
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36439
36439
  } else
@@ -36448,7 +36448,7 @@ RobotServiceClient.prototype.cancelOperation = function t(e, s, i) {
36448
36448
  };
36449
36449
  RobotServiceClient.prototype.blockForOperation = function t(e, s, i) {
36450
36450
  arguments.length === 2 && (i = arguments[1]);
36451
- var u = grpc$8.unary(RobotService.BlockForOperation, {
36451
+ var u = grpc$9.unary(RobotService.BlockForOperation, {
36452
36452
  request: e,
36453
36453
  host: this.serviceHost,
36454
36454
  metadata: s,
@@ -36456,7 +36456,7 @@ RobotServiceClient.prototype.blockForOperation = function t(e, s, i) {
36456
36456
  debug: this.options.debug,
36457
36457
  onEnd: function(g) {
36458
36458
  if (i)
36459
- if (g.status !== grpc$8.Code.OK) {
36459
+ if (g.status !== grpc$9.Code.OK) {
36460
36460
  var p = new Error(g.statusMessage);
36461
36461
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36462
36462
  } else
@@ -36471,7 +36471,7 @@ RobotServiceClient.prototype.blockForOperation = function t(e, s, i) {
36471
36471
  };
36472
36472
  RobotServiceClient.prototype.discoverComponents = function t(e, s, i) {
36473
36473
  arguments.length === 2 && (i = arguments[1]);
36474
- var u = grpc$8.unary(RobotService.DiscoverComponents, {
36474
+ var u = grpc$9.unary(RobotService.DiscoverComponents, {
36475
36475
  request: e,
36476
36476
  host: this.serviceHost,
36477
36477
  metadata: s,
@@ -36479,7 +36479,7 @@ RobotServiceClient.prototype.discoverComponents = function t(e, s, i) {
36479
36479
  debug: this.options.debug,
36480
36480
  onEnd: function(g) {
36481
36481
  if (i)
36482
- if (g.status !== grpc$8.Code.OK) {
36482
+ if (g.status !== grpc$9.Code.OK) {
36483
36483
  var p = new Error(g.statusMessage);
36484
36484
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36485
36485
  } else
@@ -36494,7 +36494,7 @@ RobotServiceClient.prototype.discoverComponents = function t(e, s, i) {
36494
36494
  };
36495
36495
  RobotServiceClient.prototype.frameSystemConfig = function t(e, s, i) {
36496
36496
  arguments.length === 2 && (i = arguments[1]);
36497
- var u = grpc$8.unary(RobotService.FrameSystemConfig, {
36497
+ var u = grpc$9.unary(RobotService.FrameSystemConfig, {
36498
36498
  request: e,
36499
36499
  host: this.serviceHost,
36500
36500
  metadata: s,
@@ -36502,7 +36502,7 @@ RobotServiceClient.prototype.frameSystemConfig = function t(e, s, i) {
36502
36502
  debug: this.options.debug,
36503
36503
  onEnd: function(g) {
36504
36504
  if (i)
36505
- if (g.status !== grpc$8.Code.OK) {
36505
+ if (g.status !== grpc$9.Code.OK) {
36506
36506
  var p = new Error(g.statusMessage);
36507
36507
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36508
36508
  } else
@@ -36517,7 +36517,7 @@ RobotServiceClient.prototype.frameSystemConfig = function t(e, s, i) {
36517
36517
  };
36518
36518
  RobotServiceClient.prototype.transformPose = function t(e, s, i) {
36519
36519
  arguments.length === 2 && (i = arguments[1]);
36520
- var u = grpc$8.unary(RobotService.TransformPose, {
36520
+ var u = grpc$9.unary(RobotService.TransformPose, {
36521
36521
  request: e,
36522
36522
  host: this.serviceHost,
36523
36523
  metadata: s,
@@ -36525,7 +36525,7 @@ RobotServiceClient.prototype.transformPose = function t(e, s, i) {
36525
36525
  debug: this.options.debug,
36526
36526
  onEnd: function(g) {
36527
36527
  if (i)
36528
- if (g.status !== grpc$8.Code.OK) {
36528
+ if (g.status !== grpc$9.Code.OK) {
36529
36529
  var p = new Error(g.statusMessage);
36530
36530
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36531
36531
  } else
@@ -36540,7 +36540,7 @@ RobotServiceClient.prototype.transformPose = function t(e, s, i) {
36540
36540
  };
36541
36541
  RobotServiceClient.prototype.transformPCD = function t(e, s, i) {
36542
36542
  arguments.length === 2 && (i = arguments[1]);
36543
- var u = grpc$8.unary(RobotService.TransformPCD, {
36543
+ var u = grpc$9.unary(RobotService.TransformPCD, {
36544
36544
  request: e,
36545
36545
  host: this.serviceHost,
36546
36546
  metadata: s,
@@ -36548,7 +36548,7 @@ RobotServiceClient.prototype.transformPCD = function t(e, s, i) {
36548
36548
  debug: this.options.debug,
36549
36549
  onEnd: function(g) {
36550
36550
  if (i)
36551
- if (g.status !== grpc$8.Code.OK) {
36551
+ if (g.status !== grpc$9.Code.OK) {
36552
36552
  var p = new Error(g.statusMessage);
36553
36553
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36554
36554
  } else
@@ -36563,7 +36563,7 @@ RobotServiceClient.prototype.transformPCD = function t(e, s, i) {
36563
36563
  };
36564
36564
  RobotServiceClient.prototype.getStatus = function t(e, s, i) {
36565
36565
  arguments.length === 2 && (i = arguments[1]);
36566
- var u = grpc$8.unary(RobotService.GetStatus, {
36566
+ var u = grpc$9.unary(RobotService.GetStatus, {
36567
36567
  request: e,
36568
36568
  host: this.serviceHost,
36569
36569
  metadata: s,
@@ -36571,7 +36571,7 @@ RobotServiceClient.prototype.getStatus = function t(e, s, i) {
36571
36571
  debug: this.options.debug,
36572
36572
  onEnd: function(g) {
36573
36573
  if (i)
36574
- if (g.status !== grpc$8.Code.OK) {
36574
+ if (g.status !== grpc$9.Code.OK) {
36575
36575
  var p = new Error(g.statusMessage);
36576
36576
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36577
36577
  } else
@@ -36589,7 +36589,7 @@ RobotServiceClient.prototype.streamStatus = function t(e, s) {
36589
36589
  data: [],
36590
36590
  end: [],
36591
36591
  status: []
36592
- }, u = grpc$8.invoke(RobotService.StreamStatus, {
36592
+ }, u = grpc$9.invoke(RobotService.StreamStatus, {
36593
36593
  request: e,
36594
36594
  host: this.serviceHost,
36595
36595
  metadata: s,
@@ -36619,7 +36619,7 @@ RobotServiceClient.prototype.streamStatus = function t(e, s) {
36619
36619
  };
36620
36620
  RobotServiceClient.prototype.stopAll = function t(e, s, i) {
36621
36621
  arguments.length === 2 && (i = arguments[1]);
36622
- var u = grpc$8.unary(RobotService.StopAll, {
36622
+ var u = grpc$9.unary(RobotService.StopAll, {
36623
36623
  request: e,
36624
36624
  host: this.serviceHost,
36625
36625
  metadata: s,
@@ -36627,7 +36627,7 @@ RobotServiceClient.prototype.stopAll = function t(e, s, i) {
36627
36627
  debug: this.options.debug,
36628
36628
  onEnd: function(g) {
36629
36629
  if (i)
36630
- if (g.status !== grpc$8.Code.OK) {
36630
+ if (g.status !== grpc$9.Code.OK) {
36631
36631
  var p = new Error(g.statusMessage);
36632
36632
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36633
36633
  } else
@@ -36642,7 +36642,7 @@ RobotServiceClient.prototype.stopAll = function t(e, s, i) {
36642
36642
  };
36643
36643
  RobotServiceClient.prototype.startSession = function t(e, s, i) {
36644
36644
  arguments.length === 2 && (i = arguments[1]);
36645
- var u = grpc$8.unary(RobotService.StartSession, {
36645
+ var u = grpc$9.unary(RobotService.StartSession, {
36646
36646
  request: e,
36647
36647
  host: this.serviceHost,
36648
36648
  metadata: s,
@@ -36650,7 +36650,7 @@ RobotServiceClient.prototype.startSession = function t(e, s, i) {
36650
36650
  debug: this.options.debug,
36651
36651
  onEnd: function(g) {
36652
36652
  if (i)
36653
- if (g.status !== grpc$8.Code.OK) {
36653
+ if (g.status !== grpc$9.Code.OK) {
36654
36654
  var p = new Error(g.statusMessage);
36655
36655
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36656
36656
  } else
@@ -36665,7 +36665,7 @@ RobotServiceClient.prototype.startSession = function t(e, s, i) {
36665
36665
  };
36666
36666
  RobotServiceClient.prototype.sendSessionHeartbeat = function t(e, s, i) {
36667
36667
  arguments.length === 2 && (i = arguments[1]);
36668
- var u = grpc$8.unary(RobotService.SendSessionHeartbeat, {
36668
+ var u = grpc$9.unary(RobotService.SendSessionHeartbeat, {
36669
36669
  request: e,
36670
36670
  host: this.serviceHost,
36671
36671
  metadata: s,
@@ -36673,7 +36673,7 @@ RobotServiceClient.prototype.sendSessionHeartbeat = function t(e, s, i) {
36673
36673
  debug: this.options.debug,
36674
36674
  onEnd: function(g) {
36675
36675
  if (i)
36676
- if (g.status !== grpc$8.Code.OK) {
36676
+ if (g.status !== grpc$9.Code.OK) {
36677
36677
  var p = new Error(g.statusMessage);
36678
36678
  p.code = g.status, p.metadata = g.trailers, i(p, null);
36679
36679
  } else
@@ -37129,7 +37129,7 @@ var RobotServiceClient_1 = RobotServiceClient, slam_pb = {};
37129
37129
  return e.Message.getField(this, 1) != null;
37130
37130
  }, s.object.extend(t, proto.viam.service.slam.v1);
37131
37131
  })(slam_pb);
37132
- var service_slam_v1_slam_pb = slam_pb, common_v1_common_pb$6 = common_pb, grpc$7 = grpcWebClient_umdExports.grpc, SLAMService = function() {
37132
+ var service_slam_v1_slam_pb = slam_pb, common_v1_common_pb$7 = common_pb, grpc$8 = grpcWebClient_umdExports.grpc, SLAMService = function() {
37133
37133
  function t() {
37134
37134
  }
37135
37135
  return t.serviceName = "viam.service.slam.v1.SLAMService", t;
@@ -37171,15 +37171,15 @@ SLAMService.DoCommand = {
37171
37171
  service: SLAMService,
37172
37172
  requestStream: !1,
37173
37173
  responseStream: !1,
37174
- requestType: common_v1_common_pb$6.DoCommandRequest,
37175
- responseType: common_v1_common_pb$6.DoCommandResponse
37174
+ requestType: common_v1_common_pb$7.DoCommandRequest,
37175
+ responseType: common_v1_common_pb$7.DoCommandResponse
37176
37176
  };
37177
37177
  function SLAMServiceClient(t, e) {
37178
37178
  this.serviceHost = t, this.options = e || {};
37179
37179
  }
37180
37180
  SLAMServiceClient.prototype.getPosition = function t(e, s, i) {
37181
37181
  arguments.length === 2 && (i = arguments[1]);
37182
- var u = grpc$7.unary(SLAMService.GetPosition, {
37182
+ var u = grpc$8.unary(SLAMService.GetPosition, {
37183
37183
  request: e,
37184
37184
  host: this.serviceHost,
37185
37185
  metadata: s,
@@ -37187,7 +37187,7 @@ SLAMServiceClient.prototype.getPosition = function t(e, s, i) {
37187
37187
  debug: this.options.debug,
37188
37188
  onEnd: function(g) {
37189
37189
  if (i)
37190
- if (g.status !== grpc$7.Code.OK) {
37190
+ if (g.status !== grpc$8.Code.OK) {
37191
37191
  var p = new Error(g.statusMessage);
37192
37192
  p.code = g.status, p.metadata = g.trailers, i(p, null);
37193
37193
  } else
@@ -37205,7 +37205,7 @@ SLAMServiceClient.prototype.getPointCloudMap = function t(e, s) {
37205
37205
  data: [],
37206
37206
  end: [],
37207
37207
  status: []
37208
- }, u = grpc$7.invoke(SLAMService.GetPointCloudMap, {
37208
+ }, u = grpc$8.invoke(SLAMService.GetPointCloudMap, {
37209
37209
  request: e,
37210
37210
  host: this.serviceHost,
37211
37211
  metadata: s,
@@ -37238,7 +37238,7 @@ SLAMServiceClient.prototype.getInternalState = function t(e, s) {
37238
37238
  data: [],
37239
37239
  end: [],
37240
37240
  status: []
37241
- }, u = grpc$7.invoke(SLAMService.GetInternalState, {
37241
+ }, u = grpc$8.invoke(SLAMService.GetInternalState, {
37242
37242
  request: e,
37243
37243
  host: this.serviceHost,
37244
37244
  metadata: s,
@@ -37268,7 +37268,7 @@ SLAMServiceClient.prototype.getInternalState = function t(e, s) {
37268
37268
  };
37269
37269
  SLAMServiceClient.prototype.getLatestMapInfo = function t(e, s, i) {
37270
37270
  arguments.length === 2 && (i = arguments[1]);
37271
- var u = grpc$7.unary(SLAMService.GetLatestMapInfo, {
37271
+ var u = grpc$8.unary(SLAMService.GetLatestMapInfo, {
37272
37272
  request: e,
37273
37273
  host: this.serviceHost,
37274
37274
  metadata: s,
@@ -37276,7 +37276,7 @@ SLAMServiceClient.prototype.getLatestMapInfo = function t(e, s, i) {
37276
37276
  debug: this.options.debug,
37277
37277
  onEnd: function(g) {
37278
37278
  if (i)
37279
- if (g.status !== grpc$7.Code.OK) {
37279
+ if (g.status !== grpc$8.Code.OK) {
37280
37280
  var p = new Error(g.statusMessage);
37281
37281
  p.code = g.status, p.metadata = g.trailers, i(p, null);
37282
37282
  } else
@@ -37291,7 +37291,7 @@ SLAMServiceClient.prototype.getLatestMapInfo = function t(e, s, i) {
37291
37291
  };
37292
37292
  SLAMServiceClient.prototype.doCommand = function t(e, s, i) {
37293
37293
  arguments.length === 2 && (i = arguments[1]);
37294
- var u = grpc$7.unary(SLAMService.DoCommand, {
37294
+ var u = grpc$8.unary(SLAMService.DoCommand, {
37295
37295
  request: e,
37296
37296
  host: this.serviceHost,
37297
37297
  metadata: s,
@@ -37299,7 +37299,7 @@ SLAMServiceClient.prototype.doCommand = function t(e, s, i) {
37299
37299
  debug: this.options.debug,
37300
37300
  onEnd: function(g) {
37301
37301
  if (i)
37302
- if (g.status !== grpc$7.Code.OK) {
37302
+ if (g.status !== grpc$8.Code.OK) {
37303
37303
  var p = new Error(g.statusMessage);
37304
37304
  p.code = g.status, p.metadata = g.trailers, i(p, null);
37305
37305
  } else
@@ -37645,7 +37645,7 @@ var SLAMServiceClient_1 = SLAMServiceClient, sensors_pb = {};
37645
37645
  return this.setReadingsList([]);
37646
37646
  }, s.object.extend(t, proto.viam.service.sensors.v1);
37647
37647
  })(sensors_pb);
37648
- var service_sensors_v1_sensors_pb = sensors_pb, common_v1_common_pb$5 = common_pb, grpc$6 = grpcWebClient_umdExports.grpc, SensorsService = function() {
37648
+ var service_sensors_v1_sensors_pb = sensors_pb, common_v1_common_pb$6 = common_pb, grpc$7 = grpcWebClient_umdExports.grpc, SensorsService = function() {
37649
37649
  function t() {
37650
37650
  }
37651
37651
  return t.serviceName = "viam.service.sensors.v1.SensorsService", t;
@@ -37671,15 +37671,15 @@ SensorsService.DoCommand = {
37671
37671
  service: SensorsService,
37672
37672
  requestStream: !1,
37673
37673
  responseStream: !1,
37674
- requestType: common_v1_common_pb$5.DoCommandRequest,
37675
- responseType: common_v1_common_pb$5.DoCommandResponse
37674
+ requestType: common_v1_common_pb$6.DoCommandRequest,
37675
+ responseType: common_v1_common_pb$6.DoCommandResponse
37676
37676
  };
37677
37677
  function SensorsServiceClient(t, e) {
37678
37678
  this.serviceHost = t, this.options = e || {};
37679
37679
  }
37680
37680
  SensorsServiceClient.prototype.getSensors = function t(e, s, i) {
37681
37681
  arguments.length === 2 && (i = arguments[1]);
37682
- var u = grpc$6.unary(SensorsService.GetSensors, {
37682
+ var u = grpc$7.unary(SensorsService.GetSensors, {
37683
37683
  request: e,
37684
37684
  host: this.serviceHost,
37685
37685
  metadata: s,
@@ -37687,7 +37687,7 @@ SensorsServiceClient.prototype.getSensors = function t(e, s, i) {
37687
37687
  debug: this.options.debug,
37688
37688
  onEnd: function(g) {
37689
37689
  if (i)
37690
- if (g.status !== grpc$6.Code.OK) {
37690
+ if (g.status !== grpc$7.Code.OK) {
37691
37691
  var p = new Error(g.statusMessage);
37692
37692
  p.code = g.status, p.metadata = g.trailers, i(p, null);
37693
37693
  } else
@@ -37702,7 +37702,7 @@ SensorsServiceClient.prototype.getSensors = function t(e, s, i) {
37702
37702
  };
37703
37703
  SensorsServiceClient.prototype.getReadings = function t(e, s, i) {
37704
37704
  arguments.length === 2 && (i = arguments[1]);
37705
- var u = grpc$6.unary(SensorsService.GetReadings, {
37705
+ var u = grpc$7.unary(SensorsService.GetReadings, {
37706
37706
  request: e,
37707
37707
  host: this.serviceHost,
37708
37708
  metadata: s,
@@ -37710,7 +37710,7 @@ SensorsServiceClient.prototype.getReadings = function t(e, s, i) {
37710
37710
  debug: this.options.debug,
37711
37711
  onEnd: function(g) {
37712
37712
  if (i)
37713
- if (g.status !== grpc$6.Code.OK) {
37713
+ if (g.status !== grpc$7.Code.OK) {
37714
37714
  var p = new Error(g.statusMessage);
37715
37715
  p.code = g.status, p.metadata = g.trailers, i(p, null);
37716
37716
  } else
@@ -37725,7 +37725,7 @@ SensorsServiceClient.prototype.getReadings = function t(e, s, i) {
37725
37725
  };
37726
37726
  SensorsServiceClient.prototype.doCommand = function t(e, s, i) {
37727
37727
  arguments.length === 2 && (i = arguments[1]);
37728
- var u = grpc$6.unary(SensorsService.DoCommand, {
37728
+ var u = grpc$7.unary(SensorsService.DoCommand, {
37729
37729
  request: e,
37730
37730
  host: this.serviceHost,
37731
37731
  metadata: s,
@@ -37733,7 +37733,7 @@ SensorsServiceClient.prototype.doCommand = function t(e, s, i) {
37733
37733
  debug: this.options.debug,
37734
37734
  onEnd: function(g) {
37735
37735
  if (i)
37736
- if (g.status !== grpc$6.Code.OK) {
37736
+ if (g.status !== grpc$7.Code.OK) {
37737
37737
  var p = new Error(g.statusMessage);
37738
37738
  p.code = g.status, p.metadata = g.trailers, i(p, null);
37739
37739
  } else
@@ -38216,7 +38216,7 @@ var SensorsServiceClient_1 = SensorsServiceClient, servo_pb = {};
38216
38216
  return e.Message.setProto3BooleanField(this, 1, o);
38217
38217
  }, s.object.extend(t, proto.viam.component.servo.v1);
38218
38218
  })(servo_pb);
38219
- var component_servo_v1_servo_pb = servo_pb, common_v1_common_pb$4 = common_pb, grpc$5 = grpcWebClient_umdExports.grpc, ServoService = function() {
38219
+ var component_servo_v1_servo_pb = servo_pb, common_v1_common_pb$5 = common_pb, grpc$6 = grpcWebClient_umdExports.grpc, ServoService = function() {
38220
38220
  function t() {
38221
38221
  }
38222
38222
  return t.serviceName = "viam.component.servo.v1.ServoService", t;
@@ -38258,23 +38258,23 @@ ServoService.DoCommand = {
38258
38258
  service: ServoService,
38259
38259
  requestStream: !1,
38260
38260
  responseStream: !1,
38261
- requestType: common_v1_common_pb$4.DoCommandRequest,
38262
- responseType: common_v1_common_pb$4.DoCommandResponse
38261
+ requestType: common_v1_common_pb$5.DoCommandRequest,
38262
+ responseType: common_v1_common_pb$5.DoCommandResponse
38263
38263
  };
38264
38264
  ServoService.GetGeometries = {
38265
38265
  methodName: "GetGeometries",
38266
38266
  service: ServoService,
38267
38267
  requestStream: !1,
38268
38268
  responseStream: !1,
38269
- requestType: common_v1_common_pb$4.GetGeometriesRequest,
38270
- responseType: common_v1_common_pb$4.GetGeometriesResponse
38269
+ requestType: common_v1_common_pb$5.GetGeometriesRequest,
38270
+ responseType: common_v1_common_pb$5.GetGeometriesResponse
38271
38271
  };
38272
38272
  function ServoServiceClient(t, e) {
38273
38273
  this.serviceHost = t, this.options = e || {};
38274
38274
  }
38275
38275
  ServoServiceClient.prototype.move = function t(e, s, i) {
38276
38276
  arguments.length === 2 && (i = arguments[1]);
38277
- var u = grpc$5.unary(ServoService.Move, {
38277
+ var u = grpc$6.unary(ServoService.Move, {
38278
38278
  request: e,
38279
38279
  host: this.serviceHost,
38280
38280
  metadata: s,
@@ -38282,7 +38282,7 @@ ServoServiceClient.prototype.move = function t(e, s, i) {
38282
38282
  debug: this.options.debug,
38283
38283
  onEnd: function(g) {
38284
38284
  if (i)
38285
- if (g.status !== grpc$5.Code.OK) {
38285
+ if (g.status !== grpc$6.Code.OK) {
38286
38286
  var p = new Error(g.statusMessage);
38287
38287
  p.code = g.status, p.metadata = g.trailers, i(p, null);
38288
38288
  } else
@@ -38297,7 +38297,7 @@ ServoServiceClient.prototype.move = function t(e, s, i) {
38297
38297
  };
38298
38298
  ServoServiceClient.prototype.getPosition = function t(e, s, i) {
38299
38299
  arguments.length === 2 && (i = arguments[1]);
38300
- var u = grpc$5.unary(ServoService.GetPosition, {
38300
+ var u = grpc$6.unary(ServoService.GetPosition, {
38301
38301
  request: e,
38302
38302
  host: this.serviceHost,
38303
38303
  metadata: s,
@@ -38305,7 +38305,7 @@ ServoServiceClient.prototype.getPosition = function t(e, s, i) {
38305
38305
  debug: this.options.debug,
38306
38306
  onEnd: function(g) {
38307
38307
  if (i)
38308
- if (g.status !== grpc$5.Code.OK) {
38308
+ if (g.status !== grpc$6.Code.OK) {
38309
38309
  var p = new Error(g.statusMessage);
38310
38310
  p.code = g.status, p.metadata = g.trailers, i(p, null);
38311
38311
  } else
@@ -38320,7 +38320,7 @@ ServoServiceClient.prototype.getPosition = function t(e, s, i) {
38320
38320
  };
38321
38321
  ServoServiceClient.prototype.stop = function t(e, s, i) {
38322
38322
  arguments.length === 2 && (i = arguments[1]);
38323
- var u = grpc$5.unary(ServoService.Stop, {
38323
+ var u = grpc$6.unary(ServoService.Stop, {
38324
38324
  request: e,
38325
38325
  host: this.serviceHost,
38326
38326
  metadata: s,
@@ -38328,7 +38328,7 @@ ServoServiceClient.prototype.stop = function t(e, s, i) {
38328
38328
  debug: this.options.debug,
38329
38329
  onEnd: function(g) {
38330
38330
  if (i)
38331
- if (g.status !== grpc$5.Code.OK) {
38331
+ if (g.status !== grpc$6.Code.OK) {
38332
38332
  var p = new Error(g.statusMessage);
38333
38333
  p.code = g.status, p.metadata = g.trailers, i(p, null);
38334
38334
  } else
@@ -38343,7 +38343,7 @@ ServoServiceClient.prototype.stop = function t(e, s, i) {
38343
38343
  };
38344
38344
  ServoServiceClient.prototype.isMoving = function t(e, s, i) {
38345
38345
  arguments.length === 2 && (i = arguments[1]);
38346
- var u = grpc$5.unary(ServoService.IsMoving, {
38346
+ var u = grpc$6.unary(ServoService.IsMoving, {
38347
38347
  request: e,
38348
38348
  host: this.serviceHost,
38349
38349
  metadata: s,
@@ -38351,7 +38351,7 @@ ServoServiceClient.prototype.isMoving = function t(e, s, i) {
38351
38351
  debug: this.options.debug,
38352
38352
  onEnd: function(g) {
38353
38353
  if (i)
38354
- if (g.status !== grpc$5.Code.OK) {
38354
+ if (g.status !== grpc$6.Code.OK) {
38355
38355
  var p = new Error(g.statusMessage);
38356
38356
  p.code = g.status, p.metadata = g.trailers, i(p, null);
38357
38357
  } else
@@ -38366,7 +38366,7 @@ ServoServiceClient.prototype.isMoving = function t(e, s, i) {
38366
38366
  };
38367
38367
  ServoServiceClient.prototype.doCommand = function t(e, s, i) {
38368
38368
  arguments.length === 2 && (i = arguments[1]);
38369
- var u = grpc$5.unary(ServoService.DoCommand, {
38369
+ var u = grpc$6.unary(ServoService.DoCommand, {
38370
38370
  request: e,
38371
38371
  host: this.serviceHost,
38372
38372
  metadata: s,
@@ -38374,7 +38374,7 @@ ServoServiceClient.prototype.doCommand = function t(e, s, i) {
38374
38374
  debug: this.options.debug,
38375
38375
  onEnd: function(g) {
38376
38376
  if (i)
38377
- if (g.status !== grpc$5.Code.OK) {
38377
+ if (g.status !== grpc$6.Code.OK) {
38378
38378
  var p = new Error(g.statusMessage);
38379
38379
  p.code = g.status, p.metadata = g.trailers, i(p, null);
38380
38380
  } else
@@ -38389,7 +38389,7 @@ ServoServiceClient.prototype.doCommand = function t(e, s, i) {
38389
38389
  };
38390
38390
  ServoServiceClient.prototype.getGeometries = function t(e, s, i) {
38391
38391
  arguments.length === 2 && (i = arguments[1]);
38392
- var u = grpc$5.unary(ServoService.GetGeometries, {
38392
+ var u = grpc$6.unary(ServoService.GetGeometries, {
38393
38393
  request: e,
38394
38394
  host: this.serviceHost,
38395
38395
  metadata: s,
@@ -38397,7 +38397,7 @@ ServoServiceClient.prototype.getGeometries = function t(e, s, i) {
38397
38397
  debug: this.options.debug,
38398
38398
  onEnd: function(g) {
38399
38399
  if (i)
38400
- if (g.status !== grpc$5.Code.OK) {
38400
+ if (g.status !== grpc$6.Code.OK) {
38401
38401
  var p = new Error(g.statusMessage);
38402
38402
  p.code = g.status, p.metadata = g.trailers, i(p, null);
38403
38403
  } else
@@ -39517,7 +39517,7 @@ var ServoServiceClient_1 = ServoServiceClient, vision_pb = {};
39517
39517
  return this.setObjectsList([]);
39518
39518
  }, s.object.extend(t, proto.viam.service.vision.v1);
39519
39519
  })(vision_pb);
39520
- var service_vision_v1_vision_pb = vision_pb, common_v1_common_pb$3 = common_pb, grpc$4 = grpcWebClient_umdExports.grpc, VisionService = function() {
39520
+ var service_vision_v1_vision_pb = vision_pb, common_v1_common_pb$4 = common_pb, grpc$5 = grpcWebClient_umdExports.grpc, VisionService = function() {
39521
39521
  function t() {
39522
39522
  }
39523
39523
  return t.serviceName = "viam.service.vision.v1.VisionService", t;
@@ -39567,15 +39567,15 @@ VisionService.DoCommand = {
39567
39567
  service: VisionService,
39568
39568
  requestStream: !1,
39569
39569
  responseStream: !1,
39570
- requestType: common_v1_common_pb$3.DoCommandRequest,
39571
- responseType: common_v1_common_pb$3.DoCommandResponse
39570
+ requestType: common_v1_common_pb$4.DoCommandRequest,
39571
+ responseType: common_v1_common_pb$4.DoCommandResponse
39572
39572
  };
39573
39573
  function VisionServiceClient(t, e) {
39574
39574
  this.serviceHost = t, this.options = e || {};
39575
39575
  }
39576
39576
  VisionServiceClient.prototype.getDetectionsFromCamera = function t(e, s, i) {
39577
39577
  arguments.length === 2 && (i = arguments[1]);
39578
- var u = grpc$4.unary(VisionService.GetDetectionsFromCamera, {
39578
+ var u = grpc$5.unary(VisionService.GetDetectionsFromCamera, {
39579
39579
  request: e,
39580
39580
  host: this.serviceHost,
39581
39581
  metadata: s,
@@ -39583,7 +39583,7 @@ VisionServiceClient.prototype.getDetectionsFromCamera = function t(e, s, i) {
39583
39583
  debug: this.options.debug,
39584
39584
  onEnd: function(g) {
39585
39585
  if (i)
39586
- if (g.status !== grpc$4.Code.OK) {
39586
+ if (g.status !== grpc$5.Code.OK) {
39587
39587
  var p = new Error(g.statusMessage);
39588
39588
  p.code = g.status, p.metadata = g.trailers, i(p, null);
39589
39589
  } else
@@ -39598,7 +39598,7 @@ VisionServiceClient.prototype.getDetectionsFromCamera = function t(e, s, i) {
39598
39598
  };
39599
39599
  VisionServiceClient.prototype.getDetections = function t(e, s, i) {
39600
39600
  arguments.length === 2 && (i = arguments[1]);
39601
- var u = grpc$4.unary(VisionService.GetDetections, {
39601
+ var u = grpc$5.unary(VisionService.GetDetections, {
39602
39602
  request: e,
39603
39603
  host: this.serviceHost,
39604
39604
  metadata: s,
@@ -39606,7 +39606,7 @@ VisionServiceClient.prototype.getDetections = function t(e, s, i) {
39606
39606
  debug: this.options.debug,
39607
39607
  onEnd: function(g) {
39608
39608
  if (i)
39609
- if (g.status !== grpc$4.Code.OK) {
39609
+ if (g.status !== grpc$5.Code.OK) {
39610
39610
  var p = new Error(g.statusMessage);
39611
39611
  p.code = g.status, p.metadata = g.trailers, i(p, null);
39612
39612
  } else
@@ -39621,7 +39621,7 @@ VisionServiceClient.prototype.getDetections = function t(e, s, i) {
39621
39621
  };
39622
39622
  VisionServiceClient.prototype.getClassificationsFromCamera = function t(e, s, i) {
39623
39623
  arguments.length === 2 && (i = arguments[1]);
39624
- var u = grpc$4.unary(VisionService.GetClassificationsFromCamera, {
39624
+ var u = grpc$5.unary(VisionService.GetClassificationsFromCamera, {
39625
39625
  request: e,
39626
39626
  host: this.serviceHost,
39627
39627
  metadata: s,
@@ -39629,7 +39629,7 @@ VisionServiceClient.prototype.getClassificationsFromCamera = function t(e, s, i)
39629
39629
  debug: this.options.debug,
39630
39630
  onEnd: function(g) {
39631
39631
  if (i)
39632
- if (g.status !== grpc$4.Code.OK) {
39632
+ if (g.status !== grpc$5.Code.OK) {
39633
39633
  var p = new Error(g.statusMessage);
39634
39634
  p.code = g.status, p.metadata = g.trailers, i(p, null);
39635
39635
  } else
@@ -39644,7 +39644,7 @@ VisionServiceClient.prototype.getClassificationsFromCamera = function t(e, s, i)
39644
39644
  };
39645
39645
  VisionServiceClient.prototype.getClassifications = function t(e, s, i) {
39646
39646
  arguments.length === 2 && (i = arguments[1]);
39647
- var u = grpc$4.unary(VisionService.GetClassifications, {
39647
+ var u = grpc$5.unary(VisionService.GetClassifications, {
39648
39648
  request: e,
39649
39649
  host: this.serviceHost,
39650
39650
  metadata: s,
@@ -39652,7 +39652,7 @@ VisionServiceClient.prototype.getClassifications = function t(e, s, i) {
39652
39652
  debug: this.options.debug,
39653
39653
  onEnd: function(g) {
39654
39654
  if (i)
39655
- if (g.status !== grpc$4.Code.OK) {
39655
+ if (g.status !== grpc$5.Code.OK) {
39656
39656
  var p = new Error(g.statusMessage);
39657
39657
  p.code = g.status, p.metadata = g.trailers, i(p, null);
39658
39658
  } else
@@ -39667,7 +39667,7 @@ VisionServiceClient.prototype.getClassifications = function t(e, s, i) {
39667
39667
  };
39668
39668
  VisionServiceClient.prototype.getObjectPointClouds = function t(e, s, i) {
39669
39669
  arguments.length === 2 && (i = arguments[1]);
39670
- var u = grpc$4.unary(VisionService.GetObjectPointClouds, {
39670
+ var u = grpc$5.unary(VisionService.GetObjectPointClouds, {
39671
39671
  request: e,
39672
39672
  host: this.serviceHost,
39673
39673
  metadata: s,
@@ -39675,7 +39675,7 @@ VisionServiceClient.prototype.getObjectPointClouds = function t(e, s, i) {
39675
39675
  debug: this.options.debug,
39676
39676
  onEnd: function(g) {
39677
39677
  if (i)
39678
- if (g.status !== grpc$4.Code.OK) {
39678
+ if (g.status !== grpc$5.Code.OK) {
39679
39679
  var p = new Error(g.statusMessage);
39680
39680
  p.code = g.status, p.metadata = g.trailers, i(p, null);
39681
39681
  } else
@@ -39690,7 +39690,7 @@ VisionServiceClient.prototype.getObjectPointClouds = function t(e, s, i) {
39690
39690
  };
39691
39691
  VisionServiceClient.prototype.doCommand = function t(e, s, i) {
39692
39692
  arguments.length === 2 && (i = arguments[1]);
39693
- var u = grpc$4.unary(VisionService.DoCommand, {
39693
+ var u = grpc$5.unary(VisionService.DoCommand, {
39694
39694
  request: e,
39695
39695
  host: this.serviceHost,
39696
39696
  metadata: s,
@@ -39698,7 +39698,7 @@ VisionServiceClient.prototype.doCommand = function t(e, s, i) {
39698
39698
  debug: this.options.debug,
39699
39699
  onEnd: function(g) {
39700
39700
  if (i)
39701
- if (g.status !== grpc$4.Code.OK) {
39701
+ if (g.status !== grpc$5.Code.OK) {
39702
39702
  var p = new Error(g.statusMessage);
39703
39703
  p.code = g.status, p.metadata = g.trailers, i(p, null);
39704
39704
  } else
@@ -41939,7 +41939,7 @@ var camera_pb = {}, httpbody_pb = {}, any_pb = {};
41939
41939
  FORMAT_PNG: 4
41940
41940
  }, s.object.extend(t, proto.viam.component.camera.v1);
41941
41941
  })(camera_pb);
41942
- var component_camera_v1_camera_pb = camera_pb, common_v1_common_pb$2 = common_pb, google_api_httpbody_pb = httpbody_pb, grpc$3 = grpcWebClient_umdExports.grpc, CameraService = function() {
41942
+ var component_camera_v1_camera_pb = camera_pb, common_v1_common_pb$3 = common_pb, google_api_httpbody_pb = httpbody_pb, grpc$4 = grpcWebClient_umdExports.grpc, CameraService = function() {
41943
41943
  function t() {
41944
41944
  }
41945
41945
  return t.serviceName = "viam.component.camera.v1.CameraService", t;
@@ -41989,23 +41989,23 @@ CameraService.DoCommand = {
41989
41989
  service: CameraService,
41990
41990
  requestStream: !1,
41991
41991
  responseStream: !1,
41992
- requestType: common_v1_common_pb$2.DoCommandRequest,
41993
- responseType: common_v1_common_pb$2.DoCommandResponse
41992
+ requestType: common_v1_common_pb$3.DoCommandRequest,
41993
+ responseType: common_v1_common_pb$3.DoCommandResponse
41994
41994
  };
41995
41995
  CameraService.GetGeometries = {
41996
41996
  methodName: "GetGeometries",
41997
41997
  service: CameraService,
41998
41998
  requestStream: !1,
41999
41999
  responseStream: !1,
42000
- requestType: common_v1_common_pb$2.GetGeometriesRequest,
42001
- responseType: common_v1_common_pb$2.GetGeometriesResponse
42000
+ requestType: common_v1_common_pb$3.GetGeometriesRequest,
42001
+ responseType: common_v1_common_pb$3.GetGeometriesResponse
42002
42002
  };
42003
42003
  function CameraServiceClient(t, e) {
42004
42004
  this.serviceHost = t, this.options = e || {};
42005
42005
  }
42006
42006
  CameraServiceClient.prototype.getImage = function t(e, s, i) {
42007
42007
  arguments.length === 2 && (i = arguments[1]);
42008
- var u = grpc$3.unary(CameraService.GetImage, {
42008
+ var u = grpc$4.unary(CameraService.GetImage, {
42009
42009
  request: e,
42010
42010
  host: this.serviceHost,
42011
42011
  metadata: s,
@@ -42013,7 +42013,7 @@ CameraServiceClient.prototype.getImage = function t(e, s, i) {
42013
42013
  debug: this.options.debug,
42014
42014
  onEnd: function(g) {
42015
42015
  if (i)
42016
- if (g.status !== grpc$3.Code.OK) {
42016
+ if (g.status !== grpc$4.Code.OK) {
42017
42017
  var p = new Error(g.statusMessage);
42018
42018
  p.code = g.status, p.metadata = g.trailers, i(p, null);
42019
42019
  } else
@@ -42028,7 +42028,7 @@ CameraServiceClient.prototype.getImage = function t(e, s, i) {
42028
42028
  };
42029
42029
  CameraServiceClient.prototype.getImages = function t(e, s, i) {
42030
42030
  arguments.length === 2 && (i = arguments[1]);
42031
- var u = grpc$3.unary(CameraService.GetImages, {
42031
+ var u = grpc$4.unary(CameraService.GetImages, {
42032
42032
  request: e,
42033
42033
  host: this.serviceHost,
42034
42034
  metadata: s,
@@ -42036,7 +42036,7 @@ CameraServiceClient.prototype.getImages = function t(e, s, i) {
42036
42036
  debug: this.options.debug,
42037
42037
  onEnd: function(g) {
42038
42038
  if (i)
42039
- if (g.status !== grpc$3.Code.OK) {
42039
+ if (g.status !== grpc$4.Code.OK) {
42040
42040
  var p = new Error(g.statusMessage);
42041
42041
  p.code = g.status, p.metadata = g.trailers, i(p, null);
42042
42042
  } else
@@ -42051,7 +42051,7 @@ CameraServiceClient.prototype.getImages = function t(e, s, i) {
42051
42051
  };
42052
42052
  CameraServiceClient.prototype.renderFrame = function t(e, s, i) {
42053
42053
  arguments.length === 2 && (i = arguments[1]);
42054
- var u = grpc$3.unary(CameraService.RenderFrame, {
42054
+ var u = grpc$4.unary(CameraService.RenderFrame, {
42055
42055
  request: e,
42056
42056
  host: this.serviceHost,
42057
42057
  metadata: s,
@@ -42059,7 +42059,7 @@ CameraServiceClient.prototype.renderFrame = function t(e, s, i) {
42059
42059
  debug: this.options.debug,
42060
42060
  onEnd: function(g) {
42061
42061
  if (i)
42062
- if (g.status !== grpc$3.Code.OK) {
42062
+ if (g.status !== grpc$4.Code.OK) {
42063
42063
  var p = new Error(g.statusMessage);
42064
42064
  p.code = g.status, p.metadata = g.trailers, i(p, null);
42065
42065
  } else
@@ -42074,7 +42074,7 @@ CameraServiceClient.prototype.renderFrame = function t(e, s, i) {
42074
42074
  };
42075
42075
  CameraServiceClient.prototype.getPointCloud = function t(e, s, i) {
42076
42076
  arguments.length === 2 && (i = arguments[1]);
42077
- var u = grpc$3.unary(CameraService.GetPointCloud, {
42077
+ var u = grpc$4.unary(CameraService.GetPointCloud, {
42078
42078
  request: e,
42079
42079
  host: this.serviceHost,
42080
42080
  metadata: s,
@@ -42082,7 +42082,7 @@ CameraServiceClient.prototype.getPointCloud = function t(e, s, i) {
42082
42082
  debug: this.options.debug,
42083
42083
  onEnd: function(g) {
42084
42084
  if (i)
42085
- if (g.status !== grpc$3.Code.OK) {
42085
+ if (g.status !== grpc$4.Code.OK) {
42086
42086
  var p = new Error(g.statusMessage);
42087
42087
  p.code = g.status, p.metadata = g.trailers, i(p, null);
42088
42088
  } else
@@ -42097,7 +42097,7 @@ CameraServiceClient.prototype.getPointCloud = function t(e, s, i) {
42097
42097
  };
42098
42098
  CameraServiceClient.prototype.getProperties = function t(e, s, i) {
42099
42099
  arguments.length === 2 && (i = arguments[1]);
42100
- var u = grpc$3.unary(CameraService.GetProperties, {
42100
+ var u = grpc$4.unary(CameraService.GetProperties, {
42101
42101
  request: e,
42102
42102
  host: this.serviceHost,
42103
42103
  metadata: s,
@@ -42105,7 +42105,7 @@ CameraServiceClient.prototype.getProperties = function t(e, s, i) {
42105
42105
  debug: this.options.debug,
42106
42106
  onEnd: function(g) {
42107
42107
  if (i)
42108
- if (g.status !== grpc$3.Code.OK) {
42108
+ if (g.status !== grpc$4.Code.OK) {
42109
42109
  var p = new Error(g.statusMessage);
42110
42110
  p.code = g.status, p.metadata = g.trailers, i(p, null);
42111
42111
  } else
@@ -42120,7 +42120,7 @@ CameraServiceClient.prototype.getProperties = function t(e, s, i) {
42120
42120
  };
42121
42121
  CameraServiceClient.prototype.doCommand = function t(e, s, i) {
42122
42122
  arguments.length === 2 && (i = arguments[1]);
42123
- var u = grpc$3.unary(CameraService.DoCommand, {
42123
+ var u = grpc$4.unary(CameraService.DoCommand, {
42124
42124
  request: e,
42125
42125
  host: this.serviceHost,
42126
42126
  metadata: s,
@@ -42128,7 +42128,7 @@ CameraServiceClient.prototype.doCommand = function t(e, s, i) {
42128
42128
  debug: this.options.debug,
42129
42129
  onEnd: function(g) {
42130
42130
  if (i)
42131
- if (g.status !== grpc$3.Code.OK) {
42131
+ if (g.status !== grpc$4.Code.OK) {
42132
42132
  var p = new Error(g.statusMessage);
42133
42133
  p.code = g.status, p.metadata = g.trailers, i(p, null);
42134
42134
  } else
@@ -42143,7 +42143,7 @@ CameraServiceClient.prototype.doCommand = function t(e, s, i) {
42143
42143
  };
42144
42144
  CameraServiceClient.prototype.getGeometries = function t(e, s, i) {
42145
42145
  arguments.length === 2 && (i = arguments[1]);
42146
- var u = grpc$3.unary(CameraService.GetGeometries, {
42146
+ var u = grpc$4.unary(CameraService.GetGeometries, {
42147
42147
  request: e,
42148
42148
  host: this.serviceHost,
42149
42149
  metadata: s,
@@ -42151,7 +42151,7 @@ CameraServiceClient.prototype.getGeometries = function t(e, s, i) {
42151
42151
  debug: this.options.debug,
42152
42152
  onEnd: function(g) {
42153
42153
  if (i)
42154
- if (g.status !== grpc$3.Code.OK) {
42154
+ if (g.status !== grpc$4.Code.OK) {
42155
42155
  var p = new Error(g.statusMessage);
42156
42156
  p.code = g.status, p.metadata = g.trailers, i(p, null);
42157
42157
  } else
@@ -42464,7 +42464,7 @@ class MovementSensorClient {
42464
42464
  );
42465
42465
  }
42466
42466
  }
42467
- var sensor_pb = {};
42467
+ var powersensor_pb = {};
42468
42468
  (function(t) {
42469
42469
  var e = googleProtobuf, s = e, i = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof i < "u" && i || typeof self < "u" && self || function() {
42470
42470
  return this;
@@ -42473,22 +42473,30 @@ var sensor_pb = {};
42473
42473
  var g = annotations_pb;
42474
42474
  s.object.extend(proto, g);
42475
42475
  var p = struct_pb;
42476
- s.object.extend(proto, p), s.exportSymbol("proto.viam.component.sensor.v1.GetReadingsRequest", null, i), s.exportSymbol("proto.viam.component.sensor.v1.GetReadingsResponse", null, i), proto.viam.component.sensor.v1.GetReadingsRequest = function(o) {
42476
+ s.object.extend(proto, p), s.exportSymbol("proto.viam.component.powersensor.v1.GetCurrentRequest", null, i), s.exportSymbol("proto.viam.component.powersensor.v1.GetCurrentResponse", null, i), s.exportSymbol("proto.viam.component.powersensor.v1.GetPowerRequest", null, i), s.exportSymbol("proto.viam.component.powersensor.v1.GetPowerResponse", null, i), s.exportSymbol("proto.viam.component.powersensor.v1.GetVoltageRequest", null, i), s.exportSymbol("proto.viam.component.powersensor.v1.GetVoltageResponse", null, i), proto.viam.component.powersensor.v1.GetVoltageRequest = function(o) {
42477
42477
  e.Message.initialize(this, o, 0, -1, null, null);
42478
- }, s.inherits(proto.viam.component.sensor.v1.GetReadingsRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.sensor.v1.GetReadingsRequest.displayName = "proto.viam.component.sensor.v1.GetReadingsRequest"), proto.viam.component.sensor.v1.GetReadingsResponse = function(o) {
42478
+ }, s.inherits(proto.viam.component.powersensor.v1.GetVoltageRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.powersensor.v1.GetVoltageRequest.displayName = "proto.viam.component.powersensor.v1.GetVoltageRequest"), proto.viam.component.powersensor.v1.GetVoltageResponse = function(o) {
42479
42479
  e.Message.initialize(this, o, 0, -1, null, null);
42480
- }, s.inherits(proto.viam.component.sensor.v1.GetReadingsResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.sensor.v1.GetReadingsResponse.displayName = "proto.viam.component.sensor.v1.GetReadingsResponse"), e.Message.GENERATE_TO_OBJECT && (proto.viam.component.sensor.v1.GetReadingsRequest.prototype.toObject = function(o) {
42481
- return proto.viam.component.sensor.v1.GetReadingsRequest.toObject(o, this);
42482
- }, proto.viam.component.sensor.v1.GetReadingsRequest.toObject = function(o, r) {
42480
+ }, s.inherits(proto.viam.component.powersensor.v1.GetVoltageResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.powersensor.v1.GetVoltageResponse.displayName = "proto.viam.component.powersensor.v1.GetVoltageResponse"), proto.viam.component.powersensor.v1.GetCurrentRequest = function(o) {
42481
+ e.Message.initialize(this, o, 0, -1, null, null);
42482
+ }, s.inherits(proto.viam.component.powersensor.v1.GetCurrentRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.powersensor.v1.GetCurrentRequest.displayName = "proto.viam.component.powersensor.v1.GetCurrentRequest"), proto.viam.component.powersensor.v1.GetCurrentResponse = function(o) {
42483
+ e.Message.initialize(this, o, 0, -1, null, null);
42484
+ }, s.inherits(proto.viam.component.powersensor.v1.GetCurrentResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.powersensor.v1.GetCurrentResponse.displayName = "proto.viam.component.powersensor.v1.GetCurrentResponse"), proto.viam.component.powersensor.v1.GetPowerRequest = function(o) {
42485
+ e.Message.initialize(this, o, 0, -1, null, null);
42486
+ }, s.inherits(proto.viam.component.powersensor.v1.GetPowerRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.powersensor.v1.GetPowerRequest.displayName = "proto.viam.component.powersensor.v1.GetPowerRequest"), proto.viam.component.powersensor.v1.GetPowerResponse = function(o) {
42487
+ e.Message.initialize(this, o, 0, -1, null, null);
42488
+ }, s.inherits(proto.viam.component.powersensor.v1.GetPowerResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.powersensor.v1.GetPowerResponse.displayName = "proto.viam.component.powersensor.v1.GetPowerResponse"), e.Message.GENERATE_TO_OBJECT && (proto.viam.component.powersensor.v1.GetVoltageRequest.prototype.toObject = function(o) {
42489
+ return proto.viam.component.powersensor.v1.GetVoltageRequest.toObject(o, this);
42490
+ }, proto.viam.component.powersensor.v1.GetVoltageRequest.toObject = function(o, r) {
42483
42491
  var n, l = {
42484
42492
  name: e.Message.getFieldWithDefault(r, 1, ""),
42485
42493
  extra: (n = r.getExtra()) && p.Struct.toObject(o, n)
42486
42494
  };
42487
42495
  return o && (l.$jspbMessageInstance = r), l;
42488
- }), proto.viam.component.sensor.v1.GetReadingsRequest.deserializeBinary = function(o) {
42489
- var r = new e.BinaryReader(o), n = new proto.viam.component.sensor.v1.GetReadingsRequest();
42490
- return proto.viam.component.sensor.v1.GetReadingsRequest.deserializeBinaryFromReader(n, r);
42491
- }, proto.viam.component.sensor.v1.GetReadingsRequest.deserializeBinaryFromReader = function(o, r) {
42496
+ }), proto.viam.component.powersensor.v1.GetVoltageRequest.deserializeBinary = function(o) {
42497
+ var r = new e.BinaryReader(o), n = new proto.viam.component.powersensor.v1.GetVoltageRequest();
42498
+ return proto.viam.component.powersensor.v1.GetVoltageRequest.deserializeBinaryFromReader(n, r);
42499
+ }, proto.viam.component.powersensor.v1.GetVoltageRequest.deserializeBinaryFromReader = function(o, r) {
42492
42500
  for (; r.nextField() && !r.isEndGroup(); ) {
42493
42501
  var n = r.getFieldNumber();
42494
42502
  switch (n) {
@@ -42509,10 +42517,10 @@ var sensor_pb = {};
42509
42517
  }
42510
42518
  }
42511
42519
  return o;
42512
- }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.serializeBinary = function() {
42520
+ }, proto.viam.component.powersensor.v1.GetVoltageRequest.prototype.serializeBinary = function() {
42513
42521
  var o = new e.BinaryWriter();
42514
- return proto.viam.component.sensor.v1.GetReadingsRequest.serializeBinaryToWriter(this, o), o.getResultBuffer();
42515
- }, proto.viam.component.sensor.v1.GetReadingsRequest.serializeBinaryToWriter = function(o, r) {
42522
+ return proto.viam.component.powersensor.v1.GetVoltageRequest.serializeBinaryToWriter(this, o), o.getResultBuffer();
42523
+ }, proto.viam.component.powersensor.v1.GetVoltageRequest.serializeBinaryToWriter = function(o, r) {
42516
42524
  var n = void 0;
42517
42525
  n = o.getName(), n.length > 0 && r.writeString(
42518
42526
  1,
@@ -42522,43 +42530,110 @@ var sensor_pb = {};
42522
42530
  n,
42523
42531
  p.Struct.serializeBinaryToWriter
42524
42532
  );
42525
- }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.getName = function() {
42533
+ }, proto.viam.component.powersensor.v1.GetVoltageRequest.prototype.getName = function() {
42526
42534
  return (
42527
42535
  /** @type {string} */
42528
42536
  e.Message.getFieldWithDefault(this, 1, "")
42529
42537
  );
42530
- }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.setName = function(o) {
42538
+ }, proto.viam.component.powersensor.v1.GetVoltageRequest.prototype.setName = function(o) {
42531
42539
  return e.Message.setProto3StringField(this, 1, o);
42532
- }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.getExtra = function() {
42540
+ }, proto.viam.component.powersensor.v1.GetVoltageRequest.prototype.getExtra = function() {
42533
42541
  return (
42534
42542
  /** @type{?proto.google.protobuf.Struct} */
42535
42543
  e.Message.getWrapperField(this, p.Struct, 99)
42536
42544
  );
42537
- }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.setExtra = function(o) {
42545
+ }, proto.viam.component.powersensor.v1.GetVoltageRequest.prototype.setExtra = function(o) {
42538
42546
  return e.Message.setWrapperField(this, 99, o);
42539
- }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.clearExtra = function() {
42547
+ }, proto.viam.component.powersensor.v1.GetVoltageRequest.prototype.clearExtra = function() {
42540
42548
  return this.setExtra(void 0);
42541
- }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.hasExtra = function() {
42549
+ }, proto.viam.component.powersensor.v1.GetVoltageRequest.prototype.hasExtra = function() {
42542
42550
  return e.Message.getField(this, 99) != null;
42543
- }, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.sensor.v1.GetReadingsResponse.prototype.toObject = function(o) {
42544
- return proto.viam.component.sensor.v1.GetReadingsResponse.toObject(o, this);
42545
- }, proto.viam.component.sensor.v1.GetReadingsResponse.toObject = function(o, r) {
42551
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.powersensor.v1.GetVoltageResponse.prototype.toObject = function(o) {
42552
+ return proto.viam.component.powersensor.v1.GetVoltageResponse.toObject(o, this);
42553
+ }, proto.viam.component.powersensor.v1.GetVoltageResponse.toObject = function(o, r) {
42554
+ var n = {
42555
+ volts: e.Message.getFloatingPointFieldWithDefault(r, 1, 0),
42556
+ isAc: e.Message.getBooleanFieldWithDefault(r, 2, !1)
42557
+ };
42558
+ return o && (n.$jspbMessageInstance = r), n;
42559
+ }), proto.viam.component.powersensor.v1.GetVoltageResponse.deserializeBinary = function(o) {
42560
+ var r = new e.BinaryReader(o), n = new proto.viam.component.powersensor.v1.GetVoltageResponse();
42561
+ return proto.viam.component.powersensor.v1.GetVoltageResponse.deserializeBinaryFromReader(n, r);
42562
+ }, proto.viam.component.powersensor.v1.GetVoltageResponse.deserializeBinaryFromReader = function(o, r) {
42563
+ for (; r.nextField() && !r.isEndGroup(); ) {
42564
+ var n = r.getFieldNumber();
42565
+ switch (n) {
42566
+ case 1:
42567
+ var l = (
42568
+ /** @type {number} */
42569
+ r.readDouble()
42570
+ );
42571
+ o.setVolts(l);
42572
+ break;
42573
+ case 2:
42574
+ var l = (
42575
+ /** @type {boolean} */
42576
+ r.readBool()
42577
+ );
42578
+ o.setIsAc(l);
42579
+ break;
42580
+ default:
42581
+ r.skipField();
42582
+ break;
42583
+ }
42584
+ }
42585
+ return o;
42586
+ }, proto.viam.component.powersensor.v1.GetVoltageResponse.prototype.serializeBinary = function() {
42587
+ var o = new e.BinaryWriter();
42588
+ return proto.viam.component.powersensor.v1.GetVoltageResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
42589
+ }, proto.viam.component.powersensor.v1.GetVoltageResponse.serializeBinaryToWriter = function(o, r) {
42590
+ var n = void 0;
42591
+ n = o.getVolts(), n !== 0 && r.writeDouble(
42592
+ 1,
42593
+ n
42594
+ ), n = o.getIsAc(), n && r.writeBool(
42595
+ 2,
42596
+ n
42597
+ );
42598
+ }, proto.viam.component.powersensor.v1.GetVoltageResponse.prototype.getVolts = function() {
42599
+ return (
42600
+ /** @type {number} */
42601
+ e.Message.getFloatingPointFieldWithDefault(this, 1, 0)
42602
+ );
42603
+ }, proto.viam.component.powersensor.v1.GetVoltageResponse.prototype.setVolts = function(o) {
42604
+ return e.Message.setProto3FloatField(this, 1, o);
42605
+ }, proto.viam.component.powersensor.v1.GetVoltageResponse.prototype.getIsAc = function() {
42606
+ return (
42607
+ /** @type {boolean} */
42608
+ e.Message.getBooleanFieldWithDefault(this, 2, !1)
42609
+ );
42610
+ }, proto.viam.component.powersensor.v1.GetVoltageResponse.prototype.setIsAc = function(o) {
42611
+ return e.Message.setProto3BooleanField(this, 2, o);
42612
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.powersensor.v1.GetCurrentRequest.prototype.toObject = function(o) {
42613
+ return proto.viam.component.powersensor.v1.GetCurrentRequest.toObject(o, this);
42614
+ }, proto.viam.component.powersensor.v1.GetCurrentRequest.toObject = function(o, r) {
42546
42615
  var n, l = {
42547
- readingsMap: (n = r.getReadingsMap()) ? n.toObject(o, proto.google.protobuf.Value.toObject) : []
42616
+ name: e.Message.getFieldWithDefault(r, 1, ""),
42617
+ extra: (n = r.getExtra()) && p.Struct.toObject(o, n)
42548
42618
  };
42549
42619
  return o && (l.$jspbMessageInstance = r), l;
42550
- }), proto.viam.component.sensor.v1.GetReadingsResponse.deserializeBinary = function(o) {
42551
- var r = new e.BinaryReader(o), n = new proto.viam.component.sensor.v1.GetReadingsResponse();
42552
- return proto.viam.component.sensor.v1.GetReadingsResponse.deserializeBinaryFromReader(n, r);
42553
- }, proto.viam.component.sensor.v1.GetReadingsResponse.deserializeBinaryFromReader = function(o, r) {
42620
+ }), proto.viam.component.powersensor.v1.GetCurrentRequest.deserializeBinary = function(o) {
42621
+ var r = new e.BinaryReader(o), n = new proto.viam.component.powersensor.v1.GetCurrentRequest();
42622
+ return proto.viam.component.powersensor.v1.GetCurrentRequest.deserializeBinaryFromReader(n, r);
42623
+ }, proto.viam.component.powersensor.v1.GetCurrentRequest.deserializeBinaryFromReader = function(o, r) {
42554
42624
  for (; r.nextField() && !r.isEndGroup(); ) {
42555
42625
  var n = r.getFieldNumber();
42556
42626
  switch (n) {
42557
42627
  case 1:
42558
- var l = o.getReadingsMap();
42559
- r.readMessage(l, function(c, m) {
42560
- e.Map.deserializeBinary(c, m, e.BinaryReader.prototype.readString, e.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value());
42561
- });
42628
+ var l = (
42629
+ /** @type {string} */
42630
+ r.readString()
42631
+ );
42632
+ o.setName(l);
42633
+ break;
42634
+ case 99:
42635
+ var l = new p.Struct();
42636
+ r.readMessage(l, p.Struct.deserializeBinaryFromReader), o.setExtra(l);
42562
42637
  break;
42563
42638
  default:
42564
42639
  r.skipField();
@@ -42566,84 +42641,580 @@ var sensor_pb = {};
42566
42641
  }
42567
42642
  }
42568
42643
  return o;
42569
- }, proto.viam.component.sensor.v1.GetReadingsResponse.prototype.serializeBinary = function() {
42644
+ }, proto.viam.component.powersensor.v1.GetCurrentRequest.prototype.serializeBinary = function() {
42570
42645
  var o = new e.BinaryWriter();
42571
- return proto.viam.component.sensor.v1.GetReadingsResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
42572
- }, proto.viam.component.sensor.v1.GetReadingsResponse.serializeBinaryToWriter = function(o, r) {
42646
+ return proto.viam.component.powersensor.v1.GetCurrentRequest.serializeBinaryToWriter(this, o), o.getResultBuffer();
42647
+ }, proto.viam.component.powersensor.v1.GetCurrentRequest.serializeBinaryToWriter = function(o, r) {
42573
42648
  var n = void 0;
42574
- n = o.getReadingsMap(!0), n && n.getLength() > 0 && n.serializeBinary(1, r, e.BinaryWriter.prototype.writeString, e.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter);
42575
- }, proto.viam.component.sensor.v1.GetReadingsResponse.prototype.getReadingsMap = function(o) {
42649
+ n = o.getName(), n.length > 0 && r.writeString(
42650
+ 1,
42651
+ n
42652
+ ), n = o.getExtra(), n != null && r.writeMessage(
42653
+ 99,
42654
+ n,
42655
+ p.Struct.serializeBinaryToWriter
42656
+ );
42657
+ }, proto.viam.component.powersensor.v1.GetCurrentRequest.prototype.getName = function() {
42576
42658
  return (
42577
- /** @type {!jspb.Map<string,!proto.google.protobuf.Value>} */
42578
- e.Message.getMapField(
42579
- this,
42580
- 1,
42581
- o,
42582
- proto.google.protobuf.Value
42583
- )
42659
+ /** @type {string} */
42660
+ e.Message.getFieldWithDefault(this, 1, "")
42584
42661
  );
42585
- }, proto.viam.component.sensor.v1.GetReadingsResponse.prototype.clearReadingsMap = function() {
42586
- return this.getReadingsMap().clear(), this;
42587
- }, s.object.extend(t, proto.viam.component.sensor.v1);
42588
- })(sensor_pb);
42589
- var component_sensor_v1_sensor_pb = sensor_pb, common_v1_common_pb$1 = common_pb, grpc$2 = grpcWebClient_umdExports.grpc, SensorService = function() {
42590
- function t() {
42591
- }
42592
- return t.serviceName = "viam.component.sensor.v1.SensorService", t;
42593
- }();
42594
- SensorService.GetReadings = {
42595
- methodName: "GetReadings",
42596
- service: SensorService,
42597
- requestStream: !1,
42598
- responseStream: !1,
42599
- requestType: component_sensor_v1_sensor_pb.GetReadingsRequest,
42600
- responseType: component_sensor_v1_sensor_pb.GetReadingsResponse
42601
- };
42602
- SensorService.DoCommand = {
42603
- methodName: "DoCommand",
42604
- service: SensorService,
42605
- requestStream: !1,
42606
- responseStream: !1,
42607
- requestType: common_v1_common_pb$1.DoCommandRequest,
42608
- responseType: common_v1_common_pb$1.DoCommandResponse
42609
- };
42610
- SensorService.GetGeometries = {
42611
- methodName: "GetGeometries",
42612
- service: SensorService,
42613
- requestStream: !1,
42614
- responseStream: !1,
42615
- requestType: common_v1_common_pb$1.GetGeometriesRequest,
42616
- responseType: common_v1_common_pb$1.GetGeometriesResponse
42617
- };
42618
- function SensorServiceClient(t, e) {
42619
- this.serviceHost = t, this.options = e || {};
42620
- }
42621
- SensorServiceClient.prototype.getReadings = function t(e, s, i) {
42622
- arguments.length === 2 && (i = arguments[1]);
42623
- var u = grpc$2.unary(SensorService.GetReadings, {
42624
- request: e,
42625
- host: this.serviceHost,
42626
- metadata: s,
42627
- transport: this.options.transport,
42628
- debug: this.options.debug,
42629
- onEnd: function(g) {
42630
- if (i)
42631
- if (g.status !== grpc$2.Code.OK) {
42632
- var p = new Error(g.statusMessage);
42633
- p.code = g.status, p.metadata = g.trailers, i(p, null);
42634
- } else
42635
- i(null, g.message);
42636
- }
42637
- });
42638
- return {
42639
- cancel: function() {
42640
- i = null, u.close();
42641
- }
42642
- };
42643
- };
42644
- SensorServiceClient.prototype.doCommand = function t(e, s, i) {
42645
- arguments.length === 2 && (i = arguments[1]);
42646
- var u = grpc$2.unary(SensorService.DoCommand, {
42662
+ }, proto.viam.component.powersensor.v1.GetCurrentRequest.prototype.setName = function(o) {
42663
+ return e.Message.setProto3StringField(this, 1, o);
42664
+ }, proto.viam.component.powersensor.v1.GetCurrentRequest.prototype.getExtra = function() {
42665
+ return (
42666
+ /** @type{?proto.google.protobuf.Struct} */
42667
+ e.Message.getWrapperField(this, p.Struct, 99)
42668
+ );
42669
+ }, proto.viam.component.powersensor.v1.GetCurrentRequest.prototype.setExtra = function(o) {
42670
+ return e.Message.setWrapperField(this, 99, o);
42671
+ }, proto.viam.component.powersensor.v1.GetCurrentRequest.prototype.clearExtra = function() {
42672
+ return this.setExtra(void 0);
42673
+ }, proto.viam.component.powersensor.v1.GetCurrentRequest.prototype.hasExtra = function() {
42674
+ return e.Message.getField(this, 99) != null;
42675
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.powersensor.v1.GetCurrentResponse.prototype.toObject = function(o) {
42676
+ return proto.viam.component.powersensor.v1.GetCurrentResponse.toObject(o, this);
42677
+ }, proto.viam.component.powersensor.v1.GetCurrentResponse.toObject = function(o, r) {
42678
+ var n = {
42679
+ amperes: e.Message.getFloatingPointFieldWithDefault(r, 1, 0),
42680
+ isAc: e.Message.getBooleanFieldWithDefault(r, 2, !1)
42681
+ };
42682
+ return o && (n.$jspbMessageInstance = r), n;
42683
+ }), proto.viam.component.powersensor.v1.GetCurrentResponse.deserializeBinary = function(o) {
42684
+ var r = new e.BinaryReader(o), n = new proto.viam.component.powersensor.v1.GetCurrentResponse();
42685
+ return proto.viam.component.powersensor.v1.GetCurrentResponse.deserializeBinaryFromReader(n, r);
42686
+ }, proto.viam.component.powersensor.v1.GetCurrentResponse.deserializeBinaryFromReader = function(o, r) {
42687
+ for (; r.nextField() && !r.isEndGroup(); ) {
42688
+ var n = r.getFieldNumber();
42689
+ switch (n) {
42690
+ case 1:
42691
+ var l = (
42692
+ /** @type {number} */
42693
+ r.readDouble()
42694
+ );
42695
+ o.setAmperes(l);
42696
+ break;
42697
+ case 2:
42698
+ var l = (
42699
+ /** @type {boolean} */
42700
+ r.readBool()
42701
+ );
42702
+ o.setIsAc(l);
42703
+ break;
42704
+ default:
42705
+ r.skipField();
42706
+ break;
42707
+ }
42708
+ }
42709
+ return o;
42710
+ }, proto.viam.component.powersensor.v1.GetCurrentResponse.prototype.serializeBinary = function() {
42711
+ var o = new e.BinaryWriter();
42712
+ return proto.viam.component.powersensor.v1.GetCurrentResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
42713
+ }, proto.viam.component.powersensor.v1.GetCurrentResponse.serializeBinaryToWriter = function(o, r) {
42714
+ var n = void 0;
42715
+ n = o.getAmperes(), n !== 0 && r.writeDouble(
42716
+ 1,
42717
+ n
42718
+ ), n = o.getIsAc(), n && r.writeBool(
42719
+ 2,
42720
+ n
42721
+ );
42722
+ }, proto.viam.component.powersensor.v1.GetCurrentResponse.prototype.getAmperes = function() {
42723
+ return (
42724
+ /** @type {number} */
42725
+ e.Message.getFloatingPointFieldWithDefault(this, 1, 0)
42726
+ );
42727
+ }, proto.viam.component.powersensor.v1.GetCurrentResponse.prototype.setAmperes = function(o) {
42728
+ return e.Message.setProto3FloatField(this, 1, o);
42729
+ }, proto.viam.component.powersensor.v1.GetCurrentResponse.prototype.getIsAc = function() {
42730
+ return (
42731
+ /** @type {boolean} */
42732
+ e.Message.getBooleanFieldWithDefault(this, 2, !1)
42733
+ );
42734
+ }, proto.viam.component.powersensor.v1.GetCurrentResponse.prototype.setIsAc = function(o) {
42735
+ return e.Message.setProto3BooleanField(this, 2, o);
42736
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.powersensor.v1.GetPowerRequest.prototype.toObject = function(o) {
42737
+ return proto.viam.component.powersensor.v1.GetPowerRequest.toObject(o, this);
42738
+ }, proto.viam.component.powersensor.v1.GetPowerRequest.toObject = function(o, r) {
42739
+ var n, l = {
42740
+ name: e.Message.getFieldWithDefault(r, 1, ""),
42741
+ extra: (n = r.getExtra()) && p.Struct.toObject(o, n)
42742
+ };
42743
+ return o && (l.$jspbMessageInstance = r), l;
42744
+ }), proto.viam.component.powersensor.v1.GetPowerRequest.deserializeBinary = function(o) {
42745
+ var r = new e.BinaryReader(o), n = new proto.viam.component.powersensor.v1.GetPowerRequest();
42746
+ return proto.viam.component.powersensor.v1.GetPowerRequest.deserializeBinaryFromReader(n, r);
42747
+ }, proto.viam.component.powersensor.v1.GetPowerRequest.deserializeBinaryFromReader = function(o, r) {
42748
+ for (; r.nextField() && !r.isEndGroup(); ) {
42749
+ var n = r.getFieldNumber();
42750
+ switch (n) {
42751
+ case 1:
42752
+ var l = (
42753
+ /** @type {string} */
42754
+ r.readString()
42755
+ );
42756
+ o.setName(l);
42757
+ break;
42758
+ case 99:
42759
+ var l = new p.Struct();
42760
+ r.readMessage(l, p.Struct.deserializeBinaryFromReader), o.setExtra(l);
42761
+ break;
42762
+ default:
42763
+ r.skipField();
42764
+ break;
42765
+ }
42766
+ }
42767
+ return o;
42768
+ }, proto.viam.component.powersensor.v1.GetPowerRequest.prototype.serializeBinary = function() {
42769
+ var o = new e.BinaryWriter();
42770
+ return proto.viam.component.powersensor.v1.GetPowerRequest.serializeBinaryToWriter(this, o), o.getResultBuffer();
42771
+ }, proto.viam.component.powersensor.v1.GetPowerRequest.serializeBinaryToWriter = function(o, r) {
42772
+ var n = void 0;
42773
+ n = o.getName(), n.length > 0 && r.writeString(
42774
+ 1,
42775
+ n
42776
+ ), n = o.getExtra(), n != null && r.writeMessage(
42777
+ 99,
42778
+ n,
42779
+ p.Struct.serializeBinaryToWriter
42780
+ );
42781
+ }, proto.viam.component.powersensor.v1.GetPowerRequest.prototype.getName = function() {
42782
+ return (
42783
+ /** @type {string} */
42784
+ e.Message.getFieldWithDefault(this, 1, "")
42785
+ );
42786
+ }, proto.viam.component.powersensor.v1.GetPowerRequest.prototype.setName = function(o) {
42787
+ return e.Message.setProto3StringField(this, 1, o);
42788
+ }, proto.viam.component.powersensor.v1.GetPowerRequest.prototype.getExtra = function() {
42789
+ return (
42790
+ /** @type{?proto.google.protobuf.Struct} */
42791
+ e.Message.getWrapperField(this, p.Struct, 99)
42792
+ );
42793
+ }, proto.viam.component.powersensor.v1.GetPowerRequest.prototype.setExtra = function(o) {
42794
+ return e.Message.setWrapperField(this, 99, o);
42795
+ }, proto.viam.component.powersensor.v1.GetPowerRequest.prototype.clearExtra = function() {
42796
+ return this.setExtra(void 0);
42797
+ }, proto.viam.component.powersensor.v1.GetPowerRequest.prototype.hasExtra = function() {
42798
+ return e.Message.getField(this, 99) != null;
42799
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.powersensor.v1.GetPowerResponse.prototype.toObject = function(o) {
42800
+ return proto.viam.component.powersensor.v1.GetPowerResponse.toObject(o, this);
42801
+ }, proto.viam.component.powersensor.v1.GetPowerResponse.toObject = function(o, r) {
42802
+ var n = {
42803
+ watts: e.Message.getFloatingPointFieldWithDefault(r, 1, 0)
42804
+ };
42805
+ return o && (n.$jspbMessageInstance = r), n;
42806
+ }), proto.viam.component.powersensor.v1.GetPowerResponse.deserializeBinary = function(o) {
42807
+ var r = new e.BinaryReader(o), n = new proto.viam.component.powersensor.v1.GetPowerResponse();
42808
+ return proto.viam.component.powersensor.v1.GetPowerResponse.deserializeBinaryFromReader(n, r);
42809
+ }, proto.viam.component.powersensor.v1.GetPowerResponse.deserializeBinaryFromReader = function(o, r) {
42810
+ for (; r.nextField() && !r.isEndGroup(); ) {
42811
+ var n = r.getFieldNumber();
42812
+ switch (n) {
42813
+ case 1:
42814
+ var l = (
42815
+ /** @type {number} */
42816
+ r.readDouble()
42817
+ );
42818
+ o.setWatts(l);
42819
+ break;
42820
+ default:
42821
+ r.skipField();
42822
+ break;
42823
+ }
42824
+ }
42825
+ return o;
42826
+ }, proto.viam.component.powersensor.v1.GetPowerResponse.prototype.serializeBinary = function() {
42827
+ var o = new e.BinaryWriter();
42828
+ return proto.viam.component.powersensor.v1.GetPowerResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
42829
+ }, proto.viam.component.powersensor.v1.GetPowerResponse.serializeBinaryToWriter = function(o, r) {
42830
+ var n = void 0;
42831
+ n = o.getWatts(), n !== 0 && r.writeDouble(
42832
+ 1,
42833
+ n
42834
+ );
42835
+ }, proto.viam.component.powersensor.v1.GetPowerResponse.prototype.getWatts = function() {
42836
+ return (
42837
+ /** @type {number} */
42838
+ e.Message.getFloatingPointFieldWithDefault(this, 1, 0)
42839
+ );
42840
+ }, proto.viam.component.powersensor.v1.GetPowerResponse.prototype.setWatts = function(o) {
42841
+ return e.Message.setProto3FloatField(this, 1, o);
42842
+ }, s.object.extend(t, proto.viam.component.powersensor.v1);
42843
+ })(powersensor_pb);
42844
+ var component_powersensor_v1_powersensor_pb = powersensor_pb, common_v1_common_pb$2 = common_pb, grpc$3 = grpcWebClient_umdExports.grpc, PowerSensorService = function() {
42845
+ function t() {
42846
+ }
42847
+ return t.serviceName = "viam.component.powersensor.v1.PowerSensorService", t;
42848
+ }();
42849
+ PowerSensorService.GetVoltage = {
42850
+ methodName: "GetVoltage",
42851
+ service: PowerSensorService,
42852
+ requestStream: !1,
42853
+ responseStream: !1,
42854
+ requestType: component_powersensor_v1_powersensor_pb.GetVoltageRequest,
42855
+ responseType: component_powersensor_v1_powersensor_pb.GetVoltageResponse
42856
+ };
42857
+ PowerSensorService.GetCurrent = {
42858
+ methodName: "GetCurrent",
42859
+ service: PowerSensorService,
42860
+ requestStream: !1,
42861
+ responseStream: !1,
42862
+ requestType: component_powersensor_v1_powersensor_pb.GetCurrentRequest,
42863
+ responseType: component_powersensor_v1_powersensor_pb.GetCurrentResponse
42864
+ };
42865
+ PowerSensorService.GetPower = {
42866
+ methodName: "GetPower",
42867
+ service: PowerSensorService,
42868
+ requestStream: !1,
42869
+ responseStream: !1,
42870
+ requestType: component_powersensor_v1_powersensor_pb.GetPowerRequest,
42871
+ responseType: component_powersensor_v1_powersensor_pb.GetPowerResponse
42872
+ };
42873
+ PowerSensorService.DoCommand = {
42874
+ methodName: "DoCommand",
42875
+ service: PowerSensorService,
42876
+ requestStream: !1,
42877
+ responseStream: !1,
42878
+ requestType: common_v1_common_pb$2.DoCommandRequest,
42879
+ responseType: common_v1_common_pb$2.DoCommandResponse
42880
+ };
42881
+ function PowerSensorServiceClient(t, e) {
42882
+ this.serviceHost = t, this.options = e || {};
42883
+ }
42884
+ PowerSensorServiceClient.prototype.getVoltage = function t(e, s, i) {
42885
+ arguments.length === 2 && (i = arguments[1]);
42886
+ var u = grpc$3.unary(PowerSensorService.GetVoltage, {
42887
+ request: e,
42888
+ host: this.serviceHost,
42889
+ metadata: s,
42890
+ transport: this.options.transport,
42891
+ debug: this.options.debug,
42892
+ onEnd: function(g) {
42893
+ if (i)
42894
+ if (g.status !== grpc$3.Code.OK) {
42895
+ var p = new Error(g.statusMessage);
42896
+ p.code = g.status, p.metadata = g.trailers, i(p, null);
42897
+ } else
42898
+ i(null, g.message);
42899
+ }
42900
+ });
42901
+ return {
42902
+ cancel: function() {
42903
+ i = null, u.close();
42904
+ }
42905
+ };
42906
+ };
42907
+ PowerSensorServiceClient.prototype.getCurrent = function t(e, s, i) {
42908
+ arguments.length === 2 && (i = arguments[1]);
42909
+ var u = grpc$3.unary(PowerSensorService.GetCurrent, {
42910
+ request: e,
42911
+ host: this.serviceHost,
42912
+ metadata: s,
42913
+ transport: this.options.transport,
42914
+ debug: this.options.debug,
42915
+ onEnd: function(g) {
42916
+ if (i)
42917
+ if (g.status !== grpc$3.Code.OK) {
42918
+ var p = new Error(g.statusMessage);
42919
+ p.code = g.status, p.metadata = g.trailers, i(p, null);
42920
+ } else
42921
+ i(null, g.message);
42922
+ }
42923
+ });
42924
+ return {
42925
+ cancel: function() {
42926
+ i = null, u.close();
42927
+ }
42928
+ };
42929
+ };
42930
+ PowerSensorServiceClient.prototype.getPower = function t(e, s, i) {
42931
+ arguments.length === 2 && (i = arguments[1]);
42932
+ var u = grpc$3.unary(PowerSensorService.GetPower, {
42933
+ request: e,
42934
+ host: this.serviceHost,
42935
+ metadata: s,
42936
+ transport: this.options.transport,
42937
+ debug: this.options.debug,
42938
+ onEnd: function(g) {
42939
+ if (i)
42940
+ if (g.status !== grpc$3.Code.OK) {
42941
+ var p = new Error(g.statusMessage);
42942
+ p.code = g.status, p.metadata = g.trailers, i(p, null);
42943
+ } else
42944
+ i(null, g.message);
42945
+ }
42946
+ });
42947
+ return {
42948
+ cancel: function() {
42949
+ i = null, u.close();
42950
+ }
42951
+ };
42952
+ };
42953
+ PowerSensorServiceClient.prototype.doCommand = function t(e, s, i) {
42954
+ arguments.length === 2 && (i = arguments[1]);
42955
+ var u = grpc$3.unary(PowerSensorService.DoCommand, {
42956
+ request: e,
42957
+ host: this.serviceHost,
42958
+ metadata: s,
42959
+ transport: this.options.transport,
42960
+ debug: this.options.debug,
42961
+ onEnd: function(g) {
42962
+ if (i)
42963
+ if (g.status !== grpc$3.Code.OK) {
42964
+ var p = new Error(g.statusMessage);
42965
+ p.code = g.status, p.metadata = g.trailers, i(p, null);
42966
+ } else
42967
+ i(null, g.message);
42968
+ }
42969
+ });
42970
+ return {
42971
+ cancel: function() {
42972
+ i = null, u.close();
42973
+ }
42974
+ };
42975
+ };
42976
+ var PowerSensorServiceClient_1 = PowerSensorServiceClient;
42977
+ class PowerSensorClient {
42978
+ client;
42979
+ name;
42980
+ options;
42981
+ constructor(e, s, i = {}) {
42982
+ this.client = e.createServiceClient(PowerSensorServiceClient_1), this.name = s, this.options = i;
42983
+ }
42984
+ get powersensorService() {
42985
+ return this.client;
42986
+ }
42987
+ async getVoltage(e = {}) {
42988
+ const { powersensorService: s } = this, i = new powersensor_pb.GetVoltageRequest();
42989
+ i.setName(this.name), i.setExtra(struct_pb.Struct.fromJavaScript(e)), this.options.requestLogger?.(i);
42990
+ const u = await promisify(s.getVoltage.bind(s), i);
42991
+ return [u.getVolts(), u.getIsAc()];
42992
+ }
42993
+ async getCurrent(e = {}) {
42994
+ const { powersensorService: s } = this, i = new powersensor_pb.GetCurrentRequest();
42995
+ i.setName(this.name), i.setExtra(struct_pb.Struct.fromJavaScript(e)), this.options.requestLogger?.(i);
42996
+ const u = await promisify(s.getCurrent.bind(s), i);
42997
+ return [u.getAmperes(), u.getIsAc()];
42998
+ }
42999
+ async getPower(e = {}) {
43000
+ const { powersensorService: s } = this, i = new powersensor_pb.GetPowerRequest();
43001
+ return i.setName(this.name), i.setExtra(struct_pb.Struct.fromJavaScript(e)), this.options.requestLogger?.(i), (await promisify(
43002
+ s.getPower.bind(s),
43003
+ i
43004
+ )).getWatts();
43005
+ }
43006
+ async getReadings(e = {}) {
43007
+ const s = {};
43008
+ try {
43009
+ [s.voltage, s.isAc] = await this.getVoltage(e);
43010
+ } catch (i) {
43011
+ if (!i.message.includes("Unimplemented"))
43012
+ throw i;
43013
+ }
43014
+ try {
43015
+ [s.current, s.isAc] = await this.getCurrent(e);
43016
+ } catch (i) {
43017
+ if (!i.message.includes("Unimplemented"))
43018
+ throw i;
43019
+ }
43020
+ try {
43021
+ s.power = await this.getPower(e);
43022
+ } catch (i) {
43023
+ if (!i.message.includes("Unimplemented"))
43024
+ throw i;
43025
+ }
43026
+ return s;
43027
+ }
43028
+ async doCommand(e) {
43029
+ const { powersensorService: s } = this;
43030
+ return doCommandFromClient(
43031
+ s,
43032
+ this.name,
43033
+ e,
43034
+ this.options
43035
+ );
43036
+ }
43037
+ }
43038
+ var sensor_pb = {};
43039
+ (function(t) {
43040
+ var e = googleProtobuf, s = e, i = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof i < "u" && i || typeof self < "u" && self || function() {
43041
+ return this;
43042
+ }.call(null) || Function("return this")(), u = common_pb;
43043
+ s.object.extend(proto, u);
43044
+ var g = annotations_pb;
43045
+ s.object.extend(proto, g);
43046
+ var p = struct_pb;
43047
+ s.object.extend(proto, p), s.exportSymbol("proto.viam.component.sensor.v1.GetReadingsRequest", null, i), s.exportSymbol("proto.viam.component.sensor.v1.GetReadingsResponse", null, i), proto.viam.component.sensor.v1.GetReadingsRequest = function(o) {
43048
+ e.Message.initialize(this, o, 0, -1, null, null);
43049
+ }, s.inherits(proto.viam.component.sensor.v1.GetReadingsRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.sensor.v1.GetReadingsRequest.displayName = "proto.viam.component.sensor.v1.GetReadingsRequest"), proto.viam.component.sensor.v1.GetReadingsResponse = function(o) {
43050
+ e.Message.initialize(this, o, 0, -1, null, null);
43051
+ }, s.inherits(proto.viam.component.sensor.v1.GetReadingsResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.sensor.v1.GetReadingsResponse.displayName = "proto.viam.component.sensor.v1.GetReadingsResponse"), e.Message.GENERATE_TO_OBJECT && (proto.viam.component.sensor.v1.GetReadingsRequest.prototype.toObject = function(o) {
43052
+ return proto.viam.component.sensor.v1.GetReadingsRequest.toObject(o, this);
43053
+ }, proto.viam.component.sensor.v1.GetReadingsRequest.toObject = function(o, r) {
43054
+ var n, l = {
43055
+ name: e.Message.getFieldWithDefault(r, 1, ""),
43056
+ extra: (n = r.getExtra()) && p.Struct.toObject(o, n)
43057
+ };
43058
+ return o && (l.$jspbMessageInstance = r), l;
43059
+ }), proto.viam.component.sensor.v1.GetReadingsRequest.deserializeBinary = function(o) {
43060
+ var r = new e.BinaryReader(o), n = new proto.viam.component.sensor.v1.GetReadingsRequest();
43061
+ return proto.viam.component.sensor.v1.GetReadingsRequest.deserializeBinaryFromReader(n, r);
43062
+ }, proto.viam.component.sensor.v1.GetReadingsRequest.deserializeBinaryFromReader = function(o, r) {
43063
+ for (; r.nextField() && !r.isEndGroup(); ) {
43064
+ var n = r.getFieldNumber();
43065
+ switch (n) {
43066
+ case 1:
43067
+ var l = (
43068
+ /** @type {string} */
43069
+ r.readString()
43070
+ );
43071
+ o.setName(l);
43072
+ break;
43073
+ case 99:
43074
+ var l = new p.Struct();
43075
+ r.readMessage(l, p.Struct.deserializeBinaryFromReader), o.setExtra(l);
43076
+ break;
43077
+ default:
43078
+ r.skipField();
43079
+ break;
43080
+ }
43081
+ }
43082
+ return o;
43083
+ }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.serializeBinary = function() {
43084
+ var o = new e.BinaryWriter();
43085
+ return proto.viam.component.sensor.v1.GetReadingsRequest.serializeBinaryToWriter(this, o), o.getResultBuffer();
43086
+ }, proto.viam.component.sensor.v1.GetReadingsRequest.serializeBinaryToWriter = function(o, r) {
43087
+ var n = void 0;
43088
+ n = o.getName(), n.length > 0 && r.writeString(
43089
+ 1,
43090
+ n
43091
+ ), n = o.getExtra(), n != null && r.writeMessage(
43092
+ 99,
43093
+ n,
43094
+ p.Struct.serializeBinaryToWriter
43095
+ );
43096
+ }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.getName = function() {
43097
+ return (
43098
+ /** @type {string} */
43099
+ e.Message.getFieldWithDefault(this, 1, "")
43100
+ );
43101
+ }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.setName = function(o) {
43102
+ return e.Message.setProto3StringField(this, 1, o);
43103
+ }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.getExtra = function() {
43104
+ return (
43105
+ /** @type{?proto.google.protobuf.Struct} */
43106
+ e.Message.getWrapperField(this, p.Struct, 99)
43107
+ );
43108
+ }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.setExtra = function(o) {
43109
+ return e.Message.setWrapperField(this, 99, o);
43110
+ }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.clearExtra = function() {
43111
+ return this.setExtra(void 0);
43112
+ }, proto.viam.component.sensor.v1.GetReadingsRequest.prototype.hasExtra = function() {
43113
+ return e.Message.getField(this, 99) != null;
43114
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.sensor.v1.GetReadingsResponse.prototype.toObject = function(o) {
43115
+ return proto.viam.component.sensor.v1.GetReadingsResponse.toObject(o, this);
43116
+ }, proto.viam.component.sensor.v1.GetReadingsResponse.toObject = function(o, r) {
43117
+ var n, l = {
43118
+ readingsMap: (n = r.getReadingsMap()) ? n.toObject(o, proto.google.protobuf.Value.toObject) : []
43119
+ };
43120
+ return o && (l.$jspbMessageInstance = r), l;
43121
+ }), proto.viam.component.sensor.v1.GetReadingsResponse.deserializeBinary = function(o) {
43122
+ var r = new e.BinaryReader(o), n = new proto.viam.component.sensor.v1.GetReadingsResponse();
43123
+ return proto.viam.component.sensor.v1.GetReadingsResponse.deserializeBinaryFromReader(n, r);
43124
+ }, proto.viam.component.sensor.v1.GetReadingsResponse.deserializeBinaryFromReader = function(o, r) {
43125
+ for (; r.nextField() && !r.isEndGroup(); ) {
43126
+ var n = r.getFieldNumber();
43127
+ switch (n) {
43128
+ case 1:
43129
+ var l = o.getReadingsMap();
43130
+ r.readMessage(l, function(c, m) {
43131
+ e.Map.deserializeBinary(c, m, e.BinaryReader.prototype.readString, e.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value());
43132
+ });
43133
+ break;
43134
+ default:
43135
+ r.skipField();
43136
+ break;
43137
+ }
43138
+ }
43139
+ return o;
43140
+ }, proto.viam.component.sensor.v1.GetReadingsResponse.prototype.serializeBinary = function() {
43141
+ var o = new e.BinaryWriter();
43142
+ return proto.viam.component.sensor.v1.GetReadingsResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
43143
+ }, proto.viam.component.sensor.v1.GetReadingsResponse.serializeBinaryToWriter = function(o, r) {
43144
+ var n = void 0;
43145
+ n = o.getReadingsMap(!0), n && n.getLength() > 0 && n.serializeBinary(1, r, e.BinaryWriter.prototype.writeString, e.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter);
43146
+ }, proto.viam.component.sensor.v1.GetReadingsResponse.prototype.getReadingsMap = function(o) {
43147
+ return (
43148
+ /** @type {!jspb.Map<string,!proto.google.protobuf.Value>} */
43149
+ e.Message.getMapField(
43150
+ this,
43151
+ 1,
43152
+ o,
43153
+ proto.google.protobuf.Value
43154
+ )
43155
+ );
43156
+ }, proto.viam.component.sensor.v1.GetReadingsResponse.prototype.clearReadingsMap = function() {
43157
+ return this.getReadingsMap().clear(), this;
43158
+ }, s.object.extend(t, proto.viam.component.sensor.v1);
43159
+ })(sensor_pb);
43160
+ var component_sensor_v1_sensor_pb = sensor_pb, common_v1_common_pb$1 = common_pb, grpc$2 = grpcWebClient_umdExports.grpc, SensorService = function() {
43161
+ function t() {
43162
+ }
43163
+ return t.serviceName = "viam.component.sensor.v1.SensorService", t;
43164
+ }();
43165
+ SensorService.GetReadings = {
43166
+ methodName: "GetReadings",
43167
+ service: SensorService,
43168
+ requestStream: !1,
43169
+ responseStream: !1,
43170
+ requestType: component_sensor_v1_sensor_pb.GetReadingsRequest,
43171
+ responseType: component_sensor_v1_sensor_pb.GetReadingsResponse
43172
+ };
43173
+ SensorService.DoCommand = {
43174
+ methodName: "DoCommand",
43175
+ service: SensorService,
43176
+ requestStream: !1,
43177
+ responseStream: !1,
43178
+ requestType: common_v1_common_pb$1.DoCommandRequest,
43179
+ responseType: common_v1_common_pb$1.DoCommandResponse
43180
+ };
43181
+ SensorService.GetGeometries = {
43182
+ methodName: "GetGeometries",
43183
+ service: SensorService,
43184
+ requestStream: !1,
43185
+ responseStream: !1,
43186
+ requestType: common_v1_common_pb$1.GetGeometriesRequest,
43187
+ responseType: common_v1_common_pb$1.GetGeometriesResponse
43188
+ };
43189
+ function SensorServiceClient(t, e) {
43190
+ this.serviceHost = t, this.options = e || {};
43191
+ }
43192
+ SensorServiceClient.prototype.getReadings = function t(e, s, i) {
43193
+ arguments.length === 2 && (i = arguments[1]);
43194
+ var u = grpc$2.unary(SensorService.GetReadings, {
43195
+ request: e,
43196
+ host: this.serviceHost,
43197
+ metadata: s,
43198
+ transport: this.options.transport,
43199
+ debug: this.options.debug,
43200
+ onEnd: function(g) {
43201
+ if (i)
43202
+ if (g.status !== grpc$2.Code.OK) {
43203
+ var p = new Error(g.statusMessage);
43204
+ p.code = g.status, p.metadata = g.trailers, i(p, null);
43205
+ } else
43206
+ i(null, g.message);
43207
+ }
43208
+ });
43209
+ return {
43210
+ cancel: function() {
43211
+ i = null, u.close();
43212
+ }
43213
+ };
43214
+ };
43215
+ SensorServiceClient.prototype.doCommand = function t(e, s, i) {
43216
+ arguments.length === 2 && (i = arguments[1]);
43217
+ var u = grpc$2.unary(SensorService.DoCommand, {
42647
43218
  request: e,
42648
43219
  host: this.serviceHost,
42649
43220
  metadata: s,
@@ -43077,6 +43648,27 @@ class StreamClient extends EventDispatcher {
43077
43648
  ), this.streams.delete(e);
43078
43649
  }
43079
43650
  }
43651
+ STREAM_TIMEOUT = 5e3;
43652
+ /**
43653
+ * Get a stream by name from a StreamClient. Will time out if stream is not
43654
+ * received within 5 seconds.
43655
+ *
43656
+ * @param name - The name of a camera component.
43657
+ */
43658
+ getStream = async (e) => {
43659
+ const s = new Promise((i, u) => {
43660
+ const g = (p) => {
43661
+ const [o] = p.streams;
43662
+ o ? o.id === e && (this.off("track", g), i(o)) : (this.off("track", g), u(new Error("Recieved track event with no streams")));
43663
+ };
43664
+ this.on("track", g), setTimeout(() => {
43665
+ this.off("track", g), u(
43666
+ new Error(`Did not receive a stream after ${this.STREAM_TIMEOUT} ms`)
43667
+ );
43668
+ }, this.STREAM_TIMEOUT);
43669
+ });
43670
+ return await this.add(e), s;
43671
+ };
43080
43672
  }
43081
43673
  class GripperClient {
43082
43674
  client;
@@ -43492,7 +44084,42 @@ class ServoClient {
43492
44084
  return doCommandFromClient(s, this.name, e, this.options);
43493
44085
  }
43494
44086
  }
43495
- const version = "0.2.5-next.0";
44087
+ class SlamClient {
44088
+ client;
44089
+ name;
44090
+ options;
44091
+ constructor(e, s, i = {}) {
44092
+ this.client = e.createServiceClient(SLAMServiceClient_1), this.name = s, this.options = i;
44093
+ }
44094
+ get service() {
44095
+ return this.client;
44096
+ }
44097
+ async getPosition() {
44098
+ const { service: e } = this, s = new slam_pb.GetPositionRequest();
44099
+ return s.setName(this.name), this.options.requestLogger?.(s), (await promisify(e.getPosition.bind(e), s)).toObject();
44100
+ }
44101
+ async getPointCloudMap() {
44102
+ const { service: e } = this, s = new slam_pb.GetPointCloudMapRequest();
44103
+ return s.setName(this.name), this.options.requestLogger?.(s), (await promisify(e.getPointCloudMap.bind(e), s)).getPointCloudPcdChunk_asU8();
44104
+ }
44105
+ async getInternalState() {
44106
+ const { service: e } = this, s = new slam_pb.GetInternalStateRequest();
44107
+ return s.setName(this.name), this.options.requestLogger?.(s), (await promisify(e.getInternalState.bind(e), s)).getInternalStateChunk_asU8();
44108
+ }
44109
+ async getLatestMapInfo() {
44110
+ const { service: e } = this, s = new slam_pb.GetLatestMapInfoRequest();
44111
+ s.setName(this.name), this.options.requestLogger?.(s);
44112
+ const u = (await promisify(e.getLatestMapInfo.bind(e), s)).getLastMapUpdate();
44113
+ if (!u)
44114
+ throw new Error("no map update");
44115
+ return new Date(u.getSeconds() * 1e3 + u.getNanos() / 1e6);
44116
+ }
44117
+ async doCommand(e) {
44118
+ const { service: s } = this;
44119
+ return doCommandFromClient(s, this.name, e, this.options);
44120
+ }
44121
+ }
44122
+ const version = "0.2.5-next.2";
43496
44123
  export {
43497
44124
  ArmClient,
43498
44125
  BaseClient,
@@ -43508,9 +44135,11 @@ export {
43508
44135
  MotorClient,
43509
44136
  MovementSensorClient,
43510
44137
  NavigationClient,
44138
+ PowerSensorClient,
43511
44139
  RobotClient,
43512
44140
  SensorClient,
43513
44141
  ServoClient,
44142
+ SlamClient,
43514
44143
  StreamClient,
43515
44144
  arm_pb as armApi,
43516
44145
  base_pb as baseApi,
@@ -43527,6 +44156,7 @@ export {
43527
44156
  motor_pb as motorApi,
43528
44157
  movementsensor_pb as movementSensorApi,
43529
44158
  navigation_pb as navigationApi,
44159
+ powersensor_pb as powerSensorApi,
43530
44160
  robot_pb as robotApi,
43531
44161
  sensor_pb as sensorApi,
43532
44162
  sensors_pb as sensorsApi,