@viamrobotics/sdk 0.0.30 → 0.0.31
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/google/api/client_pb.d.ts +24 -0
- package/dist/gen/service/slam/v1/slam_pb.d.ts +64 -147
- package/dist/gen/service/slam/v1/slam_pb.esm.d.ts +64 -147
- package/dist/gen/service/slam/v1/slam_pb_service.d.ts +14 -49
- package/dist/gen/service/slam/v1/slam_pb_service.esm.d.ts +14 -49
- package/dist/main.es.js +388 -867
- package/dist/main.umd.js +4 -4
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -30249,9 +30249,9 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30249
30249
|
L = !0;
|
|
30250
30250
|
var W = new c.CallUpdateRequest();
|
|
30251
30251
|
W.setUuid(w);
|
|
30252
|
-
var
|
|
30253
|
-
|
|
30254
|
-
var z =
|
|
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: F, onEnd: function(q) {
|
|
30254
|
+
var z = q.status, K = q.statusMessage, Q = q.message;
|
|
30255
30255
|
z === t.grpc.Code.OK && Q || console.error(K);
|
|
30256
30256
|
} });
|
|
30257
30257
|
}
|
|
@@ -30260,8 +30260,8 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30260
30260
|
L = !0;
|
|
30261
30261
|
var V = new c.CallUpdateRequest();
|
|
30262
30262
|
V.setUuid(w), V.setDone(!0), t.grpc.unary(m.SignalingService.CallUpdate, { request: V, metadata: { "rpc-host": S }, host: v, transport: F, onEnd: function(W) {
|
|
30263
|
-
var
|
|
30264
|
-
|
|
30263
|
+
var Y = W.status, q = W.statusMessage, z = W.message;
|
|
30264
|
+
Y === t.grpc.Code.OK && z || console.error(q);
|
|
30265
30265
|
} });
|
|
30266
30266
|
}
|
|
30267
30267
|
}, G = new Promise(function(V) {
|
|
@@ -30270,13 +30270,13 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30270
30270
|
case 4:
|
|
30271
30271
|
return Z = $.sent(), ee = !1, M.onicecandidate = function(V) {
|
|
30272
30272
|
return p.__awaiter(le, void 0, void 0, function() {
|
|
30273
|
-
var W,
|
|
30274
|
-
return p.__generator(this, function(
|
|
30275
|
-
switch (
|
|
30273
|
+
var W, Y;
|
|
30274
|
+
return p.__generator(this, function(q) {
|
|
30275
|
+
switch (q.label) {
|
|
30276
30276
|
case 0:
|
|
30277
30277
|
return [4, G];
|
|
30278
30278
|
case 1:
|
|
30279
|
-
return
|
|
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: F, 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]);
|
|
@@ -30290,11 +30290,11 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30290
30290
|
case 6:
|
|
30291
30291
|
return re = !1, C.onMessage(function(V) {
|
|
30292
30292
|
return p.__awaiter(le, void 0, void 0, function() {
|
|
30293
|
-
var W,
|
|
30293
|
+
var W, Y, q, z, K, Q;
|
|
30294
30294
|
return p.__generator(this, function(oe) {
|
|
30295
30295
|
switch (oe.label) {
|
|
30296
30296
|
case 0:
|
|
30297
|
-
return (W = V).hasInit() ? re ? (U("got init stage more than once"), [2]) : (
|
|
30297
|
+
return (W = V).hasInit() ? re ? (U("got init stage more than once"), [2]) : (Y = W.getInit(), re = !0, w = W.getUuid(), q = new RTCSessionDescription(JSON.parse(atob(Y.getSdp()))), M.setRemoteDescription(q), N(!0), x?.disableTrickleICE ? (H = !0, k(), [2]) : [3, 7]) : [3, 1];
|
|
30298
30298
|
case 1:
|
|
30299
30299
|
if (!W.hasUpdate())
|
|
30300
30300
|
return [3, 6];
|
|
@@ -30321,7 +30321,7 @@ var __webpack_modules__ = { 37: function(o) {
|
|
|
30321
30321
|
});
|
|
30322
30322
|
}), pe = new Promise(function(V, W) {
|
|
30323
30323
|
se = V, ie = W;
|
|
30324
|
-
}), C.onEnd(function(V, W,
|
|
30324
|
+
}), C.onEnd(function(V, W, Y) {
|
|
30325
30325
|
V !== t.grpc.Code.OK ? W !== "Response closed without headers" ? (console.error(W), ie(W)) : ie(new i.ConnectionClosedError("failed to dial")) : se();
|
|
30326
30326
|
}), C.start({ "rpc-host": S }), ne = new c.CallRequest(), ge = btoa(JSON.stringify(M.localDescription)), ne.setSdp(ge), x && x.disableTrickleICE && ne.setDisableTrickle(x.disableTrickleICE), C.send(ne), (ae = new n.ClientChannel(M, O)).ready.then(function() {
|
|
30327
30327
|
return se();
|
|
@@ -187542,19 +187542,11 @@ 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.GetInternalStateStreamRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetInternalStateStreamResponse", 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.GetInternalStateStreamRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetInternalStateStreamResponse", 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.GetPointCloudMapStreamRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPointCloudMapStreamResponse", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPositionNewRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPositionNewResponse", 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);
|
|
187549
|
-
}, r.inherits(proto.viam.service.slam.v1.GetPositionResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPositionResponse.displayName = "proto.viam.service.slam.v1.GetPositionResponse"), proto.viam.service.slam.v1.
|
|
187550
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187551
|
-
}, r.inherits(proto.viam.service.slam.v1.GetMapRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetMapRequest.displayName = "proto.viam.service.slam.v1.GetMapRequest"), proto.viam.service.slam.v1.GetMapResponse = function(s) {
|
|
187552
|
-
e.Message.initialize(this, s, 0, -1, null, proto.viam.service.slam.v1.GetMapResponse.oneofGroups_);
|
|
187553
|
-
}, r.inherits(proto.viam.service.slam.v1.GetMapResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetMapResponse.displayName = "proto.viam.service.slam.v1.GetMapResponse"), proto.viam.service.slam.v1.GetPositionNewRequest = function(s) {
|
|
187554
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187555
|
-
}, 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) {
|
|
187556
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187557
|
-
}, 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.GetPointCloudMapRequest = function(s) {
|
|
187549
|
+
}, r.inherits(proto.viam.service.slam.v1.GetPositionResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPositionResponse.displayName = "proto.viam.service.slam.v1.GetPositionResponse"), proto.viam.service.slam.v1.GetPointCloudMapRequest = function(s) {
|
|
187558
187550
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187559
187551
|
}, r.inherits(proto.viam.service.slam.v1.GetPointCloudMapRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPointCloudMapRequest.displayName = "proto.viam.service.slam.v1.GetPointCloudMapRequest"), proto.viam.service.slam.v1.GetPointCloudMapResponse = function(s) {
|
|
187560
187552
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
@@ -187562,7 +187554,11 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187562
187554
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187563
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) {
|
|
187564
187556
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187565
|
-
}, 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.
|
|
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.GetPositionNewRequest = function(s) {
|
|
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) {
|
|
187566
187562
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
187567
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) {
|
|
187568
187564
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
@@ -187573,11 +187569,10 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187573
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) {
|
|
187574
187570
|
return proto.viam.service.slam.v1.GetPositionRequest.toObject(s, this);
|
|
187575
187571
|
}, proto.viam.service.slam.v1.GetPositionRequest.toObject = function(s, g) {
|
|
187576
|
-
var l
|
|
187577
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
187578
|
-
extra: (l = g.getExtra()) && i.Struct.toObject(s, l)
|
|
187572
|
+
var l = {
|
|
187573
|
+
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
187579
187574
|
};
|
|
187580
|
-
return s && (
|
|
187575
|
+
return s && (l.$jspbMessageInstance = g), l;
|
|
187581
187576
|
}), proto.viam.service.slam.v1.GetPositionRequest.deserializeBinary = function(s) {
|
|
187582
187577
|
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPositionRequest();
|
|
187583
187578
|
return proto.viam.service.slam.v1.GetPositionRequest.deserializeBinaryFromReader(l, g);
|
|
@@ -187592,10 +187587,6 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187592
187587
|
);
|
|
187593
187588
|
s.setName(u);
|
|
187594
187589
|
break;
|
|
187595
|
-
case 99:
|
|
187596
|
-
var u = new i.Struct();
|
|
187597
|
-
g.readMessage(u, i.Struct.deserializeBinaryFromReader), s.setExtra(u);
|
|
187598
|
-
break;
|
|
187599
187590
|
default:
|
|
187600
187591
|
g.skipField();
|
|
187601
187592
|
break;
|
|
@@ -187610,10 +187601,6 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187610
187601
|
l = s.getName(), l.length > 0 && g.writeString(
|
|
187611
187602
|
1,
|
|
187612
187603
|
l
|
|
187613
|
-
), l = s.getExtra(), l != null && g.writeMessage(
|
|
187614
|
-
99,
|
|
187615
|
-
l,
|
|
187616
|
-
i.Struct.serializeBinaryToWriter
|
|
187617
187604
|
);
|
|
187618
187605
|
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.getName = function() {
|
|
187619
187606
|
return (
|
|
@@ -187622,22 +187609,12 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187622
187609
|
);
|
|
187623
187610
|
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.setName = function(s) {
|
|
187624
187611
|
return e.Message.setProto3StringField(this, 1, s);
|
|
187625
|
-
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.getExtra = function() {
|
|
187626
|
-
return (
|
|
187627
|
-
/** @type{?proto.google.protobuf.Struct} */
|
|
187628
|
-
e.Message.getWrapperField(this, i.Struct, 99)
|
|
187629
|
-
);
|
|
187630
|
-
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.setExtra = function(s) {
|
|
187631
|
-
return e.Message.setWrapperField(this, 99, s);
|
|
187632
|
-
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.clearExtra = function() {
|
|
187633
|
-
return this.setExtra(void 0);
|
|
187634
|
-
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.hasExtra = function() {
|
|
187635
|
-
return e.Message.getField(this, 99) != null;
|
|
187636
187612
|
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionResponse.prototype.toObject = function(s) {
|
|
187637
187613
|
return proto.viam.service.slam.v1.GetPositionResponse.toObject(s, this);
|
|
187638
187614
|
}, proto.viam.service.slam.v1.GetPositionResponse.toObject = function(s, g) {
|
|
187639
187615
|
var l, u = {
|
|
187640
|
-
pose: (l = g.getPose()) && t.
|
|
187616
|
+
pose: (l = g.getPose()) && t.Pose.toObject(s, l),
|
|
187617
|
+
componentReference: e.Message.getFieldWithDefault(g, 2, ""),
|
|
187641
187618
|
extra: (l = g.getExtra()) && i.Struct.toObject(s, l)
|
|
187642
187619
|
};
|
|
187643
187620
|
return s && (u.$jspbMessageInstance = g), u;
|
|
@@ -187649,8 +187626,15 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187649
187626
|
var l = g.getFieldNumber();
|
|
187650
187627
|
switch (l) {
|
|
187651
187628
|
case 1:
|
|
187652
|
-
var u = new t.
|
|
187653
|
-
g.readMessage(u, t.
|
|
187629
|
+
var u = new t.Pose();
|
|
187630
|
+
g.readMessage(u, t.Pose.deserializeBinaryFromReader), s.setPose(u);
|
|
187631
|
+
break;
|
|
187632
|
+
case 2:
|
|
187633
|
+
var u = (
|
|
187634
|
+
/** @type {string} */
|
|
187635
|
+
g.readString()
|
|
187636
|
+
);
|
|
187637
|
+
s.setComponentReference(u);
|
|
187654
187638
|
break;
|
|
187655
187639
|
case 99:
|
|
187656
187640
|
var u = new i.Struct();
|
|
@@ -187670,7 +187654,10 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187670
187654
|
l = s.getPose(), l != null && g.writeMessage(
|
|
187671
187655
|
1,
|
|
187672
187656
|
l,
|
|
187673
|
-
t.
|
|
187657
|
+
t.Pose.serializeBinaryToWriter
|
|
187658
|
+
), l = s.getComponentReference(), l.length > 0 && g.writeString(
|
|
187659
|
+
2,
|
|
187660
|
+
l
|
|
187674
187661
|
), l = s.getExtra(), l != null && g.writeMessage(
|
|
187675
187662
|
99,
|
|
187676
187663
|
l,
|
|
@@ -187678,8 +187665,8 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187678
187665
|
);
|
|
187679
187666
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.getPose = function() {
|
|
187680
187667
|
return (
|
|
187681
|
-
/** @type{?proto.viam.common.v1.
|
|
187682
|
-
e.Message.getWrapperField(this, t.
|
|
187668
|
+
/** @type{?proto.viam.common.v1.Pose} */
|
|
187669
|
+
e.Message.getWrapperField(this, t.Pose, 1)
|
|
187683
187670
|
);
|
|
187684
187671
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.setPose = function(s) {
|
|
187685
187672
|
return e.Message.setWrapperField(this, 1, s);
|
|
@@ -187687,6 +187674,13 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187687
187674
|
return this.setPose(void 0);
|
|
187688
187675
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.hasPose = function() {
|
|
187689
187676
|
return e.Message.getField(this, 1) != null;
|
|
187677
|
+
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.getComponentReference = function() {
|
|
187678
|
+
return (
|
|
187679
|
+
/** @type {string} */
|
|
187680
|
+
e.Message.getFieldWithDefault(this, 2, "")
|
|
187681
|
+
);
|
|
187682
|
+
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.setComponentReference = function(s) {
|
|
187683
|
+
return e.Message.setProto3StringField(this, 2, s);
|
|
187690
187684
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.getExtra = function() {
|
|
187691
187685
|
return (
|
|
187692
187686
|
/** @type{?proto.google.protobuf.Struct} */
|
|
@@ -187698,21 +187692,17 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187698
187692
|
return this.setExtra(void 0);
|
|
187699
187693
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.hasExtra = function() {
|
|
187700
187694
|
return e.Message.getField(this, 99) != null;
|
|
187701
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.
|
|
187702
|
-
return proto.viam.service.slam.v1.
|
|
187703
|
-
}, proto.viam.service.slam.v1.
|
|
187704
|
-
var l
|
|
187705
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
187706
|
-
mimeType: e.Message.getFieldWithDefault(g, 2, ""),
|
|
187707
|
-
cameraPosition: (l = g.getCameraPosition()) && t.Pose.toObject(s, l),
|
|
187708
|
-
includeRobotMarker: e.Message.getBooleanFieldWithDefault(g, 4, !1),
|
|
187709
|
-
extra: (l = g.getExtra()) && i.Struct.toObject(s, l)
|
|
187695
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.toObject = function(s) {
|
|
187696
|
+
return proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject(s, this);
|
|
187697
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject = function(s, g) {
|
|
187698
|
+
var l = {
|
|
187699
|
+
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
187710
187700
|
};
|
|
187711
|
-
return s && (
|
|
187712
|
-
}), proto.viam.service.slam.v1.
|
|
187713
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.
|
|
187714
|
-
return proto.viam.service.slam.v1.
|
|
187715
|
-
}, proto.viam.service.slam.v1.
|
|
187701
|
+
return s && (l.$jspbMessageInstance = g), l;
|
|
187702
|
+
}), proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinary = function(s) {
|
|
187703
|
+
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPointCloudMapRequest();
|
|
187704
|
+
return proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinaryFromReader(l, g);
|
|
187705
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinaryFromReader = function(s, g) {
|
|
187716
187706
|
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
187717
187707
|
var l = g.getFieldNumber();
|
|
187718
187708
|
switch (l) {
|
|
@@ -187723,27 +187713,48 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187723
187713
|
);
|
|
187724
187714
|
s.setName(u);
|
|
187725
187715
|
break;
|
|
187726
|
-
|
|
187727
|
-
|
|
187728
|
-
/** @type {string} */
|
|
187729
|
-
g.readString()
|
|
187730
|
-
);
|
|
187731
|
-
s.setMimeType(u);
|
|
187732
|
-
break;
|
|
187733
|
-
case 3:
|
|
187734
|
-
var u = new t.Pose();
|
|
187735
|
-
g.readMessage(u, t.Pose.deserializeBinaryFromReader), s.setCameraPosition(u);
|
|
187716
|
+
default:
|
|
187717
|
+
g.skipField();
|
|
187736
187718
|
break;
|
|
187737
|
-
|
|
187719
|
+
}
|
|
187720
|
+
}
|
|
187721
|
+
return s;
|
|
187722
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.serializeBinary = function() {
|
|
187723
|
+
var s = new e.BinaryWriter();
|
|
187724
|
+
return proto.viam.service.slam.v1.GetPointCloudMapRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
187725
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.serializeBinaryToWriter = function(s, g) {
|
|
187726
|
+
var l = void 0;
|
|
187727
|
+
l = s.getName(), l.length > 0 && g.writeString(
|
|
187728
|
+
1,
|
|
187729
|
+
l
|
|
187730
|
+
);
|
|
187731
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.getName = function() {
|
|
187732
|
+
return (
|
|
187733
|
+
/** @type {string} */
|
|
187734
|
+
e.Message.getFieldWithDefault(this, 1, "")
|
|
187735
|
+
);
|
|
187736
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.setName = function(s) {
|
|
187737
|
+
return e.Message.setProto3StringField(this, 1, s);
|
|
187738
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.toObject = function(s) {
|
|
187739
|
+
return proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject(s, this);
|
|
187740
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject = function(s, g) {
|
|
187741
|
+
var l = {
|
|
187742
|
+
pointCloudPcdChunk: g.getPointCloudPcdChunk_asB64()
|
|
187743
|
+
};
|
|
187744
|
+
return s && (l.$jspbMessageInstance = g), l;
|
|
187745
|
+
}), proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinary = function(s) {
|
|
187746
|
+
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPointCloudMapResponse();
|
|
187747
|
+
return proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinaryFromReader(l, g);
|
|
187748
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinaryFromReader = function(s, g) {
|
|
187749
|
+
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
187750
|
+
var l = g.getFieldNumber();
|
|
187751
|
+
switch (l) {
|
|
187752
|
+
case 1:
|
|
187738
187753
|
var u = (
|
|
187739
|
-
/** @type {
|
|
187740
|
-
g.
|
|
187754
|
+
/** @type {!Uint8Array} */
|
|
187755
|
+
g.readBytes()
|
|
187741
187756
|
);
|
|
187742
|
-
s.
|
|
187743
|
-
break;
|
|
187744
|
-
case 99:
|
|
187745
|
-
var u = new i.Struct();
|
|
187746
|
-
g.readMessage(u, i.Struct.deserializeBinaryFromReader), s.setExtra(u);
|
|
187757
|
+
s.setPointCloudPcdChunk(u);
|
|
187747
187758
|
break;
|
|
187748
187759
|
default:
|
|
187749
187760
|
g.skipField();
|
|
@@ -187751,114 +187762,99 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187751
187762
|
}
|
|
187752
187763
|
}
|
|
187753
187764
|
return s;
|
|
187754
|
-
}, proto.viam.service.slam.v1.
|
|
187765
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.serializeBinary = function() {
|
|
187755
187766
|
var s = new e.BinaryWriter();
|
|
187756
|
-
return proto.viam.service.slam.v1.
|
|
187757
|
-
}, proto.viam.service.slam.v1.
|
|
187767
|
+
return proto.viam.service.slam.v1.GetPointCloudMapResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
187768
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.serializeBinaryToWriter = function(s, g) {
|
|
187758
187769
|
var l = void 0;
|
|
187759
|
-
l = s.
|
|
187770
|
+
l = s.getPointCloudPcdChunk_asU8(), l.length > 0 && g.writeBytes(
|
|
187760
187771
|
1,
|
|
187761
187772
|
l
|
|
187762
|
-
), l = s.getMimeType(), l.length > 0 && g.writeString(
|
|
187763
|
-
2,
|
|
187764
|
-
l
|
|
187765
|
-
), l = s.getCameraPosition(), l != null && g.writeMessage(
|
|
187766
|
-
3,
|
|
187767
|
-
l,
|
|
187768
|
-
t.Pose.serializeBinaryToWriter
|
|
187769
|
-
), l = s.getIncludeRobotMarker(), l && g.writeBool(
|
|
187770
|
-
4,
|
|
187771
|
-
l
|
|
187772
|
-
), l = s.getExtra(), l != null && g.writeMessage(
|
|
187773
|
-
99,
|
|
187774
|
-
l,
|
|
187775
|
-
i.Struct.serializeBinaryToWriter
|
|
187776
187773
|
);
|
|
187777
|
-
}, proto.viam.service.slam.v1.
|
|
187774
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcdChunk = function() {
|
|
187778
187775
|
return (
|
|
187779
187776
|
/** @type {string} */
|
|
187780
187777
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
187781
187778
|
);
|
|
187782
|
-
}, proto.viam.service.slam.v1.
|
|
187783
|
-
return e.Message.setProto3StringField(this, 1, s);
|
|
187784
|
-
}, proto.viam.service.slam.v1.GetMapRequest.prototype.getMimeType = function() {
|
|
187779
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcdChunk_asB64 = function() {
|
|
187785
187780
|
return (
|
|
187786
187781
|
/** @type {string} */
|
|
187787
|
-
e.Message.
|
|
187782
|
+
e.Message.bytesAsB64(
|
|
187783
|
+
this.getPointCloudPcdChunk()
|
|
187784
|
+
)
|
|
187788
187785
|
);
|
|
187789
|
-
}, proto.viam.service.slam.v1.
|
|
187790
|
-
return e.Message.setProto3StringField(this, 2, s);
|
|
187791
|
-
}, proto.viam.service.slam.v1.GetMapRequest.prototype.getCameraPosition = function() {
|
|
187786
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcdChunk_asU8 = function() {
|
|
187792
187787
|
return (
|
|
187793
|
-
/** @type{
|
|
187794
|
-
e.Message.
|
|
187788
|
+
/** @type {!Uint8Array} */
|
|
187789
|
+
e.Message.bytesAsU8(
|
|
187790
|
+
this.getPointCloudPcdChunk()
|
|
187791
|
+
)
|
|
187795
187792
|
);
|
|
187796
|
-
}, proto.viam.service.slam.v1.
|
|
187797
|
-
return e.Message.
|
|
187798
|
-
}, proto.viam.service.slam.v1.
|
|
187799
|
-
return
|
|
187800
|
-
}, proto.viam.service.slam.v1.
|
|
187801
|
-
|
|
187802
|
-
|
|
187803
|
-
|
|
187804
|
-
|
|
187805
|
-
|
|
187793
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.setPointCloudPcdChunk = function(s) {
|
|
187794
|
+
return e.Message.setProto3BytesField(this, 1, s);
|
|
187795
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateRequest.prototype.toObject = function(s) {
|
|
187796
|
+
return proto.viam.service.slam.v1.GetInternalStateRequest.toObject(s, this);
|
|
187797
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.toObject = function(s, g) {
|
|
187798
|
+
var l = {
|
|
187799
|
+
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
187800
|
+
};
|
|
187801
|
+
return s && (l.$jspbMessageInstance = g), l;
|
|
187802
|
+
}), proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinary = function(s) {
|
|
187803
|
+
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetInternalStateRequest();
|
|
187804
|
+
return proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinaryFromReader(l, g);
|
|
187805
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinaryFromReader = function(s, g) {
|
|
187806
|
+
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
187807
|
+
var l = g.getFieldNumber();
|
|
187808
|
+
switch (l) {
|
|
187809
|
+
case 1:
|
|
187810
|
+
var u = (
|
|
187811
|
+
/** @type {string} */
|
|
187812
|
+
g.readString()
|
|
187813
|
+
);
|
|
187814
|
+
s.setName(u);
|
|
187815
|
+
break;
|
|
187816
|
+
default:
|
|
187817
|
+
g.skipField();
|
|
187818
|
+
break;
|
|
187819
|
+
}
|
|
187820
|
+
}
|
|
187821
|
+
return s;
|
|
187822
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.serializeBinary = function() {
|
|
187823
|
+
var s = new e.BinaryWriter();
|
|
187824
|
+
return proto.viam.service.slam.v1.GetInternalStateRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
187825
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.serializeBinaryToWriter = function(s, g) {
|
|
187826
|
+
var l = void 0;
|
|
187827
|
+
l = s.getName(), l.length > 0 && g.writeString(
|
|
187828
|
+
1,
|
|
187829
|
+
l
|
|
187806
187830
|
);
|
|
187807
|
-
}, proto.viam.service.slam.v1.
|
|
187808
|
-
return e.Message.setProto3BooleanField(this, 4, s);
|
|
187809
|
-
}, proto.viam.service.slam.v1.GetMapRequest.prototype.getExtra = function() {
|
|
187831
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.getName = function() {
|
|
187810
187832
|
return (
|
|
187811
|
-
/** @type{
|
|
187812
|
-
e.Message.
|
|
187833
|
+
/** @type {string} */
|
|
187834
|
+
e.Message.getFieldWithDefault(this, 1, "")
|
|
187813
187835
|
);
|
|
187814
|
-
}, proto.viam.service.slam.v1.
|
|
187815
|
-
return e.Message.
|
|
187816
|
-
}, proto.viam.service.slam.v1.
|
|
187817
|
-
return
|
|
187818
|
-
}, proto.viam.service.slam.v1.
|
|
187819
|
-
|
|
187820
|
-
|
|
187821
|
-
MAP_NOT_SET: 0,
|
|
187822
|
-
POINT_CLOUD: 1,
|
|
187823
|
-
IMAGE: 2
|
|
187824
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.getMapCase = function() {
|
|
187825
|
-
return (
|
|
187826
|
-
/** @type {proto.viam.service.slam.v1.GetMapResponse.MapCase} */
|
|
187827
|
-
e.Message.computeOneofCase(this, proto.viam.service.slam.v1.GetMapResponse.oneofGroups_[0])
|
|
187828
|
-
);
|
|
187829
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetMapResponse.prototype.toObject = function(s) {
|
|
187830
|
-
return proto.viam.service.slam.v1.GetMapResponse.toObject(s, this);
|
|
187831
|
-
}, proto.viam.service.slam.v1.GetMapResponse.toObject = function(s, g) {
|
|
187832
|
-
var l, u = {
|
|
187833
|
-
pointCloud: (l = g.getPointCloud()) && t.PointCloudObject.toObject(s, l),
|
|
187834
|
-
image: g.getImage_asB64(),
|
|
187835
|
-
mimeType: e.Message.getFieldWithDefault(g, 3, "")
|
|
187836
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.setName = function(s) {
|
|
187837
|
+
return e.Message.setProto3StringField(this, 1, s);
|
|
187838
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateResponse.prototype.toObject = function(s) {
|
|
187839
|
+
return proto.viam.service.slam.v1.GetInternalStateResponse.toObject(s, this);
|
|
187840
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.toObject = function(s, g) {
|
|
187841
|
+
var l = {
|
|
187842
|
+
internalStateChunk: g.getInternalStateChunk_asB64()
|
|
187836
187843
|
};
|
|
187837
|
-
return s && (
|
|
187838
|
-
}), proto.viam.service.slam.v1.
|
|
187839
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.
|
|
187840
|
-
return proto.viam.service.slam.v1.
|
|
187841
|
-
}, proto.viam.service.slam.v1.
|
|
187844
|
+
return s && (l.$jspbMessageInstance = g), l;
|
|
187845
|
+
}), proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinary = function(s) {
|
|
187846
|
+
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetInternalStateResponse();
|
|
187847
|
+
return proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinaryFromReader(l, g);
|
|
187848
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinaryFromReader = function(s, g) {
|
|
187842
187849
|
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
187843
187850
|
var l = g.getFieldNumber();
|
|
187844
187851
|
switch (l) {
|
|
187845
187852
|
case 1:
|
|
187846
|
-
var u = new t.PointCloudObject();
|
|
187847
|
-
g.readMessage(u, t.PointCloudObject.deserializeBinaryFromReader), s.setPointCloud(u);
|
|
187848
|
-
break;
|
|
187849
|
-
case 2:
|
|
187850
187853
|
var u = (
|
|
187851
187854
|
/** @type {!Uint8Array} */
|
|
187852
187855
|
g.readBytes()
|
|
187853
187856
|
);
|
|
187854
|
-
s.
|
|
187855
|
-
break;
|
|
187856
|
-
case 3:
|
|
187857
|
-
var u = (
|
|
187858
|
-
/** @type {string} */
|
|
187859
|
-
g.readString()
|
|
187860
|
-
);
|
|
187861
|
-
s.setMimeType(u);
|
|
187857
|
+
s.setInternalStateChunk(u);
|
|
187862
187858
|
break;
|
|
187863
187859
|
default:
|
|
187864
187860
|
g.skipField();
|
|
@@ -187866,66 +187862,36 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
187866
187862
|
}
|
|
187867
187863
|
}
|
|
187868
187864
|
return s;
|
|
187869
|
-
}, proto.viam.service.slam.v1.
|
|
187865
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.serializeBinary = function() {
|
|
187870
187866
|
var s = new e.BinaryWriter();
|
|
187871
|
-
return proto.viam.service.slam.v1.
|
|
187872
|
-
}, proto.viam.service.slam.v1.
|
|
187867
|
+
return proto.viam.service.slam.v1.GetInternalStateResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
187868
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.serializeBinaryToWriter = function(s, g) {
|
|
187873
187869
|
var l = void 0;
|
|
187874
|
-
l = s.
|
|
187870
|
+
l = s.getInternalStateChunk_asU8(), l.length > 0 && g.writeBytes(
|
|
187875
187871
|
1,
|
|
187876
|
-
l,
|
|
187877
|
-
t.PointCloudObject.serializeBinaryToWriter
|
|
187878
|
-
), l = /** @type {!(string|Uint8Array)} */
|
|
187879
|
-
e.Message.getField(s, 2), l != null && g.writeBytes(
|
|
187880
|
-
2,
|
|
187881
187872
|
l
|
|
187882
|
-
), l = s.getMimeType(), l.length > 0 && g.writeString(
|
|
187883
|
-
3,
|
|
187884
|
-
l
|
|
187885
|
-
);
|
|
187886
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.getPointCloud = function() {
|
|
187887
|
-
return (
|
|
187888
|
-
/** @type{?proto.viam.common.v1.PointCloudObject} */
|
|
187889
|
-
e.Message.getWrapperField(this, t.PointCloudObject, 1)
|
|
187890
187873
|
);
|
|
187891
|
-
}, proto.viam.service.slam.v1.
|
|
187892
|
-
return e.Message.setOneofWrapperField(this, 1, proto.viam.service.slam.v1.GetMapResponse.oneofGroups_[0], s);
|
|
187893
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.clearPointCloud = function() {
|
|
187894
|
-
return this.setPointCloud(void 0);
|
|
187895
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.hasPointCloud = function() {
|
|
187896
|
-
return e.Message.getField(this, 1) != null;
|
|
187897
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.getImage = function() {
|
|
187874
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalStateChunk = function() {
|
|
187898
187875
|
return (
|
|
187899
187876
|
/** @type {string} */
|
|
187900
|
-
e.Message.getFieldWithDefault(this,
|
|
187877
|
+
e.Message.getFieldWithDefault(this, 1, "")
|
|
187901
187878
|
);
|
|
187902
|
-
}, proto.viam.service.slam.v1.
|
|
187879
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalStateChunk_asB64 = function() {
|
|
187903
187880
|
return (
|
|
187904
187881
|
/** @type {string} */
|
|
187905
187882
|
e.Message.bytesAsB64(
|
|
187906
|
-
this.
|
|
187883
|
+
this.getInternalStateChunk()
|
|
187907
187884
|
)
|
|
187908
187885
|
);
|
|
187909
|
-
}, proto.viam.service.slam.v1.
|
|
187886
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalStateChunk_asU8 = function() {
|
|
187910
187887
|
return (
|
|
187911
187888
|
/** @type {!Uint8Array} */
|
|
187912
187889
|
e.Message.bytesAsU8(
|
|
187913
|
-
this.
|
|
187890
|
+
this.getInternalStateChunk()
|
|
187914
187891
|
)
|
|
187915
187892
|
);
|
|
187916
|
-
}, proto.viam.service.slam.v1.
|
|
187917
|
-
return e.Message.
|
|
187918
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.clearImage = function() {
|
|
187919
|
-
return e.Message.setOneofField(this, 2, proto.viam.service.slam.v1.GetMapResponse.oneofGroups_[0], void 0);
|
|
187920
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.hasImage = function() {
|
|
187921
|
-
return e.Message.getField(this, 2) != null;
|
|
187922
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.getMimeType = function() {
|
|
187923
|
-
return (
|
|
187924
|
-
/** @type {string} */
|
|
187925
|
-
e.Message.getFieldWithDefault(this, 3, "")
|
|
187926
|
-
);
|
|
187927
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.setMimeType = function(s) {
|
|
187928
|
-
return e.Message.setProto3StringField(this, 3, s);
|
|
187893
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.setInternalStateChunk = function(s) {
|
|
187894
|
+
return e.Message.setProto3BytesField(this, 1, s);
|
|
187929
187895
|
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionNewRequest.prototype.toObject = function(s) {
|
|
187930
187896
|
return proto.viam.service.slam.v1.GetPositionNewRequest.toObject(s, this);
|
|
187931
187897
|
}, proto.viam.service.slam.v1.GetPositionNewRequest.toObject = function(s, g) {
|
|
@@ -188052,206 +188018,6 @@ var annotations_pb$m = {}, http_pb$m = {};
|
|
|
188052
188018
|
return this.setExtra(void 0);
|
|
188053
188019
|
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.hasExtra = function() {
|
|
188054
188020
|
return e.Message.getField(this, 99) != null;
|
|
188055
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.toObject = function(s) {
|
|
188056
|
-
return proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject(s, this);
|
|
188057
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject = function(s, g) {
|
|
188058
|
-
var l = {
|
|
188059
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
188060
|
-
};
|
|
188061
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
188062
|
-
}), proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinary = function(s) {
|
|
188063
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPointCloudMapRequest();
|
|
188064
|
-
return proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinaryFromReader(l, g);
|
|
188065
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinaryFromReader = function(s, g) {
|
|
188066
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
188067
|
-
var l = g.getFieldNumber();
|
|
188068
|
-
switch (l) {
|
|
188069
|
-
case 1:
|
|
188070
|
-
var u = (
|
|
188071
|
-
/** @type {string} */
|
|
188072
|
-
g.readString()
|
|
188073
|
-
);
|
|
188074
|
-
s.setName(u);
|
|
188075
|
-
break;
|
|
188076
|
-
default:
|
|
188077
|
-
g.skipField();
|
|
188078
|
-
break;
|
|
188079
|
-
}
|
|
188080
|
-
}
|
|
188081
|
-
return s;
|
|
188082
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.serializeBinary = function() {
|
|
188083
|
-
var s = new e.BinaryWriter();
|
|
188084
|
-
return proto.viam.service.slam.v1.GetPointCloudMapRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
188085
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.serializeBinaryToWriter = function(s, g) {
|
|
188086
|
-
var l = void 0;
|
|
188087
|
-
l = s.getName(), l.length > 0 && g.writeString(
|
|
188088
|
-
1,
|
|
188089
|
-
l
|
|
188090
|
-
);
|
|
188091
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.getName = function() {
|
|
188092
|
-
return (
|
|
188093
|
-
/** @type {string} */
|
|
188094
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
188095
|
-
);
|
|
188096
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.setName = function(s) {
|
|
188097
|
-
return e.Message.setProto3StringField(this, 1, s);
|
|
188098
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.toObject = function(s) {
|
|
188099
|
-
return proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject(s, this);
|
|
188100
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject = function(s, g) {
|
|
188101
|
-
var l = {
|
|
188102
|
-
pointCloudPcd: g.getPointCloudPcd_asB64()
|
|
188103
|
-
};
|
|
188104
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
188105
|
-
}), proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinary = function(s) {
|
|
188106
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPointCloudMapResponse();
|
|
188107
|
-
return proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinaryFromReader(l, g);
|
|
188108
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinaryFromReader = function(s, g) {
|
|
188109
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
188110
|
-
var l = g.getFieldNumber();
|
|
188111
|
-
switch (l) {
|
|
188112
|
-
case 1:
|
|
188113
|
-
var u = (
|
|
188114
|
-
/** @type {!Uint8Array} */
|
|
188115
|
-
g.readBytes()
|
|
188116
|
-
);
|
|
188117
|
-
s.setPointCloudPcd(u);
|
|
188118
|
-
break;
|
|
188119
|
-
default:
|
|
188120
|
-
g.skipField();
|
|
188121
|
-
break;
|
|
188122
|
-
}
|
|
188123
|
-
}
|
|
188124
|
-
return s;
|
|
188125
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.serializeBinary = function() {
|
|
188126
|
-
var s = new e.BinaryWriter();
|
|
188127
|
-
return proto.viam.service.slam.v1.GetPointCloudMapResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
188128
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.serializeBinaryToWriter = function(s, g) {
|
|
188129
|
-
var l = void 0;
|
|
188130
|
-
l = s.getPointCloudPcd_asU8(), l.length > 0 && g.writeBytes(
|
|
188131
|
-
1,
|
|
188132
|
-
l
|
|
188133
|
-
);
|
|
188134
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcd = function() {
|
|
188135
|
-
return (
|
|
188136
|
-
/** @type {string} */
|
|
188137
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
188138
|
-
);
|
|
188139
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcd_asB64 = function() {
|
|
188140
|
-
return (
|
|
188141
|
-
/** @type {string} */
|
|
188142
|
-
e.Message.bytesAsB64(
|
|
188143
|
-
this.getPointCloudPcd()
|
|
188144
|
-
)
|
|
188145
|
-
);
|
|
188146
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcd_asU8 = function() {
|
|
188147
|
-
return (
|
|
188148
|
-
/** @type {!Uint8Array} */
|
|
188149
|
-
e.Message.bytesAsU8(
|
|
188150
|
-
this.getPointCloudPcd()
|
|
188151
|
-
)
|
|
188152
|
-
);
|
|
188153
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.setPointCloudPcd = function(s) {
|
|
188154
|
-
return e.Message.setProto3BytesField(this, 1, s);
|
|
188155
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateRequest.prototype.toObject = function(s) {
|
|
188156
|
-
return proto.viam.service.slam.v1.GetInternalStateRequest.toObject(s, this);
|
|
188157
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.toObject = function(s, g) {
|
|
188158
|
-
var l = {
|
|
188159
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
188160
|
-
};
|
|
188161
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
188162
|
-
}), proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinary = function(s) {
|
|
188163
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetInternalStateRequest();
|
|
188164
|
-
return proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinaryFromReader(l, g);
|
|
188165
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinaryFromReader = function(s, g) {
|
|
188166
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
188167
|
-
var l = g.getFieldNumber();
|
|
188168
|
-
switch (l) {
|
|
188169
|
-
case 1:
|
|
188170
|
-
var u = (
|
|
188171
|
-
/** @type {string} */
|
|
188172
|
-
g.readString()
|
|
188173
|
-
);
|
|
188174
|
-
s.setName(u);
|
|
188175
|
-
break;
|
|
188176
|
-
default:
|
|
188177
|
-
g.skipField();
|
|
188178
|
-
break;
|
|
188179
|
-
}
|
|
188180
|
-
}
|
|
188181
|
-
return s;
|
|
188182
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.serializeBinary = function() {
|
|
188183
|
-
var s = new e.BinaryWriter();
|
|
188184
|
-
return proto.viam.service.slam.v1.GetInternalStateRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
188185
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.serializeBinaryToWriter = function(s, g) {
|
|
188186
|
-
var l = void 0;
|
|
188187
|
-
l = s.getName(), l.length > 0 && g.writeString(
|
|
188188
|
-
1,
|
|
188189
|
-
l
|
|
188190
|
-
);
|
|
188191
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.getName = function() {
|
|
188192
|
-
return (
|
|
188193
|
-
/** @type {string} */
|
|
188194
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
188195
|
-
);
|
|
188196
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.setName = function(s) {
|
|
188197
|
-
return e.Message.setProto3StringField(this, 1, s);
|
|
188198
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateResponse.prototype.toObject = function(s) {
|
|
188199
|
-
return proto.viam.service.slam.v1.GetInternalStateResponse.toObject(s, this);
|
|
188200
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.toObject = function(s, g) {
|
|
188201
|
-
var l = {
|
|
188202
|
-
internalState: g.getInternalState_asB64()
|
|
188203
|
-
};
|
|
188204
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
188205
|
-
}), proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinary = function(s) {
|
|
188206
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetInternalStateResponse();
|
|
188207
|
-
return proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinaryFromReader(l, g);
|
|
188208
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinaryFromReader = function(s, g) {
|
|
188209
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
188210
|
-
var l = g.getFieldNumber();
|
|
188211
|
-
switch (l) {
|
|
188212
|
-
case 1:
|
|
188213
|
-
var u = (
|
|
188214
|
-
/** @type {!Uint8Array} */
|
|
188215
|
-
g.readBytes()
|
|
188216
|
-
);
|
|
188217
|
-
s.setInternalState(u);
|
|
188218
|
-
break;
|
|
188219
|
-
default:
|
|
188220
|
-
g.skipField();
|
|
188221
|
-
break;
|
|
188222
|
-
}
|
|
188223
|
-
}
|
|
188224
|
-
return s;
|
|
188225
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.serializeBinary = function() {
|
|
188226
|
-
var s = new e.BinaryWriter();
|
|
188227
|
-
return proto.viam.service.slam.v1.GetInternalStateResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
188228
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.serializeBinaryToWriter = function(s, g) {
|
|
188229
|
-
var l = void 0;
|
|
188230
|
-
l = s.getInternalState_asU8(), l.length > 0 && g.writeBytes(
|
|
188231
|
-
1,
|
|
188232
|
-
l
|
|
188233
|
-
);
|
|
188234
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalState = function() {
|
|
188235
|
-
return (
|
|
188236
|
-
/** @type {string} */
|
|
188237
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
188238
|
-
);
|
|
188239
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalState_asB64 = function() {
|
|
188240
|
-
return (
|
|
188241
|
-
/** @type {string} */
|
|
188242
|
-
e.Message.bytesAsB64(
|
|
188243
|
-
this.getInternalState()
|
|
188244
|
-
)
|
|
188245
|
-
);
|
|
188246
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalState_asU8 = function() {
|
|
188247
|
-
return (
|
|
188248
|
-
/** @type {!Uint8Array} */
|
|
188249
|
-
e.Message.bytesAsU8(
|
|
188250
|
-
this.getInternalState()
|
|
188251
|
-
)
|
|
188252
|
-
);
|
|
188253
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.setInternalState = function(s) {
|
|
188254
|
-
return e.Message.setProto3BytesField(this, 1, s);
|
|
188255
188021
|
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.prototype.toObject = function(s) {
|
|
188256
188022
|
return proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.toObject(s, this);
|
|
188257
188023
|
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.toObject = function(s, g) {
|
|
@@ -189221,27 +188987,11 @@ SLAMService.GetPosition = {
|
|
|
189221
188987
|
requestType: service_slam_v1_slam_pb.GetPositionRequest,
|
|
189222
188988
|
responseType: service_slam_v1_slam_pb.GetPositionResponse
|
|
189223
188989
|
};
|
|
189224
|
-
SLAMService.GetMap = {
|
|
189225
|
-
methodName: "GetMap",
|
|
189226
|
-
service: SLAMService,
|
|
189227
|
-
requestStream: !1,
|
|
189228
|
-
responseStream: !1,
|
|
189229
|
-
requestType: service_slam_v1_slam_pb.GetMapRequest,
|
|
189230
|
-
responseType: service_slam_v1_slam_pb.GetMapResponse
|
|
189231
|
-
};
|
|
189232
|
-
SLAMService.GetPositionNew = {
|
|
189233
|
-
methodName: "GetPositionNew",
|
|
189234
|
-
service: SLAMService,
|
|
189235
|
-
requestStream: !1,
|
|
189236
|
-
responseStream: !1,
|
|
189237
|
-
requestType: service_slam_v1_slam_pb.GetPositionNewRequest,
|
|
189238
|
-
responseType: service_slam_v1_slam_pb.GetPositionNewResponse
|
|
189239
|
-
};
|
|
189240
188990
|
SLAMService.GetPointCloudMap = {
|
|
189241
188991
|
methodName: "GetPointCloudMap",
|
|
189242
188992
|
service: SLAMService,
|
|
189243
188993
|
requestStream: !1,
|
|
189244
|
-
responseStream: !
|
|
188994
|
+
responseStream: !0,
|
|
189245
188995
|
requestType: service_slam_v1_slam_pb.GetPointCloudMapRequest,
|
|
189246
188996
|
responseType: service_slam_v1_slam_pb.GetPointCloudMapResponse
|
|
189247
188997
|
};
|
|
@@ -189249,10 +188999,18 @@ SLAMService.GetInternalState = {
|
|
|
189249
188999
|
methodName: "GetInternalState",
|
|
189250
189000
|
service: SLAMService,
|
|
189251
189001
|
requestStream: !1,
|
|
189252
|
-
responseStream: !
|
|
189002
|
+
responseStream: !0,
|
|
189253
189003
|
requestType: service_slam_v1_slam_pb.GetInternalStateRequest,
|
|
189254
189004
|
responseType: service_slam_v1_slam_pb.GetInternalStateResponse
|
|
189255
189005
|
};
|
|
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
|
+
};
|
|
189256
189014
|
SLAMService.GetPointCloudMapStream = {
|
|
189257
189015
|
methodName: "GetPointCloudMapStream",
|
|
189258
189016
|
service: SLAMService,
|
|
@@ -189303,78 +189061,75 @@ SLAMServiceClient.prototype.getPosition = function o(e, r, p) {
|
|
|
189303
189061
|
}
|
|
189304
189062
|
};
|
|
189305
189063
|
};
|
|
189306
|
-
SLAMServiceClient.prototype.
|
|
189307
|
-
|
|
189308
|
-
|
|
189309
|
-
|
|
189310
|
-
|
|
189311
|
-
|
|
189312
|
-
transport: this.options.transport,
|
|
189313
|
-
debug: this.options.debug,
|
|
189314
|
-
onEnd: function(n) {
|
|
189315
|
-
if (p)
|
|
189316
|
-
if (n.status !== grpc$6.Code.OK) {
|
|
189317
|
-
var i = new Error(n.statusMessage);
|
|
189318
|
-
i.code = n.status, i.metadata = n.trailers, p(i, null);
|
|
189319
|
-
} else
|
|
189320
|
-
p(null, n.message);
|
|
189321
|
-
}
|
|
189322
|
-
});
|
|
189323
|
-
return {
|
|
189324
|
-
cancel: function() {
|
|
189325
|
-
p = null, t.close();
|
|
189326
|
-
}
|
|
189327
|
-
};
|
|
189328
|
-
};
|
|
189329
|
-
SLAMServiceClient.prototype.getPositionNew = function o(e, r, p) {
|
|
189330
|
-
arguments.length === 2 && (p = arguments[1]);
|
|
189331
|
-
var t = grpc$6.unary(SLAMService.GetPositionNew, {
|
|
189064
|
+
SLAMServiceClient.prototype.getPointCloudMap = function o(e, r) {
|
|
189065
|
+
var p = {
|
|
189066
|
+
data: [],
|
|
189067
|
+
end: [],
|
|
189068
|
+
status: []
|
|
189069
|
+
}, t = grpc$6.invoke(SLAMService.GetPointCloudMap, {
|
|
189332
189070
|
request: e,
|
|
189333
189071
|
host: this.serviceHost,
|
|
189334
189072
|
metadata: r,
|
|
189335
189073
|
transport: this.options.transport,
|
|
189336
189074
|
debug: this.options.debug,
|
|
189337
|
-
|
|
189338
|
-
|
|
189339
|
-
|
|
189340
|
-
|
|
189341
|
-
|
|
189342
|
-
|
|
189343
|
-
|
|
189075
|
+
onMessage: function(n) {
|
|
189076
|
+
p.data.forEach(function(i) {
|
|
189077
|
+
i(n);
|
|
189078
|
+
});
|
|
189079
|
+
},
|
|
189080
|
+
onEnd: function(n, i, s) {
|
|
189081
|
+
p.status.forEach(function(g) {
|
|
189082
|
+
g({ code: n, details: i, metadata: s });
|
|
189083
|
+
}), p.end.forEach(function(g) {
|
|
189084
|
+
g({ code: n, details: i, metadata: s });
|
|
189085
|
+
}), p = null;
|
|
189344
189086
|
}
|
|
189345
189087
|
});
|
|
189346
189088
|
return {
|
|
189089
|
+
on: function(n, i) {
|
|
189090
|
+
return p[n].push(i), this;
|
|
189091
|
+
},
|
|
189347
189092
|
cancel: function() {
|
|
189348
189093
|
p = null, t.close();
|
|
189349
189094
|
}
|
|
189350
189095
|
};
|
|
189351
189096
|
};
|
|
189352
|
-
SLAMServiceClient.prototype.
|
|
189353
|
-
|
|
189354
|
-
|
|
189097
|
+
SLAMServiceClient.prototype.getInternalState = function o(e, r) {
|
|
189098
|
+
var p = {
|
|
189099
|
+
data: [],
|
|
189100
|
+
end: [],
|
|
189101
|
+
status: []
|
|
189102
|
+
}, t = grpc$6.invoke(SLAMService.GetInternalState, {
|
|
189355
189103
|
request: e,
|
|
189356
189104
|
host: this.serviceHost,
|
|
189357
189105
|
metadata: r,
|
|
189358
189106
|
transport: this.options.transport,
|
|
189359
189107
|
debug: this.options.debug,
|
|
189360
|
-
|
|
189361
|
-
|
|
189362
|
-
|
|
189363
|
-
|
|
189364
|
-
|
|
189365
|
-
|
|
189366
|
-
|
|
189108
|
+
onMessage: function(n) {
|
|
189109
|
+
p.data.forEach(function(i) {
|
|
189110
|
+
i(n);
|
|
189111
|
+
});
|
|
189112
|
+
},
|
|
189113
|
+
onEnd: function(n, i, s) {
|
|
189114
|
+
p.status.forEach(function(g) {
|
|
189115
|
+
g({ code: n, details: i, metadata: s });
|
|
189116
|
+
}), p.end.forEach(function(g) {
|
|
189117
|
+
g({ code: n, details: i, metadata: s });
|
|
189118
|
+
}), p = null;
|
|
189367
189119
|
}
|
|
189368
189120
|
});
|
|
189369
189121
|
return {
|
|
189122
|
+
on: function(n, i) {
|
|
189123
|
+
return p[n].push(i), this;
|
|
189124
|
+
},
|
|
189370
189125
|
cancel: function() {
|
|
189371
189126
|
p = null, t.close();
|
|
189372
189127
|
}
|
|
189373
189128
|
};
|
|
189374
189129
|
};
|
|
189375
|
-
SLAMServiceClient.prototype.
|
|
189130
|
+
SLAMServiceClient.prototype.getPositionNew = function o(e, r, p) {
|
|
189376
189131
|
arguments.length === 2 && (p = arguments[1]);
|
|
189377
|
-
var t = grpc$6.unary(SLAMService.
|
|
189132
|
+
var t = grpc$6.unary(SLAMService.GetPositionNew, {
|
|
189378
189133
|
request: e,
|
|
189379
189134
|
host: this.serviceHost,
|
|
189380
189135
|
metadata: r,
|
|
@@ -400091,19 +399846,11 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400091
399846
|
var n = annotations_pb$3;
|
|
400092
399847
|
r.object.extend(proto, n);
|
|
400093
399848
|
var i = struct_pb$4;
|
|
400094
|
-
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.GetInternalStateStreamRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetInternalStateStreamResponse", null, p), r.exportSymbol("proto.viam.service.slam.v1.
|
|
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.GetInternalStateStreamRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetInternalStateStreamResponse", 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.GetPointCloudMapStreamRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPointCloudMapStreamResponse", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPositionNewRequest", null, p), r.exportSymbol("proto.viam.service.slam.v1.GetPositionNewResponse", 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) {
|
|
400095
399850
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
400096
399851
|
}, 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) {
|
|
400097
399852
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
400098
|
-
}, r.inherits(proto.viam.service.slam.v1.GetPositionResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPositionResponse.displayName = "proto.viam.service.slam.v1.GetPositionResponse"), proto.viam.service.slam.v1.
|
|
400099
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
400100
|
-
}, r.inherits(proto.viam.service.slam.v1.GetMapRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetMapRequest.displayName = "proto.viam.service.slam.v1.GetMapRequest"), proto.viam.service.slam.v1.GetMapResponse = function(s) {
|
|
400101
|
-
e.Message.initialize(this, s, 0, -1, null, proto.viam.service.slam.v1.GetMapResponse.oneofGroups_);
|
|
400102
|
-
}, r.inherits(proto.viam.service.slam.v1.GetMapResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetMapResponse.displayName = "proto.viam.service.slam.v1.GetMapResponse"), proto.viam.service.slam.v1.GetPositionNewRequest = function(s) {
|
|
400103
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
400104
|
-
}, 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) {
|
|
400105
|
-
e.Message.initialize(this, s, 0, -1, null, null);
|
|
400106
|
-
}, 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.GetPointCloudMapRequest = function(s) {
|
|
399853
|
+
}, r.inherits(proto.viam.service.slam.v1.GetPositionResponse, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPositionResponse.displayName = "proto.viam.service.slam.v1.GetPositionResponse"), proto.viam.service.slam.v1.GetPointCloudMapRequest = function(s) {
|
|
400107
399854
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
400108
399855
|
}, r.inherits(proto.viam.service.slam.v1.GetPointCloudMapRequest, e.Message), r.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPointCloudMapRequest.displayName = "proto.viam.service.slam.v1.GetPointCloudMapRequest"), proto.viam.service.slam.v1.GetPointCloudMapResponse = function(s) {
|
|
400109
399856
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
@@ -400111,7 +399858,11 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400111
399858
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
400112
399859
|
}, 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) {
|
|
400113
399860
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
400114
|
-
}, 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.
|
|
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.GetPositionNewRequest = function(s) {
|
|
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) {
|
|
400115
399866
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
400116
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) {
|
|
400117
399868
|
e.Message.initialize(this, s, 0, -1, null, null);
|
|
@@ -400122,11 +399873,10 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400122
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) {
|
|
400123
399874
|
return proto.viam.service.slam.v1.GetPositionRequest.toObject(s, this);
|
|
400124
399875
|
}, proto.viam.service.slam.v1.GetPositionRequest.toObject = function(s, g) {
|
|
400125
|
-
var l
|
|
400126
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
400127
|
-
extra: (l = g.getExtra()) && i.Struct.toObject(s, l)
|
|
399876
|
+
var l = {
|
|
399877
|
+
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
400128
399878
|
};
|
|
400129
|
-
return s && (
|
|
399879
|
+
return s && (l.$jspbMessageInstance = g), l;
|
|
400130
399880
|
}), proto.viam.service.slam.v1.GetPositionRequest.deserializeBinary = function(s) {
|
|
400131
399881
|
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPositionRequest();
|
|
400132
399882
|
return proto.viam.service.slam.v1.GetPositionRequest.deserializeBinaryFromReader(l, g);
|
|
@@ -400141,10 +399891,6 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400141
399891
|
);
|
|
400142
399892
|
s.setName(u);
|
|
400143
399893
|
break;
|
|
400144
|
-
case 99:
|
|
400145
|
-
var u = new i.Struct();
|
|
400146
|
-
g.readMessage(u, i.Struct.deserializeBinaryFromReader), s.setExtra(u);
|
|
400147
|
-
break;
|
|
400148
399894
|
default:
|
|
400149
399895
|
g.skipField();
|
|
400150
399896
|
break;
|
|
@@ -400159,10 +399905,6 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400159
399905
|
l = s.getName(), l.length > 0 && g.writeString(
|
|
400160
399906
|
1,
|
|
400161
399907
|
l
|
|
400162
|
-
), l = s.getExtra(), l != null && g.writeMessage(
|
|
400163
|
-
99,
|
|
400164
|
-
l,
|
|
400165
|
-
i.Struct.serializeBinaryToWriter
|
|
400166
399908
|
);
|
|
400167
399909
|
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.getName = function() {
|
|
400168
399910
|
return (
|
|
@@ -400171,22 +399913,12 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400171
399913
|
);
|
|
400172
399914
|
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.setName = function(s) {
|
|
400173
399915
|
return e.Message.setProto3StringField(this, 1, s);
|
|
400174
|
-
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.getExtra = function() {
|
|
400175
|
-
return (
|
|
400176
|
-
/** @type{?proto.google.protobuf.Struct} */
|
|
400177
|
-
e.Message.getWrapperField(this, i.Struct, 99)
|
|
400178
|
-
);
|
|
400179
|
-
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.setExtra = function(s) {
|
|
400180
|
-
return e.Message.setWrapperField(this, 99, s);
|
|
400181
|
-
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.clearExtra = function() {
|
|
400182
|
-
return this.setExtra(void 0);
|
|
400183
|
-
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.hasExtra = function() {
|
|
400184
|
-
return e.Message.getField(this, 99) != null;
|
|
400185
399916
|
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionResponse.prototype.toObject = function(s) {
|
|
400186
399917
|
return proto.viam.service.slam.v1.GetPositionResponse.toObject(s, this);
|
|
400187
399918
|
}, proto.viam.service.slam.v1.GetPositionResponse.toObject = function(s, g) {
|
|
400188
399919
|
var l, u = {
|
|
400189
|
-
pose: (l = g.getPose()) && t.
|
|
399920
|
+
pose: (l = g.getPose()) && t.Pose.toObject(s, l),
|
|
399921
|
+
componentReference: e.Message.getFieldWithDefault(g, 2, ""),
|
|
400190
399922
|
extra: (l = g.getExtra()) && i.Struct.toObject(s, l)
|
|
400191
399923
|
};
|
|
400192
399924
|
return s && (u.$jspbMessageInstance = g), u;
|
|
@@ -400198,8 +399930,15 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400198
399930
|
var l = g.getFieldNumber();
|
|
400199
399931
|
switch (l) {
|
|
400200
399932
|
case 1:
|
|
400201
|
-
var u = new t.
|
|
400202
|
-
g.readMessage(u, t.
|
|
399933
|
+
var u = new t.Pose();
|
|
399934
|
+
g.readMessage(u, t.Pose.deserializeBinaryFromReader), s.setPose(u);
|
|
399935
|
+
break;
|
|
399936
|
+
case 2:
|
|
399937
|
+
var u = (
|
|
399938
|
+
/** @type {string} */
|
|
399939
|
+
g.readString()
|
|
399940
|
+
);
|
|
399941
|
+
s.setComponentReference(u);
|
|
400203
399942
|
break;
|
|
400204
399943
|
case 99:
|
|
400205
399944
|
var u = new i.Struct();
|
|
@@ -400219,7 +399958,10 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400219
399958
|
l = s.getPose(), l != null && g.writeMessage(
|
|
400220
399959
|
1,
|
|
400221
399960
|
l,
|
|
400222
|
-
t.
|
|
399961
|
+
t.Pose.serializeBinaryToWriter
|
|
399962
|
+
), l = s.getComponentReference(), l.length > 0 && g.writeString(
|
|
399963
|
+
2,
|
|
399964
|
+
l
|
|
400223
399965
|
), l = s.getExtra(), l != null && g.writeMessage(
|
|
400224
399966
|
99,
|
|
400225
399967
|
l,
|
|
@@ -400227,8 +399969,8 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400227
399969
|
);
|
|
400228
399970
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.getPose = function() {
|
|
400229
399971
|
return (
|
|
400230
|
-
/** @type{?proto.viam.common.v1.
|
|
400231
|
-
e.Message.getWrapperField(this, t.
|
|
399972
|
+
/** @type{?proto.viam.common.v1.Pose} */
|
|
399973
|
+
e.Message.getWrapperField(this, t.Pose, 1)
|
|
400232
399974
|
);
|
|
400233
399975
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.setPose = function(s) {
|
|
400234
399976
|
return e.Message.setWrapperField(this, 1, s);
|
|
@@ -400236,6 +399978,13 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400236
399978
|
return this.setPose(void 0);
|
|
400237
399979
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.hasPose = function() {
|
|
400238
399980
|
return e.Message.getField(this, 1) != null;
|
|
399981
|
+
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.getComponentReference = function() {
|
|
399982
|
+
return (
|
|
399983
|
+
/** @type {string} */
|
|
399984
|
+
e.Message.getFieldWithDefault(this, 2, "")
|
|
399985
|
+
);
|
|
399986
|
+
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.setComponentReference = function(s) {
|
|
399987
|
+
return e.Message.setProto3StringField(this, 2, s);
|
|
400239
399988
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.getExtra = function() {
|
|
400240
399989
|
return (
|
|
400241
399990
|
/** @type{?proto.google.protobuf.Struct} */
|
|
@@ -400247,21 +399996,17 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400247
399996
|
return this.setExtra(void 0);
|
|
400248
399997
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.hasExtra = function() {
|
|
400249
399998
|
return e.Message.getField(this, 99) != null;
|
|
400250
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.
|
|
400251
|
-
return proto.viam.service.slam.v1.
|
|
400252
|
-
}, proto.viam.service.slam.v1.
|
|
400253
|
-
var l
|
|
400254
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
400255
|
-
mimeType: e.Message.getFieldWithDefault(g, 2, ""),
|
|
400256
|
-
cameraPosition: (l = g.getCameraPosition()) && t.Pose.toObject(s, l),
|
|
400257
|
-
includeRobotMarker: e.Message.getBooleanFieldWithDefault(g, 4, !1),
|
|
400258
|
-
extra: (l = g.getExtra()) && i.Struct.toObject(s, l)
|
|
399999
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.toObject = function(s) {
|
|
400000
|
+
return proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject(s, this);
|
|
400001
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject = function(s, g) {
|
|
400002
|
+
var l = {
|
|
400003
|
+
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
400259
400004
|
};
|
|
400260
|
-
return s && (
|
|
400261
|
-
}), proto.viam.service.slam.v1.
|
|
400262
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.
|
|
400263
|
-
return proto.viam.service.slam.v1.
|
|
400264
|
-
}, proto.viam.service.slam.v1.
|
|
400005
|
+
return s && (l.$jspbMessageInstance = g), l;
|
|
400006
|
+
}), proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinary = function(s) {
|
|
400007
|
+
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPointCloudMapRequest();
|
|
400008
|
+
return proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinaryFromReader(l, g);
|
|
400009
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinaryFromReader = function(s, g) {
|
|
400265
400010
|
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400266
400011
|
var l = g.getFieldNumber();
|
|
400267
400012
|
switch (l) {
|
|
@@ -400272,27 +400017,48 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400272
400017
|
);
|
|
400273
400018
|
s.setName(u);
|
|
400274
400019
|
break;
|
|
400275
|
-
|
|
400276
|
-
|
|
400277
|
-
/** @type {string} */
|
|
400278
|
-
g.readString()
|
|
400279
|
-
);
|
|
400280
|
-
s.setMimeType(u);
|
|
400281
|
-
break;
|
|
400282
|
-
case 3:
|
|
400283
|
-
var u = new t.Pose();
|
|
400284
|
-
g.readMessage(u, t.Pose.deserializeBinaryFromReader), s.setCameraPosition(u);
|
|
400020
|
+
default:
|
|
400021
|
+
g.skipField();
|
|
400285
400022
|
break;
|
|
400286
|
-
|
|
400023
|
+
}
|
|
400024
|
+
}
|
|
400025
|
+
return s;
|
|
400026
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.serializeBinary = function() {
|
|
400027
|
+
var s = new e.BinaryWriter();
|
|
400028
|
+
return proto.viam.service.slam.v1.GetPointCloudMapRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400029
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.serializeBinaryToWriter = function(s, g) {
|
|
400030
|
+
var l = void 0;
|
|
400031
|
+
l = s.getName(), l.length > 0 && g.writeString(
|
|
400032
|
+
1,
|
|
400033
|
+
l
|
|
400034
|
+
);
|
|
400035
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.getName = function() {
|
|
400036
|
+
return (
|
|
400037
|
+
/** @type {string} */
|
|
400038
|
+
e.Message.getFieldWithDefault(this, 1, "")
|
|
400039
|
+
);
|
|
400040
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.setName = function(s) {
|
|
400041
|
+
return e.Message.setProto3StringField(this, 1, s);
|
|
400042
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.toObject = function(s) {
|
|
400043
|
+
return proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject(s, this);
|
|
400044
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject = function(s, g) {
|
|
400045
|
+
var l = {
|
|
400046
|
+
pointCloudPcdChunk: g.getPointCloudPcdChunk_asB64()
|
|
400047
|
+
};
|
|
400048
|
+
return s && (l.$jspbMessageInstance = g), l;
|
|
400049
|
+
}), proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinary = function(s) {
|
|
400050
|
+
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPointCloudMapResponse();
|
|
400051
|
+
return proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinaryFromReader(l, g);
|
|
400052
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinaryFromReader = function(s, g) {
|
|
400053
|
+
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400054
|
+
var l = g.getFieldNumber();
|
|
400055
|
+
switch (l) {
|
|
400056
|
+
case 1:
|
|
400287
400057
|
var u = (
|
|
400288
|
-
/** @type {
|
|
400289
|
-
g.
|
|
400058
|
+
/** @type {!Uint8Array} */
|
|
400059
|
+
g.readBytes()
|
|
400290
400060
|
);
|
|
400291
|
-
s.
|
|
400292
|
-
break;
|
|
400293
|
-
case 99:
|
|
400294
|
-
var u = new i.Struct();
|
|
400295
|
-
g.readMessage(u, i.Struct.deserializeBinaryFromReader), s.setExtra(u);
|
|
400061
|
+
s.setPointCloudPcdChunk(u);
|
|
400296
400062
|
break;
|
|
400297
400063
|
default:
|
|
400298
400064
|
g.skipField();
|
|
@@ -400300,114 +400066,99 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400300
400066
|
}
|
|
400301
400067
|
}
|
|
400302
400068
|
return s;
|
|
400303
|
-
}, proto.viam.service.slam.v1.
|
|
400069
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.serializeBinary = function() {
|
|
400304
400070
|
var s = new e.BinaryWriter();
|
|
400305
|
-
return proto.viam.service.slam.v1.
|
|
400306
|
-
}, proto.viam.service.slam.v1.
|
|
400071
|
+
return proto.viam.service.slam.v1.GetPointCloudMapResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400072
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.serializeBinaryToWriter = function(s, g) {
|
|
400307
400073
|
var l = void 0;
|
|
400308
|
-
l = s.
|
|
400074
|
+
l = s.getPointCloudPcdChunk_asU8(), l.length > 0 && g.writeBytes(
|
|
400309
400075
|
1,
|
|
400310
400076
|
l
|
|
400311
|
-
), l = s.getMimeType(), l.length > 0 && g.writeString(
|
|
400312
|
-
2,
|
|
400313
|
-
l
|
|
400314
|
-
), l = s.getCameraPosition(), l != null && g.writeMessage(
|
|
400315
|
-
3,
|
|
400316
|
-
l,
|
|
400317
|
-
t.Pose.serializeBinaryToWriter
|
|
400318
|
-
), l = s.getIncludeRobotMarker(), l && g.writeBool(
|
|
400319
|
-
4,
|
|
400320
|
-
l
|
|
400321
|
-
), l = s.getExtra(), l != null && g.writeMessage(
|
|
400322
|
-
99,
|
|
400323
|
-
l,
|
|
400324
|
-
i.Struct.serializeBinaryToWriter
|
|
400325
400077
|
);
|
|
400326
|
-
}, proto.viam.service.slam.v1.
|
|
400078
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcdChunk = function() {
|
|
400327
400079
|
return (
|
|
400328
400080
|
/** @type {string} */
|
|
400329
400081
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
400330
400082
|
);
|
|
400331
|
-
}, proto.viam.service.slam.v1.
|
|
400332
|
-
return e.Message.setProto3StringField(this, 1, s);
|
|
400333
|
-
}, proto.viam.service.slam.v1.GetMapRequest.prototype.getMimeType = function() {
|
|
400083
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcdChunk_asB64 = function() {
|
|
400334
400084
|
return (
|
|
400335
400085
|
/** @type {string} */
|
|
400336
|
-
e.Message.
|
|
400086
|
+
e.Message.bytesAsB64(
|
|
400087
|
+
this.getPointCloudPcdChunk()
|
|
400088
|
+
)
|
|
400337
400089
|
);
|
|
400338
|
-
}, proto.viam.service.slam.v1.
|
|
400339
|
-
return e.Message.setProto3StringField(this, 2, s);
|
|
400340
|
-
}, proto.viam.service.slam.v1.GetMapRequest.prototype.getCameraPosition = function() {
|
|
400090
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcdChunk_asU8 = function() {
|
|
400341
400091
|
return (
|
|
400342
|
-
/** @type{
|
|
400343
|
-
e.Message.
|
|
400092
|
+
/** @type {!Uint8Array} */
|
|
400093
|
+
e.Message.bytesAsU8(
|
|
400094
|
+
this.getPointCloudPcdChunk()
|
|
400095
|
+
)
|
|
400344
400096
|
);
|
|
400345
|
-
}, proto.viam.service.slam.v1.
|
|
400346
|
-
return e.Message.
|
|
400347
|
-
}, proto.viam.service.slam.v1.
|
|
400348
|
-
return
|
|
400349
|
-
}, proto.viam.service.slam.v1.
|
|
400350
|
-
|
|
400351
|
-
|
|
400352
|
-
|
|
400353
|
-
|
|
400354
|
-
|
|
400097
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.setPointCloudPcdChunk = function(s) {
|
|
400098
|
+
return e.Message.setProto3BytesField(this, 1, s);
|
|
400099
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateRequest.prototype.toObject = function(s) {
|
|
400100
|
+
return proto.viam.service.slam.v1.GetInternalStateRequest.toObject(s, this);
|
|
400101
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.toObject = function(s, g) {
|
|
400102
|
+
var l = {
|
|
400103
|
+
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
400104
|
+
};
|
|
400105
|
+
return s && (l.$jspbMessageInstance = g), l;
|
|
400106
|
+
}), proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinary = function(s) {
|
|
400107
|
+
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetInternalStateRequest();
|
|
400108
|
+
return proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinaryFromReader(l, g);
|
|
400109
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinaryFromReader = function(s, g) {
|
|
400110
|
+
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400111
|
+
var l = g.getFieldNumber();
|
|
400112
|
+
switch (l) {
|
|
400113
|
+
case 1:
|
|
400114
|
+
var u = (
|
|
400115
|
+
/** @type {string} */
|
|
400116
|
+
g.readString()
|
|
400117
|
+
);
|
|
400118
|
+
s.setName(u);
|
|
400119
|
+
break;
|
|
400120
|
+
default:
|
|
400121
|
+
g.skipField();
|
|
400122
|
+
break;
|
|
400123
|
+
}
|
|
400124
|
+
}
|
|
400125
|
+
return s;
|
|
400126
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.serializeBinary = function() {
|
|
400127
|
+
var s = new e.BinaryWriter();
|
|
400128
|
+
return proto.viam.service.slam.v1.GetInternalStateRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400129
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.serializeBinaryToWriter = function(s, g) {
|
|
400130
|
+
var l = void 0;
|
|
400131
|
+
l = s.getName(), l.length > 0 && g.writeString(
|
|
400132
|
+
1,
|
|
400133
|
+
l
|
|
400355
400134
|
);
|
|
400356
|
-
}, proto.viam.service.slam.v1.
|
|
400357
|
-
return e.Message.setProto3BooleanField(this, 4, s);
|
|
400358
|
-
}, proto.viam.service.slam.v1.GetMapRequest.prototype.getExtra = function() {
|
|
400135
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.getName = function() {
|
|
400359
400136
|
return (
|
|
400360
|
-
/** @type{
|
|
400361
|
-
e.Message.
|
|
400137
|
+
/** @type {string} */
|
|
400138
|
+
e.Message.getFieldWithDefault(this, 1, "")
|
|
400362
400139
|
);
|
|
400363
|
-
}, proto.viam.service.slam.v1.
|
|
400364
|
-
return e.Message.
|
|
400365
|
-
}, proto.viam.service.slam.v1.
|
|
400366
|
-
return
|
|
400367
|
-
}, proto.viam.service.slam.v1.
|
|
400368
|
-
|
|
400369
|
-
|
|
400370
|
-
MAP_NOT_SET: 0,
|
|
400371
|
-
POINT_CLOUD: 1,
|
|
400372
|
-
IMAGE: 2
|
|
400373
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.getMapCase = function() {
|
|
400374
|
-
return (
|
|
400375
|
-
/** @type {proto.viam.service.slam.v1.GetMapResponse.MapCase} */
|
|
400376
|
-
e.Message.computeOneofCase(this, proto.viam.service.slam.v1.GetMapResponse.oneofGroups_[0])
|
|
400377
|
-
);
|
|
400378
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetMapResponse.prototype.toObject = function(s) {
|
|
400379
|
-
return proto.viam.service.slam.v1.GetMapResponse.toObject(s, this);
|
|
400380
|
-
}, proto.viam.service.slam.v1.GetMapResponse.toObject = function(s, g) {
|
|
400381
|
-
var l, u = {
|
|
400382
|
-
pointCloud: (l = g.getPointCloud()) && t.PointCloudObject.toObject(s, l),
|
|
400383
|
-
image: g.getImage_asB64(),
|
|
400384
|
-
mimeType: e.Message.getFieldWithDefault(g, 3, "")
|
|
400140
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.setName = function(s) {
|
|
400141
|
+
return e.Message.setProto3StringField(this, 1, s);
|
|
400142
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateResponse.prototype.toObject = function(s) {
|
|
400143
|
+
return proto.viam.service.slam.v1.GetInternalStateResponse.toObject(s, this);
|
|
400144
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.toObject = function(s, g) {
|
|
400145
|
+
var l = {
|
|
400146
|
+
internalStateChunk: g.getInternalStateChunk_asB64()
|
|
400385
400147
|
};
|
|
400386
|
-
return s && (
|
|
400387
|
-
}), proto.viam.service.slam.v1.
|
|
400388
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.
|
|
400389
|
-
return proto.viam.service.slam.v1.
|
|
400390
|
-
}, proto.viam.service.slam.v1.
|
|
400148
|
+
return s && (l.$jspbMessageInstance = g), l;
|
|
400149
|
+
}), proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinary = function(s) {
|
|
400150
|
+
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetInternalStateResponse();
|
|
400151
|
+
return proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinaryFromReader(l, g);
|
|
400152
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinaryFromReader = function(s, g) {
|
|
400391
400153
|
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400392
400154
|
var l = g.getFieldNumber();
|
|
400393
400155
|
switch (l) {
|
|
400394
400156
|
case 1:
|
|
400395
|
-
var u = new t.PointCloudObject();
|
|
400396
|
-
g.readMessage(u, t.PointCloudObject.deserializeBinaryFromReader), s.setPointCloud(u);
|
|
400397
|
-
break;
|
|
400398
|
-
case 2:
|
|
400399
400157
|
var u = (
|
|
400400
400158
|
/** @type {!Uint8Array} */
|
|
400401
400159
|
g.readBytes()
|
|
400402
400160
|
);
|
|
400403
|
-
s.
|
|
400404
|
-
break;
|
|
400405
|
-
case 3:
|
|
400406
|
-
var u = (
|
|
400407
|
-
/** @type {string} */
|
|
400408
|
-
g.readString()
|
|
400409
|
-
);
|
|
400410
|
-
s.setMimeType(u);
|
|
400161
|
+
s.setInternalStateChunk(u);
|
|
400411
400162
|
break;
|
|
400412
400163
|
default:
|
|
400413
400164
|
g.skipField();
|
|
@@ -400415,66 +400166,36 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400415
400166
|
}
|
|
400416
400167
|
}
|
|
400417
400168
|
return s;
|
|
400418
|
-
}, proto.viam.service.slam.v1.
|
|
400169
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.serializeBinary = function() {
|
|
400419
400170
|
var s = new e.BinaryWriter();
|
|
400420
|
-
return proto.viam.service.slam.v1.
|
|
400421
|
-
}, proto.viam.service.slam.v1.
|
|
400171
|
+
return proto.viam.service.slam.v1.GetInternalStateResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400172
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.serializeBinaryToWriter = function(s, g) {
|
|
400422
400173
|
var l = void 0;
|
|
400423
|
-
l = s.
|
|
400174
|
+
l = s.getInternalStateChunk_asU8(), l.length > 0 && g.writeBytes(
|
|
400424
400175
|
1,
|
|
400425
|
-
l,
|
|
400426
|
-
t.PointCloudObject.serializeBinaryToWriter
|
|
400427
|
-
), l = /** @type {!(string|Uint8Array)} */
|
|
400428
|
-
e.Message.getField(s, 2), l != null && g.writeBytes(
|
|
400429
|
-
2,
|
|
400430
|
-
l
|
|
400431
|
-
), l = s.getMimeType(), l.length > 0 && g.writeString(
|
|
400432
|
-
3,
|
|
400433
400176
|
l
|
|
400434
400177
|
);
|
|
400435
|
-
}, proto.viam.service.slam.v1.
|
|
400436
|
-
return (
|
|
400437
|
-
/** @type{?proto.viam.common.v1.PointCloudObject} */
|
|
400438
|
-
e.Message.getWrapperField(this, t.PointCloudObject, 1)
|
|
400439
|
-
);
|
|
400440
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.setPointCloud = function(s) {
|
|
400441
|
-
return e.Message.setOneofWrapperField(this, 1, proto.viam.service.slam.v1.GetMapResponse.oneofGroups_[0], s);
|
|
400442
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.clearPointCloud = function() {
|
|
400443
|
-
return this.setPointCloud(void 0);
|
|
400444
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.hasPointCloud = function() {
|
|
400445
|
-
return e.Message.getField(this, 1) != null;
|
|
400446
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.getImage = function() {
|
|
400178
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalStateChunk = function() {
|
|
400447
400179
|
return (
|
|
400448
400180
|
/** @type {string} */
|
|
400449
|
-
e.Message.getFieldWithDefault(this,
|
|
400181
|
+
e.Message.getFieldWithDefault(this, 1, "")
|
|
400450
400182
|
);
|
|
400451
|
-
}, proto.viam.service.slam.v1.
|
|
400183
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalStateChunk_asB64 = function() {
|
|
400452
400184
|
return (
|
|
400453
400185
|
/** @type {string} */
|
|
400454
400186
|
e.Message.bytesAsB64(
|
|
400455
|
-
this.
|
|
400187
|
+
this.getInternalStateChunk()
|
|
400456
400188
|
)
|
|
400457
400189
|
);
|
|
400458
|
-
}, proto.viam.service.slam.v1.
|
|
400190
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalStateChunk_asU8 = function() {
|
|
400459
400191
|
return (
|
|
400460
400192
|
/** @type {!Uint8Array} */
|
|
400461
400193
|
e.Message.bytesAsU8(
|
|
400462
|
-
this.
|
|
400194
|
+
this.getInternalStateChunk()
|
|
400463
400195
|
)
|
|
400464
400196
|
);
|
|
400465
|
-
}, proto.viam.service.slam.v1.
|
|
400466
|
-
return e.Message.
|
|
400467
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.clearImage = function() {
|
|
400468
|
-
return e.Message.setOneofField(this, 2, proto.viam.service.slam.v1.GetMapResponse.oneofGroups_[0], void 0);
|
|
400469
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.hasImage = function() {
|
|
400470
|
-
return e.Message.getField(this, 2) != null;
|
|
400471
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.getMimeType = function() {
|
|
400472
|
-
return (
|
|
400473
|
-
/** @type {string} */
|
|
400474
|
-
e.Message.getFieldWithDefault(this, 3, "")
|
|
400475
|
-
);
|
|
400476
|
-
}, proto.viam.service.slam.v1.GetMapResponse.prototype.setMimeType = function(s) {
|
|
400477
|
-
return e.Message.setProto3StringField(this, 3, s);
|
|
400197
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.setInternalStateChunk = function(s) {
|
|
400198
|
+
return e.Message.setProto3BytesField(this, 1, s);
|
|
400478
400199
|
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionNewRequest.prototype.toObject = function(s) {
|
|
400479
400200
|
return proto.viam.service.slam.v1.GetPositionNewRequest.toObject(s, this);
|
|
400480
400201
|
}, proto.viam.service.slam.v1.GetPositionNewRequest.toObject = function(s, g) {
|
|
@@ -400601,206 +400322,6 @@ var annotations_pb$3 = {}, http_pb$3 = {};
|
|
|
400601
400322
|
return this.setExtra(void 0);
|
|
400602
400323
|
}, proto.viam.service.slam.v1.GetPositionNewResponse.prototype.hasExtra = function() {
|
|
400603
400324
|
return e.Message.getField(this, 99) != null;
|
|
400604
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.toObject = function(s) {
|
|
400605
|
-
return proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject(s, this);
|
|
400606
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject = function(s, g) {
|
|
400607
|
-
var l = {
|
|
400608
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
400609
|
-
};
|
|
400610
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
400611
|
-
}), proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinary = function(s) {
|
|
400612
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPointCloudMapRequest();
|
|
400613
|
-
return proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinaryFromReader(l, g);
|
|
400614
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinaryFromReader = function(s, g) {
|
|
400615
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400616
|
-
var l = g.getFieldNumber();
|
|
400617
|
-
switch (l) {
|
|
400618
|
-
case 1:
|
|
400619
|
-
var u = (
|
|
400620
|
-
/** @type {string} */
|
|
400621
|
-
g.readString()
|
|
400622
|
-
);
|
|
400623
|
-
s.setName(u);
|
|
400624
|
-
break;
|
|
400625
|
-
default:
|
|
400626
|
-
g.skipField();
|
|
400627
|
-
break;
|
|
400628
|
-
}
|
|
400629
|
-
}
|
|
400630
|
-
return s;
|
|
400631
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.serializeBinary = function() {
|
|
400632
|
-
var s = new e.BinaryWriter();
|
|
400633
|
-
return proto.viam.service.slam.v1.GetPointCloudMapRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400634
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.serializeBinaryToWriter = function(s, g) {
|
|
400635
|
-
var l = void 0;
|
|
400636
|
-
l = s.getName(), l.length > 0 && g.writeString(
|
|
400637
|
-
1,
|
|
400638
|
-
l
|
|
400639
|
-
);
|
|
400640
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.getName = function() {
|
|
400641
|
-
return (
|
|
400642
|
-
/** @type {string} */
|
|
400643
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
400644
|
-
);
|
|
400645
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.setName = function(s) {
|
|
400646
|
-
return e.Message.setProto3StringField(this, 1, s);
|
|
400647
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.toObject = function(s) {
|
|
400648
|
-
return proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject(s, this);
|
|
400649
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject = function(s, g) {
|
|
400650
|
-
var l = {
|
|
400651
|
-
pointCloudPcd: g.getPointCloudPcd_asB64()
|
|
400652
|
-
};
|
|
400653
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
400654
|
-
}), proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinary = function(s) {
|
|
400655
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetPointCloudMapResponse();
|
|
400656
|
-
return proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinaryFromReader(l, g);
|
|
400657
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinaryFromReader = function(s, g) {
|
|
400658
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400659
|
-
var l = g.getFieldNumber();
|
|
400660
|
-
switch (l) {
|
|
400661
|
-
case 1:
|
|
400662
|
-
var u = (
|
|
400663
|
-
/** @type {!Uint8Array} */
|
|
400664
|
-
g.readBytes()
|
|
400665
|
-
);
|
|
400666
|
-
s.setPointCloudPcd(u);
|
|
400667
|
-
break;
|
|
400668
|
-
default:
|
|
400669
|
-
g.skipField();
|
|
400670
|
-
break;
|
|
400671
|
-
}
|
|
400672
|
-
}
|
|
400673
|
-
return s;
|
|
400674
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.serializeBinary = function() {
|
|
400675
|
-
var s = new e.BinaryWriter();
|
|
400676
|
-
return proto.viam.service.slam.v1.GetPointCloudMapResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400677
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.serializeBinaryToWriter = function(s, g) {
|
|
400678
|
-
var l = void 0;
|
|
400679
|
-
l = s.getPointCloudPcd_asU8(), l.length > 0 && g.writeBytes(
|
|
400680
|
-
1,
|
|
400681
|
-
l
|
|
400682
|
-
);
|
|
400683
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcd = function() {
|
|
400684
|
-
return (
|
|
400685
|
-
/** @type {string} */
|
|
400686
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
400687
|
-
);
|
|
400688
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcd_asB64 = function() {
|
|
400689
|
-
return (
|
|
400690
|
-
/** @type {string} */
|
|
400691
|
-
e.Message.bytesAsB64(
|
|
400692
|
-
this.getPointCloudPcd()
|
|
400693
|
-
)
|
|
400694
|
-
);
|
|
400695
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcd_asU8 = function() {
|
|
400696
|
-
return (
|
|
400697
|
-
/** @type {!Uint8Array} */
|
|
400698
|
-
e.Message.bytesAsU8(
|
|
400699
|
-
this.getPointCloudPcd()
|
|
400700
|
-
)
|
|
400701
|
-
);
|
|
400702
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.setPointCloudPcd = function(s) {
|
|
400703
|
-
return e.Message.setProto3BytesField(this, 1, s);
|
|
400704
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateRequest.prototype.toObject = function(s) {
|
|
400705
|
-
return proto.viam.service.slam.v1.GetInternalStateRequest.toObject(s, this);
|
|
400706
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.toObject = function(s, g) {
|
|
400707
|
-
var l = {
|
|
400708
|
-
name: e.Message.getFieldWithDefault(g, 1, "")
|
|
400709
|
-
};
|
|
400710
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
400711
|
-
}), proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinary = function(s) {
|
|
400712
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetInternalStateRequest();
|
|
400713
|
-
return proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinaryFromReader(l, g);
|
|
400714
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinaryFromReader = function(s, g) {
|
|
400715
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400716
|
-
var l = g.getFieldNumber();
|
|
400717
|
-
switch (l) {
|
|
400718
|
-
case 1:
|
|
400719
|
-
var u = (
|
|
400720
|
-
/** @type {string} */
|
|
400721
|
-
g.readString()
|
|
400722
|
-
);
|
|
400723
|
-
s.setName(u);
|
|
400724
|
-
break;
|
|
400725
|
-
default:
|
|
400726
|
-
g.skipField();
|
|
400727
|
-
break;
|
|
400728
|
-
}
|
|
400729
|
-
}
|
|
400730
|
-
return s;
|
|
400731
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.serializeBinary = function() {
|
|
400732
|
-
var s = new e.BinaryWriter();
|
|
400733
|
-
return proto.viam.service.slam.v1.GetInternalStateRequest.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400734
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.serializeBinaryToWriter = function(s, g) {
|
|
400735
|
-
var l = void 0;
|
|
400736
|
-
l = s.getName(), l.length > 0 && g.writeString(
|
|
400737
|
-
1,
|
|
400738
|
-
l
|
|
400739
|
-
);
|
|
400740
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.getName = function() {
|
|
400741
|
-
return (
|
|
400742
|
-
/** @type {string} */
|
|
400743
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
400744
|
-
);
|
|
400745
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.setName = function(s) {
|
|
400746
|
-
return e.Message.setProto3StringField(this, 1, s);
|
|
400747
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateResponse.prototype.toObject = function(s) {
|
|
400748
|
-
return proto.viam.service.slam.v1.GetInternalStateResponse.toObject(s, this);
|
|
400749
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.toObject = function(s, g) {
|
|
400750
|
-
var l = {
|
|
400751
|
-
internalState: g.getInternalState_asB64()
|
|
400752
|
-
};
|
|
400753
|
-
return s && (l.$jspbMessageInstance = g), l;
|
|
400754
|
-
}), proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinary = function(s) {
|
|
400755
|
-
var g = new e.BinaryReader(s), l = new proto.viam.service.slam.v1.GetInternalStateResponse();
|
|
400756
|
-
return proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinaryFromReader(l, g);
|
|
400757
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinaryFromReader = function(s, g) {
|
|
400758
|
-
for (; g.nextField() && !g.isEndGroup(); ) {
|
|
400759
|
-
var l = g.getFieldNumber();
|
|
400760
|
-
switch (l) {
|
|
400761
|
-
case 1:
|
|
400762
|
-
var u = (
|
|
400763
|
-
/** @type {!Uint8Array} */
|
|
400764
|
-
g.readBytes()
|
|
400765
|
-
);
|
|
400766
|
-
s.setInternalState(u);
|
|
400767
|
-
break;
|
|
400768
|
-
default:
|
|
400769
|
-
g.skipField();
|
|
400770
|
-
break;
|
|
400771
|
-
}
|
|
400772
|
-
}
|
|
400773
|
-
return s;
|
|
400774
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.serializeBinary = function() {
|
|
400775
|
-
var s = new e.BinaryWriter();
|
|
400776
|
-
return proto.viam.service.slam.v1.GetInternalStateResponse.serializeBinaryToWriter(this, s), s.getResultBuffer();
|
|
400777
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.serializeBinaryToWriter = function(s, g) {
|
|
400778
|
-
var l = void 0;
|
|
400779
|
-
l = s.getInternalState_asU8(), l.length > 0 && g.writeBytes(
|
|
400780
|
-
1,
|
|
400781
|
-
l
|
|
400782
|
-
);
|
|
400783
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalState = function() {
|
|
400784
|
-
return (
|
|
400785
|
-
/** @type {string} */
|
|
400786
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
400787
|
-
);
|
|
400788
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalState_asB64 = function() {
|
|
400789
|
-
return (
|
|
400790
|
-
/** @type {string} */
|
|
400791
|
-
e.Message.bytesAsB64(
|
|
400792
|
-
this.getInternalState()
|
|
400793
|
-
)
|
|
400794
|
-
);
|
|
400795
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalState_asU8 = function() {
|
|
400796
|
-
return (
|
|
400797
|
-
/** @type {!Uint8Array} */
|
|
400798
|
-
e.Message.bytesAsU8(
|
|
400799
|
-
this.getInternalState()
|
|
400800
|
-
)
|
|
400801
|
-
);
|
|
400802
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.setInternalState = function(s) {
|
|
400803
|
-
return e.Message.setProto3BytesField(this, 1, s);
|
|
400804
400325
|
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.prototype.toObject = function(s) {
|
|
400805
400326
|
return proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.toObject(s, this);
|
|
400806
400327
|
}, proto.viam.service.slam.v1.GetPointCloudMapStreamRequest.toObject = function(s, g) {
|