@viamrobotics/sdk 0.9.3 → 0.10.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gen/app/agent/v1/agent_pb.d.ts +13 -0
- package/dist/gen/app/v1/app_pb.d.ts +20 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +3 -17
- package/dist/gen/service/generic/v1/generic_pb.d.ts +7 -0
- package/dist/gen/service/generic/v1/generic_pb_service.d.ts +64 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +9 -3
- package/dist/gen/service/slam/v1/slam_pb.d.ts +0 -43
- package/dist/gen/service/slam/v1/slam_pb_service.d.ts +0 -19
- package/dist/main.es.js +289 -404
- package/dist/main.umd.js +2 -2
- package/dist/services/motion/client.d.ts +1 -1
- package/dist/services/motion/motion.d.ts +32 -20
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -35918,6 +35918,7 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
35918
35918
|
destination: (l = i.getDestination()) && s.Pose.toObject(r, l),
|
|
35919
35919
|
componentName: (l = i.getComponentName()) && s.ResourceName.toObject(r, l),
|
|
35920
35920
|
slamServiceName: (l = i.getSlamServiceName()) && s.ResourceName.toObject(r, l),
|
|
35921
|
+
motionConfiguration: (l = i.getMotionConfiguration()) && proto.viam.service.motion.v1.MotionConfiguration.toObject(r, l),
|
|
35921
35922
|
extra: (l = i.getExtra()) && u.Struct.toObject(r, l)
|
|
35922
35923
|
};
|
|
35923
35924
|
return r && (c.$jspbMessageInstance = i), c;
|
|
@@ -35947,6 +35948,10 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
35947
35948
|
var c = new s.ResourceName();
|
|
35948
35949
|
i.readMessage(c, s.ResourceName.deserializeBinaryFromReader), r.setSlamServiceName(c);
|
|
35949
35950
|
break;
|
|
35951
|
+
case 5:
|
|
35952
|
+
var c = new proto.viam.service.motion.v1.MotionConfiguration();
|
|
35953
|
+
i.readMessage(c, proto.viam.service.motion.v1.MotionConfiguration.deserializeBinaryFromReader), r.setMotionConfiguration(c);
|
|
35954
|
+
break;
|
|
35950
35955
|
case 99:
|
|
35951
35956
|
var c = new u.Struct();
|
|
35952
35957
|
i.readMessage(c, u.Struct.deserializeBinaryFromReader), r.setExtra(c);
|
|
@@ -35977,6 +35982,10 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
35977
35982
|
4,
|
|
35978
35983
|
l,
|
|
35979
35984
|
s.ResourceName.serializeBinaryToWriter
|
|
35985
|
+
), l = r.getMotionConfiguration(), l != null && i.writeMessage(
|
|
35986
|
+
5,
|
|
35987
|
+
l,
|
|
35988
|
+
proto.viam.service.motion.v1.MotionConfiguration.serializeBinaryToWriter
|
|
35980
35989
|
), l = r.getExtra(), l != null && i.writeMessage(
|
|
35981
35990
|
99,
|
|
35982
35991
|
l,
|
|
@@ -36022,6 +36031,17 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
36022
36031
|
return this.setSlamServiceName(void 0);
|
|
36023
36032
|
}, proto.viam.service.motion.v1.MoveOnMapRequest.prototype.hasSlamServiceName = function() {
|
|
36024
36033
|
return e.Message.getField(this, 4) != null;
|
|
36034
|
+
}, proto.viam.service.motion.v1.MoveOnMapRequest.prototype.getMotionConfiguration = function() {
|
|
36035
|
+
return (
|
|
36036
|
+
/** @type{?proto.viam.service.motion.v1.MotionConfiguration} */
|
|
36037
|
+
e.Message.getWrapperField(this, proto.viam.service.motion.v1.MotionConfiguration, 5)
|
|
36038
|
+
);
|
|
36039
|
+
}, proto.viam.service.motion.v1.MoveOnMapRequest.prototype.setMotionConfiguration = function(r) {
|
|
36040
|
+
return e.Message.setWrapperField(this, 5, r);
|
|
36041
|
+
}, proto.viam.service.motion.v1.MoveOnMapRequest.prototype.clearMotionConfiguration = function() {
|
|
36042
|
+
return this.setMotionConfiguration(void 0);
|
|
36043
|
+
}, proto.viam.service.motion.v1.MoveOnMapRequest.prototype.hasMotionConfiguration = function() {
|
|
36044
|
+
return e.Message.getField(this, 5) != null;
|
|
36025
36045
|
}, proto.viam.service.motion.v1.MoveOnMapRequest.prototype.getExtra = function() {
|
|
36026
36046
|
return (
|
|
36027
36047
|
/** @type{?proto.google.protobuf.Struct} */
|
|
@@ -36037,7 +36057,7 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
36037
36057
|
return proto.viam.service.motion.v1.MoveOnMapResponse.toObject(r, this);
|
|
36038
36058
|
}, proto.viam.service.motion.v1.MoveOnMapResponse.toObject = function(r, i) {
|
|
36039
36059
|
var l = {
|
|
36040
|
-
|
|
36060
|
+
executionId: e.Message.getFieldWithDefault(i, 1, "")
|
|
36041
36061
|
};
|
|
36042
36062
|
return r && (l.$jspbMessageInstance = i), l;
|
|
36043
36063
|
}), proto.viam.service.motion.v1.MoveOnMapResponse.deserializeBinary = function(r) {
|
|
@@ -36049,10 +36069,10 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
36049
36069
|
switch (l) {
|
|
36050
36070
|
case 1:
|
|
36051
36071
|
var c = (
|
|
36052
|
-
/** @type {
|
|
36053
|
-
i.
|
|
36072
|
+
/** @type {string} */
|
|
36073
|
+
i.readString()
|
|
36054
36074
|
);
|
|
36055
|
-
r.
|
|
36075
|
+
r.setExecutionId(c);
|
|
36056
36076
|
break;
|
|
36057
36077
|
default:
|
|
36058
36078
|
i.skipField();
|
|
@@ -36065,17 +36085,17 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
36065
36085
|
return proto.viam.service.motion.v1.MoveOnMapResponse.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
36066
36086
|
}, proto.viam.service.motion.v1.MoveOnMapResponse.serializeBinaryToWriter = function(r, i) {
|
|
36067
36087
|
var l = void 0;
|
|
36068
|
-
l = r.
|
|
36088
|
+
l = r.getExecutionId(), l.length > 0 && i.writeString(
|
|
36069
36089
|
1,
|
|
36070
36090
|
l
|
|
36071
36091
|
);
|
|
36072
|
-
}, proto.viam.service.motion.v1.MoveOnMapResponse.prototype.
|
|
36092
|
+
}, proto.viam.service.motion.v1.MoveOnMapResponse.prototype.getExecutionId = function() {
|
|
36073
36093
|
return (
|
|
36074
|
-
/** @type {
|
|
36075
|
-
e.Message.
|
|
36094
|
+
/** @type {string} */
|
|
36095
|
+
e.Message.getFieldWithDefault(this, 1, "")
|
|
36076
36096
|
);
|
|
36077
|
-
}, proto.viam.service.motion.v1.MoveOnMapResponse.prototype.
|
|
36078
|
-
return e.Message.
|
|
36097
|
+
}, proto.viam.service.motion.v1.MoveOnMapResponse.prototype.setExecutionId = function(r) {
|
|
36098
|
+
return e.Message.setProto3StringField(this, 1, r);
|
|
36079
36099
|
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.ObstacleDetector.prototype.toObject = function(r) {
|
|
36080
36100
|
return proto.viam.service.motion.v1.ObstacleDetector.toObject(r, this);
|
|
36081
36101
|
}, proto.viam.service.motion.v1.ObstacleDetector.toObject = function(r, i) {
|
|
@@ -39670,7 +39690,7 @@ var MotorServiceClient_1 = MotorServiceClient, movementsensor_pb = {};
|
|
|
39670
39690
|
var p = annotations_pb$1;
|
|
39671
39691
|
n.object.extend(proto, p);
|
|
39672
39692
|
var u = struct_pb;
|
|
39673
|
-
n.object.extend(proto, u), n.exportSymbol("proto.viam.component.movementsensor.v1.GetAccuracyRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetAccuracyResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetAngularVelocityRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetAngularVelocityResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetCompassHeadingRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetCompassHeadingResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetLinearAccelerationRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetLinearAccelerationResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetLinearVelocityRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetLinearVelocityResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetOrientationRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetOrientationResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetPositionRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetPositionResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetPropertiesRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetPropertiesResponse", null, g),
|
|
39693
|
+
n.object.extend(proto, u), n.exportSymbol("proto.viam.component.movementsensor.v1.GetAccuracyRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetAccuracyResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetAngularVelocityRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetAngularVelocityResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetCompassHeadingRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetCompassHeadingResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetLinearAccelerationRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetLinearAccelerationResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetLinearVelocityRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetLinearVelocityResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetOrientationRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetOrientationResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetPositionRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetPositionResponse", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetPropertiesRequest", null, g), n.exportSymbol("proto.viam.component.movementsensor.v1.GetPropertiesResponse", null, g), proto.viam.component.movementsensor.v1.GetLinearVelocityRequest = function(t) {
|
|
39674
39694
|
e.Message.initialize(this, t, 0, -1, null, null);
|
|
39675
39695
|
}, n.inherits(proto.viam.component.movementsensor.v1.GetLinearVelocityRequest, e.Message), n.DEBUG && !COMPILED && (proto.viam.component.movementsensor.v1.GetLinearVelocityRequest.displayName = "proto.viam.component.movementsensor.v1.GetLinearVelocityRequest"), proto.viam.component.movementsensor.v1.GetLinearVelocityResponse = function(t) {
|
|
39676
39696
|
e.Message.initialize(this, t, 0, -1, null, null);
|
|
@@ -40557,8 +40577,8 @@ var MotorServiceClient_1 = MotorServiceClient, movementsensor_pb = {};
|
|
|
40557
40577
|
break;
|
|
40558
40578
|
case 4:
|
|
40559
40579
|
var l = (
|
|
40560
|
-
/** @type {
|
|
40561
|
-
r.
|
|
40580
|
+
/** @type {number} */
|
|
40581
|
+
r.readInt32()
|
|
40562
40582
|
);
|
|
40563
40583
|
t.setPositionNmeaGgaFix(l);
|
|
40564
40584
|
break;
|
|
@@ -40588,8 +40608,8 @@ var MotorServiceClient_1 = MotorServiceClient, movementsensor_pb = {};
|
|
|
40588
40608
|
e.Message.getField(t, 3), i != null && r.writeFloat(
|
|
40589
40609
|
3,
|
|
40590
40610
|
i
|
|
40591
|
-
), i = /** @type {
|
|
40592
|
-
e.Message.getField(t, 4), i != null && r.
|
|
40611
|
+
), i = /** @type {number} */
|
|
40612
|
+
e.Message.getField(t, 4), i != null && r.writeInt32(
|
|
40593
40613
|
4,
|
|
40594
40614
|
i
|
|
40595
40615
|
), i = /** @type {number} */
|
|
@@ -40633,7 +40653,7 @@ var MotorServiceClient_1 = MotorServiceClient, movementsensor_pb = {};
|
|
|
40633
40653
|
return e.Message.getField(this, 3) != null;
|
|
40634
40654
|
}, proto.viam.component.movementsensor.v1.GetAccuracyResponse.prototype.getPositionNmeaGgaFix = function() {
|
|
40635
40655
|
return (
|
|
40636
|
-
/** @type {
|
|
40656
|
+
/** @type {number} */
|
|
40637
40657
|
e.Message.getFieldWithDefault(this, 4, 0)
|
|
40638
40658
|
);
|
|
40639
40659
|
}, proto.viam.component.movementsensor.v1.GetAccuracyResponse.prototype.setPositionNmeaGgaFix = function(t) {
|
|
@@ -40761,16 +40781,6 @@ var MotorServiceClient_1 = MotorServiceClient, movementsensor_pb = {};
|
|
|
40761
40781
|
return this.setLinearAcceleration(void 0);
|
|
40762
40782
|
}, proto.viam.component.movementsensor.v1.GetLinearAccelerationResponse.prototype.hasLinearAcceleration = function() {
|
|
40763
40783
|
return e.Message.getField(this, 1) != null;
|
|
40764
|
-
}, proto.viam.component.movementsensor.v1.NmeaGGAFix = {
|
|
40765
|
-
NMEA_GGA_FIX_INVALID_UNSPECIFIED: 0,
|
|
40766
|
-
NMEA_GGA_FIX_GNSS: 1,
|
|
40767
|
-
NMEA_GGA_FIX_DGPS: 2,
|
|
40768
|
-
NMEA_GGA_FIX_PPS: 3,
|
|
40769
|
-
NMEA_GGA_FIX_RTK_FIXED: 4,
|
|
40770
|
-
NMEA_GGA_FIX_RTK_FLOAT: 5,
|
|
40771
|
-
NMEA_GGA_FIX_DEAD_RECKONING: 6,
|
|
40772
|
-
NMEA_GGA_FIX_MANUAL: 7,
|
|
40773
|
-
NMEA_GGA_FIX_SIMULATION: 8
|
|
40774
40784
|
}, n.object.extend(o, proto.viam.component.movementsensor.v1);
|
|
40775
40785
|
})(movementsensor_pb);
|
|
40776
40786
|
const pb$9 = /* @__PURE__ */ getDefaultExportFromCjs(movementsensor_pb);
|
|
@@ -43630,123 +43640,117 @@ var RobotServiceClient_1 = RobotServiceClient, slam_pb = {};
|
|
|
43630
43640
|
var p = annotations_pb$1;
|
|
43631
43641
|
n.object.extend(proto, p);
|
|
43632
43642
|
var u = struct_pb;
|
|
43633
|
-
n.object.extend(proto, u)
|
|
43634
|
-
|
|
43635
|
-
|
|
43636
|
-
e.Message.initialize(this,
|
|
43637
|
-
}, n.inherits(proto.viam.service.slam.v1.
|
|
43638
|
-
e.Message.initialize(this,
|
|
43639
|
-
}, n.inherits(proto.viam.service.slam.v1.
|
|
43640
|
-
e.Message.initialize(this,
|
|
43641
|
-
}, n.inherits(proto.viam.service.slam.v1.
|
|
43642
|
-
e.Message.initialize(this,
|
|
43643
|
-
}, n.inherits(proto.viam.service.slam.v1.
|
|
43644
|
-
e.Message.initialize(this,
|
|
43645
|
-
}, n.inherits(proto.viam.service.slam.v1.
|
|
43646
|
-
e.Message.initialize(this,
|
|
43647
|
-
}, n.inherits(proto.viam.service.slam.v1.
|
|
43648
|
-
e.Message.initialize(this,
|
|
43649
|
-
}, n.inherits(proto.viam.service.slam.v1.
|
|
43650
|
-
|
|
43651
|
-
},
|
|
43652
|
-
|
|
43653
|
-
|
|
43654
|
-
e.Message.initialize(this, r, 0, -1, null, null);
|
|
43655
|
-
}, n.inherits(proto.viam.service.slam.v1.GetPropertiesResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPropertiesResponse.displayName = "proto.viam.service.slam.v1.GetPropertiesResponse"), e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionRequest.prototype.toObject = function(r) {
|
|
43656
|
-
return proto.viam.service.slam.v1.GetPositionRequest.toObject(r, this);
|
|
43657
|
-
}, proto.viam.service.slam.v1.GetPositionRequest.toObject = function(r, i) {
|
|
43658
|
-
var l = {
|
|
43659
|
-
name: e.Message.getFieldWithDefault(i, 1, "")
|
|
43643
|
+
n.object.extend(proto, u), n.exportSymbol("proto.viam.service.slam.v1.GetInternalStateRequest", null, g), n.exportSymbol("proto.viam.service.slam.v1.GetInternalStateResponse", null, g), n.exportSymbol("proto.viam.service.slam.v1.GetPointCloudMapRequest", null, g), n.exportSymbol("proto.viam.service.slam.v1.GetPointCloudMapResponse", null, g), n.exportSymbol("proto.viam.service.slam.v1.GetPositionRequest", null, g), n.exportSymbol("proto.viam.service.slam.v1.GetPositionResponse", null, g), n.exportSymbol("proto.viam.service.slam.v1.GetPropertiesRequest", null, g), n.exportSymbol("proto.viam.service.slam.v1.GetPropertiesResponse", null, g), n.exportSymbol("proto.viam.service.slam.v1.MappingMode", null, g), proto.viam.service.slam.v1.GetPositionRequest = function(t) {
|
|
43644
|
+
e.Message.initialize(this, t, 0, -1, null, null);
|
|
43645
|
+
}, n.inherits(proto.viam.service.slam.v1.GetPositionRequest, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPositionRequest.displayName = "proto.viam.service.slam.v1.GetPositionRequest"), proto.viam.service.slam.v1.GetPositionResponse = function(t) {
|
|
43646
|
+
e.Message.initialize(this, t, 0, -1, null, null);
|
|
43647
|
+
}, n.inherits(proto.viam.service.slam.v1.GetPositionResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPositionResponse.displayName = "proto.viam.service.slam.v1.GetPositionResponse"), proto.viam.service.slam.v1.GetPointCloudMapRequest = function(t) {
|
|
43648
|
+
e.Message.initialize(this, t, 0, -1, null, null);
|
|
43649
|
+
}, n.inherits(proto.viam.service.slam.v1.GetPointCloudMapRequest, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPointCloudMapRequest.displayName = "proto.viam.service.slam.v1.GetPointCloudMapRequest"), proto.viam.service.slam.v1.GetPointCloudMapResponse = function(t) {
|
|
43650
|
+
e.Message.initialize(this, t, 0, -1, null, null);
|
|
43651
|
+
}, n.inherits(proto.viam.service.slam.v1.GetPointCloudMapResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPointCloudMapResponse.displayName = "proto.viam.service.slam.v1.GetPointCloudMapResponse"), proto.viam.service.slam.v1.GetInternalStateRequest = function(t) {
|
|
43652
|
+
e.Message.initialize(this, t, 0, -1, null, null);
|
|
43653
|
+
}, n.inherits(proto.viam.service.slam.v1.GetInternalStateRequest, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetInternalStateRequest.displayName = "proto.viam.service.slam.v1.GetInternalStateRequest"), proto.viam.service.slam.v1.GetInternalStateResponse = function(t) {
|
|
43654
|
+
e.Message.initialize(this, t, 0, -1, null, null);
|
|
43655
|
+
}, n.inherits(proto.viam.service.slam.v1.GetInternalStateResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetInternalStateResponse.displayName = "proto.viam.service.slam.v1.GetInternalStateResponse"), proto.viam.service.slam.v1.GetPropertiesRequest = function(t) {
|
|
43656
|
+
e.Message.initialize(this, t, 0, -1, null, null);
|
|
43657
|
+
}, n.inherits(proto.viam.service.slam.v1.GetPropertiesRequest, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPropertiesRequest.displayName = "proto.viam.service.slam.v1.GetPropertiesRequest"), proto.viam.service.slam.v1.GetPropertiesResponse = function(t) {
|
|
43658
|
+
e.Message.initialize(this, t, 0, -1, null, null);
|
|
43659
|
+
}, n.inherits(proto.viam.service.slam.v1.GetPropertiesResponse, e.Message), n.DEBUG && !COMPILED && (proto.viam.service.slam.v1.GetPropertiesResponse.displayName = "proto.viam.service.slam.v1.GetPropertiesResponse"), e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionRequest.prototype.toObject = function(t) {
|
|
43660
|
+
return proto.viam.service.slam.v1.GetPositionRequest.toObject(t, this);
|
|
43661
|
+
}, proto.viam.service.slam.v1.GetPositionRequest.toObject = function(t, r) {
|
|
43662
|
+
var i = {
|
|
43663
|
+
name: e.Message.getFieldWithDefault(r, 1, "")
|
|
43660
43664
|
};
|
|
43661
|
-
return
|
|
43662
|
-
}), proto.viam.service.slam.v1.GetPositionRequest.deserializeBinary = function(
|
|
43663
|
-
var
|
|
43664
|
-
return proto.viam.service.slam.v1.GetPositionRequest.deserializeBinaryFromReader(
|
|
43665
|
-
}, proto.viam.service.slam.v1.GetPositionRequest.deserializeBinaryFromReader = function(
|
|
43666
|
-
for (;
|
|
43667
|
-
var
|
|
43668
|
-
switch (
|
|
43665
|
+
return t && (i.$jspbMessageInstance = r), i;
|
|
43666
|
+
}), proto.viam.service.slam.v1.GetPositionRequest.deserializeBinary = function(t) {
|
|
43667
|
+
var r = new e.BinaryReader(t), i = new proto.viam.service.slam.v1.GetPositionRequest();
|
|
43668
|
+
return proto.viam.service.slam.v1.GetPositionRequest.deserializeBinaryFromReader(i, r);
|
|
43669
|
+
}, proto.viam.service.slam.v1.GetPositionRequest.deserializeBinaryFromReader = function(t, r) {
|
|
43670
|
+
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
43671
|
+
var i = r.getFieldNumber();
|
|
43672
|
+
switch (i) {
|
|
43669
43673
|
case 1:
|
|
43670
|
-
var
|
|
43674
|
+
var l = (
|
|
43671
43675
|
/** @type {string} */
|
|
43672
|
-
|
|
43676
|
+
r.readString()
|
|
43673
43677
|
);
|
|
43674
|
-
|
|
43678
|
+
t.setName(l);
|
|
43675
43679
|
break;
|
|
43676
43680
|
default:
|
|
43677
|
-
|
|
43681
|
+
r.skipField();
|
|
43678
43682
|
break;
|
|
43679
43683
|
}
|
|
43680
43684
|
}
|
|
43681
|
-
return
|
|
43685
|
+
return t;
|
|
43682
43686
|
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.serializeBinary = function() {
|
|
43683
|
-
var
|
|
43684
|
-
return proto.viam.service.slam.v1.GetPositionRequest.serializeBinaryToWriter(this,
|
|
43685
|
-
}, proto.viam.service.slam.v1.GetPositionRequest.serializeBinaryToWriter = function(
|
|
43686
|
-
var
|
|
43687
|
-
|
|
43687
|
+
var t = new e.BinaryWriter();
|
|
43688
|
+
return proto.viam.service.slam.v1.GetPositionRequest.serializeBinaryToWriter(this, t), t.getResultBuffer();
|
|
43689
|
+
}, proto.viam.service.slam.v1.GetPositionRequest.serializeBinaryToWriter = function(t, r) {
|
|
43690
|
+
var i = void 0;
|
|
43691
|
+
i = t.getName(), i.length > 0 && r.writeString(
|
|
43688
43692
|
1,
|
|
43689
|
-
|
|
43693
|
+
i
|
|
43690
43694
|
);
|
|
43691
43695
|
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.getName = function() {
|
|
43692
43696
|
return (
|
|
43693
43697
|
/** @type {string} */
|
|
43694
43698
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
43695
43699
|
);
|
|
43696
|
-
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.setName = function(
|
|
43697
|
-
return e.Message.setProto3StringField(this, 1,
|
|
43698
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionResponse.prototype.toObject = function(
|
|
43699
|
-
return proto.viam.service.slam.v1.GetPositionResponse.toObject(
|
|
43700
|
-
}, proto.viam.service.slam.v1.GetPositionResponse.toObject = function(
|
|
43701
|
-
var
|
|
43702
|
-
pose: (
|
|
43703
|
-
componentReference: e.Message.getFieldWithDefault(
|
|
43704
|
-
extra: (
|
|
43700
|
+
}, proto.viam.service.slam.v1.GetPositionRequest.prototype.setName = function(t) {
|
|
43701
|
+
return e.Message.setProto3StringField(this, 1, t);
|
|
43702
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPositionResponse.prototype.toObject = function(t) {
|
|
43703
|
+
return proto.viam.service.slam.v1.GetPositionResponse.toObject(t, this);
|
|
43704
|
+
}, proto.viam.service.slam.v1.GetPositionResponse.toObject = function(t, r) {
|
|
43705
|
+
var i, l = {
|
|
43706
|
+
pose: (i = r.getPose()) && s.Pose.toObject(t, i),
|
|
43707
|
+
componentReference: e.Message.getFieldWithDefault(r, 2, ""),
|
|
43708
|
+
extra: (i = r.getExtra()) && u.Struct.toObject(t, i)
|
|
43705
43709
|
};
|
|
43706
|
-
return
|
|
43707
|
-
}), proto.viam.service.slam.v1.GetPositionResponse.deserializeBinary = function(
|
|
43708
|
-
var
|
|
43709
|
-
return proto.viam.service.slam.v1.GetPositionResponse.deserializeBinaryFromReader(
|
|
43710
|
-
}, proto.viam.service.slam.v1.GetPositionResponse.deserializeBinaryFromReader = function(
|
|
43711
|
-
for (;
|
|
43712
|
-
var
|
|
43713
|
-
switch (
|
|
43710
|
+
return t && (l.$jspbMessageInstance = r), l;
|
|
43711
|
+
}), proto.viam.service.slam.v1.GetPositionResponse.deserializeBinary = function(t) {
|
|
43712
|
+
var r = new e.BinaryReader(t), i = new proto.viam.service.slam.v1.GetPositionResponse();
|
|
43713
|
+
return proto.viam.service.slam.v1.GetPositionResponse.deserializeBinaryFromReader(i, r);
|
|
43714
|
+
}, proto.viam.service.slam.v1.GetPositionResponse.deserializeBinaryFromReader = function(t, r) {
|
|
43715
|
+
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
43716
|
+
var i = r.getFieldNumber();
|
|
43717
|
+
switch (i) {
|
|
43714
43718
|
case 1:
|
|
43715
|
-
var
|
|
43716
|
-
|
|
43719
|
+
var l = new s.Pose();
|
|
43720
|
+
r.readMessage(l, s.Pose.deserializeBinaryFromReader), t.setPose(l);
|
|
43717
43721
|
break;
|
|
43718
43722
|
case 2:
|
|
43719
|
-
var
|
|
43723
|
+
var l = (
|
|
43720
43724
|
/** @type {string} */
|
|
43721
|
-
|
|
43725
|
+
r.readString()
|
|
43722
43726
|
);
|
|
43723
|
-
|
|
43727
|
+
t.setComponentReference(l);
|
|
43724
43728
|
break;
|
|
43725
43729
|
case 99:
|
|
43726
|
-
var
|
|
43727
|
-
|
|
43730
|
+
var l = new u.Struct();
|
|
43731
|
+
r.readMessage(l, u.Struct.deserializeBinaryFromReader), t.setExtra(l);
|
|
43728
43732
|
break;
|
|
43729
43733
|
default:
|
|
43730
|
-
|
|
43734
|
+
r.skipField();
|
|
43731
43735
|
break;
|
|
43732
43736
|
}
|
|
43733
43737
|
}
|
|
43734
|
-
return
|
|
43738
|
+
return t;
|
|
43735
43739
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.serializeBinary = function() {
|
|
43736
|
-
var
|
|
43737
|
-
return proto.viam.service.slam.v1.GetPositionResponse.serializeBinaryToWriter(this,
|
|
43738
|
-
}, proto.viam.service.slam.v1.GetPositionResponse.serializeBinaryToWriter = function(
|
|
43739
|
-
var
|
|
43740
|
-
|
|
43740
|
+
var t = new e.BinaryWriter();
|
|
43741
|
+
return proto.viam.service.slam.v1.GetPositionResponse.serializeBinaryToWriter(this, t), t.getResultBuffer();
|
|
43742
|
+
}, proto.viam.service.slam.v1.GetPositionResponse.serializeBinaryToWriter = function(t, r) {
|
|
43743
|
+
var i = void 0;
|
|
43744
|
+
i = t.getPose(), i != null && r.writeMessage(
|
|
43741
43745
|
1,
|
|
43742
|
-
|
|
43746
|
+
i,
|
|
43743
43747
|
s.Pose.serializeBinaryToWriter
|
|
43744
|
-
),
|
|
43748
|
+
), i = t.getComponentReference(), i.length > 0 && r.writeString(
|
|
43745
43749
|
2,
|
|
43746
|
-
|
|
43747
|
-
),
|
|
43750
|
+
i
|
|
43751
|
+
), i = t.getExtra(), i != null && r.writeMessage(
|
|
43748
43752
|
99,
|
|
43749
|
-
|
|
43753
|
+
i,
|
|
43750
43754
|
u.Struct.serializeBinaryToWriter
|
|
43751
43755
|
);
|
|
43752
43756
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.getPose = function() {
|
|
@@ -43754,8 +43758,8 @@ var RobotServiceClient_1 = RobotServiceClient, slam_pb = {};
|
|
|
43754
43758
|
/** @type{?proto.viam.common.v1.Pose} */
|
|
43755
43759
|
e.Message.getWrapperField(this, s.Pose, 1)
|
|
43756
43760
|
);
|
|
43757
|
-
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.setPose = function(
|
|
43758
|
-
return e.Message.setWrapperField(this, 1,
|
|
43761
|
+
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.setPose = function(t) {
|
|
43762
|
+
return e.Message.setWrapperField(this, 1, t);
|
|
43759
43763
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.clearPose = function() {
|
|
43760
43764
|
return this.setPose(void 0);
|
|
43761
43765
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.hasPose = function() {
|
|
@@ -43765,97 +43769,97 @@ var RobotServiceClient_1 = RobotServiceClient, slam_pb = {};
|
|
|
43765
43769
|
/** @type {string} */
|
|
43766
43770
|
e.Message.getFieldWithDefault(this, 2, "")
|
|
43767
43771
|
);
|
|
43768
|
-
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.setComponentReference = function(
|
|
43769
|
-
return e.Message.setProto3StringField(this, 2,
|
|
43772
|
+
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.setComponentReference = function(t) {
|
|
43773
|
+
return e.Message.setProto3StringField(this, 2, t);
|
|
43770
43774
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.getExtra = function() {
|
|
43771
43775
|
return (
|
|
43772
43776
|
/** @type{?proto.google.protobuf.Struct} */
|
|
43773
43777
|
e.Message.getWrapperField(this, u.Struct, 99)
|
|
43774
43778
|
);
|
|
43775
|
-
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.setExtra = function(
|
|
43776
|
-
return e.Message.setWrapperField(this, 99,
|
|
43779
|
+
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.setExtra = function(t) {
|
|
43780
|
+
return e.Message.setWrapperField(this, 99, t);
|
|
43777
43781
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.clearExtra = function() {
|
|
43778
43782
|
return this.setExtra(void 0);
|
|
43779
43783
|
}, proto.viam.service.slam.v1.GetPositionResponse.prototype.hasExtra = function() {
|
|
43780
43784
|
return e.Message.getField(this, 99) != null;
|
|
43781
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.toObject = function(
|
|
43782
|
-
return proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject(
|
|
43783
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject = function(
|
|
43784
|
-
var
|
|
43785
|
-
name: e.Message.getFieldWithDefault(
|
|
43785
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.toObject = function(t) {
|
|
43786
|
+
return proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject(t, this);
|
|
43787
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject = function(t, r) {
|
|
43788
|
+
var i = {
|
|
43789
|
+
name: e.Message.getFieldWithDefault(r, 1, "")
|
|
43786
43790
|
};
|
|
43787
|
-
return
|
|
43788
|
-
}), proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinary = function(
|
|
43789
|
-
var
|
|
43790
|
-
return proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinaryFromReader(
|
|
43791
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinaryFromReader = function(
|
|
43792
|
-
for (;
|
|
43793
|
-
var
|
|
43794
|
-
switch (
|
|
43791
|
+
return t && (i.$jspbMessageInstance = r), i;
|
|
43792
|
+
}), proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinary = function(t) {
|
|
43793
|
+
var r = new e.BinaryReader(t), i = new proto.viam.service.slam.v1.GetPointCloudMapRequest();
|
|
43794
|
+
return proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinaryFromReader(i, r);
|
|
43795
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.deserializeBinaryFromReader = function(t, r) {
|
|
43796
|
+
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
43797
|
+
var i = r.getFieldNumber();
|
|
43798
|
+
switch (i) {
|
|
43795
43799
|
case 1:
|
|
43796
|
-
var
|
|
43800
|
+
var l = (
|
|
43797
43801
|
/** @type {string} */
|
|
43798
|
-
|
|
43802
|
+
r.readString()
|
|
43799
43803
|
);
|
|
43800
|
-
|
|
43804
|
+
t.setName(l);
|
|
43801
43805
|
break;
|
|
43802
43806
|
default:
|
|
43803
|
-
|
|
43807
|
+
r.skipField();
|
|
43804
43808
|
break;
|
|
43805
43809
|
}
|
|
43806
43810
|
}
|
|
43807
|
-
return
|
|
43811
|
+
return t;
|
|
43808
43812
|
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.serializeBinary = function() {
|
|
43809
|
-
var
|
|
43810
|
-
return proto.viam.service.slam.v1.GetPointCloudMapRequest.serializeBinaryToWriter(this,
|
|
43811
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.serializeBinaryToWriter = function(
|
|
43812
|
-
var
|
|
43813
|
-
|
|
43813
|
+
var t = new e.BinaryWriter();
|
|
43814
|
+
return proto.viam.service.slam.v1.GetPointCloudMapRequest.serializeBinaryToWriter(this, t), t.getResultBuffer();
|
|
43815
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.serializeBinaryToWriter = function(t, r) {
|
|
43816
|
+
var i = void 0;
|
|
43817
|
+
i = t.getName(), i.length > 0 && r.writeString(
|
|
43814
43818
|
1,
|
|
43815
|
-
|
|
43819
|
+
i
|
|
43816
43820
|
);
|
|
43817
43821
|
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.getName = function() {
|
|
43818
43822
|
return (
|
|
43819
43823
|
/** @type {string} */
|
|
43820
43824
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
43821
43825
|
);
|
|
43822
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.setName = function(
|
|
43823
|
-
return e.Message.setProto3StringField(this, 1,
|
|
43824
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.toObject = function(
|
|
43825
|
-
return proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject(
|
|
43826
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject = function(
|
|
43827
|
-
var
|
|
43828
|
-
pointCloudPcdChunk:
|
|
43826
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.setName = function(t) {
|
|
43827
|
+
return e.Message.setProto3StringField(this, 1, t);
|
|
43828
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.toObject = function(t) {
|
|
43829
|
+
return proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject(t, this);
|
|
43830
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject = function(t, r) {
|
|
43831
|
+
var i = {
|
|
43832
|
+
pointCloudPcdChunk: r.getPointCloudPcdChunk_asB64()
|
|
43829
43833
|
};
|
|
43830
|
-
return
|
|
43831
|
-
}), proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinary = function(
|
|
43832
|
-
var
|
|
43833
|
-
return proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinaryFromReader(
|
|
43834
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinaryFromReader = function(
|
|
43835
|
-
for (;
|
|
43836
|
-
var
|
|
43837
|
-
switch (
|
|
43834
|
+
return t && (i.$jspbMessageInstance = r), i;
|
|
43835
|
+
}), proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinary = function(t) {
|
|
43836
|
+
var r = new e.BinaryReader(t), i = new proto.viam.service.slam.v1.GetPointCloudMapResponse();
|
|
43837
|
+
return proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinaryFromReader(i, r);
|
|
43838
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.deserializeBinaryFromReader = function(t, r) {
|
|
43839
|
+
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
43840
|
+
var i = r.getFieldNumber();
|
|
43841
|
+
switch (i) {
|
|
43838
43842
|
case 1:
|
|
43839
|
-
var
|
|
43843
|
+
var l = (
|
|
43840
43844
|
/** @type {!Uint8Array} */
|
|
43841
|
-
|
|
43845
|
+
r.readBytes()
|
|
43842
43846
|
);
|
|
43843
|
-
|
|
43847
|
+
t.setPointCloudPcdChunk(l);
|
|
43844
43848
|
break;
|
|
43845
43849
|
default:
|
|
43846
|
-
|
|
43850
|
+
r.skipField();
|
|
43847
43851
|
break;
|
|
43848
43852
|
}
|
|
43849
43853
|
}
|
|
43850
|
-
return
|
|
43854
|
+
return t;
|
|
43851
43855
|
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.serializeBinary = function() {
|
|
43852
|
-
var
|
|
43853
|
-
return proto.viam.service.slam.v1.GetPointCloudMapResponse.serializeBinaryToWriter(this,
|
|
43854
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.serializeBinaryToWriter = function(
|
|
43855
|
-
var
|
|
43856
|
-
|
|
43856
|
+
var t = new e.BinaryWriter();
|
|
43857
|
+
return proto.viam.service.slam.v1.GetPointCloudMapResponse.serializeBinaryToWriter(this, t), t.getResultBuffer();
|
|
43858
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.serializeBinaryToWriter = function(t, r) {
|
|
43859
|
+
var i = void 0;
|
|
43860
|
+
i = t.getPointCloudPcdChunk_asU8(), i.length > 0 && r.writeBytes(
|
|
43857
43861
|
1,
|
|
43858
|
-
|
|
43862
|
+
i
|
|
43859
43863
|
);
|
|
43860
43864
|
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.getPointCloudPcdChunk = function() {
|
|
43861
43865
|
return (
|
|
@@ -43876,86 +43880,86 @@ var RobotServiceClient_1 = RobotServiceClient, slam_pb = {};
|
|
|
43876
43880
|
this.getPointCloudPcdChunk()
|
|
43877
43881
|
)
|
|
43878
43882
|
);
|
|
43879
|
-
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.setPointCloudPcdChunk = function(
|
|
43880
|
-
return e.Message.setProto3BytesField(this, 1,
|
|
43881
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateRequest.prototype.toObject = function(
|
|
43882
|
-
return proto.viam.service.slam.v1.GetInternalStateRequest.toObject(
|
|
43883
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.toObject = function(
|
|
43884
|
-
var
|
|
43885
|
-
name: e.Message.getFieldWithDefault(
|
|
43883
|
+
}, proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.setPointCloudPcdChunk = function(t) {
|
|
43884
|
+
return e.Message.setProto3BytesField(this, 1, t);
|
|
43885
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateRequest.prototype.toObject = function(t) {
|
|
43886
|
+
return proto.viam.service.slam.v1.GetInternalStateRequest.toObject(t, this);
|
|
43887
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.toObject = function(t, r) {
|
|
43888
|
+
var i = {
|
|
43889
|
+
name: e.Message.getFieldWithDefault(r, 1, "")
|
|
43886
43890
|
};
|
|
43887
|
-
return
|
|
43888
|
-
}), proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinary = function(
|
|
43889
|
-
var
|
|
43890
|
-
return proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinaryFromReader(
|
|
43891
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinaryFromReader = function(
|
|
43892
|
-
for (;
|
|
43893
|
-
var
|
|
43894
|
-
switch (
|
|
43891
|
+
return t && (i.$jspbMessageInstance = r), i;
|
|
43892
|
+
}), proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinary = function(t) {
|
|
43893
|
+
var r = new e.BinaryReader(t), i = new proto.viam.service.slam.v1.GetInternalStateRequest();
|
|
43894
|
+
return proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinaryFromReader(i, r);
|
|
43895
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.deserializeBinaryFromReader = function(t, r) {
|
|
43896
|
+
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
43897
|
+
var i = r.getFieldNumber();
|
|
43898
|
+
switch (i) {
|
|
43895
43899
|
case 1:
|
|
43896
|
-
var
|
|
43900
|
+
var l = (
|
|
43897
43901
|
/** @type {string} */
|
|
43898
|
-
|
|
43902
|
+
r.readString()
|
|
43899
43903
|
);
|
|
43900
|
-
|
|
43904
|
+
t.setName(l);
|
|
43901
43905
|
break;
|
|
43902
43906
|
default:
|
|
43903
|
-
|
|
43907
|
+
r.skipField();
|
|
43904
43908
|
break;
|
|
43905
43909
|
}
|
|
43906
43910
|
}
|
|
43907
|
-
return
|
|
43911
|
+
return t;
|
|
43908
43912
|
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.serializeBinary = function() {
|
|
43909
|
-
var
|
|
43910
|
-
return proto.viam.service.slam.v1.GetInternalStateRequest.serializeBinaryToWriter(this,
|
|
43911
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.serializeBinaryToWriter = function(
|
|
43912
|
-
var
|
|
43913
|
-
|
|
43913
|
+
var t = new e.BinaryWriter();
|
|
43914
|
+
return proto.viam.service.slam.v1.GetInternalStateRequest.serializeBinaryToWriter(this, t), t.getResultBuffer();
|
|
43915
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.serializeBinaryToWriter = function(t, r) {
|
|
43916
|
+
var i = void 0;
|
|
43917
|
+
i = t.getName(), i.length > 0 && r.writeString(
|
|
43914
43918
|
1,
|
|
43915
|
-
|
|
43919
|
+
i
|
|
43916
43920
|
);
|
|
43917
43921
|
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.getName = function() {
|
|
43918
43922
|
return (
|
|
43919
43923
|
/** @type {string} */
|
|
43920
43924
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
43921
43925
|
);
|
|
43922
|
-
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.setName = function(
|
|
43923
|
-
return e.Message.setProto3StringField(this, 1,
|
|
43924
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateResponse.prototype.toObject = function(
|
|
43925
|
-
return proto.viam.service.slam.v1.GetInternalStateResponse.toObject(
|
|
43926
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.toObject = function(
|
|
43927
|
-
var
|
|
43928
|
-
internalStateChunk:
|
|
43926
|
+
}, proto.viam.service.slam.v1.GetInternalStateRequest.prototype.setName = function(t) {
|
|
43927
|
+
return e.Message.setProto3StringField(this, 1, t);
|
|
43928
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetInternalStateResponse.prototype.toObject = function(t) {
|
|
43929
|
+
return proto.viam.service.slam.v1.GetInternalStateResponse.toObject(t, this);
|
|
43930
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.toObject = function(t, r) {
|
|
43931
|
+
var i = {
|
|
43932
|
+
internalStateChunk: r.getInternalStateChunk_asB64()
|
|
43929
43933
|
};
|
|
43930
|
-
return
|
|
43931
|
-
}), proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinary = function(
|
|
43932
|
-
var
|
|
43933
|
-
return proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinaryFromReader(
|
|
43934
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinaryFromReader = function(
|
|
43935
|
-
for (;
|
|
43936
|
-
var
|
|
43937
|
-
switch (
|
|
43934
|
+
return t && (i.$jspbMessageInstance = r), i;
|
|
43935
|
+
}), proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinary = function(t) {
|
|
43936
|
+
var r = new e.BinaryReader(t), i = new proto.viam.service.slam.v1.GetInternalStateResponse();
|
|
43937
|
+
return proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinaryFromReader(i, r);
|
|
43938
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.deserializeBinaryFromReader = function(t, r) {
|
|
43939
|
+
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
43940
|
+
var i = r.getFieldNumber();
|
|
43941
|
+
switch (i) {
|
|
43938
43942
|
case 1:
|
|
43939
|
-
var
|
|
43943
|
+
var l = (
|
|
43940
43944
|
/** @type {!Uint8Array} */
|
|
43941
|
-
|
|
43945
|
+
r.readBytes()
|
|
43942
43946
|
);
|
|
43943
|
-
|
|
43947
|
+
t.setInternalStateChunk(l);
|
|
43944
43948
|
break;
|
|
43945
43949
|
default:
|
|
43946
|
-
|
|
43950
|
+
r.skipField();
|
|
43947
43951
|
break;
|
|
43948
43952
|
}
|
|
43949
43953
|
}
|
|
43950
|
-
return
|
|
43954
|
+
return t;
|
|
43951
43955
|
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.serializeBinary = function() {
|
|
43952
|
-
var
|
|
43953
|
-
return proto.viam.service.slam.v1.GetInternalStateResponse.serializeBinaryToWriter(this,
|
|
43954
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.serializeBinaryToWriter = function(
|
|
43955
|
-
var
|
|
43956
|
-
|
|
43956
|
+
var t = new e.BinaryWriter();
|
|
43957
|
+
return proto.viam.service.slam.v1.GetInternalStateResponse.serializeBinaryToWriter(this, t), t.getResultBuffer();
|
|
43958
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.serializeBinaryToWriter = function(t, r) {
|
|
43959
|
+
var i = void 0;
|
|
43960
|
+
i = t.getInternalStateChunk_asU8(), i.length > 0 && r.writeBytes(
|
|
43957
43961
|
1,
|
|
43958
|
-
|
|
43962
|
+
i
|
|
43959
43963
|
);
|
|
43960
43964
|
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.getInternalStateChunk = function() {
|
|
43961
43965
|
return (
|
|
@@ -43976,200 +43980,112 @@ var RobotServiceClient_1 = RobotServiceClient, slam_pb = {};
|
|
|
43976
43980
|
this.getInternalStateChunk()
|
|
43977
43981
|
)
|
|
43978
43982
|
);
|
|
43979
|
-
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.setInternalStateChunk = function(
|
|
43980
|
-
return e.Message.setProto3BytesField(this, 1,
|
|
43981
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.
|
|
43982
|
-
return proto.viam.service.slam.v1.
|
|
43983
|
-
}, proto.viam.service.slam.v1.
|
|
43984
|
-
var
|
|
43985
|
-
name: e.Message.getFieldWithDefault(
|
|
43986
|
-
};
|
|
43987
|
-
return r && (l.$jspbMessageInstance = i), l;
|
|
43988
|
-
}), proto.viam.service.slam.v1.GetLatestMapInfoRequest.deserializeBinary = function(r) {
|
|
43989
|
-
var i = new e.BinaryReader(r), l = new proto.viam.service.slam.v1.GetLatestMapInfoRequest();
|
|
43990
|
-
return proto.viam.service.slam.v1.GetLatestMapInfoRequest.deserializeBinaryFromReader(l, i);
|
|
43991
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoRequest.deserializeBinaryFromReader = function(r, i) {
|
|
43992
|
-
for (; i.nextField() && !i.isEndGroup(); ) {
|
|
43993
|
-
var l = i.getFieldNumber();
|
|
43994
|
-
switch (l) {
|
|
43995
|
-
case 1:
|
|
43996
|
-
var c = (
|
|
43997
|
-
/** @type {string} */
|
|
43998
|
-
i.readString()
|
|
43999
|
-
);
|
|
44000
|
-
r.setName(c);
|
|
44001
|
-
break;
|
|
44002
|
-
default:
|
|
44003
|
-
i.skipField();
|
|
44004
|
-
break;
|
|
44005
|
-
}
|
|
44006
|
-
}
|
|
44007
|
-
return r;
|
|
44008
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoRequest.prototype.serializeBinary = function() {
|
|
44009
|
-
var r = new e.BinaryWriter();
|
|
44010
|
-
return proto.viam.service.slam.v1.GetLatestMapInfoRequest.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
44011
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoRequest.serializeBinaryToWriter = function(r, i) {
|
|
44012
|
-
var l = void 0;
|
|
44013
|
-
l = r.getName(), l.length > 0 && i.writeString(
|
|
44014
|
-
1,
|
|
44015
|
-
l
|
|
44016
|
-
);
|
|
44017
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoRequest.prototype.getName = function() {
|
|
44018
|
-
return (
|
|
44019
|
-
/** @type {string} */
|
|
44020
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
44021
|
-
);
|
|
44022
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoRequest.prototype.setName = function(r) {
|
|
44023
|
-
return e.Message.setProto3StringField(this, 1, r);
|
|
44024
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetLatestMapInfoResponse.prototype.toObject = function(r) {
|
|
44025
|
-
return proto.viam.service.slam.v1.GetLatestMapInfoResponse.toObject(r, this);
|
|
44026
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoResponse.toObject = function(r, i) {
|
|
44027
|
-
var l, c = {
|
|
44028
|
-
lastMapUpdate: (l = i.getLastMapUpdate()) && t.Timestamp.toObject(r, l)
|
|
44029
|
-
};
|
|
44030
|
-
return r && (c.$jspbMessageInstance = i), c;
|
|
44031
|
-
}), proto.viam.service.slam.v1.GetLatestMapInfoResponse.deserializeBinary = function(r) {
|
|
44032
|
-
var i = new e.BinaryReader(r), l = new proto.viam.service.slam.v1.GetLatestMapInfoResponse();
|
|
44033
|
-
return proto.viam.service.slam.v1.GetLatestMapInfoResponse.deserializeBinaryFromReader(l, i);
|
|
44034
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoResponse.deserializeBinaryFromReader = function(r, i) {
|
|
44035
|
-
for (; i.nextField() && !i.isEndGroup(); ) {
|
|
44036
|
-
var l = i.getFieldNumber();
|
|
44037
|
-
switch (l) {
|
|
44038
|
-
case 1:
|
|
44039
|
-
var c = new t.Timestamp();
|
|
44040
|
-
i.readMessage(c, t.Timestamp.deserializeBinaryFromReader), r.setLastMapUpdate(c);
|
|
44041
|
-
break;
|
|
44042
|
-
default:
|
|
44043
|
-
i.skipField();
|
|
44044
|
-
break;
|
|
44045
|
-
}
|
|
44046
|
-
}
|
|
44047
|
-
return r;
|
|
44048
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoResponse.prototype.serializeBinary = function() {
|
|
44049
|
-
var r = new e.BinaryWriter();
|
|
44050
|
-
return proto.viam.service.slam.v1.GetLatestMapInfoResponse.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
44051
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoResponse.serializeBinaryToWriter = function(r, i) {
|
|
44052
|
-
var l = void 0;
|
|
44053
|
-
l = r.getLastMapUpdate(), l != null && i.writeMessage(
|
|
44054
|
-
1,
|
|
44055
|
-
l,
|
|
44056
|
-
t.Timestamp.serializeBinaryToWriter
|
|
44057
|
-
);
|
|
44058
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoResponse.prototype.getLastMapUpdate = function() {
|
|
44059
|
-
return (
|
|
44060
|
-
/** @type{?proto.google.protobuf.Timestamp} */
|
|
44061
|
-
e.Message.getWrapperField(this, t.Timestamp, 1)
|
|
44062
|
-
);
|
|
44063
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoResponse.prototype.setLastMapUpdate = function(r) {
|
|
44064
|
-
return e.Message.setWrapperField(this, 1, r);
|
|
44065
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoResponse.prototype.clearLastMapUpdate = function() {
|
|
44066
|
-
return this.setLastMapUpdate(void 0);
|
|
44067
|
-
}, proto.viam.service.slam.v1.GetLatestMapInfoResponse.prototype.hasLastMapUpdate = function() {
|
|
44068
|
-
return e.Message.getField(this, 1) != null;
|
|
44069
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPropertiesRequest.prototype.toObject = function(r) {
|
|
44070
|
-
return proto.viam.service.slam.v1.GetPropertiesRequest.toObject(r, this);
|
|
44071
|
-
}, proto.viam.service.slam.v1.GetPropertiesRequest.toObject = function(r, i) {
|
|
44072
|
-
var l = {
|
|
44073
|
-
name: e.Message.getFieldWithDefault(i, 1, "")
|
|
43983
|
+
}, proto.viam.service.slam.v1.GetInternalStateResponse.prototype.setInternalStateChunk = function(t) {
|
|
43984
|
+
return e.Message.setProto3BytesField(this, 1, t);
|
|
43985
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPropertiesRequest.prototype.toObject = function(t) {
|
|
43986
|
+
return proto.viam.service.slam.v1.GetPropertiesRequest.toObject(t, this);
|
|
43987
|
+
}, proto.viam.service.slam.v1.GetPropertiesRequest.toObject = function(t, r) {
|
|
43988
|
+
var i = {
|
|
43989
|
+
name: e.Message.getFieldWithDefault(r, 1, "")
|
|
44074
43990
|
};
|
|
44075
|
-
return
|
|
44076
|
-
}), proto.viam.service.slam.v1.GetPropertiesRequest.deserializeBinary = function(
|
|
44077
|
-
var
|
|
44078
|
-
return proto.viam.service.slam.v1.GetPropertiesRequest.deserializeBinaryFromReader(
|
|
44079
|
-
}, proto.viam.service.slam.v1.GetPropertiesRequest.deserializeBinaryFromReader = function(
|
|
44080
|
-
for (;
|
|
44081
|
-
var
|
|
44082
|
-
switch (
|
|
43991
|
+
return t && (i.$jspbMessageInstance = r), i;
|
|
43992
|
+
}), proto.viam.service.slam.v1.GetPropertiesRequest.deserializeBinary = function(t) {
|
|
43993
|
+
var r = new e.BinaryReader(t), i = new proto.viam.service.slam.v1.GetPropertiesRequest();
|
|
43994
|
+
return proto.viam.service.slam.v1.GetPropertiesRequest.deserializeBinaryFromReader(i, r);
|
|
43995
|
+
}, proto.viam.service.slam.v1.GetPropertiesRequest.deserializeBinaryFromReader = function(t, r) {
|
|
43996
|
+
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
43997
|
+
var i = r.getFieldNumber();
|
|
43998
|
+
switch (i) {
|
|
44083
43999
|
case 1:
|
|
44084
|
-
var
|
|
44000
|
+
var l = (
|
|
44085
44001
|
/** @type {string} */
|
|
44086
|
-
|
|
44002
|
+
r.readString()
|
|
44087
44003
|
);
|
|
44088
|
-
|
|
44004
|
+
t.setName(l);
|
|
44089
44005
|
break;
|
|
44090
44006
|
default:
|
|
44091
|
-
|
|
44007
|
+
r.skipField();
|
|
44092
44008
|
break;
|
|
44093
44009
|
}
|
|
44094
44010
|
}
|
|
44095
|
-
return
|
|
44011
|
+
return t;
|
|
44096
44012
|
}, proto.viam.service.slam.v1.GetPropertiesRequest.prototype.serializeBinary = function() {
|
|
44097
|
-
var
|
|
44098
|
-
return proto.viam.service.slam.v1.GetPropertiesRequest.serializeBinaryToWriter(this,
|
|
44099
|
-
}, proto.viam.service.slam.v1.GetPropertiesRequest.serializeBinaryToWriter = function(
|
|
44100
|
-
var
|
|
44101
|
-
|
|
44013
|
+
var t = new e.BinaryWriter();
|
|
44014
|
+
return proto.viam.service.slam.v1.GetPropertiesRequest.serializeBinaryToWriter(this, t), t.getResultBuffer();
|
|
44015
|
+
}, proto.viam.service.slam.v1.GetPropertiesRequest.serializeBinaryToWriter = function(t, r) {
|
|
44016
|
+
var i = void 0;
|
|
44017
|
+
i = t.getName(), i.length > 0 && r.writeString(
|
|
44102
44018
|
1,
|
|
44103
|
-
|
|
44019
|
+
i
|
|
44104
44020
|
);
|
|
44105
44021
|
}, proto.viam.service.slam.v1.GetPropertiesRequest.prototype.getName = function() {
|
|
44106
44022
|
return (
|
|
44107
44023
|
/** @type {string} */
|
|
44108
44024
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
44109
44025
|
);
|
|
44110
|
-
}, proto.viam.service.slam.v1.GetPropertiesRequest.prototype.setName = function(
|
|
44111
|
-
return e.Message.setProto3StringField(this, 1,
|
|
44112
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPropertiesResponse.prototype.toObject = function(
|
|
44113
|
-
return proto.viam.service.slam.v1.GetPropertiesResponse.toObject(
|
|
44114
|
-
}, proto.viam.service.slam.v1.GetPropertiesResponse.toObject = function(
|
|
44115
|
-
var
|
|
44116
|
-
cloudSlam: e.Message.getBooleanFieldWithDefault(
|
|
44117
|
-
mappingMode: e.Message.getFieldWithDefault(
|
|
44026
|
+
}, proto.viam.service.slam.v1.GetPropertiesRequest.prototype.setName = function(t) {
|
|
44027
|
+
return e.Message.setProto3StringField(this, 1, t);
|
|
44028
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.slam.v1.GetPropertiesResponse.prototype.toObject = function(t) {
|
|
44029
|
+
return proto.viam.service.slam.v1.GetPropertiesResponse.toObject(t, this);
|
|
44030
|
+
}, proto.viam.service.slam.v1.GetPropertiesResponse.toObject = function(t, r) {
|
|
44031
|
+
var i = {
|
|
44032
|
+
cloudSlam: e.Message.getBooleanFieldWithDefault(r, 1, !1),
|
|
44033
|
+
mappingMode: e.Message.getFieldWithDefault(r, 2, 0)
|
|
44118
44034
|
};
|
|
44119
|
-
return
|
|
44120
|
-
}), proto.viam.service.slam.v1.GetPropertiesResponse.deserializeBinary = function(
|
|
44121
|
-
var
|
|
44122
|
-
return proto.viam.service.slam.v1.GetPropertiesResponse.deserializeBinaryFromReader(
|
|
44123
|
-
}, proto.viam.service.slam.v1.GetPropertiesResponse.deserializeBinaryFromReader = function(
|
|
44124
|
-
for (;
|
|
44125
|
-
var
|
|
44126
|
-
switch (
|
|
44035
|
+
return t && (i.$jspbMessageInstance = r), i;
|
|
44036
|
+
}), proto.viam.service.slam.v1.GetPropertiesResponse.deserializeBinary = function(t) {
|
|
44037
|
+
var r = new e.BinaryReader(t), i = new proto.viam.service.slam.v1.GetPropertiesResponse();
|
|
44038
|
+
return proto.viam.service.slam.v1.GetPropertiesResponse.deserializeBinaryFromReader(i, r);
|
|
44039
|
+
}, proto.viam.service.slam.v1.GetPropertiesResponse.deserializeBinaryFromReader = function(t, r) {
|
|
44040
|
+
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
44041
|
+
var i = r.getFieldNumber();
|
|
44042
|
+
switch (i) {
|
|
44127
44043
|
case 1:
|
|
44128
|
-
var
|
|
44044
|
+
var l = (
|
|
44129
44045
|
/** @type {boolean} */
|
|
44130
|
-
|
|
44046
|
+
r.readBool()
|
|
44131
44047
|
);
|
|
44132
|
-
|
|
44048
|
+
t.setCloudSlam(l);
|
|
44133
44049
|
break;
|
|
44134
44050
|
case 2:
|
|
44135
|
-
var
|
|
44051
|
+
var l = (
|
|
44136
44052
|
/** @type {!proto.viam.service.slam.v1.MappingMode} */
|
|
44137
|
-
|
|
44053
|
+
r.readEnum()
|
|
44138
44054
|
);
|
|
44139
|
-
|
|
44055
|
+
t.setMappingMode(l);
|
|
44140
44056
|
break;
|
|
44141
44057
|
default:
|
|
44142
|
-
|
|
44058
|
+
r.skipField();
|
|
44143
44059
|
break;
|
|
44144
44060
|
}
|
|
44145
44061
|
}
|
|
44146
|
-
return
|
|
44062
|
+
return t;
|
|
44147
44063
|
}, proto.viam.service.slam.v1.GetPropertiesResponse.prototype.serializeBinary = function() {
|
|
44148
|
-
var
|
|
44149
|
-
return proto.viam.service.slam.v1.GetPropertiesResponse.serializeBinaryToWriter(this,
|
|
44150
|
-
}, proto.viam.service.slam.v1.GetPropertiesResponse.serializeBinaryToWriter = function(
|
|
44151
|
-
var
|
|
44152
|
-
|
|
44064
|
+
var t = new e.BinaryWriter();
|
|
44065
|
+
return proto.viam.service.slam.v1.GetPropertiesResponse.serializeBinaryToWriter(this, t), t.getResultBuffer();
|
|
44066
|
+
}, proto.viam.service.slam.v1.GetPropertiesResponse.serializeBinaryToWriter = function(t, r) {
|
|
44067
|
+
var i = void 0;
|
|
44068
|
+
i = t.getCloudSlam(), i && r.writeBool(
|
|
44153
44069
|
1,
|
|
44154
|
-
|
|
44155
|
-
),
|
|
44070
|
+
i
|
|
44071
|
+
), i = t.getMappingMode(), i !== 0 && r.writeEnum(
|
|
44156
44072
|
2,
|
|
44157
|
-
|
|
44073
|
+
i
|
|
44158
44074
|
);
|
|
44159
44075
|
}, proto.viam.service.slam.v1.GetPropertiesResponse.prototype.getCloudSlam = function() {
|
|
44160
44076
|
return (
|
|
44161
44077
|
/** @type {boolean} */
|
|
44162
44078
|
e.Message.getBooleanFieldWithDefault(this, 1, !1)
|
|
44163
44079
|
);
|
|
44164
|
-
}, proto.viam.service.slam.v1.GetPropertiesResponse.prototype.setCloudSlam = function(
|
|
44165
|
-
return e.Message.setProto3BooleanField(this, 1,
|
|
44080
|
+
}, proto.viam.service.slam.v1.GetPropertiesResponse.prototype.setCloudSlam = function(t) {
|
|
44081
|
+
return e.Message.setProto3BooleanField(this, 1, t);
|
|
44166
44082
|
}, proto.viam.service.slam.v1.GetPropertiesResponse.prototype.getMappingMode = function() {
|
|
44167
44083
|
return (
|
|
44168
44084
|
/** @type {!proto.viam.service.slam.v1.MappingMode} */
|
|
44169
44085
|
e.Message.getFieldWithDefault(this, 2, 0)
|
|
44170
44086
|
);
|
|
44171
|
-
}, proto.viam.service.slam.v1.GetPropertiesResponse.prototype.setMappingMode = function(
|
|
44172
|
-
return e.Message.setProto3EnumField(this, 2,
|
|
44087
|
+
}, proto.viam.service.slam.v1.GetPropertiesResponse.prototype.setMappingMode = function(t) {
|
|
44088
|
+
return e.Message.setProto3EnumField(this, 2, t);
|
|
44173
44089
|
}, proto.viam.service.slam.v1.MappingMode = {
|
|
44174
44090
|
MAPPING_MODE_UNSPECIFIED: 0,
|
|
44175
44091
|
MAPPING_MODE_CREATE_NEW_MAP: 1,
|
|
@@ -44207,14 +44123,6 @@ SLAMService.GetInternalState = {
|
|
|
44207
44123
|
requestType: service_slam_v1_slam_pb.GetInternalStateRequest,
|
|
44208
44124
|
responseType: service_slam_v1_slam_pb.GetInternalStateResponse
|
|
44209
44125
|
};
|
|
44210
|
-
SLAMService.GetLatestMapInfo = {
|
|
44211
|
-
methodName: "GetLatestMapInfo",
|
|
44212
|
-
service: SLAMService,
|
|
44213
|
-
requestStream: !1,
|
|
44214
|
-
responseStream: !1,
|
|
44215
|
-
requestType: service_slam_v1_slam_pb.GetLatestMapInfoRequest,
|
|
44216
|
-
responseType: service_slam_v1_slam_pb.GetLatestMapInfoResponse
|
|
44217
|
-
};
|
|
44218
44126
|
SLAMService.GetProperties = {
|
|
44219
44127
|
methodName: "GetProperties",
|
|
44220
44128
|
service: SLAMService,
|
|
@@ -44323,29 +44231,6 @@ SLAMServiceClient.prototype.getInternalState = function o(e, n) {
|
|
|
44323
44231
|
}
|
|
44324
44232
|
};
|
|
44325
44233
|
};
|
|
44326
|
-
SLAMServiceClient.prototype.getLatestMapInfo = function o(e, n, g) {
|
|
44327
|
-
arguments.length === 2 && (g = arguments[1]);
|
|
44328
|
-
var s = grpc$9.unary(SLAMService.GetLatestMapInfo, {
|
|
44329
|
-
request: e,
|
|
44330
|
-
host: this.serviceHost,
|
|
44331
|
-
metadata: n,
|
|
44332
|
-
transport: this.options.transport,
|
|
44333
|
-
debug: this.options.debug,
|
|
44334
|
-
onEnd: function(p) {
|
|
44335
|
-
if (g)
|
|
44336
|
-
if (p.status !== grpc$9.Code.OK) {
|
|
44337
|
-
var u = new Error(p.statusMessage);
|
|
44338
|
-
u.code = p.status, u.metadata = p.trailers, g(u, null);
|
|
44339
|
-
} else
|
|
44340
|
-
g(null, p.message);
|
|
44341
|
-
}
|
|
44342
|
-
});
|
|
44343
|
-
return {
|
|
44344
|
-
cancel: function() {
|
|
44345
|
-
g = null, s.close();
|
|
44346
|
-
}
|
|
44347
|
-
};
|
|
44348
|
-
};
|
|
44349
44234
|
SLAMServiceClient.prototype.getProperties = function o(e, n, g) {
|
|
44350
44235
|
arguments.length === 2 && (g = arguments[1]);
|
|
44351
44236
|
var s = grpc$9.unary(SLAMService.GetProperties, {
|
|
@@ -55351,12 +55236,12 @@ class MotionClient {
|
|
|
55351
55236
|
t
|
|
55352
55237
|
)).getSuccess();
|
|
55353
55238
|
}
|
|
55354
|
-
async moveOnMap(e, n, g, s = {}) {
|
|
55355
|
-
const { service:
|
|
55356
|
-
return
|
|
55357
|
-
|
|
55358
|
-
|
|
55359
|
-
)).
|
|
55239
|
+
async moveOnMap(e, n, g, s, p = {}) {
|
|
55240
|
+
const { service: u } = this, t = new pb$a.MoveOnMapRequest();
|
|
55241
|
+
return t.setName(this.name), t.setDestination(encodePose(e)), t.setComponentName(encodeResourceName(n)), t.setSlamServiceName(encodeResourceName(g)), s && t.setMotionConfiguration(encodeMotionConfiguration(s)), t.setExtra(struct_pb.Struct.fromJavaScript(p)), this.options.requestLogger?.(t), (await promisify(
|
|
55242
|
+
u.moveOnMap.bind(u),
|
|
55243
|
+
t
|
|
55244
|
+
)).toObject().executionId;
|
|
55360
55245
|
}
|
|
55361
55246
|
async moveOnGlobe(e, n, g, s, p, u, t = {}) {
|
|
55362
55247
|
const { service: r } = this, i = new pb$a.MoveOnGlobeRequest();
|
|
@@ -55844,7 +55729,7 @@ class VisionClient {
|
|
|
55844
55729
|
return doCommandFromClient(n, this.name, e, this.options);
|
|
55845
55730
|
}
|
|
55846
55731
|
}
|
|
55847
|
-
const version = "0.
|
|
55732
|
+
const version = "0.10.0-rc.0";
|
|
55848
55733
|
export {
|
|
55849
55734
|
ArmClient,
|
|
55850
55735
|
BaseClient,
|