@viamrobotics/sdk 0.0.31 → 0.0.33-alpha.1
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/gen/service/slam/v1/slam_pb.d.ts +0 -136
- package/dist/gen/service/slam/v1/slam_pb.esm.d.ts +0 -136
- package/dist/gen/service/slam/v1/slam_pb_service.d.ts +0 -41
- package/dist/gen/service/slam/v1/slam_pb_service.esm.d.ts +0 -41
- package/dist/main.es.js +104 -893
- package/dist/main.umd.js +4 -4
- package/dist/robot/Client.d.ts +100 -0
- package/dist/robot/Robot.d.ts +129 -0
- package/dist/robot/SessionManager.d.ts +19 -0
- package/dist/robot/SessionTransport.d.ts +14 -0
- package/dist/robot/dial.d.ts +27 -0
- package/package.json +2 -1
package/dist/main.es.js
CHANGED
|
@@ -30150,16 +30150,16 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30150
30150
|
case 0:
|
|
30151
30151
|
return _ = "", D = function() {
|
|
30152
30152
|
return p.__awaiter(j, void 0, void 0, function() {
|
|
30153
|
-
var T, P, x, X, M, O, B,
|
|
30153
|
+
var T, P, x, X, M, O, B, F, R, C;
|
|
30154
30154
|
return p.__generator(this, function(w) {
|
|
30155
30155
|
switch (w.label) {
|
|
30156
30156
|
case 0:
|
|
30157
|
-
return _ != "" ? [3, 5] : (T = "", E.accessToken && E.accessToken !== "" ? [3, 2] : ((B = new l.AuthenticateRequest()).setEntity(E.authEntity ? E.authEntity : v.replace(/^(.*:\/\/)/, "")), (X = new l.Credentials()).setType((
|
|
30157
|
+
return _ != "" ? [3, 5] : (T = "", E.accessToken && E.accessToken !== "" ? [3, 2] : ((B = new l.AuthenticateRequest()).setEntity(E.authEntity ? E.authEntity : v.replace(/^(.*:\/\/)/, "")), (X = new l.Credentials()).setType((R = E.credentials) === null || R === void 0 ? void 0 : R.type), X.setPayload((C = E.credentials) === null || C === void 0 ? void 0 : C.payload), B.setCredentials(X), O = new Promise(function(L, U) {
|
|
30158
30158
|
P = L, x = U;
|
|
30159
30159
|
}), t.grpc.invoke(u.AuthService.Authenticate, { request: B, host: E.externalAuthAddress ? E.externalAuthAddress : v, transport: S, onMessage: function(L) {
|
|
30160
30160
|
T = L.getAccessToken();
|
|
30161
30161
|
}, onEnd: function(L, U, k) {
|
|
30162
|
-
L == t.grpc.Code.OK ? P(
|
|
30162
|
+
L == t.grpc.Code.OK ? P(F) : x(U);
|
|
30163
30163
|
} }), [4, O]));
|
|
30164
30164
|
case 1:
|
|
30165
30165
|
return w.sent(), [3, 3];
|
|
@@ -30176,7 +30176,7 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30176
30176
|
case 4:
|
|
30177
30177
|
w.sent(), _ = T, w.label = 5;
|
|
30178
30178
|
case 5:
|
|
30179
|
-
return (
|
|
30179
|
+
return (F = new t.grpc.Metadata()).set("authorization", "Bearer ".concat(_)), [2, F];
|
|
30180
30180
|
}
|
|
30181
30181
|
});
|
|
30182
30182
|
});
|
|
@@ -30234,7 +30234,7 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30234
30234
|
e.dialWebRTC = function(v, S, E) {
|
|
30235
30235
|
var _, D, I, j, A, T, P;
|
|
30236
30236
|
return p.__awaiter(this, void 0, void 0, function() {
|
|
30237
|
-
var x, X, M, O, B,
|
|
30237
|
+
var x, X, M, O, B, F, R, C, w, L, U, k, N, G, H, Z, ee, re, se, ie, pe, ne, ge, ae, le = this;
|
|
30238
30238
|
return p.__generator(this, function($) {
|
|
30239
30239
|
switch ($.label) {
|
|
30240
30240
|
case 0:
|
|
@@ -30242,15 +30242,15 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30242
30242
|
case 1:
|
|
30243
30243
|
X = $.sent(), M = X.pc, O = X.dc, B = !1, $.label = 2;
|
|
30244
30244
|
case 2:
|
|
30245
|
-
return $.trys.push([2, , 9, 10]),
|
|
30245
|
+
return $.trys.push([2, , 9, 10]), F = E, E && (F = p.__assign({}, E), E.accessToken || (F.authEntity = (_ = E?.webrtcOptions) === null || _ === void 0 ? void 0 : _.signalingAuthEntity, F.authEntity || (F.externalAuthAddress ? F.authEntity = (D = E.externalAuthAddress) === null || D === void 0 ? void 0 : D.replace(/^(.*:\/\/)/, "") : F.authEntity = v.replace(/^(.*:\/\/)/, "")), F.credentials = (I = E?.webrtcOptions) === null || I === void 0 ? void 0 : I.signalingCredentials, F.accessToken = (j = E?.webrtcOptions) === null || j === void 0 ? void 0 : j.signalingAccessToken), F.externalAuthAddress = (A = E?.webrtcOptions) === null || A === void 0 ? void 0 : A.signalingExternalAuthAddress, F.externalAuthToEntity = (T = E?.webrtcOptions) === null || T === void 0 ? void 0 : T.signalingExternalAuthToEntity), [4, y(v, F)];
|
|
30246
30246
|
case 3:
|
|
30247
|
-
return
|
|
30247
|
+
return R = $.sent(), C = t.grpc.client(m.SignalingService.Call, { host: v, transport: R }), w = "", L = !1, U = function(V) {
|
|
30248
30248
|
if (!L) {
|
|
30249
30249
|
L = !0;
|
|
30250
30250
|
var W = new c.CallUpdateRequest();
|
|
30251
30251
|
W.setUuid(w);
|
|
30252
30252
|
var Y = new g.Status();
|
|
30253
|
-
Y.setCode(s.Code.UNKNOWN), Y.setMessage(V), W.setError(Y), t.grpc.unary(m.SignalingService.CallUpdate, { request: W, metadata: { "rpc-host": S }, host: v, transport:
|
|
30253
|
+
Y.setCode(s.Code.UNKNOWN), Y.setMessage(V), W.setError(Y), t.grpc.unary(m.SignalingService.CallUpdate, { request: W, metadata: { "rpc-host": S }, host: v, transport: R, onEnd: function(q) {
|
|
30254
30254
|
var z = q.status, K = q.statusMessage, Q = q.message;
|
|
30255
30255
|
z === t.grpc.Code.OK && Q || console.error(K);
|
|
30256
30256
|
} });
|
|
@@ -30259,7 +30259,7 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30259
30259
|
if (!L) {
|
|
30260
30260
|
L = !0;
|
|
30261
30261
|
var V = new c.CallUpdateRequest();
|
|
30262
|
-
V.setUuid(w), V.setDone(!0), t.grpc.unary(m.SignalingService.CallUpdate, { request: V, metadata: { "rpc-host": S }, host: v, transport:
|
|
30262
|
+
V.setUuid(w), V.setDone(!0), t.grpc.unary(m.SignalingService.CallUpdate, { request: V, metadata: { "rpc-host": S }, host: v, transport: R, onEnd: function(W) {
|
|
30263
30263
|
var Y = W.status, q = W.statusMessage, z = W.message;
|
|
30264
30264
|
Y === t.grpc.Code.OK && z || console.error(q);
|
|
30265
30265
|
} });
|
|
@@ -30276,7 +30276,7 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30276
30276
|
case 0:
|
|
30277
30277
|
return [4, G];
|
|
30278
30278
|
case 1:
|
|
30279
|
-
return q.sent(), H ? [2] : V.candidate === null ? (ee = !0, k(), [2]) : (z = V.candidate, (K = new c.ICECandidate()).setCandidate(z.candidate), z.sdpMid && K.setSdpMid(z.sdpMid), z.sdpMLineIndex && K.setSdpmLineIndex(z.sdpMLineIndex), z.usernameFragment && K.setUsernameFragment(z.usernameFragment), W = K, (Y = new c.CallUpdateRequest()).setUuid(w), Y.setCandidate(W), t.grpc.unary(m.SignalingService.CallUpdate, { request: Y, metadata: { "rpc-host": S }, host: v, transport:
|
|
30279
|
+
return q.sent(), H ? [2] : V.candidate === null ? (ee = !0, k(), [2]) : (z = V.candidate, (K = new c.ICECandidate()).setCandidate(z.candidate), z.sdpMid && K.setSdpMid(z.sdpMid), z.sdpMLineIndex && K.setSdpmLineIndex(z.sdpMLineIndex), z.usernameFragment && K.setUsernameFragment(z.usernameFragment), W = K, (Y = new c.CallUpdateRequest()).setUuid(w), Y.setCandidate(W), t.grpc.unary(m.SignalingService.CallUpdate, { request: Y, metadata: { "rpc-host": S }, host: v, transport: R, onEnd: function(Q) {
|
|
30280
30280
|
var oe = Q.status, J = Q.statusMessage, te = Q.message;
|
|
30281
30281
|
oe === t.grpc.Code.OK && te || H || ee || console.error("error sending candidate", J);
|
|
30282
30282
|
} }), [2]);
|
|
@@ -30437,11 +30437,11 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30437
30437
|
}, 655: (o, e, r) => {
|
|
30438
30438
|
r.r(e), r.d(e, { __assign: () => n, __asyncDelegator: () => _, __asyncGenerator: () => E, __asyncValues: () => D, __await: () => S, __awaiter: () => u, __classPrivateFieldGet: () => P, __classPrivateFieldIn: () => X, __classPrivateFieldSet: () => x, __createBinding: () => m, __decorate: () => s, __exportStar: () => h, __extends: () => t, __generator: () => c, __importDefault: () => T, __importStar: () => A, __makeTemplateObject: () => I, __metadata: () => l, __param: () => g, __read: () => f, __rest: () => i, __spread: () => d, __spreadArray: () => v, __spreadArrays: () => b, __values: () => y });
|
|
30439
30439
|
var p = function(M, O) {
|
|
30440
|
-
return p = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(B,
|
|
30441
|
-
B.__proto__ =
|
|
30442
|
-
} || function(B,
|
|
30443
|
-
for (var
|
|
30444
|
-
Object.prototype.hasOwnProperty.call(
|
|
30440
|
+
return p = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(B, F) {
|
|
30441
|
+
B.__proto__ = F;
|
|
30442
|
+
} || function(B, F) {
|
|
30443
|
+
for (var R in F)
|
|
30444
|
+
Object.prototype.hasOwnProperty.call(F, R) && (B[R] = F[R]);
|
|
30445
30445
|
}, p(M, O);
|
|
30446
30446
|
};
|
|
30447
30447
|
function t(M, O) {
|
|
@@ -30454,71 +30454,71 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30454
30454
|
}
|
|
30455
30455
|
var n = function() {
|
|
30456
30456
|
return n = Object.assign || function(M) {
|
|
30457
|
-
for (var O, B = 1,
|
|
30458
|
-
for (var
|
|
30459
|
-
Object.prototype.hasOwnProperty.call(O,
|
|
30457
|
+
for (var O, B = 1, F = arguments.length; B < F; B++)
|
|
30458
|
+
for (var R in O = arguments[B])
|
|
30459
|
+
Object.prototype.hasOwnProperty.call(O, R) && (M[R] = O[R]);
|
|
30460
30460
|
return M;
|
|
30461
30461
|
}, n.apply(this, arguments);
|
|
30462
30462
|
};
|
|
30463
30463
|
function i(M, O) {
|
|
30464
30464
|
var B = {};
|
|
30465
|
-
for (var
|
|
30466
|
-
Object.prototype.hasOwnProperty.call(M,
|
|
30465
|
+
for (var F in M)
|
|
30466
|
+
Object.prototype.hasOwnProperty.call(M, F) && O.indexOf(F) < 0 && (B[F] = M[F]);
|
|
30467
30467
|
if (M != null && typeof Object.getOwnPropertySymbols == "function") {
|
|
30468
|
-
var
|
|
30469
|
-
for (
|
|
30470
|
-
O.indexOf(R
|
|
30468
|
+
var R = 0;
|
|
30469
|
+
for (F = Object.getOwnPropertySymbols(M); R < F.length; R++)
|
|
30470
|
+
O.indexOf(F[R]) < 0 && Object.prototype.propertyIsEnumerable.call(M, F[R]) && (B[F[R]] = M[F[R]]);
|
|
30471
30471
|
}
|
|
30472
30472
|
return B;
|
|
30473
30473
|
}
|
|
30474
|
-
function s(M, O, B,
|
|
30475
|
-
var
|
|
30474
|
+
function s(M, O, B, F) {
|
|
30475
|
+
var R, C = arguments.length, w = C < 3 ? O : F === null ? F = Object.getOwnPropertyDescriptor(O, B) : F;
|
|
30476
30476
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
30477
|
-
w = Reflect.decorate(M, O, B,
|
|
30477
|
+
w = Reflect.decorate(M, O, B, F);
|
|
30478
30478
|
else
|
|
30479
30479
|
for (var L = M.length - 1; L >= 0; L--)
|
|
30480
|
-
(
|
|
30480
|
+
(R = M[L]) && (w = (C < 3 ? R(w) : C > 3 ? R(O, B, w) : R(O, B)) || w);
|
|
30481
30481
|
return C > 3 && w && Object.defineProperty(O, B, w), w;
|
|
30482
30482
|
}
|
|
30483
30483
|
function g(M, O) {
|
|
30484
|
-
return function(B,
|
|
30485
|
-
O(B,
|
|
30484
|
+
return function(B, F) {
|
|
30485
|
+
O(B, F, M);
|
|
30486
30486
|
};
|
|
30487
30487
|
}
|
|
30488
30488
|
function l(M, O) {
|
|
30489
30489
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
|
|
30490
30490
|
return Reflect.metadata(M, O);
|
|
30491
30491
|
}
|
|
30492
|
-
function u(M, O, B,
|
|
30493
|
-
return new (B || (B = Promise))(function(
|
|
30492
|
+
function u(M, O, B, F) {
|
|
30493
|
+
return new (B || (B = Promise))(function(R, C) {
|
|
30494
30494
|
function w(k) {
|
|
30495
30495
|
try {
|
|
30496
|
-
U(
|
|
30496
|
+
U(F.next(k));
|
|
30497
30497
|
} catch (N) {
|
|
30498
30498
|
C(N);
|
|
30499
30499
|
}
|
|
30500
30500
|
}
|
|
30501
30501
|
function L(k) {
|
|
30502
30502
|
try {
|
|
30503
|
-
U(
|
|
30503
|
+
U(F.throw(k));
|
|
30504
30504
|
} catch (N) {
|
|
30505
30505
|
C(N);
|
|
30506
30506
|
}
|
|
30507
30507
|
}
|
|
30508
30508
|
function U(k) {
|
|
30509
30509
|
var N;
|
|
30510
|
-
k.done ?
|
|
30510
|
+
k.done ? R(k.value) : (N = k.value, N instanceof B ? N : new B(function(G) {
|
|
30511
30511
|
G(N);
|
|
30512
30512
|
})).then(w, L);
|
|
30513
30513
|
}
|
|
30514
|
-
U((
|
|
30514
|
+
U((F = F.apply(M, O || [])).next());
|
|
30515
30515
|
});
|
|
30516
30516
|
}
|
|
30517
30517
|
function c(M, O) {
|
|
30518
|
-
var B,
|
|
30519
|
-
if (1 &
|
|
30520
|
-
throw
|
|
30521
|
-
return
|
|
30518
|
+
var B, F, R, C, w = { label: 0, sent: function() {
|
|
30519
|
+
if (1 & R[0])
|
|
30520
|
+
throw R[1];
|
|
30521
|
+
return R[1];
|
|
30522
30522
|
}, trys: [], ops: [] };
|
|
30523
30523
|
return C = { next: L(0), throw: L(1), return: L(2) }, typeof Symbol == "function" && (C[Symbol.iterator] = function() {
|
|
30524
30524
|
return this;
|
|
@@ -30530,46 +30530,46 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30530
30530
|
throw new TypeError("Generator is already executing.");
|
|
30531
30531
|
for (; C && (C = 0, N[0] && (w = 0)), w; )
|
|
30532
30532
|
try {
|
|
30533
|
-
if (B = 1,
|
|
30534
|
-
return
|
|
30535
|
-
switch (
|
|
30533
|
+
if (B = 1, F && (R = 2 & N[0] ? F.return : N[0] ? F.throw || ((R = F.return) && R.call(F), 0) : F.next) && !(R = R.call(F, N[1])).done)
|
|
30534
|
+
return R;
|
|
30535
|
+
switch (F = 0, R && (N = [2 & N[0], R.value]), N[0]) {
|
|
30536
30536
|
case 0:
|
|
30537
30537
|
case 1:
|
|
30538
|
-
|
|
30538
|
+
R = N;
|
|
30539
30539
|
break;
|
|
30540
30540
|
case 4:
|
|
30541
30541
|
return w.label++, { value: N[1], done: !1 };
|
|
30542
30542
|
case 5:
|
|
30543
|
-
w.label++,
|
|
30543
|
+
w.label++, F = N[1], N = [0];
|
|
30544
30544
|
continue;
|
|
30545
30545
|
case 7:
|
|
30546
30546
|
N = w.ops.pop(), w.trys.pop();
|
|
30547
30547
|
continue;
|
|
30548
30548
|
default:
|
|
30549
|
-
if (!((
|
|
30549
|
+
if (!((R = (R = w.trys).length > 0 && R[R.length - 1]) || N[0] !== 6 && N[0] !== 2)) {
|
|
30550
30550
|
w = 0;
|
|
30551
30551
|
continue;
|
|
30552
30552
|
}
|
|
30553
|
-
if (N[0] === 3 && (!
|
|
30553
|
+
if (N[0] === 3 && (!R || N[1] > R[0] && N[1] < R[3])) {
|
|
30554
30554
|
w.label = N[1];
|
|
30555
30555
|
break;
|
|
30556
30556
|
}
|
|
30557
|
-
if (N[0] === 6 && w.label <
|
|
30558
|
-
w.label =
|
|
30557
|
+
if (N[0] === 6 && w.label < R[1]) {
|
|
30558
|
+
w.label = R[1], R = N;
|
|
30559
30559
|
break;
|
|
30560
30560
|
}
|
|
30561
|
-
if (
|
|
30562
|
-
w.label =
|
|
30561
|
+
if (R && w.label < R[2]) {
|
|
30562
|
+
w.label = R[2], w.ops.push(N);
|
|
30563
30563
|
break;
|
|
30564
30564
|
}
|
|
30565
|
-
|
|
30565
|
+
R[2] && w.ops.pop(), w.trys.pop();
|
|
30566
30566
|
continue;
|
|
30567
30567
|
}
|
|
30568
30568
|
N = O.call(M, w);
|
|
30569
30569
|
} catch (G) {
|
|
30570
|
-
N = [6, G],
|
|
30570
|
+
N = [6, G], F = 0;
|
|
30571
30571
|
} finally {
|
|
30572
|
-
B =
|
|
30572
|
+
B = R = 0;
|
|
30573
30573
|
}
|
|
30574
30574
|
if (5 & N[0])
|
|
30575
30575
|
throw N[1];
|
|
@@ -30578,26 +30578,26 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30578
30578
|
};
|
|
30579
30579
|
}
|
|
30580
30580
|
}
|
|
30581
|
-
var m = Object.create ? function(M, O, B,
|
|
30582
|
-
|
|
30583
|
-
var
|
|
30584
|
-
|
|
30581
|
+
var m = Object.create ? function(M, O, B, F) {
|
|
30582
|
+
F === void 0 && (F = B);
|
|
30583
|
+
var R = Object.getOwnPropertyDescriptor(O, B);
|
|
30584
|
+
R && !("get" in R ? !O.__esModule : R.writable || R.configurable) || (R = { enumerable: !0, get: function() {
|
|
30585
30585
|
return O[B];
|
|
30586
|
-
} }), Object.defineProperty(M,
|
|
30587
|
-
} : function(M, O, B,
|
|
30588
|
-
|
|
30586
|
+
} }), Object.defineProperty(M, F, R);
|
|
30587
|
+
} : function(M, O, B, F) {
|
|
30588
|
+
F === void 0 && (F = B), M[F] = O[B];
|
|
30589
30589
|
};
|
|
30590
30590
|
function h(M, O) {
|
|
30591
30591
|
for (var B in M)
|
|
30592
30592
|
B === "default" || Object.prototype.hasOwnProperty.call(O, B) || m(O, M, B);
|
|
30593
30593
|
}
|
|
30594
30594
|
function y(M) {
|
|
30595
|
-
var O = typeof Symbol == "function" && Symbol.iterator, B = O && M[O],
|
|
30595
|
+
var O = typeof Symbol == "function" && Symbol.iterator, B = O && M[O], F = 0;
|
|
30596
30596
|
if (B)
|
|
30597
30597
|
return B.call(M);
|
|
30598
30598
|
if (M && typeof M.length == "number")
|
|
30599
30599
|
return { next: function() {
|
|
30600
|
-
return M &&
|
|
30600
|
+
return M && F >= M.length && (M = void 0), { value: M && M[F++], done: !M };
|
|
30601
30601
|
} };
|
|
30602
30602
|
throw new TypeError(O ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
30603
30603
|
}
|
|
@@ -30605,18 +30605,18 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30605
30605
|
var B = typeof Symbol == "function" && M[Symbol.iterator];
|
|
30606
30606
|
if (!B)
|
|
30607
30607
|
return M;
|
|
30608
|
-
var
|
|
30608
|
+
var F, R, C = B.call(M), w = [];
|
|
30609
30609
|
try {
|
|
30610
|
-
for (; (O === void 0 || O-- > 0) && !(
|
|
30611
|
-
w.push(
|
|
30610
|
+
for (; (O === void 0 || O-- > 0) && !(F = C.next()).done; )
|
|
30611
|
+
w.push(F.value);
|
|
30612
30612
|
} catch (L) {
|
|
30613
|
-
|
|
30613
|
+
R = { error: L };
|
|
30614
30614
|
} finally {
|
|
30615
30615
|
try {
|
|
30616
|
-
|
|
30616
|
+
F && !F.done && (B = C.return) && B.call(C);
|
|
30617
30617
|
} finally {
|
|
30618
|
-
if (
|
|
30619
|
-
throw
|
|
30618
|
+
if (R)
|
|
30619
|
+
throw R.error;
|
|
30620
30620
|
}
|
|
30621
30621
|
}
|
|
30622
30622
|
return w;
|
|
@@ -30629,17 +30629,17 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30629
30629
|
function b() {
|
|
30630
30630
|
for (var M = 0, O = 0, B = arguments.length; O < B; O++)
|
|
30631
30631
|
M += arguments[O].length;
|
|
30632
|
-
var
|
|
30632
|
+
var F = Array(M), R = 0;
|
|
30633
30633
|
for (O = 0; O < B; O++)
|
|
30634
|
-
for (var C = arguments[O], w = 0, L = C.length; w < L; w++,
|
|
30635
|
-
R
|
|
30636
|
-
return
|
|
30634
|
+
for (var C = arguments[O], w = 0, L = C.length; w < L; w++, R++)
|
|
30635
|
+
F[R] = C[w];
|
|
30636
|
+
return F;
|
|
30637
30637
|
}
|
|
30638
30638
|
function v(M, O, B) {
|
|
30639
30639
|
if (B || arguments.length === 2)
|
|
30640
|
-
for (var
|
|
30641
|
-
!
|
|
30642
|
-
return M.concat(
|
|
30640
|
+
for (var F, R = 0, C = O.length; R < C; R++)
|
|
30641
|
+
!F && R in O || (F || (F = Array.prototype.slice.call(O, 0, R)), F[R] = O[R]);
|
|
30642
|
+
return M.concat(F || Array.prototype.slice.call(O));
|
|
30643
30643
|
}
|
|
30644
30644
|
function S(M) {
|
|
30645
30645
|
return this instanceof S ? (this.v = M, this) : new S(M);
|
|
@@ -30647,12 +30647,12 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30647
30647
|
function E(M, O, B) {
|
|
30648
30648
|
if (!Symbol.asyncIterator)
|
|
30649
30649
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
30650
|
-
var
|
|
30651
|
-
return
|
|
30650
|
+
var F, R = B.apply(M, O || []), C = [];
|
|
30651
|
+
return F = {}, w("next"), w("throw"), w("return"), F[Symbol.asyncIterator] = function() {
|
|
30652
30652
|
return this;
|
|
30653
|
-
},
|
|
30653
|
+
}, F;
|
|
30654
30654
|
function w(G) {
|
|
30655
|
-
|
|
30655
|
+
R[G] && (F[G] = function(H) {
|
|
30656
30656
|
return new Promise(function(Z, ee) {
|
|
30657
30657
|
C.push([G, H, Z, ee]) > 1 || L(G, H);
|
|
30658
30658
|
});
|
|
@@ -30660,7 +30660,7 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30660
30660
|
}
|
|
30661
30661
|
function L(G, H) {
|
|
30662
30662
|
try {
|
|
30663
|
-
(Z =
|
|
30663
|
+
(Z = R[G](H)).value instanceof S ? Promise.resolve(Z.value.v).then(U, k) : N(C[0][2], Z);
|
|
30664
30664
|
} catch (ee) {
|
|
30665
30665
|
N(C[0][3], ee);
|
|
30666
30666
|
}
|
|
@@ -30678,14 +30678,14 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30678
30678
|
}
|
|
30679
30679
|
function _(M) {
|
|
30680
30680
|
var O, B;
|
|
30681
|
-
return O = {},
|
|
30682
|
-
throw
|
|
30683
|
-
}),
|
|
30681
|
+
return O = {}, F("next"), F("throw", function(R) {
|
|
30682
|
+
throw R;
|
|
30683
|
+
}), F("return"), O[Symbol.iterator] = function() {
|
|
30684
30684
|
return this;
|
|
30685
30685
|
}, O;
|
|
30686
|
-
function R
|
|
30687
|
-
O[
|
|
30688
|
-
return (B = !B) ? { value: S(M[
|
|
30686
|
+
function F(R, C) {
|
|
30687
|
+
O[R] = M[R] ? function(w) {
|
|
30688
|
+
return (B = !B) ? { value: S(M[R](w)), done: R === "return" } : C ? C(w) : w;
|
|
30689
30689
|
} : C;
|
|
30690
30690
|
}
|
|
30691
30691
|
}
|
|
@@ -30693,17 +30693,17 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30693
30693
|
if (!Symbol.asyncIterator)
|
|
30694
30694
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
30695
30695
|
var O, B = M[Symbol.asyncIterator];
|
|
30696
|
-
return B ? B.call(M) : (M = y(M), O = {},
|
|
30696
|
+
return B ? B.call(M) : (M = y(M), O = {}, F("next"), F("throw"), F("return"), O[Symbol.asyncIterator] = function() {
|
|
30697
30697
|
return this;
|
|
30698
30698
|
}, O);
|
|
30699
|
-
function R
|
|
30700
|
-
O[
|
|
30699
|
+
function F(R) {
|
|
30700
|
+
O[R] = M[R] && function(C) {
|
|
30701
30701
|
return new Promise(function(w, L) {
|
|
30702
30702
|
(function(U, k, N, G) {
|
|
30703
30703
|
Promise.resolve(G).then(function(H) {
|
|
30704
30704
|
U({ value: H, done: N });
|
|
30705
30705
|
}, k);
|
|
30706
|
-
})(w, L, (C = M[
|
|
30706
|
+
})(w, L, (C = M[R](C)).done, C.value);
|
|
30707
30707
|
});
|
|
30708
30708
|
};
|
|
30709
30709
|
}
|
|
@@ -30728,21 +30728,21 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30728
30728
|
function T(M) {
|
|
30729
30729
|
return M && M.__esModule ? M : { default: M };
|
|
30730
30730
|
}
|
|
30731
|
-
function P(M, O, B,
|
|
30732
|
-
if (B === "a" && !
|
|
30731
|
+
function P(M, O, B, F) {
|
|
30732
|
+
if (B === "a" && !F)
|
|
30733
30733
|
throw new TypeError("Private accessor was defined without a getter");
|
|
30734
|
-
if (typeof O == "function" ? M !== O || !
|
|
30734
|
+
if (typeof O == "function" ? M !== O || !F : !O.has(M))
|
|
30735
30735
|
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
30736
|
-
return B === "m" ?
|
|
30736
|
+
return B === "m" ? F : B === "a" ? F.call(M) : F ? F.value : O.get(M);
|
|
30737
30737
|
}
|
|
30738
|
-
function x(M, O, B,
|
|
30739
|
-
if (
|
|
30738
|
+
function x(M, O, B, F, R) {
|
|
30739
|
+
if (F === "m")
|
|
30740
30740
|
throw new TypeError("Private method is not writable");
|
|
30741
|
-
if (
|
|
30741
|
+
if (F === "a" && !R)
|
|
30742
30742
|
throw new TypeError("Private accessor was defined without a setter");
|
|
30743
|
-
if (typeof O == "function" ? M !== O || !
|
|
30743
|
+
if (typeof O == "function" ? M !== O || !R : !O.has(M))
|
|
30744
30744
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
30745
|
-
return
|
|
30745
|
+
return F === "a" ? R.call(M, B) : R ? R.value = B : O.set(M, B), B;
|
|
30746
30746
|
}
|
|
30747
30747
|
function X(M, O) {
|
|
30748
30748
|
if (O === null || typeof O != "object" && typeof O != "function")
|
|
@@ -187542,7 +187542,7 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187542
187542
|
var n = annotations_pb$m;
|
|
187543
187543
|
r.object.extend(proto, n);
|
|
187544
187544
|
var i = struct_pb$n;
|
|
187545
|
-
r.object.extend(proto, i), r.exportSymbol("proto.viam.service.slam.v1.GetInternalStateRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetInternalStateResponse", null, p), r.exportSymbol("proto.viam.service.slam.v1.
|
|
187545
|
+
r.object.extend(proto, i), r.exportSymbol("proto.viam.service.slam.v1.GetInternalStateRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetInternalStateResponse", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPointCloudMapRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPointCloudMapResponse", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPositionRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPositionResponse", null, p), proto.viam.service.slam.v1.GetPositionRequest = function(s) {
|
|
187546
187546
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187547
187547
|
}, r.inherits(proto.viam.service.slam.v1.GetPositionRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPositionRequest.displayName = "proto.viam.service.slam.v1.GetPositionRequest"), proto.viam.service.slam.v1.GetPositionResponse = function(s) {
|
|
187548
187548
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
@@ -187554,19 +187554,7 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187554
187554
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187555
187555
|
}, r.inherits(proto.viam.service.slam.v1.GetInternalStateRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetInternalStateRequest.displayName = "proto.viam.service.slam.v1.GetInternalStateRequest"), proto.viam.service.slam.v1.GetInternalStateResponse = function(s) {
|
|
187556
187556
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187557
|
-
}, r.inherits(proto.viam.service.slam.v1.GetInternalStateResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetInternalStateResponse.displayName = "proto.viam.service.slam.v1.GetInternalStateResponse"), proto.viam.service.slam.v1.
|
|
187558
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187559
|
-
}, r.inherits(proto.viam.service.slam.v1.GetPositionNewRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPositionNewRequest.displayName = "proto.viam.service.slam.v1.GetPositionNewRequest"), proto.viam.service.slam.v1.GetPositionNewResponse = function(s) {
|
|
187560
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187561
|
-
}, r.inherits(proto.viam.service.slam.v1.GetPositionNewResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPositionNewResponse.displayName = "proto.viam.service.slam.v1.GetPositionNewResponse"), proto.viam.service.slam.v1.GetPointCloudMapStreamRequest = function(s) {
|
|
187562
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187563
|
-
}, r.inherits(proto.viam.service.slam.v1.GetPointCloudMapStreamRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.displayName = "proto.viam.service.slam.v1.GetPointCloudMapStreamRequest"), proto.viam.service.slam.v1.GetPointCloudMapStreamResponse = function(s) {
|
|
187564
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187565
|
-
}, r.inherits(proto.viam.service.slam.v1.GetPointCloudMapStreamResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.displayName = "proto.viam.service.slam.v1.GetPointCloudMapStreamResponse"), proto.viam.service.slam.v1.GetInternalStateStreamRequest = function(s) {
|
|
187566
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187567
|
-
}, r.inherits(proto.viam.service.slam.v1.GetInternalStateStreamRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetInternalStateStreamRequest.displayName = "proto.viam.service.slam.v1.GetInternalStateStreamRequest"), proto.viam.service.slam.v1.GetInternalStateStreamResponse = function(s) {
|
|
187568
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187569
|
-
}, r.inherits(proto.viam.service.slam.v1.GetInternalStateStreamResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetInternalStateStreamResponse.displayName = "proto.viam.service.slam.v1.GetInternalStateStreamResponse"), e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionRequest.prototype.toObject = function(s) {
|
|
187557
|
+
}, r.inherits(proto.viam.service.slam.v1.GetInternalStateResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetInternalStateResponse.displayName = "proto.viam.service.slam.v1.GetInternalStateResponse"), e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionRequest.prototype.toObject = function(s) {
|
|
187570
187558
|
return proto.viam.service.slam.v1.GetPositionRequest.toObject(s, this);
|
|
187571
187559
|
}, proto.viam.service.slam.v1.GetPositionRequest.toObject = function(s, g) {
|
|
187572
187560
|
var l = {
|
|
@@ -187892,332 +187880,6 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187892
187880
|
);
|
|
187893
187881
|
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.setInternalStateChunk = function(s) {
|
|
187894
187882
|
return e.Message.setProto3BytesField(this, 1, s);
|
|
187895
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionNewRequest.prototype.toObject = function(s) {
|
|
187896
|
-
return proto.viam.service.slam.v1.GetPositionNewRequest.toObject(s, this);
|
|
187897
|
-
}, proto.viam.service.slam.v1.GetPositionNewRequest.toObject = function(s, g) {
|
|
187898
|
-
var l = {
|
|
187899
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
187900
|
-
};
|
|
187901
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
187902
|
-
}), proto.viam.service.slam.v1.GetPositionNewRequest.deserializeBinary = function(s) {
|
|
187903
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPositionNewRequest();
|
|
187904
|
-
return proto.viam.service.slam.v1.GetPositionNewRequest.deserializeBinaryFromReader(l, g);
|
|
187905
|
-
}, proto.viam.service.slam.v1.GetPositionNewRequest.deserializeBinaryFromReader = function(s, g) {
|
|
187906
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
187907
|
-
var l = g.getFieldNumber();
|
|
187908
|
-
switch (l) {
|
|
187909
|
-
case 1:
|
|
187910
|
-
var u = (
|
|
187911
|
-
/** @type {string} */
|
|
187912
|
-
g.readString()
|
|
187913
|
-
);
|
|
187914
|
-
s.setName(u);
|
|
187915
|
-
break;
|
|
187916
|
-
default:
|
|
187917
|
-
g.skipField();
|
|
187918
|
-
break;
|
|
187919
|
-
}
|
|
187920
|
-
}
|
|
187921
|
-
return s;
|
|
187922
|
-
}, proto.viam.service.slam.v1.GetPositionNewRequest.prototype.serializeBinary = function() {
|
|
187923
|
-
var s = new e.BinaryWriter();
|
|
187924
|
-
return proto.viam.service.slam.v1.GetPositionNewRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
187925
|
-
}, proto.viam.service.slam.v1.GetPositionNewRequest.serializeBinaryToWriter = function(s, g) {
|
|
187926
|
-
var l = void 0;
|
|
187927
|
-
l = s.getName(), l.length > 0 && g.writeString(
|
|
187928
|
-
1,
|
|
187929
|
-
l
|
|
187930
|
-
);
|
|
187931
|
-
}, proto.viam.service.slam.v1.GetPositionNewRequest.prototype.getName = function() {
|
|
187932
|
-
return (
|
|
187933
|
-
/** @type {string} */
|
|
187934
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
187935
|
-
);
|
|
187936
|
-
}, proto.viam.service.slam.v1.GetPositionNewRequest.prototype.setName = function(s) {
|
|
187937
|
-
return e.Message.setProto3StringField(this, 1, s);
|
|
187938
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionNewResponse.prototype.toObject = function(s) {
|
|
187939
|
-
return proto.viam.service.slam.v1.GetPositionNewResponse.toObject(s, this);
|
|
187940
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.toObject = function(s, g) {
|
|
187941
|
-
var l, u = {
|
|
187942
|
-
pose: (l = g.getPose()) && t.Pose.toObject(s, l),
|
|
187943
|
-
componentReference: e.Message.getFieldWithDefault(g, 2, ""),
|
|
187944
|
-
extra: (l = g.getExtra()) && i.Struct.toObject(s, l)
|
|
187945
|
-
};
|
|
187946
|
-
return s && (u.$jspbMessageInstance = g), u;
|
|
187947
|
-
}), proto.viam.service.slam.v1.GetPositionNewResponse.deserializeBinary = function(s) {
|
|
187948
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPositionNewResponse();
|
|
187949
|
-
return proto.viam.service.slam.v1.GetPositionNewResponse.deserializeBinaryFromReader(l, g);
|
|
187950
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.deserializeBinaryFromReader = function(s, g) {
|
|
187951
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
187952
|
-
var l = g.getFieldNumber();
|
|
187953
|
-
switch (l) {
|
|
187954
|
-
case 1:
|
|
187955
|
-
var u = new t.Pose();
|
|
187956
|
-
g.readMessage(u, t.Pose.deserializeBinaryFromReader), s.setPose(u);
|
|
187957
|
-
break;
|
|
187958
|
-
case 2:
|
|
187959
|
-
var u = (
|
|
187960
|
-
/** @type {string} */
|
|
187961
|
-
g.readString()
|
|
187962
|
-
);
|
|
187963
|
-
s.setComponentReference(u);
|
|
187964
|
-
break;
|
|
187965
|
-
case 99:
|
|
187966
|
-
var u = new i.Struct();
|
|
187967
|
-
g.readMessage(u, i.Struct.deserializeBinaryFromReader), s.setExtra(u);
|
|
187968
|
-
break;
|
|
187969
|
-
default:
|
|
187970
|
-
g.skipField();
|
|
187971
|
-
break;
|
|
187972
|
-
}
|
|
187973
|
-
}
|
|
187974
|
-
return s;
|
|
187975
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.serializeBinary = function() {
|
|
187976
|
-
var s = new e.BinaryWriter();
|
|
187977
|
-
return proto.viam.service.slam.v1.GetPositionNewResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
187978
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.serializeBinaryToWriter = function(s, g) {
|
|
187979
|
-
var l = void 0;
|
|
187980
|
-
l = s.getPose(), l != null && g.writeMessage(
|
|
187981
|
-
1,
|
|
187982
|
-
l,
|
|
187983
|
-
t.Pose.serializeBinaryToWriter
|
|
187984
|
-
), l = s.getComponentReference(), l.length > 0 && g.writeString(
|
|
187985
|
-
2,
|
|
187986
|
-
l
|
|
187987
|
-
), l = s.getExtra(), l != null && g.writeMessage(
|
|
187988
|
-
99,
|
|
187989
|
-
l,
|
|
187990
|
-
i.Struct.serializeBinaryToWriter
|
|
187991
|
-
);
|
|
187992
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.getPose = function() {
|
|
187993
|
-
return (
|
|
187994
|
-
/** @type{?proto.viam.common.v1.Pose} */
|
|
187995
|
-
e.Message.getWrapperField(this, t.Pose, 1)
|
|
187996
|
-
);
|
|
187997
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.setPose = function(s) {
|
|
187998
|
-
return e.Message.setWrapperField(this, 1, s);
|
|
187999
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.clearPose = function() {
|
|
188000
|
-
return this.setPose(void 0);
|
|
188001
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.hasPose = function() {
|
|
188002
|
-
return e.Message.getField(this, 1) != null;
|
|
188003
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.getComponentReference = function() {
|
|
188004
|
-
return (
|
|
188005
|
-
/** @type {string} */
|
|
188006
|
-
e.Message.getFieldWithDefault(this, 2, "")
|
|
188007
|
-
);
|
|
188008
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.setComponentReference = function(s) {
|
|
188009
|
-
return e.Message.setProto3StringField(this, 2, s);
|
|
188010
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.getExtra = function() {
|
|
188011
|
-
return (
|
|
188012
|
-
/** @type{?proto.google.protobuf.Struct} */
|
|
188013
|
-
e.Message.getWrapperField(this, i.Struct, 99)
|
|
188014
|
-
);
|
|
188015
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.setExtra = function(s) {
|
|
188016
|
-
return e.Message.setWrapperField(this, 99, s);
|
|
188017
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.clearExtra = function() {
|
|
188018
|
-
return this.setExtra(void 0);
|
|
188019
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.hasExtra = function() {
|
|
188020
|
-
return e.Message.getField(this, 99) != null;
|
|
188021
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.prototype.toObject = function(s) {
|
|
188022
|
-
return proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.toObject(s, this);
|
|
188023
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.toObject = function(s, g) {
|
|
188024
|
-
var l = {
|
|
188025
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
188026
|
-
};
|
|
188027
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
188028
|
-
}), proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.deserializeBinary = function(s) {
|
|
188029
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPointCloudMapStreamRequest();
|
|
188030
|
-
return proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.deserializeBinaryFromReader(l, g);
|
|
188031
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.deserializeBinaryFromReader = function(s, g) {
|
|
188032
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
188033
|
-
var l = g.getFieldNumber();
|
|
188034
|
-
switch (l) {
|
|
188035
|
-
case 1:
|
|
188036
|
-
var u = (
|
|
188037
|
-
/** @type {string} */
|
|
188038
|
-
g.readString()
|
|
188039
|
-
);
|
|
188040
|
-
s.setName(u);
|
|
188041
|
-
break;
|
|
188042
|
-
default:
|
|
188043
|
-
g.skipField();
|
|
188044
|
-
break;
|
|
188045
|
-
}
|
|
188046
|
-
}
|
|
188047
|
-
return s;
|
|
188048
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.prototype.serializeBinary = function() {
|
|
188049
|
-
var s = new e.BinaryWriter();
|
|
188050
|
-
return proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
188051
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.serializeBinaryToWriter = function(s, g) {
|
|
188052
|
-
var l = void 0;
|
|
188053
|
-
l = s.getName(), l.length > 0 && g.writeString(
|
|
188054
|
-
1,
|
|
188055
|
-
l
|
|
188056
|
-
);
|
|
188057
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.prototype.getName = function() {
|
|
188058
|
-
return (
|
|
188059
|
-
/** @type {string} */
|
|
188060
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
188061
|
-
);
|
|
188062
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.prototype.setName = function(s) {
|
|
188063
|
-
return e.Message.setProto3StringField(this, 1, s);
|
|
188064
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.prototype.toObject = function(s) {
|
|
188065
|
-
return proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.toObject(s, this);
|
|
188066
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.toObject = function(s, g) {
|
|
188067
|
-
var l = {
|
|
188068
|
-
pointCloudPcdChunk: g.getPointCloudPcdChunk_asB64()
|
|
188069
|
-
};
|
|
188070
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
188071
|
-
}), proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.deserializeBinary = function(s) {
|
|
188072
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPointCloudMapStreamResponse();
|
|
188073
|
-
return proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.deserializeBinaryFromReader(l, g);
|
|
188074
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.deserializeBinaryFromReader = function(s, g) {
|
|
188075
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
188076
|
-
var l = g.getFieldNumber();
|
|
188077
|
-
switch (l) {
|
|
188078
|
-
case 1:
|
|
188079
|
-
var u = (
|
|
188080
|
-
/** @type {!Uint8Array} */
|
|
188081
|
-
g.readBytes()
|
|
188082
|
-
);
|
|
188083
|
-
s.setPointCloudPcdChunk(u);
|
|
188084
|
-
break;
|
|
188085
|
-
default:
|
|
188086
|
-
g.skipField();
|
|
188087
|
-
break;
|
|
188088
|
-
}
|
|
188089
|
-
}
|
|
188090
|
-
return s;
|
|
188091
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.prototype.serializeBinary = function() {
|
|
188092
|
-
var s = new e.BinaryWriter();
|
|
188093
|
-
return proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
188094
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.serializeBinaryToWriter = function(s, g) {
|
|
188095
|
-
var l = void 0;
|
|
188096
|
-
l = s.getPointCloudPcdChunk_asU8(), l.length > 0 && g.writeBytes(
|
|
188097
|
-
1,
|
|
188098
|
-
l
|
|
188099
|
-
);
|
|
188100
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.prototype.getPointCloudPcdChunk = function() {
|
|
188101
|
-
return (
|
|
188102
|
-
/** @type {string} */
|
|
188103
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
188104
|
-
);
|
|
188105
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.prototype.getPointCloudPcdChunk_asB64 = function() {
|
|
188106
|
-
return (
|
|
188107
|
-
/** @type {string} */
|
|
188108
|
-
e.Message.bytesAsB64(
|
|
188109
|
-
this.getPointCloudPcdChunk()
|
|
188110
|
-
)
|
|
188111
|
-
);
|
|
188112
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.prototype.getPointCloudPcdChunk_asU8 = function() {
|
|
188113
|
-
return (
|
|
188114
|
-
/** @type {!Uint8Array} */
|
|
188115
|
-
e.Message.bytesAsU8(
|
|
188116
|
-
this.getPointCloudPcdChunk()
|
|
188117
|
-
)
|
|
188118
|
-
);
|
|
188119
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.prototype.setPointCloudPcdChunk = function(s) {
|
|
188120
|
-
return e.Message.setProto3BytesField(this, 1, s);
|
|
188121
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateStreamRequest.prototype.toObject = function(s) {
|
|
188122
|
-
return proto.viam.service.slam.v1.GetInternalStateStreamRequest.toObject(s, this);
|
|
188123
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamRequest.toObject = function(s, g) {
|
|
188124
|
-
var l = {
|
|
188125
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
188126
|
-
};
|
|
188127
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
188128
|
-
}), proto.viam.service.slam.v1.GetInternalStateStreamRequest.deserializeBinary = function(s) {
|
|
188129
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetInternalStateStreamRequest();
|
|
188130
|
-
return proto.viam.service.slam.v1.GetInternalStateStreamRequest.deserializeBinaryFromReader(l, g);
|
|
188131
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamRequest.deserializeBinaryFromReader = function(s, g) {
|
|
188132
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
188133
|
-
var l = g.getFieldNumber();
|
|
188134
|
-
switch (l) {
|
|
188135
|
-
case 1:
|
|
188136
|
-
var u = (
|
|
188137
|
-
/** @type {string} */
|
|
188138
|
-
g.readString()
|
|
188139
|
-
);
|
|
188140
|
-
s.setName(u);
|
|
188141
|
-
break;
|
|
188142
|
-
default:
|
|
188143
|
-
g.skipField();
|
|
188144
|
-
break;
|
|
188145
|
-
}
|
|
188146
|
-
}
|
|
188147
|
-
return s;
|
|
188148
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamRequest.prototype.serializeBinary = function() {
|
|
188149
|
-
var s = new e.BinaryWriter();
|
|
188150
|
-
return proto.viam.service.slam.v1.GetInternalStateStreamRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
188151
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamRequest.serializeBinaryToWriter = function(s, g) {
|
|
188152
|
-
var l = void 0;
|
|
188153
|
-
l = s.getName(), l.length > 0 && g.writeString(
|
|
188154
|
-
1,
|
|
188155
|
-
l
|
|
188156
|
-
);
|
|
188157
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamRequest.prototype.getName = function() {
|
|
188158
|
-
return (
|
|
188159
|
-
/** @type {string} */
|
|
188160
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
188161
|
-
);
|
|
188162
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamRequest.prototype.setName = function(s) {
|
|
188163
|
-
return e.Message.setProto3StringField(this, 1, s);
|
|
188164
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateStreamResponse.prototype.toObject = function(s) {
|
|
188165
|
-
return proto.viam.service.slam.v1.GetInternalStateStreamResponse.toObject(s, this);
|
|
188166
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.toObject = function(s, g) {
|
|
188167
|
-
var l = {
|
|
188168
|
-
internalStateChunk: g.getInternalStateChunk_asB64()
|
|
188169
|
-
};
|
|
188170
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
188171
|
-
}), proto.viam.service.slam.v1.GetInternalStateStreamResponse.deserializeBinary = function(s) {
|
|
188172
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetInternalStateStreamResponse();
|
|
188173
|
-
return proto.viam.service.slam.v1.GetInternalStateStreamResponse.deserializeBinaryFromReader(l, g);
|
|
188174
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.deserializeBinaryFromReader = function(s, g) {
|
|
188175
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
188176
|
-
var l = g.getFieldNumber();
|
|
188177
|
-
switch (l) {
|
|
188178
|
-
case 1:
|
|
188179
|
-
var u = (
|
|
188180
|
-
/** @type {!Uint8Array} */
|
|
188181
|
-
g.readBytes()
|
|
188182
|
-
);
|
|
188183
|
-
s.setInternalStateChunk(u);
|
|
188184
|
-
break;
|
|
188185
|
-
default:
|
|
188186
|
-
g.skipField();
|
|
188187
|
-
break;
|
|
188188
|
-
}
|
|
188189
|
-
}
|
|
188190
|
-
return s;
|
|
188191
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.prototype.serializeBinary = function() {
|
|
188192
|
-
var s = new e.BinaryWriter();
|
|
188193
|
-
return proto.viam.service.slam.v1.GetInternalStateStreamResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
188194
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.serializeBinaryToWriter = function(s, g) {
|
|
188195
|
-
var l = void 0;
|
|
188196
|
-
l = s.getInternalStateChunk_asU8(), l.length > 0 && g.writeBytes(
|
|
188197
|
-
1,
|
|
188198
|
-
l
|
|
188199
|
-
);
|
|
188200
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.prototype.getInternalStateChunk = function() {
|
|
188201
|
-
return (
|
|
188202
|
-
/** @type {string} */
|
|
188203
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
188204
|
-
);
|
|
188205
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.prototype.getInternalStateChunk_asB64 = function() {
|
|
188206
|
-
return (
|
|
188207
|
-
/** @type {string} */
|
|
188208
|
-
e.Message.bytesAsB64(
|
|
188209
|
-
this.getInternalStateChunk()
|
|
188210
|
-
)
|
|
188211
|
-
);
|
|
188212
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.prototype.getInternalStateChunk_asU8 = function() {
|
|
188213
|
-
return (
|
|
188214
|
-
/** @type {!Uint8Array} */
|
|
188215
|
-
e.Message.bytesAsU8(
|
|
188216
|
-
this.getInternalStateChunk()
|
|
188217
|
-
)
|
|
188218
|
-
);
|
|
188219
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.prototype.setInternalStateChunk = function(s) {
|
|
188220
|
-
return e.Message.setProto3BytesField(this, 1, s);
|
|
188221
187883
|
}, r.object.extend(o, proto.viam.service.slam.v1);
|
|
188222
187884
|
})(slam_pb$1);
|
|
188223
187885
|
var grpcWebClient$6 = {};
|
|
@@ -189003,30 +188665,6 @@ SLAMService.GetInternalState = {
|
|
|
189003
188665
|
requestType: service_slam_v1_slam_pb.GetInternalStateRequest,
|
|
189004
188666
|
responseType: service_slam_v1_slam_pb.GetInternalStateResponse
|
|
189005
188667
|
};
|
|
189006
|
-
SLAMService.GetPositionNew = {
|
|
189007
|
-
methodName: "GetPositionNew",
|
|
189008
|
-
service: SLAMService,
|
|
189009
|
-
requestStream: !1,
|
|
189010
|
-
responseStream: !1,
|
|
189011
|
-
requestType: service_slam_v1_slam_pb.GetPositionNewRequest,
|
|
189012
|
-
responseType: service_slam_v1_slam_pb.GetPositionNewResponse
|
|
189013
|
-
};
|
|
189014
|
-
SLAMService.GetPointCloudMapStream = {
|
|
189015
|
-
methodName: "GetPointCloudMapStream",
|
|
189016
|
-
service: SLAMService,
|
|
189017
|
-
requestStream: !1,
|
|
189018
|
-
responseStream: !0,
|
|
189019
|
-
requestType: service_slam_v1_slam_pb.GetPointCloudMapStreamRequest,
|
|
189020
|
-
responseType: service_slam_v1_slam_pb.GetPointCloudMapStreamResponse
|
|
189021
|
-
};
|
|
189022
|
-
SLAMService.GetInternalStateStream = {
|
|
189023
|
-
methodName: "GetInternalStateStream",
|
|
189024
|
-
service: SLAMService,
|
|
189025
|
-
requestStream: !1,
|
|
189026
|
-
responseStream: !0,
|
|
189027
|
-
requestType: service_slam_v1_slam_pb.GetInternalStateStreamRequest,
|
|
189028
|
-
responseType: service_slam_v1_slam_pb.GetInternalStateStreamResponse
|
|
189029
|
-
};
|
|
189030
188668
|
SLAMService.DoCommand = {
|
|
189031
188669
|
methodName: "DoCommand",
|
|
189032
188670
|
service: SLAMService,
|
|
@@ -189127,95 +188765,6 @@ SLAMServiceClient.prototype.getInternalState = function o(e, r) {
|
|
|
189127
188765
|
}
|
|
189128
188766
|
};
|
|
189129
188767
|
};
|
|
189130
|
-
SLAMServiceClient.prototype.getPositionNew = function o(e, r, p) {
|
|
189131
|
-
arguments.length === 2 && (p = arguments[1]);
|
|
189132
|
-
var t = grpc$6.unary(SLAMService.GetPositionNew, {
|
|
189133
|
-
request: e,
|
|
189134
|
-
host: this.serviceHost,
|
|
189135
|
-
metadata: r,
|
|
189136
|
-
transport: this.options.transport,
|
|
189137
|
-
debug: this.options.debug,
|
|
189138
|
-
onEnd: function(n) {
|
|
189139
|
-
if (p)
|
|
189140
|
-
if (n.status !== grpc$6.Code.OK) {
|
|
189141
|
-
var i = new Error(n.statusMessage);
|
|
189142
|
-
i.code = n.status, i.metadata = n.trailers, p(i, null);
|
|
189143
|
-
} else
|
|
189144
|
-
p(null, n.message);
|
|
189145
|
-
}
|
|
189146
|
-
});
|
|
189147
|
-
return {
|
|
189148
|
-
cancel: function() {
|
|
189149
|
-
p = null, t.close();
|
|
189150
|
-
}
|
|
189151
|
-
};
|
|
189152
|
-
};
|
|
189153
|
-
SLAMServiceClient.prototype.getPointCloudMapStream = function o(e, r) {
|
|
189154
|
-
var p = {
|
|
189155
|
-
data: [],
|
|
189156
|
-
end: [],
|
|
189157
|
-
status: []
|
|
189158
|
-
}, t = grpc$6.invoke(SLAMService.GetPointCloudMapStream, {
|
|
189159
|
-
request: e,
|
|
189160
|
-
host: this.serviceHost,
|
|
189161
|
-
metadata: r,
|
|
189162
|
-
transport: this.options.transport,
|
|
189163
|
-
debug: this.options.debug,
|
|
189164
|
-
onMessage: function(n) {
|
|
189165
|
-
p.data.forEach(function(i) {
|
|
189166
|
-
i(n);
|
|
189167
|
-
});
|
|
189168
|
-
},
|
|
189169
|
-
onEnd: function(n, i, s) {
|
|
189170
|
-
p.status.forEach(function(g) {
|
|
189171
|
-
g({ code: n, details: i, metadata: s });
|
|
189172
|
-
}), p.end.forEach(function(g) {
|
|
189173
|
-
g({ code: n, details: i, metadata: s });
|
|
189174
|
-
}), p = null;
|
|
189175
|
-
}
|
|
189176
|
-
});
|
|
189177
|
-
return {
|
|
189178
|
-
on: function(n, i) {
|
|
189179
|
-
return p[n].push(i), this;
|
|
189180
|
-
},
|
|
189181
|
-
cancel: function() {
|
|
189182
|
-
p = null, t.close();
|
|
189183
|
-
}
|
|
189184
|
-
};
|
|
189185
|
-
};
|
|
189186
|
-
SLAMServiceClient.prototype.getInternalStateStream = function o(e, r) {
|
|
189187
|
-
var p = {
|
|
189188
|
-
data: [],
|
|
189189
|
-
end: [],
|
|
189190
|
-
status: []
|
|
189191
|
-
}, t = grpc$6.invoke(SLAMService.GetInternalStateStream, {
|
|
189192
|
-
request: e,
|
|
189193
|
-
host: this.serviceHost,
|
|
189194
|
-
metadata: r,
|
|
189195
|
-
transport: this.options.transport,
|
|
189196
|
-
debug: this.options.debug,
|
|
189197
|
-
onMessage: function(n) {
|
|
189198
|
-
p.data.forEach(function(i) {
|
|
189199
|
-
i(n);
|
|
189200
|
-
});
|
|
189201
|
-
},
|
|
189202
|
-
onEnd: function(n, i, s) {
|
|
189203
|
-
p.status.forEach(function(g) {
|
|
189204
|
-
g({ code: n, details: i, metadata: s });
|
|
189205
|
-
}), p.end.forEach(function(g) {
|
|
189206
|
-
g({ code: n, details: i, metadata: s });
|
|
189207
|
-
}), p = null;
|
|
189208
|
-
}
|
|
189209
|
-
});
|
|
189210
|
-
return {
|
|
189211
|
-
on: function(n, i) {
|
|
189212
|
-
return p[n].push(i), this;
|
|
189213
|
-
},
|
|
189214
|
-
cancel: function() {
|
|
189215
|
-
p = null, t.close();
|
|
189216
|
-
}
|
|
189217
|
-
};
|
|
189218
|
-
};
|
|
189219
188768
|
SLAMServiceClient.prototype.doCommand = function o(e, r, p) {
|
|
189220
188769
|
arguments.length === 2 && (p = arguments[1]);
|
|
189221
188770
|
var t = grpc$6.unary(SLAMService.DoCommand, {
|
|
@@ -399846,7 +399395,7 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
399846
399395
|
var n = annotations_pb$3;
|
|
399847
399396
|
r.object.extend(proto, n);
|
|
399848
399397
|
var i = struct_pb$4;
|
|
399849
|
-
r.object.extend(proto, i), r.exportSymbol("proto.viam.service.slam.v1.GetInternalStateRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetInternalStateResponse", null, p), r.exportSymbol("proto.viam.service.slam.v1.
|
|
399398
|
+
r.object.extend(proto, i), r.exportSymbol("proto.viam.service.slam.v1.GetInternalStateRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetInternalStateResponse", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPointCloudMapRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPointCloudMapResponse", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPositionRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPositionResponse", null, p), proto.viam.service.slam.v1.GetPositionRequest = function(s) {
|
|
399850
399399
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
399851
399400
|
}, r.inherits(proto.viam.service.slam.v1.GetPositionRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPositionRequest.displayName = "proto.viam.service.slam.v1.GetPositionRequest"), proto.viam.service.slam.v1.GetPositionResponse = function(s) {
|
|
399852
399401
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
@@ -399858,19 +399407,7 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
399858
399407
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
399859
399408
|
}, r.inherits(proto.viam.service.slam.v1.GetInternalStateRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetInternalStateRequest.displayName = "proto.viam.service.slam.v1.GetInternalStateRequest"), proto.viam.service.slam.v1.GetInternalStateResponse = function(s) {
|
|
399860
399409
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
399861
|
-
}, r.inherits(proto.viam.service.slam.v1.GetInternalStateResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetInternalStateResponse.displayName = "proto.viam.service.slam.v1.GetInternalStateResponse"), proto.viam.service.slam.v1.
|
|
399862
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
399863
|
-
}, r.inherits(proto.viam.service.slam.v1.GetPositionNewRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPositionNewRequest.displayName = "proto.viam.service.slam.v1.GetPositionNewRequest"), proto.viam.service.slam.v1.GetPositionNewResponse = function(s) {
|
|
399864
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
399865
|
-
}, r.inherits(proto.viam.service.slam.v1.GetPositionNewResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPositionNewResponse.displayName = "proto.viam.service.slam.v1.GetPositionNewResponse"), proto.viam.service.slam.v1.GetPointCloudMapStreamRequest = function(s) {
|
|
399866
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
399867
|
-
}, r.inherits(proto.viam.service.slam.v1.GetPointCloudMapStreamRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.displayName = "proto.viam.service.slam.v1.GetPointCloudMapStreamRequest"), proto.viam.service.slam.v1.GetPointCloudMapStreamResponse = function(s) {
|
|
399868
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
399869
|
-
}, r.inherits(proto.viam.service.slam.v1.GetPointCloudMapStreamResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.displayName = "proto.viam.service.slam.v1.GetPointCloudMapStreamResponse"), proto.viam.service.slam.v1.GetInternalStateStreamRequest = function(s) {
|
|
399870
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
399871
|
-
}, r.inherits(proto.viam.service.slam.v1.GetInternalStateStreamRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetInternalStateStreamRequest.displayName = "proto.viam.service.slam.v1.GetInternalStateStreamRequest"), proto.viam.service.slam.v1.GetInternalStateStreamResponse = function(s) {
|
|
399872
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
399873
|
-
}, r.inherits(proto.viam.service.slam.v1.GetInternalStateStreamResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetInternalStateStreamResponse.displayName = "proto.viam.service.slam.v1.GetInternalStateStreamResponse"), e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionRequest.prototype.toObject = function(s) {
|
|
399410
|
+
}, r.inherits(proto.viam.service.slam.v1.GetInternalStateResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetInternalStateResponse.displayName = "proto.viam.service.slam.v1.GetInternalStateResponse"), e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionRequest.prototype.toObject = function(s) {
|
|
399874
399411
|
return proto.viam.service.slam.v1.GetPositionRequest.toObject(s, this);
|
|
399875
399412
|
}, proto.viam.service.slam.v1.GetPositionRequest.toObject = function(s, g) {
|
|
399876
399413
|
var l = {
|
|
@@ -400196,332 +399733,6 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400196
399733
|
);
|
|
400197
399734
|
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.setInternalStateChunk = function(s) {
|
|
400198
399735
|
return e.Message.setProto3BytesField(this, 1, s);
|
|
400199
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionNewRequest.prototype.toObject = function(s) {
|
|
400200
|
-
return proto.viam.service.slam.v1.GetPositionNewRequest.toObject(s, this);
|
|
400201
|
-
}, proto.viam.service.slam.v1.GetPositionNewRequest.toObject = function(s, g) {
|
|
400202
|
-
var l = {
|
|
400203
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
400204
|
-
};
|
|
400205
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
400206
|
-
}), proto.viam.service.slam.v1.GetPositionNewRequest.deserializeBinary = function(s) {
|
|
400207
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPositionNewRequest();
|
|
400208
|
-
return proto.viam.service.slam.v1.GetPositionNewRequest.deserializeBinaryFromReader(l, g);
|
|
400209
|
-
}, proto.viam.service.slam.v1.GetPositionNewRequest.deserializeBinaryFromReader = function(s, g) {
|
|
400210
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400211
|
-
var l = g.getFieldNumber();
|
|
400212
|
-
switch (l) {
|
|
400213
|
-
case 1:
|
|
400214
|
-
var u = (
|
|
400215
|
-
/** @type {string} */
|
|
400216
|
-
g.readString()
|
|
400217
|
-
);
|
|
400218
|
-
s.setName(u);
|
|
400219
|
-
break;
|
|
400220
|
-
default:
|
|
400221
|
-
g.skipField();
|
|
400222
|
-
break;
|
|
400223
|
-
}
|
|
400224
|
-
}
|
|
400225
|
-
return s;
|
|
400226
|
-
}, proto.viam.service.slam.v1.GetPositionNewRequest.prototype.serializeBinary = function() {
|
|
400227
|
-
var s = new e.BinaryWriter();
|
|
400228
|
-
return proto.viam.service.slam.v1.GetPositionNewRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400229
|
-
}, proto.viam.service.slam.v1.GetPositionNewRequest.serializeBinaryToWriter = function(s, g) {
|
|
400230
|
-
var l = void 0;
|
|
400231
|
-
l = s.getName(), l.length > 0 && g.writeString(
|
|
400232
|
-
1,
|
|
400233
|
-
l
|
|
400234
|
-
);
|
|
400235
|
-
}, proto.viam.service.slam.v1.GetPositionNewRequest.prototype.getName = function() {
|
|
400236
|
-
return (
|
|
400237
|
-
/** @type {string} */
|
|
400238
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
400239
|
-
);
|
|
400240
|
-
}, proto.viam.service.slam.v1.GetPositionNewRequest.prototype.setName = function(s) {
|
|
400241
|
-
return e.Message.setProto3StringField(this, 1, s);
|
|
400242
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionNewResponse.prototype.toObject = function(s) {
|
|
400243
|
-
return proto.viam.service.slam.v1.GetPositionNewResponse.toObject(s, this);
|
|
400244
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.toObject = function(s, g) {
|
|
400245
|
-
var l, u = {
|
|
400246
|
-
pose: (l = g.getPose()) && t.Pose.toObject(s, l),
|
|
400247
|
-
componentReference: e.Message.getFieldWithDefault(g, 2, ""),
|
|
400248
|
-
extra: (l = g.getExtra()) && i.Struct.toObject(s, l)
|
|
400249
|
-
};
|
|
400250
|
-
return s && (u.$jspbMessageInstance = g), u;
|
|
400251
|
-
}), proto.viam.service.slam.v1.GetPositionNewResponse.deserializeBinary = function(s) {
|
|
400252
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPositionNewResponse();
|
|
400253
|
-
return proto.viam.service.slam.v1.GetPositionNewResponse.deserializeBinaryFromReader(l, g);
|
|
400254
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.deserializeBinaryFromReader = function(s, g) {
|
|
400255
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400256
|
-
var l = g.getFieldNumber();
|
|
400257
|
-
switch (l) {
|
|
400258
|
-
case 1:
|
|
400259
|
-
var u = new t.Pose();
|
|
400260
|
-
g.readMessage(u, t.Pose.deserializeBinaryFromReader), s.setPose(u);
|
|
400261
|
-
break;
|
|
400262
|
-
case 2:
|
|
400263
|
-
var u = (
|
|
400264
|
-
/** @type {string} */
|
|
400265
|
-
g.readString()
|
|
400266
|
-
);
|
|
400267
|
-
s.setComponentReference(u);
|
|
400268
|
-
break;
|
|
400269
|
-
case 99:
|
|
400270
|
-
var u = new i.Struct();
|
|
400271
|
-
g.readMessage(u, i.Struct.deserializeBinaryFromReader), s.setExtra(u);
|
|
400272
|
-
break;
|
|
400273
|
-
default:
|
|
400274
|
-
g.skipField();
|
|
400275
|
-
break;
|
|
400276
|
-
}
|
|
400277
|
-
}
|
|
400278
|
-
return s;
|
|
400279
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.serializeBinary = function() {
|
|
400280
|
-
var s = new e.BinaryWriter();
|
|
400281
|
-
return proto.viam.service.slam.v1.GetPositionNewResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400282
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.serializeBinaryToWriter = function(s, g) {
|
|
400283
|
-
var l = void 0;
|
|
400284
|
-
l = s.getPose(), l != null && g.writeMessage(
|
|
400285
|
-
1,
|
|
400286
|
-
l,
|
|
400287
|
-
t.Pose.serializeBinaryToWriter
|
|
400288
|
-
), l = s.getComponentReference(), l.length > 0 && g.writeString(
|
|
400289
|
-
2,
|
|
400290
|
-
l
|
|
400291
|
-
), l = s.getExtra(), l != null && g.writeMessage(
|
|
400292
|
-
99,
|
|
400293
|
-
l,
|
|
400294
|
-
i.Struct.serializeBinaryToWriter
|
|
400295
|
-
);
|
|
400296
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.getPose = function() {
|
|
400297
|
-
return (
|
|
400298
|
-
/** @type{?proto.viam.common.v1.Pose} */
|
|
400299
|
-
e.Message.getWrapperField(this, t.Pose, 1)
|
|
400300
|
-
);
|
|
400301
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.setPose = function(s) {
|
|
400302
|
-
return e.Message.setWrapperField(this, 1, s);
|
|
400303
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.clearPose = function() {
|
|
400304
|
-
return this.setPose(void 0);
|
|
400305
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.hasPose = function() {
|
|
400306
|
-
return e.Message.getField(this, 1) != null;
|
|
400307
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.getComponentReference = function() {
|
|
400308
|
-
return (
|
|
400309
|
-
/** @type {string} */
|
|
400310
|
-
e.Message.getFieldWithDefault(this, 2, "")
|
|
400311
|
-
);
|
|
400312
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.setComponentReference = function(s) {
|
|
400313
|
-
return e.Message.setProto3StringField(this, 2, s);
|
|
400314
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.getExtra = function() {
|
|
400315
|
-
return (
|
|
400316
|
-
/** @type{?proto.google.protobuf.Struct} */
|
|
400317
|
-
e.Message.getWrapperField(this, i.Struct, 99)
|
|
400318
|
-
);
|
|
400319
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.setExtra = function(s) {
|
|
400320
|
-
return e.Message.setWrapperField(this, 99, s);
|
|
400321
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.clearExtra = function() {
|
|
400322
|
-
return this.setExtra(void 0);
|
|
400323
|
-
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.hasExtra = function() {
|
|
400324
|
-
return e.Message.getField(this, 99) != null;
|
|
400325
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.prototype.toObject = function(s) {
|
|
400326
|
-
return proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.toObject(s, this);
|
|
400327
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.toObject = function(s, g) {
|
|
400328
|
-
var l = {
|
|
400329
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
400330
|
-
};
|
|
400331
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
400332
|
-
}), proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.deserializeBinary = function(s) {
|
|
400333
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPointCloudMapStreamRequest();
|
|
400334
|
-
return proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.deserializeBinaryFromReader(l, g);
|
|
400335
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.deserializeBinaryFromReader = function(s, g) {
|
|
400336
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400337
|
-
var l = g.getFieldNumber();
|
|
400338
|
-
switch (l) {
|
|
400339
|
-
case 1:
|
|
400340
|
-
var u = (
|
|
400341
|
-
/** @type {string} */
|
|
400342
|
-
g.readString()
|
|
400343
|
-
);
|
|
400344
|
-
s.setName(u);
|
|
400345
|
-
break;
|
|
400346
|
-
default:
|
|
400347
|
-
g.skipField();
|
|
400348
|
-
break;
|
|
400349
|
-
}
|
|
400350
|
-
}
|
|
400351
|
-
return s;
|
|
400352
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.prototype.serializeBinary = function() {
|
|
400353
|
-
var s = new e.BinaryWriter();
|
|
400354
|
-
return proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400355
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.serializeBinaryToWriter = function(s, g) {
|
|
400356
|
-
var l = void 0;
|
|
400357
|
-
l = s.getName(), l.length > 0 && g.writeString(
|
|
400358
|
-
1,
|
|
400359
|
-
l
|
|
400360
|
-
);
|
|
400361
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.prototype.getName = function() {
|
|
400362
|
-
return (
|
|
400363
|
-
/** @type {string} */
|
|
400364
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
400365
|
-
);
|
|
400366
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.prototype.setName = function(s) {
|
|
400367
|
-
return e.Message.setProto3StringField(this, 1, s);
|
|
400368
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.prototype.toObject = function(s) {
|
|
400369
|
-
return proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.toObject(s, this);
|
|
400370
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.toObject = function(s, g) {
|
|
400371
|
-
var l = {
|
|
400372
|
-
pointCloudPcdChunk: g.getPointCloudPcdChunk_asB64()
|
|
400373
|
-
};
|
|
400374
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
400375
|
-
}), proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.deserializeBinary = function(s) {
|
|
400376
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPointCloudMapStreamResponse();
|
|
400377
|
-
return proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.deserializeBinaryFromReader(l, g);
|
|
400378
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.deserializeBinaryFromReader = function(s, g) {
|
|
400379
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400380
|
-
var l = g.getFieldNumber();
|
|
400381
|
-
switch (l) {
|
|
400382
|
-
case 1:
|
|
400383
|
-
var u = (
|
|
400384
|
-
/** @type {!Uint8Array} */
|
|
400385
|
-
g.readBytes()
|
|
400386
|
-
);
|
|
400387
|
-
s.setPointCloudPcdChunk(u);
|
|
400388
|
-
break;
|
|
400389
|
-
default:
|
|
400390
|
-
g.skipField();
|
|
400391
|
-
break;
|
|
400392
|
-
}
|
|
400393
|
-
}
|
|
400394
|
-
return s;
|
|
400395
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.prototype.serializeBinary = function() {
|
|
400396
|
-
var s = new e.BinaryWriter();
|
|
400397
|
-
return proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400398
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.serializeBinaryToWriter = function(s, g) {
|
|
400399
|
-
var l = void 0;
|
|
400400
|
-
l = s.getPointCloudPcdChunk_asU8(), l.length > 0 && g.writeBytes(
|
|
400401
|
-
1,
|
|
400402
|
-
l
|
|
400403
|
-
);
|
|
400404
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.prototype.getPointCloudPcdChunk = function() {
|
|
400405
|
-
return (
|
|
400406
|
-
/** @type {string} */
|
|
400407
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
400408
|
-
);
|
|
400409
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.prototype.getPointCloudPcdChunk_asB64 = function() {
|
|
400410
|
-
return (
|
|
400411
|
-
/** @type {string} */
|
|
400412
|
-
e.Message.bytesAsB64(
|
|
400413
|
-
this.getPointCloudPcdChunk()
|
|
400414
|
-
)
|
|
400415
|
-
);
|
|
400416
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.prototype.getPointCloudPcdChunk_asU8 = function() {
|
|
400417
|
-
return (
|
|
400418
|
-
/** @type {!Uint8Array} */
|
|
400419
|
-
e.Message.bytesAsU8(
|
|
400420
|
-
this.getPointCloudPcdChunk()
|
|
400421
|
-
)
|
|
400422
|
-
);
|
|
400423
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapStreamResponse.prototype.setPointCloudPcdChunk = function(s) {
|
|
400424
|
-
return e.Message.setProto3BytesField(this, 1, s);
|
|
400425
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateStreamRequest.prototype.toObject = function(s) {
|
|
400426
|
-
return proto.viam.service.slam.v1.GetInternalStateStreamRequest.toObject(s, this);
|
|
400427
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamRequest.toObject = function(s, g) {
|
|
400428
|
-
var l = {
|
|
400429
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
400430
|
-
};
|
|
400431
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
400432
|
-
}), proto.viam.service.slam.v1.GetInternalStateStreamRequest.deserializeBinary = function(s) {
|
|
400433
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetInternalStateStreamRequest();
|
|
400434
|
-
return proto.viam.service.slam.v1.GetInternalStateStreamRequest.deserializeBinaryFromReader(l, g);
|
|
400435
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamRequest.deserializeBinaryFromReader = function(s, g) {
|
|
400436
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400437
|
-
var l = g.getFieldNumber();
|
|
400438
|
-
switch (l) {
|
|
400439
|
-
case 1:
|
|
400440
|
-
var u = (
|
|
400441
|
-
/** @type {string} */
|
|
400442
|
-
g.readString()
|
|
400443
|
-
);
|
|
400444
|
-
s.setName(u);
|
|
400445
|
-
break;
|
|
400446
|
-
default:
|
|
400447
|
-
g.skipField();
|
|
400448
|
-
break;
|
|
400449
|
-
}
|
|
400450
|
-
}
|
|
400451
|
-
return s;
|
|
400452
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamRequest.prototype.serializeBinary = function() {
|
|
400453
|
-
var s = new e.BinaryWriter();
|
|
400454
|
-
return proto.viam.service.slam.v1.GetInternalStateStreamRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400455
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamRequest.serializeBinaryToWriter = function(s, g) {
|
|
400456
|
-
var l = void 0;
|
|
400457
|
-
l = s.getName(), l.length > 0 && g.writeString(
|
|
400458
|
-
1,
|
|
400459
|
-
l
|
|
400460
|
-
);
|
|
400461
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamRequest.prototype.getName = function() {
|
|
400462
|
-
return (
|
|
400463
|
-
/** @type {string} */
|
|
400464
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
400465
|
-
);
|
|
400466
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamRequest.prototype.setName = function(s) {
|
|
400467
|
-
return e.Message.setProto3StringField(this, 1, s);
|
|
400468
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateStreamResponse.prototype.toObject = function(s) {
|
|
400469
|
-
return proto.viam.service.slam.v1.GetInternalStateStreamResponse.toObject(s, this);
|
|
400470
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.toObject = function(s, g) {
|
|
400471
|
-
var l = {
|
|
400472
|
-
internalStateChunk: g.getInternalStateChunk_asB64()
|
|
400473
|
-
};
|
|
400474
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
400475
|
-
}), proto.viam.service.slam.v1.GetInternalStateStreamResponse.deserializeBinary = function(s) {
|
|
400476
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetInternalStateStreamResponse();
|
|
400477
|
-
return proto.viam.service.slam.v1.GetInternalStateStreamResponse.deserializeBinaryFromReader(l, g);
|
|
400478
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.deserializeBinaryFromReader = function(s, g) {
|
|
400479
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400480
|
-
var l = g.getFieldNumber();
|
|
400481
|
-
switch (l) {
|
|
400482
|
-
case 1:
|
|
400483
|
-
var u = (
|
|
400484
|
-
/** @type {!Uint8Array} */
|
|
400485
|
-
g.readBytes()
|
|
400486
|
-
);
|
|
400487
|
-
s.setInternalStateChunk(u);
|
|
400488
|
-
break;
|
|
400489
|
-
default:
|
|
400490
|
-
g.skipField();
|
|
400491
|
-
break;
|
|
400492
|
-
}
|
|
400493
|
-
}
|
|
400494
|
-
return s;
|
|
400495
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.prototype.serializeBinary = function() {
|
|
400496
|
-
var s = new e.BinaryWriter();
|
|
400497
|
-
return proto.viam.service.slam.v1.GetInternalStateStreamResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400498
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.serializeBinaryToWriter = function(s, g) {
|
|
400499
|
-
var l = void 0;
|
|
400500
|
-
l = s.getInternalStateChunk_asU8(), l.length > 0 && g.writeBytes(
|
|
400501
|
-
1,
|
|
400502
|
-
l
|
|
400503
|
-
);
|
|
400504
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.prototype.getInternalStateChunk = function() {
|
|
400505
|
-
return (
|
|
400506
|
-
/** @type {string} */
|
|
400507
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
400508
|
-
);
|
|
400509
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.prototype.getInternalStateChunk_asB64 = function() {
|
|
400510
|
-
return (
|
|
400511
|
-
/** @type {string} */
|
|
400512
|
-
e.Message.bytesAsB64(
|
|
400513
|
-
this.getInternalStateChunk()
|
|
400514
|
-
)
|
|
400515
|
-
);
|
|
400516
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.prototype.getInternalStateChunk_asU8 = function() {
|
|
400517
|
-
return (
|
|
400518
|
-
/** @type {!Uint8Array} */
|
|
400519
|
-
e.Message.bytesAsU8(
|
|
400520
|
-
this.getInternalStateChunk()
|
|
400521
|
-
)
|
|
400522
|
-
);
|
|
400523
|
-
}, proto.viam.service.slam.v1.GetInternalStateStreamResponse.prototype.setInternalStateChunk = function(s) {
|
|
400524
|
-
return e.Message.setProto3BytesField(this, 1, s);
|
|
400525
399736
|
}, r.object.extend(o, proto.viam.service.slam.v1);
|
|
400526
399737
|
})(slam_pb);
|
|
400527
399738
|
var commonjsGlobal$4 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, stream_pb$1 = {}, googleProtobuf$5 = {};
|