@viamrobotics/sdk 0.2.0-rc.0 → 0.2.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/common/v1/common_pb.d.ts +96 -0
- package/dist/gen/component/arm/v1/arm_pb_service.d.ts +38 -0
- package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +19 -0
- package/dist/gen/component/base/v1/base_pb_service.d.ts +19 -0
- package/dist/gen/component/board/v1/board_pb_service.d.ts +19 -0
- package/dist/gen/component/camera/v1/camera_pb_service.d.ts +19 -0
- package/dist/gen/component/encoder/v1/encoder_pb_service.d.ts +19 -0
- package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +19 -0
- package/dist/gen/component/generic/v1/generic_pb_service.d.ts +19 -0
- package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +19 -0
- package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +19 -0
- package/dist/gen/component/motor/v1/motor_pb_service.d.ts +19 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +19 -0
- package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +19 -0
- package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +19 -0
- package/dist/gen/component/servo/v1/servo_pb_service.d.ts +19 -0
- package/dist/main.es.js +727 -71
- package/dist/main.umd.js +7 -7
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -8276,7 +8276,7 @@ var struct_pb = {};
|
|
|
8276
8276
|
}.call(null) || Function("return this")(), u = descriptor_pb;
|
|
8277
8277
|
s.object.extend(proto, u);
|
|
8278
8278
|
var g = struct_pb;
|
|
8279
|
-
s.object.extend(proto, g), s.exportSymbol("proto.viam.common.v1.ActuatorStatus", null, i), s.exportSymbol("proto.viam.common.v1.AnalogStatus", null, i), s.exportSymbol("proto.viam.common.v1.BoardStatus", null, i), s.exportSymbol("proto.viam.common.v1.Capsule", null, i), s.exportSymbol("proto.viam.common.v1.DigitalInterruptStatus", null, i), s.exportSymbol("proto.viam.common.v1.DoCommandRequest", null, i), s.exportSymbol("proto.viam.common.v1.DoCommandResponse", null, i), s.exportSymbol("proto.viam.common.v1.GeoObstacle", null, i), s.exportSymbol("proto.viam.common.v1.GeoPoint", null, i), s.exportSymbol("proto.viam.common.v1.GeometriesInFrame", null, i), s.exportSymbol("proto.viam.common.v1.Geometry", null, i), s.exportSymbol("proto.viam.common.v1.Geometry.GeometryTypeCase", null, i), s.exportSymbol("proto.viam.common.v1.Orientation", null, i), s.exportSymbol("proto.viam.common.v1.PointCloudObject", null, i), s.exportSymbol("proto.viam.common.v1.Pose", null, i), s.exportSymbol("proto.viam.common.v1.PoseInFrame", null, i), s.exportSymbol("proto.viam.common.v1.RectangularPrism", null, i), s.exportSymbol("proto.viam.common.v1.ResourceName", null, i), s.exportSymbol("proto.viam.common.v1.Sphere", null, i), s.exportSymbol("proto.viam.common.v1.Transform", null, i), s.exportSymbol("proto.viam.common.v1.Vector3", null, i), s.exportSymbol("proto.viam.common.v1.WorldState", null, i), s.exportSymbol("proto.viam.common.v1.safetyHeartbeatMonitored", null, i), proto.viam.common.v1.ResourceName = function(p) {
|
|
8279
|
+
s.object.extend(proto, g), s.exportSymbol("proto.viam.common.v1.ActuatorStatus", null, i), s.exportSymbol("proto.viam.common.v1.AnalogStatus", null, i), s.exportSymbol("proto.viam.common.v1.BoardStatus", null, i), s.exportSymbol("proto.viam.common.v1.Capsule", null, i), s.exportSymbol("proto.viam.common.v1.DigitalInterruptStatus", null, i), s.exportSymbol("proto.viam.common.v1.DoCommandRequest", null, i), s.exportSymbol("proto.viam.common.v1.DoCommandResponse", null, i), s.exportSymbol("proto.viam.common.v1.GeoObstacle", null, i), s.exportSymbol("proto.viam.common.v1.GeoPoint", null, i), s.exportSymbol("proto.viam.common.v1.GeometriesInFrame", null, i), s.exportSymbol("proto.viam.common.v1.Geometry", null, i), s.exportSymbol("proto.viam.common.v1.Geometry.GeometryTypeCase", null, i), s.exportSymbol("proto.viam.common.v1.GetGeometriesRequest", null, i), s.exportSymbol("proto.viam.common.v1.GetGeometriesResponse", null, i), s.exportSymbol("proto.viam.common.v1.GetKinematicsRequest", null, i), s.exportSymbol("proto.viam.common.v1.GetKinematicsResponse", null, i), s.exportSymbol("proto.viam.common.v1.KinematicsFileFormat", null, i), s.exportSymbol("proto.viam.common.v1.Orientation", null, i), s.exportSymbol("proto.viam.common.v1.PointCloudObject", null, i), s.exportSymbol("proto.viam.common.v1.Pose", null, i), s.exportSymbol("proto.viam.common.v1.PoseInFrame", null, i), s.exportSymbol("proto.viam.common.v1.RectangularPrism", null, i), s.exportSymbol("proto.viam.common.v1.ResourceName", null, i), s.exportSymbol("proto.viam.common.v1.Sphere", null, i), s.exportSymbol("proto.viam.common.v1.Transform", null, i), s.exportSymbol("proto.viam.common.v1.Vector3", null, i), s.exportSymbol("proto.viam.common.v1.WorldState", null, i), s.exportSymbol("proto.viam.common.v1.safetyHeartbeatMonitored", null, i), proto.viam.common.v1.ResourceName = function(p) {
|
|
8280
8280
|
e.Message.initialize(this, p, 0, -1, null, null);
|
|
8281
8281
|
}, s.inherits(proto.viam.common.v1.ResourceName, e.Message), s.DEBUG && !COMPILED && (proto.viam.common.v1.ResourceName.displayName = "proto.viam.common.v1.ResourceName"), proto.viam.common.v1.BoardStatus = function(p) {
|
|
8282
8282
|
e.Message.initialize(this, p, 0, -1, null, null);
|
|
@@ -8318,7 +8318,15 @@ var struct_pb = {};
|
|
|
8318
8318
|
e.Message.initialize(this, p, 0, -1, null, null);
|
|
8319
8319
|
}, s.inherits(proto.viam.common.v1.DoCommandRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.common.v1.DoCommandRequest.displayName = "proto.viam.common.v1.DoCommandRequest"), proto.viam.common.v1.DoCommandResponse = function(p) {
|
|
8320
8320
|
e.Message.initialize(this, p, 0, -1, null, null);
|
|
8321
|
-
}, s.inherits(proto.viam.common.v1.DoCommandResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.common.v1.DoCommandResponse.displayName = "proto.viam.common.v1.DoCommandResponse"),
|
|
8321
|
+
}, s.inherits(proto.viam.common.v1.DoCommandResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.common.v1.DoCommandResponse.displayName = "proto.viam.common.v1.DoCommandResponse"), proto.viam.common.v1.GetKinematicsRequest = function(p) {
|
|
8322
|
+
e.Message.initialize(this, p, 0, -1, null, null);
|
|
8323
|
+
}, s.inherits(proto.viam.common.v1.GetKinematicsRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.common.v1.GetKinematicsRequest.displayName = "proto.viam.common.v1.GetKinematicsRequest"), proto.viam.common.v1.GetKinematicsResponse = function(p) {
|
|
8324
|
+
e.Message.initialize(this, p, 0, -1, null, null);
|
|
8325
|
+
}, s.inherits(proto.viam.common.v1.GetKinematicsResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.common.v1.GetKinematicsResponse.displayName = "proto.viam.common.v1.GetKinematicsResponse"), proto.viam.common.v1.GetGeometriesRequest = function(p) {
|
|
8326
|
+
e.Message.initialize(this, p, 0, -1, null, null);
|
|
8327
|
+
}, s.inherits(proto.viam.common.v1.GetGeometriesRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.common.v1.GetGeometriesRequest.displayName = "proto.viam.common.v1.GetGeometriesRequest"), proto.viam.common.v1.GetGeometriesResponse = function(p) {
|
|
8328
|
+
e.Message.initialize(this, p, 0, -1, proto.viam.common.v1.GetGeometriesResponse.repeatedFields_, null);
|
|
8329
|
+
}, s.inherits(proto.viam.common.v1.GetGeometriesResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.common.v1.GetGeometriesResponse.displayName = "proto.viam.common.v1.GetGeometriesResponse"), e.Message.GENERATE_TO_OBJECT && (proto.viam.common.v1.ResourceName.prototype.toObject = function(p) {
|
|
8322
8330
|
return proto.viam.common.v1.ResourceName.toObject(p, this);
|
|
8323
8331
|
}, proto.viam.common.v1.ResourceName.toObject = function(p, o) {
|
|
8324
8332
|
var r = {
|
|
@@ -9817,6 +9825,220 @@ var struct_pb = {};
|
|
|
9817
9825
|
return this.setResult(void 0);
|
|
9818
9826
|
}, proto.viam.common.v1.DoCommandResponse.prototype.hasResult = function() {
|
|
9819
9827
|
return e.Message.getField(this, 1) != null;
|
|
9828
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.common.v1.GetKinematicsRequest.prototype.toObject = function(p) {
|
|
9829
|
+
return proto.viam.common.v1.GetKinematicsRequest.toObject(p, this);
|
|
9830
|
+
}, proto.viam.common.v1.GetKinematicsRequest.toObject = function(p, o) {
|
|
9831
|
+
var r = {
|
|
9832
|
+
name: e.Message.getFieldWithDefault(o, 1, "")
|
|
9833
|
+
};
|
|
9834
|
+
return p && (r.$jspbMessageInstance = o), r;
|
|
9835
|
+
}), proto.viam.common.v1.GetKinematicsRequest.deserializeBinary = function(p) {
|
|
9836
|
+
var o = new e.BinaryReader(p), r = new proto.viam.common.v1.GetKinematicsRequest();
|
|
9837
|
+
return proto.viam.common.v1.GetKinematicsRequest.deserializeBinaryFromReader(r, o);
|
|
9838
|
+
}, proto.viam.common.v1.GetKinematicsRequest.deserializeBinaryFromReader = function(p, o) {
|
|
9839
|
+
for (; o.nextField() && !o.isEndGroup(); ) {
|
|
9840
|
+
var r = o.getFieldNumber();
|
|
9841
|
+
switch (r) {
|
|
9842
|
+
case 1:
|
|
9843
|
+
var n = (
|
|
9844
|
+
/** @type {string} */
|
|
9845
|
+
o.readString()
|
|
9846
|
+
);
|
|
9847
|
+
p.setName(n);
|
|
9848
|
+
break;
|
|
9849
|
+
default:
|
|
9850
|
+
o.skipField();
|
|
9851
|
+
break;
|
|
9852
|
+
}
|
|
9853
|
+
}
|
|
9854
|
+
return p;
|
|
9855
|
+
}, proto.viam.common.v1.GetKinematicsRequest.prototype.serializeBinary = function() {
|
|
9856
|
+
var p = new e.BinaryWriter();
|
|
9857
|
+
return proto.viam.common.v1.GetKinematicsRequest.serializeBinaryToWriter(this, p), p.getResultBuffer();
|
|
9858
|
+
}, proto.viam.common.v1.GetKinematicsRequest.serializeBinaryToWriter = function(p, o) {
|
|
9859
|
+
var r = void 0;
|
|
9860
|
+
r = p.getName(), r.length > 0 && o.writeString(
|
|
9861
|
+
1,
|
|
9862
|
+
r
|
|
9863
|
+
);
|
|
9864
|
+
}, proto.viam.common.v1.GetKinematicsRequest.prototype.getName = function() {
|
|
9865
|
+
return (
|
|
9866
|
+
/** @type {string} */
|
|
9867
|
+
e.Message.getFieldWithDefault(this, 1, "")
|
|
9868
|
+
);
|
|
9869
|
+
}, proto.viam.common.v1.GetKinematicsRequest.prototype.setName = function(p) {
|
|
9870
|
+
return e.Message.setProto3StringField(this, 1, p);
|
|
9871
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.common.v1.GetKinematicsResponse.prototype.toObject = function(p) {
|
|
9872
|
+
return proto.viam.common.v1.GetKinematicsResponse.toObject(p, this);
|
|
9873
|
+
}, proto.viam.common.v1.GetKinematicsResponse.toObject = function(p, o) {
|
|
9874
|
+
var r = {
|
|
9875
|
+
format: e.Message.getFieldWithDefault(o, 1, 0),
|
|
9876
|
+
kinematicsData: o.getKinematicsData_asB64()
|
|
9877
|
+
};
|
|
9878
|
+
return p && (r.$jspbMessageInstance = o), r;
|
|
9879
|
+
}), proto.viam.common.v1.GetKinematicsResponse.deserializeBinary = function(p) {
|
|
9880
|
+
var o = new e.BinaryReader(p), r = new proto.viam.common.v1.GetKinematicsResponse();
|
|
9881
|
+
return proto.viam.common.v1.GetKinematicsResponse.deserializeBinaryFromReader(r, o);
|
|
9882
|
+
}, proto.viam.common.v1.GetKinematicsResponse.deserializeBinaryFromReader = function(p, o) {
|
|
9883
|
+
for (; o.nextField() && !o.isEndGroup(); ) {
|
|
9884
|
+
var r = o.getFieldNumber();
|
|
9885
|
+
switch (r) {
|
|
9886
|
+
case 1:
|
|
9887
|
+
var n = (
|
|
9888
|
+
/** @type {!proto.viam.common.v1.KinematicsFileFormat} */
|
|
9889
|
+
o.readEnum()
|
|
9890
|
+
);
|
|
9891
|
+
p.setFormat(n);
|
|
9892
|
+
break;
|
|
9893
|
+
case 2:
|
|
9894
|
+
var n = (
|
|
9895
|
+
/** @type {!Uint8Array} */
|
|
9896
|
+
o.readBytes()
|
|
9897
|
+
);
|
|
9898
|
+
p.setKinematicsData(n);
|
|
9899
|
+
break;
|
|
9900
|
+
default:
|
|
9901
|
+
o.skipField();
|
|
9902
|
+
break;
|
|
9903
|
+
}
|
|
9904
|
+
}
|
|
9905
|
+
return p;
|
|
9906
|
+
}, proto.viam.common.v1.GetKinematicsResponse.prototype.serializeBinary = function() {
|
|
9907
|
+
var p = new e.BinaryWriter();
|
|
9908
|
+
return proto.viam.common.v1.GetKinematicsResponse.serializeBinaryToWriter(this, p), p.getResultBuffer();
|
|
9909
|
+
}, proto.viam.common.v1.GetKinematicsResponse.serializeBinaryToWriter = function(p, o) {
|
|
9910
|
+
var r = void 0;
|
|
9911
|
+
r = p.getFormat(), r !== 0 && o.writeEnum(
|
|
9912
|
+
1,
|
|
9913
|
+
r
|
|
9914
|
+
), r = p.getKinematicsData_asU8(), r.length > 0 && o.writeBytes(
|
|
9915
|
+
2,
|
|
9916
|
+
r
|
|
9917
|
+
);
|
|
9918
|
+
}, proto.viam.common.v1.GetKinematicsResponse.prototype.getFormat = function() {
|
|
9919
|
+
return (
|
|
9920
|
+
/** @type {!proto.viam.common.v1.KinematicsFileFormat} */
|
|
9921
|
+
e.Message.getFieldWithDefault(this, 1, 0)
|
|
9922
|
+
);
|
|
9923
|
+
}, proto.viam.common.v1.GetKinematicsResponse.prototype.setFormat = function(p) {
|
|
9924
|
+
return e.Message.setProto3EnumField(this, 1, p);
|
|
9925
|
+
}, proto.viam.common.v1.GetKinematicsResponse.prototype.getKinematicsData = function() {
|
|
9926
|
+
return (
|
|
9927
|
+
/** @type {string} */
|
|
9928
|
+
e.Message.getFieldWithDefault(this, 2, "")
|
|
9929
|
+
);
|
|
9930
|
+
}, proto.viam.common.v1.GetKinematicsResponse.prototype.getKinematicsData_asB64 = function() {
|
|
9931
|
+
return (
|
|
9932
|
+
/** @type {string} */
|
|
9933
|
+
e.Message.bytesAsB64(
|
|
9934
|
+
this.getKinematicsData()
|
|
9935
|
+
)
|
|
9936
|
+
);
|
|
9937
|
+
}, proto.viam.common.v1.GetKinematicsResponse.prototype.getKinematicsData_asU8 = function() {
|
|
9938
|
+
return (
|
|
9939
|
+
/** @type {!Uint8Array} */
|
|
9940
|
+
e.Message.bytesAsU8(
|
|
9941
|
+
this.getKinematicsData()
|
|
9942
|
+
)
|
|
9943
|
+
);
|
|
9944
|
+
}, proto.viam.common.v1.GetKinematicsResponse.prototype.setKinematicsData = function(p) {
|
|
9945
|
+
return e.Message.setProto3BytesField(this, 2, p);
|
|
9946
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.common.v1.GetGeometriesRequest.prototype.toObject = function(p) {
|
|
9947
|
+
return proto.viam.common.v1.GetGeometriesRequest.toObject(p, this);
|
|
9948
|
+
}, proto.viam.common.v1.GetGeometriesRequest.toObject = function(p, o) {
|
|
9949
|
+
var r = {
|
|
9950
|
+
name: e.Message.getFieldWithDefault(o, 1, "")
|
|
9951
|
+
};
|
|
9952
|
+
return p && (r.$jspbMessageInstance = o), r;
|
|
9953
|
+
}), proto.viam.common.v1.GetGeometriesRequest.deserializeBinary = function(p) {
|
|
9954
|
+
var o = new e.BinaryReader(p), r = new proto.viam.common.v1.GetGeometriesRequest();
|
|
9955
|
+
return proto.viam.common.v1.GetGeometriesRequest.deserializeBinaryFromReader(r, o);
|
|
9956
|
+
}, proto.viam.common.v1.GetGeometriesRequest.deserializeBinaryFromReader = function(p, o) {
|
|
9957
|
+
for (; o.nextField() && !o.isEndGroup(); ) {
|
|
9958
|
+
var r = o.getFieldNumber();
|
|
9959
|
+
switch (r) {
|
|
9960
|
+
case 1:
|
|
9961
|
+
var n = (
|
|
9962
|
+
/** @type {string} */
|
|
9963
|
+
o.readString()
|
|
9964
|
+
);
|
|
9965
|
+
p.setName(n);
|
|
9966
|
+
break;
|
|
9967
|
+
default:
|
|
9968
|
+
o.skipField();
|
|
9969
|
+
break;
|
|
9970
|
+
}
|
|
9971
|
+
}
|
|
9972
|
+
return p;
|
|
9973
|
+
}, proto.viam.common.v1.GetGeometriesRequest.prototype.serializeBinary = function() {
|
|
9974
|
+
var p = new e.BinaryWriter();
|
|
9975
|
+
return proto.viam.common.v1.GetGeometriesRequest.serializeBinaryToWriter(this, p), p.getResultBuffer();
|
|
9976
|
+
}, proto.viam.common.v1.GetGeometriesRequest.serializeBinaryToWriter = function(p, o) {
|
|
9977
|
+
var r = void 0;
|
|
9978
|
+
r = p.getName(), r.length > 0 && o.writeString(
|
|
9979
|
+
1,
|
|
9980
|
+
r
|
|
9981
|
+
);
|
|
9982
|
+
}, proto.viam.common.v1.GetGeometriesRequest.prototype.getName = function() {
|
|
9983
|
+
return (
|
|
9984
|
+
/** @type {string} */
|
|
9985
|
+
e.Message.getFieldWithDefault(this, 1, "")
|
|
9986
|
+
);
|
|
9987
|
+
}, proto.viam.common.v1.GetGeometriesRequest.prototype.setName = function(p) {
|
|
9988
|
+
return e.Message.setProto3StringField(this, 1, p);
|
|
9989
|
+
}, proto.viam.common.v1.GetGeometriesResponse.repeatedFields_ = [1], e.Message.GENERATE_TO_OBJECT && (proto.viam.common.v1.GetGeometriesResponse.prototype.toObject = function(p) {
|
|
9990
|
+
return proto.viam.common.v1.GetGeometriesResponse.toObject(p, this);
|
|
9991
|
+
}, proto.viam.common.v1.GetGeometriesResponse.toObject = function(p, o) {
|
|
9992
|
+
var r = {
|
|
9993
|
+
geometriesList: e.Message.toObjectList(
|
|
9994
|
+
o.getGeometriesList(),
|
|
9995
|
+
proto.viam.common.v1.Geometry.toObject,
|
|
9996
|
+
p
|
|
9997
|
+
)
|
|
9998
|
+
};
|
|
9999
|
+
return p && (r.$jspbMessageInstance = o), r;
|
|
10000
|
+
}), proto.viam.common.v1.GetGeometriesResponse.deserializeBinary = function(p) {
|
|
10001
|
+
var o = new e.BinaryReader(p), r = new proto.viam.common.v1.GetGeometriesResponse();
|
|
10002
|
+
return proto.viam.common.v1.GetGeometriesResponse.deserializeBinaryFromReader(r, o);
|
|
10003
|
+
}, proto.viam.common.v1.GetGeometriesResponse.deserializeBinaryFromReader = function(p, o) {
|
|
10004
|
+
for (; o.nextField() && !o.isEndGroup(); ) {
|
|
10005
|
+
var r = o.getFieldNumber();
|
|
10006
|
+
switch (r) {
|
|
10007
|
+
case 1:
|
|
10008
|
+
var n = new proto.viam.common.v1.Geometry();
|
|
10009
|
+
o.readMessage(n, proto.viam.common.v1.Geometry.deserializeBinaryFromReader), p.addGeometries(n);
|
|
10010
|
+
break;
|
|
10011
|
+
default:
|
|
10012
|
+
o.skipField();
|
|
10013
|
+
break;
|
|
10014
|
+
}
|
|
10015
|
+
}
|
|
10016
|
+
return p;
|
|
10017
|
+
}, proto.viam.common.v1.GetGeometriesResponse.prototype.serializeBinary = function() {
|
|
10018
|
+
var p = new e.BinaryWriter();
|
|
10019
|
+
return proto.viam.common.v1.GetGeometriesResponse.serializeBinaryToWriter(this, p), p.getResultBuffer();
|
|
10020
|
+
}, proto.viam.common.v1.GetGeometriesResponse.serializeBinaryToWriter = function(p, o) {
|
|
10021
|
+
var r = void 0;
|
|
10022
|
+
r = p.getGeometriesList(), r.length > 0 && o.writeRepeatedMessage(
|
|
10023
|
+
1,
|
|
10024
|
+
r,
|
|
10025
|
+
proto.viam.common.v1.Geometry.serializeBinaryToWriter
|
|
10026
|
+
);
|
|
10027
|
+
}, proto.viam.common.v1.GetGeometriesResponse.prototype.getGeometriesList = function() {
|
|
10028
|
+
return (
|
|
10029
|
+
/** @type{!Array<!proto.viam.common.v1.Geometry>} */
|
|
10030
|
+
e.Message.getRepeatedWrapperField(this, proto.viam.common.v1.Geometry, 1)
|
|
10031
|
+
);
|
|
10032
|
+
}, proto.viam.common.v1.GetGeometriesResponse.prototype.setGeometriesList = function(p) {
|
|
10033
|
+
return e.Message.setRepeatedWrapperField(this, 1, p);
|
|
10034
|
+
}, proto.viam.common.v1.GetGeometriesResponse.prototype.addGeometries = function(p, o) {
|
|
10035
|
+
return e.Message.addToRepeatedWrapperField(this, 1, p, proto.viam.common.v1.Geometry, o);
|
|
10036
|
+
}, proto.viam.common.v1.GetGeometriesResponse.prototype.clearGeometriesList = function() {
|
|
10037
|
+
return this.setGeometriesList([]);
|
|
10038
|
+
}, proto.viam.common.v1.KinematicsFileFormat = {
|
|
10039
|
+
KINEMATICS_FILE_FORMAT_UNSPECIFIED: 0,
|
|
10040
|
+
KINEMATICS_FILE_FORMAT_SVA: 1,
|
|
10041
|
+
KINEMATICS_FILE_FORMAT_URDF: 2
|
|
9820
10042
|
}, proto.viam.common.v1.safetyHeartbeatMonitored = new e.ExtensionFieldInfo(
|
|
9821
10043
|
84260,
|
|
9822
10044
|
{ safetyHeartbeatMonitored: 0 },
|
|
@@ -13524,13 +13746,13 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
13524
13746
|
for (; ; ) {
|
|
13525
13747
|
if (!l(this.buffer, this.position, 5))
|
|
13526
13748
|
return b;
|
|
13527
|
-
var C = c(this.buffer, this.position, this.position + 5), q = new DataView(C.buffer, C.byteOffset, C.byteLength),
|
|
13528
|
-
if (!l(this.buffer, this.position, 5 +
|
|
13749
|
+
var C = c(this.buffer, this.position, this.position + 5), q = new DataView(C.buffer, C.byteOffset, C.byteLength), G = n(q);
|
|
13750
|
+
if (!l(this.buffer, this.position, 5 + G))
|
|
13529
13751
|
return b;
|
|
13530
|
-
var
|
|
13531
|
-
if (this.position += 5 +
|
|
13532
|
-
return b.push({ chunkType: u.TRAILERS, trailers: (f =
|
|
13533
|
-
b.push({ chunkType: u.MESSAGE, data:
|
|
13752
|
+
var z = c(this.buffer, this.position + 5, this.position + 5 + G);
|
|
13753
|
+
if (this.position += 5 + G, r(q))
|
|
13754
|
+
return b.push({ chunkType: u.TRAILERS, trailers: (f = z, new g.Metadata(o(f))) }), b;
|
|
13755
|
+
b.push({ chunkType: u.MESSAGE, data: z });
|
|
13534
13756
|
}
|
|
13535
13757
|
}, m;
|
|
13536
13758
|
}();
|
|
@@ -20057,8 +20279,8 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20057
20279
|
M ? (y = M.getCode(), f = M.getMessage(), b.set("grpc-status", "".concat(M.getCode())), f !== void 0 && b.set("grpc-message", M.getMessage())) : (y = 0, b.set("grpc-status", "0"), f = "");
|
|
20058
20280
|
var h = function(w) {
|
|
20059
20281
|
var C = "";
|
|
20060
|
-
return w.forEach(function(q,
|
|
20061
|
-
C += "".concat(q, ": ").concat(
|
|
20282
|
+
return w.forEach(function(q, G) {
|
|
20283
|
+
C += "".concat(q, ": ").concat(G.join(", "), `\r
|
|
20062
20284
|
`);
|
|
20063
20285
|
}), n(C);
|
|
20064
20286
|
}(b), O = new ArrayBuffer(h.length + 5);
|
|
@@ -20097,32 +20319,32 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20097
20319
|
return i.__awaiter(this, void 0, void 0, function() {
|
|
20098
20320
|
var w, C;
|
|
20099
20321
|
return i.__generator(this, function(q) {
|
|
20100
|
-
return M(O), w = function(
|
|
20101
|
-
return u.grpc.CrossBrowserHttpTransport({ withCredentials: !1 })(
|
|
20102
|
-
}, !O?.accessToken || O?.externalAuthAddress && O?.externalAuthToEntity ? O && (O?.credentials || O?.accessToken) ? [2, y(h, w, O)] : [2, w] : ((C = new u.grpc.Metadata()).set("authorization", "Bearer ".concat(O.accessToken)), [2, function(
|
|
20103
|
-
return new f(
|
|
20322
|
+
return M(O), w = function(G) {
|
|
20323
|
+
return u.grpc.CrossBrowserHttpTransport({ withCredentials: !1 })(G);
|
|
20324
|
+
}, !O?.accessToken || O?.externalAuthAddress && O?.externalAuthToEntity ? O && (O?.credentials || O?.accessToken) ? [2, y(h, w, O)] : [2, w] : ((C = new u.grpc.Metadata()).set("authorization", "Bearer ".concat(O.accessToken)), [2, function(G) {
|
|
20325
|
+
return new f(G, w, C);
|
|
20104
20326
|
}]);
|
|
20105
20327
|
});
|
|
20106
20328
|
});
|
|
20107
20329
|
}
|
|
20108
20330
|
function y(h, O, w) {
|
|
20109
20331
|
return i.__awaiter(this, void 0, void 0, function() {
|
|
20110
|
-
var C, q,
|
|
20332
|
+
var C, q, G, z = this;
|
|
20111
20333
|
return i.__generator(this, function(U) {
|
|
20112
20334
|
switch (U.label) {
|
|
20113
20335
|
case 0:
|
|
20114
20336
|
return C = "", q = function() {
|
|
20115
|
-
return i.__awaiter(
|
|
20116
|
-
var I,
|
|
20337
|
+
return i.__awaiter(z, void 0, void 0, function() {
|
|
20338
|
+
var I, x, k, S, R, _, E, F, P, T;
|
|
20117
20339
|
return i.__generator(this, function(j) {
|
|
20118
20340
|
switch (j.label) {
|
|
20119
20341
|
case 0:
|
|
20120
20342
|
return C != "" ? [3, 5] : (I = "", w.accessToken && w.accessToken !== "" ? [3, 2] : ((E = new n.AuthenticateRequest()).setEntity(w.authEntity ? w.authEntity : h.replace(/^(.*:\/\/)/, "")), (S = new n.Credentials()).setType((P = w.credentials) === null || P === void 0 ? void 0 : P.type), S.setPayload((T = w.credentials) === null || T === void 0 ? void 0 : T.payload), E.setCredentials(S), _ = new Promise(function(A, D) {
|
|
20121
|
-
|
|
20343
|
+
x = A, k = D;
|
|
20122
20344
|
}), u.grpc.invoke(l.AuthService.Authenticate, { request: E, host: w.externalAuthAddress ? w.externalAuthAddress : h, transport: O, onMessage: function(A) {
|
|
20123
20345
|
I = A.getAccessToken();
|
|
20124
20346
|
}, onEnd: function(A, D, B) {
|
|
20125
|
-
A == u.grpc.Code.OK ?
|
|
20347
|
+
A == u.grpc.Code.OK ? x(F) : k(D);
|
|
20126
20348
|
} }), [4, _]));
|
|
20127
20349
|
case 1:
|
|
20128
20350
|
return j.sent(), [3, 3];
|
|
@@ -20130,11 +20352,11 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20130
20352
|
I = w.accessToken, j.label = 3;
|
|
20131
20353
|
case 3:
|
|
20132
20354
|
return C = I, w.externalAuthAddress && w.externalAuthToEntity ? ((R = new u.grpc.Metadata()).set("authorization", "Bearer ".concat(C)), _ = new Promise(function(A, D) {
|
|
20133
|
-
|
|
20355
|
+
x = A, k = D;
|
|
20134
20356
|
}), I = "", (E = new n.AuthenticateToRequest()).setEntity(w.externalAuthToEntity), u.grpc.invoke(l.ExternalAuthService.AuthenticateTo, { request: E, host: w.externalAuthAddress, transport: O, metadata: R, onMessage: function(A) {
|
|
20135
20357
|
I = A.getAccessToken();
|
|
20136
20358
|
}, onEnd: function(A, D, B) {
|
|
20137
|
-
A == u.grpc.Code.OK ?
|
|
20359
|
+
A == u.grpc.Code.OK ? x(R) : k(D);
|
|
20138
20360
|
} }), [4, _]) : [3, 5];
|
|
20139
20361
|
case 4:
|
|
20140
20362
|
j.sent(), C = I, j.label = 5;
|
|
@@ -20145,8 +20367,8 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20145
20367
|
});
|
|
20146
20368
|
}, [4, q()];
|
|
20147
20369
|
case 1:
|
|
20148
|
-
return
|
|
20149
|
-
return new f(I, O,
|
|
20370
|
+
return G = U.sent(), [2, function(I) {
|
|
20371
|
+
return new f(I, O, G);
|
|
20150
20372
|
}];
|
|
20151
20373
|
}
|
|
20152
20374
|
});
|
|
@@ -20171,25 +20393,25 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20171
20393
|
}();
|
|
20172
20394
|
function b(h, O, w) {
|
|
20173
20395
|
return i.__awaiter(this, void 0, void 0, function() {
|
|
20174
|
-
var C, q,
|
|
20175
|
-
return i.__generator(this, function(
|
|
20176
|
-
switch (
|
|
20396
|
+
var C, q, G, z, U, I;
|
|
20397
|
+
return i.__generator(this, function(x) {
|
|
20398
|
+
switch (x.label) {
|
|
20177
20399
|
case 0:
|
|
20178
20400
|
return C = i.__assign({}, w), [4, v(h, C)];
|
|
20179
20401
|
case 1:
|
|
20180
|
-
return q =
|
|
20181
|
-
|
|
20402
|
+
return q = x.sent(), I = new Promise(function(k, S) {
|
|
20403
|
+
G = k, z = S;
|
|
20182
20404
|
}), u.grpc.unary(d.SignalingService.OptionalWebRTCConfig, { request: new c.OptionalWebRTCConfigRequest(), metadata: { "rpc-host": O }, host: h, transport: q, onEnd: function(k) {
|
|
20183
20405
|
var S = k.status, R = k.statusMessage, _ = k.message;
|
|
20184
20406
|
if (S === u.grpc.Code.OK && _) {
|
|
20185
20407
|
if (!(U = _.getConfig()))
|
|
20186
|
-
return void
|
|
20187
|
-
|
|
20408
|
+
return void G(new c.WebRTCConfig());
|
|
20409
|
+
G(U);
|
|
20188
20410
|
} else
|
|
20189
|
-
|
|
20411
|
+
z(R);
|
|
20190
20412
|
} }), [4, I];
|
|
20191
20413
|
case 2:
|
|
20192
|
-
if (
|
|
20414
|
+
if (x.sent(), !U)
|
|
20193
20415
|
throw new Error("no config");
|
|
20194
20416
|
return [2, U];
|
|
20195
20417
|
}
|
|
@@ -20222,7 +20444,7 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20222
20444
|
}
|
|
20223
20445
|
}
|
|
20224
20446
|
e.dialWebRTC = function(h, O, w) {
|
|
20225
|
-
var C, q,
|
|
20447
|
+
var C, q, G, z, U, I, x;
|
|
20226
20448
|
return i.__awaiter(this, void 0, void 0, function() {
|
|
20227
20449
|
var k, S, R, _, E, F, P, T, j, A, D, B, W, V, Z, oe, re, ge, ae, ne, pe, ie, le, se, ce, ue, de = this;
|
|
20228
20450
|
return i.__generator(this, function(J) {
|
|
@@ -20236,26 +20458,26 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20236
20458
|
case 2:
|
|
20237
20459
|
_ = J.sent(), E = _.pc, F = _.dc, P = !1, J.label = 3;
|
|
20238
20460
|
case 3:
|
|
20239
|
-
return J.trys.push([3, , 10, 11]), T = w, w && (T = i.__assign({}, w), w.accessToken || (T.authEntity = (C = w?.webrtcOptions) === null || C === void 0 ? void 0 : C.signalingAuthEntity, T.authEntity || (T.externalAuthAddress ? T.authEntity = (q = w.externalAuthAddress) === null || q === void 0 ? void 0 : q.replace(/^(.*:\/\/)/, "") : T.authEntity = h.replace(/^(.*:\/\/)/, "")), T.credentials = (
|
|
20461
|
+
return J.trys.push([3, , 10, 11]), T = w, w && (T = i.__assign({}, w), w.accessToken || (T.authEntity = (C = w?.webrtcOptions) === null || C === void 0 ? void 0 : C.signalingAuthEntity, T.authEntity || (T.externalAuthAddress ? T.authEntity = (q = w.externalAuthAddress) === null || q === void 0 ? void 0 : q.replace(/^(.*:\/\/)/, "") : T.authEntity = h.replace(/^(.*:\/\/)/, "")), T.credentials = (G = w?.webrtcOptions) === null || G === void 0 ? void 0 : G.signalingCredentials, T.accessToken = (z = w?.webrtcOptions) === null || z === void 0 ? void 0 : z.signalingAccessToken), T.externalAuthAddress = (U = w?.webrtcOptions) === null || U === void 0 ? void 0 : U.signalingExternalAuthAddress, T.externalAuthToEntity = (I = w?.webrtcOptions) === null || I === void 0 ? void 0 : I.signalingExternalAuthToEntity), [4, v(h, T)];
|
|
20240
20462
|
case 4:
|
|
20241
20463
|
return j = J.sent(), A = u.grpc.client(d.SignalingService.Call, { host: h, transport: j }), D = "", B = !1, W = function(L) {
|
|
20242
20464
|
if (!B) {
|
|
20243
20465
|
B = !0;
|
|
20244
|
-
var
|
|
20245
|
-
|
|
20466
|
+
var N = new c.CallUpdateRequest();
|
|
20467
|
+
N.setUuid(D);
|
|
20246
20468
|
var $ = new r.Status();
|
|
20247
|
-
$.setCode(o.Code.UNKNOWN), $.setMessage(L),
|
|
20248
|
-
var H =
|
|
20249
|
-
H === u.grpc.Code.OK && Q || console.error(
|
|
20469
|
+
$.setCode(o.Code.UNKNOWN), $.setMessage(L), N.setError($), u.grpc.unary(d.SignalingService.CallUpdate, { request: N, metadata: { "rpc-host": O }, host: h, transport: j, onEnd: function(K) {
|
|
20470
|
+
var H = K.status, Y = K.statusMessage, Q = K.message;
|
|
20471
|
+
H === u.grpc.Code.OK && Q || console.error(Y);
|
|
20250
20472
|
} });
|
|
20251
20473
|
}
|
|
20252
20474
|
}, V = function() {
|
|
20253
20475
|
if (!B) {
|
|
20254
20476
|
B = !0;
|
|
20255
20477
|
var L = new c.CallUpdateRequest();
|
|
20256
|
-
L.setUuid(D), L.setDone(!0), u.grpc.unary(d.SignalingService.CallUpdate, { request: L, metadata: { "rpc-host": O }, host: h, transport: j, onEnd: function(
|
|
20257
|
-
var $ =
|
|
20258
|
-
$ === u.grpc.Code.OK && H || console.error(
|
|
20478
|
+
L.setUuid(D), L.setDone(!0), u.grpc.unary(d.SignalingService.CallUpdate, { request: L, metadata: { "rpc-host": O }, host: h, transport: j, onEnd: function(N) {
|
|
20479
|
+
var $ = N.status, K = N.statusMessage, H = N.message;
|
|
20480
|
+
$ === u.grpc.Code.OK && H || console.error(K);
|
|
20259
20481
|
} });
|
|
20260
20482
|
}
|
|
20261
20483
|
}, oe = new Promise(function(L) {
|
|
@@ -20264,18 +20486,18 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20264
20486
|
case 5:
|
|
20265
20487
|
return ge = J.sent(), ae = !1, E.onicecandidate = function(L) {
|
|
20266
20488
|
return i.__awaiter(de, void 0, void 0, function() {
|
|
20267
|
-
var
|
|
20268
|
-
return i.__generator(this, function(
|
|
20269
|
-
switch (
|
|
20489
|
+
var N, $;
|
|
20490
|
+
return i.__generator(this, function(K) {
|
|
20491
|
+
switch (K.label) {
|
|
20270
20492
|
case 0:
|
|
20271
20493
|
return [4, oe];
|
|
20272
20494
|
case 1:
|
|
20273
|
-
return
|
|
20495
|
+
return K.sent(), re ? [2] : L.candidate === null ? (ae = !0, V(), [2]) : (H = L.candidate, (Y = new c.ICECandidate()).setCandidate(H.candidate), H.sdpMid && Y.setSdpMid(H.sdpMid), H.sdpMLineIndex && Y.setSdpmLineIndex(H.sdpMLineIndex), H.usernameFragment && Y.setUsernameFragment(H.usernameFragment), N = Y, ($ = new c.CallUpdateRequest()).setUuid(D), $.setCandidate(N), u.grpc.unary(d.SignalingService.CallUpdate, { request: $, metadata: { "rpc-host": O }, host: h, transport: j, onEnd: function(Q) {
|
|
20274
20496
|
var ee = Q.status, X = Q.statusMessage, te = Q.message;
|
|
20275
20497
|
ee === u.grpc.Code.OK && te || re || ae || console.error("error sending candidate", X);
|
|
20276
20498
|
} }), [2]);
|
|
20277
20499
|
}
|
|
20278
|
-
var H,
|
|
20500
|
+
var H, Y;
|
|
20279
20501
|
});
|
|
20280
20502
|
});
|
|
20281
20503
|
}, [4, E.setLocalDescription(ge)];
|
|
@@ -20284,23 +20506,23 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20284
20506
|
case 7:
|
|
20285
20507
|
return ne = !1, A.onMessage(function(L) {
|
|
20286
20508
|
return i.__awaiter(de, void 0, void 0, function() {
|
|
20287
|
-
var
|
|
20509
|
+
var N, $, K, H, Y, Q;
|
|
20288
20510
|
return i.__generator(this, function(ee) {
|
|
20289
20511
|
switch (ee.label) {
|
|
20290
20512
|
case 0:
|
|
20291
|
-
return (
|
|
20513
|
+
return (N = L).hasInit() ? ne ? (W("got init stage more than once"), [2]) : ($ = N.getInit(), ne = !0, D = N.getUuid(), K = new RTCSessionDescription(JSON.parse(atob($.getSdp()))), [4, E.setRemoteDescription(K)]) : [3, 2];
|
|
20292
20514
|
case 1:
|
|
20293
20515
|
return ee.sent(), Z(!0), R?.disableTrickleICE ? (re = !0, V(), [2]) : [3, 8];
|
|
20294
20516
|
case 2:
|
|
20295
|
-
if (!
|
|
20517
|
+
if (!N.hasUpdate())
|
|
20296
20518
|
return [3, 7];
|
|
20297
20519
|
if (!ne)
|
|
20298
20520
|
return W("got update stage before init stage"), [2];
|
|
20299
|
-
if (
|
|
20300
|
-
return W("uuid mismatch; have=".concat(
|
|
20301
|
-
H =
|
|
20521
|
+
if (N.getUuid() !== D)
|
|
20522
|
+
return W("uuid mismatch; have=".concat(N.getUuid(), " want=").concat(D)), [2];
|
|
20523
|
+
H = N.getUpdate(), X = H.getCandidate(), te = { candidate: X.getCandidate() }, X.hasSdpMid() && (te.sdpMid = X.getSdpMid()), X.hasSdpmLineIndex() && (te.sdpMLineIndex = X.getSdpmLineIndex()), X.hasUsernameFragment() && (te.usernameFragment = X.getUsernameFragment()), Y = te, ee.label = 3;
|
|
20302
20524
|
case 3:
|
|
20303
|
-
return ee.trys.push([3, 5, , 6]), [4, E.addIceCandidate(
|
|
20525
|
+
return ee.trys.push([3, 5, , 6]), [4, E.addIceCandidate(Y)];
|
|
20304
20526
|
case 4:
|
|
20305
20527
|
return ee.sent(), [3, 6];
|
|
20306
20528
|
case 5:
|
|
@@ -20315,10 +20537,10 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20315
20537
|
var X, te;
|
|
20316
20538
|
});
|
|
20317
20539
|
});
|
|
20318
|
-
}), le = new Promise(function(L,
|
|
20319
|
-
pe = L, ie =
|
|
20320
|
-
}), A.onEnd(function(L,
|
|
20321
|
-
L !== u.grpc.Code.OK ?
|
|
20540
|
+
}), le = new Promise(function(L, N) {
|
|
20541
|
+
pe = L, ie = N;
|
|
20542
|
+
}), A.onEnd(function(L, N, $) {
|
|
20543
|
+
L !== u.grpc.Code.OK ? N !== "Response closed without headers" ? (console.error(N), ie(N)) : ie(new p.ConnectionClosedError("failed to dial")) : pe();
|
|
20322
20544
|
}), A.start({ "rpc-host": O }), se = new c.CallRequest(), ce = btoa(JSON.stringify(E.localDescription)), se.setSdp(ce), R && R.disableTrickleICE && se.setDisableTrickle(R.disableTrickleICE), A.send(se), (ue = new g.ClientChannel(E, F)).ready.then(function() {
|
|
20323
20545
|
return pe();
|
|
20324
20546
|
}).catch(function(L) {
|
|
@@ -20327,7 +20549,7 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20327
20549
|
case 8:
|
|
20328
20550
|
return J.sent(), [4, ue.ready];
|
|
20329
20551
|
case 9:
|
|
20330
|
-
return J.sent(), re = !0, V(), w?.externalAuthAddress || (
|
|
20552
|
+
return J.sent(), re = !0, V(), w?.externalAuthAddress || (x = w?.credentials) === null || x === void 0 || x.type, P = !0, [2, { transportFactory: ue.transportFactory(), peerConnection: E }];
|
|
20331
20553
|
case 10:
|
|
20332
20554
|
return P || E.close(), [7];
|
|
20333
20555
|
case 11:
|
|
@@ -20431,7 +20653,7 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20431
20653
|
});
|
|
20432
20654
|
};
|
|
20433
20655
|
}, 655: (t, e, s) => {
|
|
20434
|
-
s.r(e), s.d(e, { __assign: () => g, __asyncDelegator: () => w, __asyncGenerator: () => O, __asyncValues: () => C, __await: () => h, __awaiter: () => l, __classPrivateFieldGet: () => I, __classPrivateFieldIn: () => k, __classPrivateFieldSet: () =>
|
|
20656
|
+
s.r(e), s.d(e, { __assign: () => g, __asyncDelegator: () => w, __asyncGenerator: () => O, __asyncValues: () => C, __await: () => h, __awaiter: () => l, __classPrivateFieldGet: () => I, __classPrivateFieldIn: () => k, __classPrivateFieldSet: () => x, __createBinding: () => d, __decorate: () => o, __exportStar: () => m, __extends: () => u, __generator: () => c, __importDefault: () => U, __importStar: () => z, __makeTemplateObject: () => q, __metadata: () => n, __param: () => r, __read: () => y, __rest: () => p, __spread: () => f, __spreadArray: () => M, __spreadArrays: () => b, __values: () => v });
|
|
20435
20657
|
var i = function(S, R) {
|
|
20436
20658
|
return i = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(_, E) {
|
|
20437
20659
|
_.__proto__ = E;
|
|
@@ -20707,19 +20929,19 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20707
20929
|
function q(S, R) {
|
|
20708
20930
|
return Object.defineProperty ? Object.defineProperty(S, "raw", { value: R }) : S.raw = R, S;
|
|
20709
20931
|
}
|
|
20710
|
-
var
|
|
20932
|
+
var G = Object.create ? function(S, R) {
|
|
20711
20933
|
Object.defineProperty(S, "default", { enumerable: !0, value: R });
|
|
20712
20934
|
} : function(S, R) {
|
|
20713
20935
|
S.default = R;
|
|
20714
20936
|
};
|
|
20715
|
-
function
|
|
20937
|
+
function z(S) {
|
|
20716
20938
|
if (S && S.__esModule)
|
|
20717
20939
|
return S;
|
|
20718
20940
|
var R = {};
|
|
20719
20941
|
if (S != null)
|
|
20720
20942
|
for (var _ in S)
|
|
20721
20943
|
_ !== "default" && Object.prototype.hasOwnProperty.call(S, _) && d(R, S, _);
|
|
20722
|
-
return
|
|
20944
|
+
return G(R, S), R;
|
|
20723
20945
|
}
|
|
20724
20946
|
function U(S) {
|
|
20725
20947
|
return S && S.__esModule ? S : { default: S };
|
|
@@ -20731,7 +20953,7 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
|
|
|
20731
20953
|
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
20732
20954
|
return _ === "m" ? E : _ === "a" ? E.call(S) : E ? E.value : R.get(S);
|
|
20733
20955
|
}
|
|
20734
|
-
function
|
|
20956
|
+
function x(S, R, _, E, F) {
|
|
20735
20957
|
if (E === "m")
|
|
20736
20958
|
throw new TypeError("Private method is not writable");
|
|
20737
20959
|
if (E === "a" && !F)
|
|
@@ -22917,19 +23139,19 @@ var __webpack_exports__dialDirect = __webpack_exports__.ry, __webpack_exports__d
|
|
|
22917
23139
|
else {
|
|
22918
23140
|
var w = this.buffer.byteLength - this.position, C = new Uint8Array(w + b.byteLength), q = v(this.buffer, this.position);
|
|
22919
23141
|
C.set(q, 0);
|
|
22920
|
-
var
|
|
22921
|
-
C.set(
|
|
23142
|
+
var G = new Uint8Array(b);
|
|
23143
|
+
C.set(G, w), this.buffer = C, this.position = 0;
|
|
22922
23144
|
}
|
|
22923
23145
|
for (; ; ) {
|
|
22924
23146
|
if (!m(this.buffer, this.position, 5))
|
|
22925
23147
|
return O;
|
|
22926
|
-
var
|
|
23148
|
+
var z = v(this.buffer, this.position, this.position + 5), U = new DataView(z.buffer, z.byteOffset, z.byteLength), I = d(U);
|
|
22927
23149
|
if (!m(this.buffer, this.position, 5 + I))
|
|
22928
23150
|
return O;
|
|
22929
|
-
var
|
|
23151
|
+
var x = v(this.buffer, this.position + 5, this.position + 5 + I);
|
|
22930
23152
|
if (this.position += 5 + I, c(U))
|
|
22931
|
-
return O.push({ chunkType: o.TRAILERS, trailers: (h =
|
|
22932
|
-
O.push({ chunkType: o.MESSAGE, data:
|
|
23153
|
+
return O.push({ chunkType: o.TRAILERS, trailers: (h = x, new r.Metadata(l(h))) }), O;
|
|
23154
|
+
O.push({ chunkType: o.MESSAGE, data: x });
|
|
22933
23155
|
}
|
|
22934
23156
|
}, f;
|
|
22935
23157
|
}();
|
|
@@ -24325,6 +24547,22 @@ ArmService.DoCommand = {
|
|
|
24325
24547
|
requestType: common_v1_common_pb$j.DoCommandRequest,
|
|
24326
24548
|
responseType: common_v1_common_pb$j.DoCommandResponse
|
|
24327
24549
|
};
|
|
24550
|
+
ArmService.GetKinematics = {
|
|
24551
|
+
methodName: "GetKinematics",
|
|
24552
|
+
service: ArmService,
|
|
24553
|
+
requestStream: !1,
|
|
24554
|
+
responseStream: !1,
|
|
24555
|
+
requestType: common_v1_common_pb$j.GetKinematicsRequest,
|
|
24556
|
+
responseType: common_v1_common_pb$j.GetKinematicsResponse
|
|
24557
|
+
};
|
|
24558
|
+
ArmService.GetGeometries = {
|
|
24559
|
+
methodName: "GetGeometries",
|
|
24560
|
+
service: ArmService,
|
|
24561
|
+
requestStream: !1,
|
|
24562
|
+
responseStream: !1,
|
|
24563
|
+
requestType: common_v1_common_pb$j.GetGeometriesRequest,
|
|
24564
|
+
responseType: common_v1_common_pb$j.GetGeometriesResponse
|
|
24565
|
+
};
|
|
24328
24566
|
function ArmServiceClient(t, e) {
|
|
24329
24567
|
this.serviceHost = t, this.options = e || {};
|
|
24330
24568
|
}
|
|
@@ -24489,6 +24727,52 @@ ArmServiceClient.prototype.doCommand = function t(e, s, i) {
|
|
|
24489
24727
|
}
|
|
24490
24728
|
};
|
|
24491
24729
|
};
|
|
24730
|
+
ArmServiceClient.prototype.getKinematics = function t(e, s, i) {
|
|
24731
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
24732
|
+
var u = grpc$k.unary(ArmService.GetKinematics, {
|
|
24733
|
+
request: e,
|
|
24734
|
+
host: this.serviceHost,
|
|
24735
|
+
metadata: s,
|
|
24736
|
+
transport: this.options.transport,
|
|
24737
|
+
debug: this.options.debug,
|
|
24738
|
+
onEnd: function(g) {
|
|
24739
|
+
if (i)
|
|
24740
|
+
if (g.status !== grpc$k.Code.OK) {
|
|
24741
|
+
var p = new Error(g.statusMessage);
|
|
24742
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
24743
|
+
} else
|
|
24744
|
+
i(null, g.message);
|
|
24745
|
+
}
|
|
24746
|
+
});
|
|
24747
|
+
return {
|
|
24748
|
+
cancel: function() {
|
|
24749
|
+
i = null, u.close();
|
|
24750
|
+
}
|
|
24751
|
+
};
|
|
24752
|
+
};
|
|
24753
|
+
ArmServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
24754
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
24755
|
+
var u = grpc$k.unary(ArmService.GetGeometries, {
|
|
24756
|
+
request: e,
|
|
24757
|
+
host: this.serviceHost,
|
|
24758
|
+
metadata: s,
|
|
24759
|
+
transport: this.options.transport,
|
|
24760
|
+
debug: this.options.debug,
|
|
24761
|
+
onEnd: function(g) {
|
|
24762
|
+
if (i)
|
|
24763
|
+
if (g.status !== grpc$k.Code.OK) {
|
|
24764
|
+
var p = new Error(g.statusMessage);
|
|
24765
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
24766
|
+
} else
|
|
24767
|
+
i(null, g.message);
|
|
24768
|
+
}
|
|
24769
|
+
});
|
|
24770
|
+
return {
|
|
24771
|
+
cancel: function() {
|
|
24772
|
+
i = null, u.close();
|
|
24773
|
+
}
|
|
24774
|
+
};
|
|
24775
|
+
};
|
|
24492
24776
|
var ArmServiceClient_1 = ArmServiceClient, base_pb = {};
|
|
24493
24777
|
(function(t) {
|
|
24494
24778
|
var e = googleProtobuf, s = e, i = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof i < "u" && i || typeof self < "u" && self || function() {
|
|
@@ -25248,6 +25532,14 @@ BaseService.DoCommand = {
|
|
|
25248
25532
|
requestType: common_v1_common_pb$i.DoCommandRequest,
|
|
25249
25533
|
responseType: common_v1_common_pb$i.DoCommandResponse
|
|
25250
25534
|
};
|
|
25535
|
+
BaseService.GetGeometries = {
|
|
25536
|
+
methodName: "GetGeometries",
|
|
25537
|
+
service: BaseService,
|
|
25538
|
+
requestStream: !1,
|
|
25539
|
+
responseStream: !1,
|
|
25540
|
+
requestType: common_v1_common_pb$i.GetGeometriesRequest,
|
|
25541
|
+
responseType: common_v1_common_pb$i.GetGeometriesResponse
|
|
25542
|
+
};
|
|
25251
25543
|
function BaseServiceClient(t, e) {
|
|
25252
25544
|
this.serviceHost = t, this.options = e || {};
|
|
25253
25545
|
}
|
|
@@ -25412,6 +25704,29 @@ BaseServiceClient.prototype.doCommand = function t(e, s, i) {
|
|
|
25412
25704
|
}
|
|
25413
25705
|
};
|
|
25414
25706
|
};
|
|
25707
|
+
BaseServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
25708
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
25709
|
+
var u = grpc$j.unary(BaseService.GetGeometries, {
|
|
25710
|
+
request: e,
|
|
25711
|
+
host: this.serviceHost,
|
|
25712
|
+
metadata: s,
|
|
25713
|
+
transport: this.options.transport,
|
|
25714
|
+
debug: this.options.debug,
|
|
25715
|
+
onEnd: function(g) {
|
|
25716
|
+
if (i)
|
|
25717
|
+
if (g.status !== grpc$j.Code.OK) {
|
|
25718
|
+
var p = new Error(g.statusMessage);
|
|
25719
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
25720
|
+
} else
|
|
25721
|
+
i(null, g.message);
|
|
25722
|
+
}
|
|
25723
|
+
});
|
|
25724
|
+
return {
|
|
25725
|
+
cancel: function() {
|
|
25726
|
+
i = null, u.close();
|
|
25727
|
+
}
|
|
25728
|
+
};
|
|
25729
|
+
};
|
|
25415
25730
|
var BaseServiceClient_1 = BaseServiceClient, board_pb = {};
|
|
25416
25731
|
(function(t) {
|
|
25417
25732
|
var e = googleProtobuf, s = e, i = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof i < "u" && i || typeof self < "u" && self || function() {
|
|
@@ -26776,6 +27091,14 @@ BoardService.SetPowerMode = {
|
|
|
26776
27091
|
requestType: component_board_v1_board_pb.SetPowerModeRequest,
|
|
26777
27092
|
responseType: component_board_v1_board_pb.SetPowerModeResponse
|
|
26778
27093
|
};
|
|
27094
|
+
BoardService.GetGeometries = {
|
|
27095
|
+
methodName: "GetGeometries",
|
|
27096
|
+
service: BoardService,
|
|
27097
|
+
requestStream: !1,
|
|
27098
|
+
responseStream: !1,
|
|
27099
|
+
requestType: common_v1_common_pb$h.GetGeometriesRequest,
|
|
27100
|
+
responseType: common_v1_common_pb$h.GetGeometriesResponse
|
|
27101
|
+
};
|
|
26779
27102
|
function BoardServiceClient(t, e) {
|
|
26780
27103
|
this.serviceHost = t, this.options = e || {};
|
|
26781
27104
|
}
|
|
@@ -27032,6 +27355,29 @@ BoardServiceClient.prototype.setPowerMode = function t(e, s, i) {
|
|
|
27032
27355
|
}
|
|
27033
27356
|
};
|
|
27034
27357
|
};
|
|
27358
|
+
BoardServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
27359
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
27360
|
+
var u = grpc$i.unary(BoardService.GetGeometries, {
|
|
27361
|
+
request: e,
|
|
27362
|
+
host: this.serviceHost,
|
|
27363
|
+
metadata: s,
|
|
27364
|
+
transport: this.options.transport,
|
|
27365
|
+
debug: this.options.debug,
|
|
27366
|
+
onEnd: function(g) {
|
|
27367
|
+
if (i)
|
|
27368
|
+
if (g.status !== grpc$i.Code.OK) {
|
|
27369
|
+
var p = new Error(g.statusMessage);
|
|
27370
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
27371
|
+
} else
|
|
27372
|
+
i(null, g.message);
|
|
27373
|
+
}
|
|
27374
|
+
});
|
|
27375
|
+
return {
|
|
27376
|
+
cancel: function() {
|
|
27377
|
+
i = null, u.close();
|
|
27378
|
+
}
|
|
27379
|
+
};
|
|
27380
|
+
};
|
|
27035
27381
|
var BoardServiceClient_1 = BoardServiceClient, encoder_pb = {};
|
|
27036
27382
|
(function(t) {
|
|
27037
27383
|
var e = googleProtobuf, s = e, i = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof i < "u" && i || typeof self < "u" && self || function() {
|
|
@@ -27452,6 +27798,14 @@ EncoderService.DoCommand = {
|
|
|
27452
27798
|
requestType: common_v1_common_pb$g.DoCommandRequest,
|
|
27453
27799
|
responseType: common_v1_common_pb$g.DoCommandResponse
|
|
27454
27800
|
};
|
|
27801
|
+
EncoderService.GetGeometries = {
|
|
27802
|
+
methodName: "GetGeometries",
|
|
27803
|
+
service: EncoderService,
|
|
27804
|
+
requestStream: !1,
|
|
27805
|
+
responseStream: !1,
|
|
27806
|
+
requestType: common_v1_common_pb$g.GetGeometriesRequest,
|
|
27807
|
+
responseType: common_v1_common_pb$g.GetGeometriesResponse
|
|
27808
|
+
};
|
|
27455
27809
|
function EncoderServiceClient(t, e) {
|
|
27456
27810
|
this.serviceHost = t, this.options = e || {};
|
|
27457
27811
|
}
|
|
@@ -27547,6 +27901,29 @@ EncoderServiceClient.prototype.doCommand = function t(e, s, i) {
|
|
|
27547
27901
|
}
|
|
27548
27902
|
};
|
|
27549
27903
|
};
|
|
27904
|
+
EncoderServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
27905
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
27906
|
+
var u = grpc$h.unary(EncoderService.GetGeometries, {
|
|
27907
|
+
request: e,
|
|
27908
|
+
host: this.serviceHost,
|
|
27909
|
+
metadata: s,
|
|
27910
|
+
transport: this.options.transport,
|
|
27911
|
+
debug: this.options.debug,
|
|
27912
|
+
onEnd: function(g) {
|
|
27913
|
+
if (i)
|
|
27914
|
+
if (g.status !== grpc$h.Code.OK) {
|
|
27915
|
+
var p = new Error(g.statusMessage);
|
|
27916
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
27917
|
+
} else
|
|
27918
|
+
i(null, g.message);
|
|
27919
|
+
}
|
|
27920
|
+
});
|
|
27921
|
+
return {
|
|
27922
|
+
cancel: function() {
|
|
27923
|
+
i = null, u.close();
|
|
27924
|
+
}
|
|
27925
|
+
};
|
|
27926
|
+
};
|
|
27550
27927
|
var EncoderServiceClient_1 = EncoderServiceClient, gantry_pb = {};
|
|
27551
27928
|
(function(t) {
|
|
27552
27929
|
var e = googleProtobuf, s = e, i = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof i < "u" && i || typeof self < "u" && self || function() {
|
|
@@ -28218,6 +28595,14 @@ GantryService.DoCommand = {
|
|
|
28218
28595
|
requestType: common_v1_common_pb$f.DoCommandRequest,
|
|
28219
28596
|
responseType: common_v1_common_pb$f.DoCommandResponse
|
|
28220
28597
|
};
|
|
28598
|
+
GantryService.GetGeometries = {
|
|
28599
|
+
methodName: "GetGeometries",
|
|
28600
|
+
service: GantryService,
|
|
28601
|
+
requestStream: !1,
|
|
28602
|
+
responseStream: !1,
|
|
28603
|
+
requestType: common_v1_common_pb$f.GetGeometriesRequest,
|
|
28604
|
+
responseType: common_v1_common_pb$f.GetGeometriesResponse
|
|
28605
|
+
};
|
|
28221
28606
|
function GantryServiceClient(t, e) {
|
|
28222
28607
|
this.serviceHost = t, this.options = e || {};
|
|
28223
28608
|
}
|
|
@@ -28359,6 +28744,29 @@ GantryServiceClient.prototype.doCommand = function t(e, s, i) {
|
|
|
28359
28744
|
}
|
|
28360
28745
|
};
|
|
28361
28746
|
};
|
|
28747
|
+
GantryServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
28748
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
28749
|
+
var u = grpc$g.unary(GantryService.GetGeometries, {
|
|
28750
|
+
request: e,
|
|
28751
|
+
host: this.serviceHost,
|
|
28752
|
+
metadata: s,
|
|
28753
|
+
transport: this.options.transport,
|
|
28754
|
+
debug: this.options.debug,
|
|
28755
|
+
onEnd: function(g) {
|
|
28756
|
+
if (i)
|
|
28757
|
+
if (g.status !== grpc$g.Code.OK) {
|
|
28758
|
+
var p = new Error(g.statusMessage);
|
|
28759
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
28760
|
+
} else
|
|
28761
|
+
i(null, g.message);
|
|
28762
|
+
}
|
|
28763
|
+
});
|
|
28764
|
+
return {
|
|
28765
|
+
cancel: function() {
|
|
28766
|
+
i = null, u.close();
|
|
28767
|
+
}
|
|
28768
|
+
};
|
|
28769
|
+
};
|
|
28362
28770
|
var GantryServiceClient_1 = GantryServiceClient, generic_pb = {}, jspb = googleProtobuf, goog = jspb, global$1 = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof global$1 < "u" && global$1 || typeof self < "u" && self || function() {
|
|
28363
28771
|
return this;
|
|
28364
28772
|
}.call(null) || Function("return this")(), common_v1_common_pb$e = common_pb;
|
|
@@ -28378,6 +28786,14 @@ GenericService.DoCommand = {
|
|
|
28378
28786
|
requestType: common_v1_common_pb$d.DoCommandRequest,
|
|
28379
28787
|
responseType: common_v1_common_pb$d.DoCommandResponse
|
|
28380
28788
|
};
|
|
28789
|
+
GenericService.GetGeometries = {
|
|
28790
|
+
methodName: "GetGeometries",
|
|
28791
|
+
service: GenericService,
|
|
28792
|
+
requestStream: !1,
|
|
28793
|
+
responseStream: !1,
|
|
28794
|
+
requestType: common_v1_common_pb$d.GetGeometriesRequest,
|
|
28795
|
+
responseType: common_v1_common_pb$d.GetGeometriesResponse
|
|
28796
|
+
};
|
|
28381
28797
|
function GenericServiceClient(t, e) {
|
|
28382
28798
|
this.serviceHost = t, this.options = e || {};
|
|
28383
28799
|
}
|
|
@@ -28404,6 +28820,29 @@ GenericServiceClient.prototype.doCommand = function t(e, s, i) {
|
|
|
28404
28820
|
}
|
|
28405
28821
|
};
|
|
28406
28822
|
};
|
|
28823
|
+
GenericServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
28824
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
28825
|
+
var u = grpc$f.unary(GenericService.GetGeometries, {
|
|
28826
|
+
request: e,
|
|
28827
|
+
host: this.serviceHost,
|
|
28828
|
+
metadata: s,
|
|
28829
|
+
transport: this.options.transport,
|
|
28830
|
+
debug: this.options.debug,
|
|
28831
|
+
onEnd: function(g) {
|
|
28832
|
+
if (i)
|
|
28833
|
+
if (g.status !== grpc$f.Code.OK) {
|
|
28834
|
+
var p = new Error(g.statusMessage);
|
|
28835
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
28836
|
+
} else
|
|
28837
|
+
i(null, g.message);
|
|
28838
|
+
}
|
|
28839
|
+
});
|
|
28840
|
+
return {
|
|
28841
|
+
cancel: function() {
|
|
28842
|
+
i = null, u.close();
|
|
28843
|
+
}
|
|
28844
|
+
};
|
|
28845
|
+
};
|
|
28407
28846
|
var GenericServiceClient_1 = GenericServiceClient, gripper_pb = {};
|
|
28408
28847
|
(function(t) {
|
|
28409
28848
|
var e = googleProtobuf, s = e, i = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof i < "u" && i || typeof self < "u" && self || function() {
|
|
@@ -28858,6 +29297,14 @@ GripperService.DoCommand = {
|
|
|
28858
29297
|
requestType: common_v1_common_pb$c.DoCommandRequest,
|
|
28859
29298
|
responseType: common_v1_common_pb$c.DoCommandResponse
|
|
28860
29299
|
};
|
|
29300
|
+
GripperService.GetGeometries = {
|
|
29301
|
+
methodName: "GetGeometries",
|
|
29302
|
+
service: GripperService,
|
|
29303
|
+
requestStream: !1,
|
|
29304
|
+
responseStream: !1,
|
|
29305
|
+
requestType: common_v1_common_pb$c.GetGeometriesRequest,
|
|
29306
|
+
responseType: common_v1_common_pb$c.GetGeometriesResponse
|
|
29307
|
+
};
|
|
28861
29308
|
function GripperServiceClient(t, e) {
|
|
28862
29309
|
this.serviceHost = t, this.options = e || {};
|
|
28863
29310
|
}
|
|
@@ -28976,6 +29423,29 @@ GripperServiceClient.prototype.doCommand = function t(e, s, i) {
|
|
|
28976
29423
|
}
|
|
28977
29424
|
};
|
|
28978
29425
|
};
|
|
29426
|
+
GripperServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
29427
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
29428
|
+
var u = grpc$e.unary(GripperService.GetGeometries, {
|
|
29429
|
+
request: e,
|
|
29430
|
+
host: this.serviceHost,
|
|
29431
|
+
metadata: s,
|
|
29432
|
+
transport: this.options.transport,
|
|
29433
|
+
debug: this.options.debug,
|
|
29434
|
+
onEnd: function(g) {
|
|
29435
|
+
if (i)
|
|
29436
|
+
if (g.status !== grpc$e.Code.OK) {
|
|
29437
|
+
var p = new Error(g.statusMessage);
|
|
29438
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
29439
|
+
} else
|
|
29440
|
+
i(null, g.message);
|
|
29441
|
+
}
|
|
29442
|
+
});
|
|
29443
|
+
return {
|
|
29444
|
+
cancel: function() {
|
|
29445
|
+
i = null, u.close();
|
|
29446
|
+
}
|
|
29447
|
+
};
|
|
29448
|
+
};
|
|
28979
29449
|
var GripperServiceClient_1 = GripperServiceClient, input_controller_pb = {};
|
|
28980
29450
|
(function(t) {
|
|
28981
29451
|
var e = googleProtobuf, s = e, i = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof i < "u" && i || typeof self < "u" && self || function() {
|
|
@@ -29750,6 +30220,14 @@ InputControllerService.DoCommand = {
|
|
|
29750
30220
|
requestType: common_v1_common_pb$b.DoCommandRequest,
|
|
29751
30221
|
responseType: common_v1_common_pb$b.DoCommandResponse
|
|
29752
30222
|
};
|
|
30223
|
+
InputControllerService.GetGeometries = {
|
|
30224
|
+
methodName: "GetGeometries",
|
|
30225
|
+
service: InputControllerService,
|
|
30226
|
+
requestStream: !1,
|
|
30227
|
+
responseStream: !1,
|
|
30228
|
+
requestType: common_v1_common_pb$b.GetGeometriesRequest,
|
|
30229
|
+
responseType: common_v1_common_pb$b.GetGeometriesResponse
|
|
30230
|
+
};
|
|
29753
30231
|
function InputControllerServiceClient(t, e) {
|
|
29754
30232
|
this.serviceHost = t, this.options = e || {};
|
|
29755
30233
|
}
|
|
@@ -29878,6 +30356,29 @@ InputControllerServiceClient.prototype.doCommand = function t(e, s, i) {
|
|
|
29878
30356
|
}
|
|
29879
30357
|
};
|
|
29880
30358
|
};
|
|
30359
|
+
InputControllerServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
30360
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
30361
|
+
var u = grpc$d.unary(InputControllerService.GetGeometries, {
|
|
30362
|
+
request: e,
|
|
30363
|
+
host: this.serviceHost,
|
|
30364
|
+
metadata: s,
|
|
30365
|
+
transport: this.options.transport,
|
|
30366
|
+
debug: this.options.debug,
|
|
30367
|
+
onEnd: function(g) {
|
|
30368
|
+
if (i)
|
|
30369
|
+
if (g.status !== grpc$d.Code.OK) {
|
|
30370
|
+
var p = new Error(g.statusMessage);
|
|
30371
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
30372
|
+
} else
|
|
30373
|
+
i(null, g.message);
|
|
30374
|
+
}
|
|
30375
|
+
});
|
|
30376
|
+
return {
|
|
30377
|
+
cancel: function() {
|
|
30378
|
+
i = null, u.close();
|
|
30379
|
+
}
|
|
30380
|
+
};
|
|
30381
|
+
};
|
|
29881
30382
|
var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {};
|
|
29882
30383
|
(function(t) {
|
|
29883
30384
|
var e = googleProtobuf, s = e, i = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof i < "u" && i || typeof self < "u" && self || function() {
|
|
@@ -32554,6 +33055,14 @@ MotorService.DoCommand = {
|
|
|
32554
33055
|
requestType: common_v1_common_pb$9.DoCommandRequest,
|
|
32555
33056
|
responseType: common_v1_common_pb$9.DoCommandResponse
|
|
32556
33057
|
};
|
|
33058
|
+
MotorService.GetGeometries = {
|
|
33059
|
+
methodName: "GetGeometries",
|
|
33060
|
+
service: MotorService,
|
|
33061
|
+
requestStream: !1,
|
|
33062
|
+
responseStream: !1,
|
|
33063
|
+
requestType: common_v1_common_pb$9.GetGeometriesRequest,
|
|
33064
|
+
responseType: common_v1_common_pb$9.GetGeometriesResponse
|
|
33065
|
+
};
|
|
32557
33066
|
function MotorServiceClient(t, e) {
|
|
32558
33067
|
this.serviceHost = t, this.options = e || {};
|
|
32559
33068
|
}
|
|
@@ -32787,6 +33296,29 @@ MotorServiceClient.prototype.doCommand = function t(e, s, i) {
|
|
|
32787
33296
|
}
|
|
32788
33297
|
};
|
|
32789
33298
|
};
|
|
33299
|
+
MotorServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
33300
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
33301
|
+
var u = grpc$b.unary(MotorService.GetGeometries, {
|
|
33302
|
+
request: e,
|
|
33303
|
+
host: this.serviceHost,
|
|
33304
|
+
metadata: s,
|
|
33305
|
+
transport: this.options.transport,
|
|
33306
|
+
debug: this.options.debug,
|
|
33307
|
+
onEnd: function(g) {
|
|
33308
|
+
if (i)
|
|
33309
|
+
if (g.status !== grpc$b.Code.OK) {
|
|
33310
|
+
var p = new Error(g.statusMessage);
|
|
33311
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
33312
|
+
} else
|
|
33313
|
+
i(null, g.message);
|
|
33314
|
+
}
|
|
33315
|
+
});
|
|
33316
|
+
return {
|
|
33317
|
+
cancel: function() {
|
|
33318
|
+
i = null, u.close();
|
|
33319
|
+
}
|
|
33320
|
+
};
|
|
33321
|
+
};
|
|
32790
33322
|
var MotorServiceClient_1 = MotorServiceClient, movementsensor_pb = {};
|
|
32791
33323
|
(function(t) {
|
|
32792
33324
|
var e = googleProtobuf, s = e, i = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof i < "u" && i || typeof self < "u" && self || function() {
|
|
@@ -33874,6 +34406,14 @@ MovementSensorService.DoCommand = {
|
|
|
33874
34406
|
requestType: common_v1_common_pb$8.DoCommandRequest,
|
|
33875
34407
|
responseType: common_v1_common_pb$8.DoCommandResponse
|
|
33876
34408
|
};
|
|
34409
|
+
MovementSensorService.GetGeometries = {
|
|
34410
|
+
methodName: "GetGeometries",
|
|
34411
|
+
service: MovementSensorService,
|
|
34412
|
+
requestStream: !1,
|
|
34413
|
+
responseStream: !1,
|
|
34414
|
+
requestType: common_v1_common_pb$8.GetGeometriesRequest,
|
|
34415
|
+
responseType: common_v1_common_pb$8.GetGeometriesResponse
|
|
34416
|
+
};
|
|
33877
34417
|
function MovementSensorServiceClient(t, e) {
|
|
33878
34418
|
this.serviceHost = t, this.options = e || {};
|
|
33879
34419
|
}
|
|
@@ -34084,6 +34624,29 @@ MovementSensorServiceClient.prototype.doCommand = function t(e, s, i) {
|
|
|
34084
34624
|
}
|
|
34085
34625
|
};
|
|
34086
34626
|
};
|
|
34627
|
+
MovementSensorServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
34628
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
34629
|
+
var u = grpc$a.unary(MovementSensorService.GetGeometries, {
|
|
34630
|
+
request: e,
|
|
34631
|
+
host: this.serviceHost,
|
|
34632
|
+
metadata: s,
|
|
34633
|
+
transport: this.options.transport,
|
|
34634
|
+
debug: this.options.debug,
|
|
34635
|
+
onEnd: function(g) {
|
|
34636
|
+
if (i)
|
|
34637
|
+
if (g.status !== grpc$a.Code.OK) {
|
|
34638
|
+
var p = new Error(g.statusMessage);
|
|
34639
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
34640
|
+
} else
|
|
34641
|
+
i(null, g.message);
|
|
34642
|
+
}
|
|
34643
|
+
});
|
|
34644
|
+
return {
|
|
34645
|
+
cancel: function() {
|
|
34646
|
+
i = null, u.close();
|
|
34647
|
+
}
|
|
34648
|
+
};
|
|
34649
|
+
};
|
|
34087
34650
|
var MovementSensorServiceClient_1 = MovementSensorServiceClient, navigation_pb = {};
|
|
34088
34651
|
(function(t) {
|
|
34089
34652
|
var e = googleProtobuf, s = e, i = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof i < "u" && i || typeof self < "u" && self || function() {
|
|
@@ -36983,6 +37546,14 @@ ServoService.DoCommand = {
|
|
|
36983
37546
|
requestType: common_v1_common_pb$4.DoCommandRequest,
|
|
36984
37547
|
responseType: common_v1_common_pb$4.DoCommandResponse
|
|
36985
37548
|
};
|
|
37549
|
+
ServoService.GetGeometries = {
|
|
37550
|
+
methodName: "GetGeometries",
|
|
37551
|
+
service: ServoService,
|
|
37552
|
+
requestStream: !1,
|
|
37553
|
+
responseStream: !1,
|
|
37554
|
+
requestType: common_v1_common_pb$4.GetGeometriesRequest,
|
|
37555
|
+
responseType: common_v1_common_pb$4.GetGeometriesResponse
|
|
37556
|
+
};
|
|
36986
37557
|
function ServoServiceClient(t, e) {
|
|
36987
37558
|
this.serviceHost = t, this.options = e || {};
|
|
36988
37559
|
}
|
|
@@ -37101,6 +37672,29 @@ ServoServiceClient.prototype.doCommand = function t(e, s, i) {
|
|
|
37101
37672
|
}
|
|
37102
37673
|
};
|
|
37103
37674
|
};
|
|
37675
|
+
ServoServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
37676
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
37677
|
+
var u = grpc$5.unary(ServoService.GetGeometries, {
|
|
37678
|
+
request: e,
|
|
37679
|
+
host: this.serviceHost,
|
|
37680
|
+
metadata: s,
|
|
37681
|
+
transport: this.options.transport,
|
|
37682
|
+
debug: this.options.debug,
|
|
37683
|
+
onEnd: function(g) {
|
|
37684
|
+
if (i)
|
|
37685
|
+
if (g.status !== grpc$5.Code.OK) {
|
|
37686
|
+
var p = new Error(g.statusMessage);
|
|
37687
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
37688
|
+
} else
|
|
37689
|
+
i(null, g.message);
|
|
37690
|
+
}
|
|
37691
|
+
});
|
|
37692
|
+
return {
|
|
37693
|
+
cancel: function() {
|
|
37694
|
+
i = null, u.close();
|
|
37695
|
+
}
|
|
37696
|
+
};
|
|
37697
|
+
};
|
|
37104
37698
|
var ServoServiceClient_1 = ServoServiceClient, vision_pb = {};
|
|
37105
37699
|
(function(t) {
|
|
37106
37700
|
var e = googleProtobuf, s = e, i = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof i < "u" && i || typeof self < "u" && self || function() {
|
|
@@ -40367,6 +40961,14 @@ CameraService.DoCommand = {
|
|
|
40367
40961
|
requestType: common_v1_common_pb$2.DoCommandRequest,
|
|
40368
40962
|
responseType: common_v1_common_pb$2.DoCommandResponse
|
|
40369
40963
|
};
|
|
40964
|
+
CameraService.GetGeometries = {
|
|
40965
|
+
methodName: "GetGeometries",
|
|
40966
|
+
service: CameraService,
|
|
40967
|
+
requestStream: !1,
|
|
40968
|
+
responseStream: !1,
|
|
40969
|
+
requestType: common_v1_common_pb$2.GetGeometriesRequest,
|
|
40970
|
+
responseType: common_v1_common_pb$2.GetGeometriesResponse
|
|
40971
|
+
};
|
|
40370
40972
|
function CameraServiceClient(t, e) {
|
|
40371
40973
|
this.serviceHost = t, this.options = e || {};
|
|
40372
40974
|
}
|
|
@@ -40485,6 +41087,29 @@ CameraServiceClient.prototype.doCommand = function t(e, s, i) {
|
|
|
40485
41087
|
}
|
|
40486
41088
|
};
|
|
40487
41089
|
};
|
|
41090
|
+
CameraServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
41091
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
41092
|
+
var u = grpc$3.unary(CameraService.GetGeometries, {
|
|
41093
|
+
request: e,
|
|
41094
|
+
host: this.serviceHost,
|
|
41095
|
+
metadata: s,
|
|
41096
|
+
transport: this.options.transport,
|
|
41097
|
+
debug: this.options.debug,
|
|
41098
|
+
onEnd: function(g) {
|
|
41099
|
+
if (i)
|
|
41100
|
+
if (g.status !== grpc$3.Code.OK) {
|
|
41101
|
+
var p = new Error(g.statusMessage);
|
|
41102
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
41103
|
+
} else
|
|
41104
|
+
i(null, g.message);
|
|
41105
|
+
}
|
|
41106
|
+
});
|
|
41107
|
+
return {
|
|
41108
|
+
cancel: function() {
|
|
41109
|
+
i = null, u.close();
|
|
41110
|
+
}
|
|
41111
|
+
};
|
|
41112
|
+
};
|
|
40488
41113
|
var CameraServiceClient_1 = CameraServiceClient;
|
|
40489
41114
|
const PointCloudPCD = "pointcloud/pcd";
|
|
40490
41115
|
class CameraClient {
|
|
@@ -40877,6 +41502,14 @@ SensorService.DoCommand = {
|
|
|
40877
41502
|
requestType: common_v1_common_pb$1.DoCommandRequest,
|
|
40878
41503
|
responseType: common_v1_common_pb$1.DoCommandResponse
|
|
40879
41504
|
};
|
|
41505
|
+
SensorService.GetGeometries = {
|
|
41506
|
+
methodName: "GetGeometries",
|
|
41507
|
+
service: SensorService,
|
|
41508
|
+
requestStream: !1,
|
|
41509
|
+
responseStream: !1,
|
|
41510
|
+
requestType: common_v1_common_pb$1.GetGeometriesRequest,
|
|
41511
|
+
responseType: common_v1_common_pb$1.GetGeometriesResponse
|
|
41512
|
+
};
|
|
40880
41513
|
function SensorServiceClient(t, e) {
|
|
40881
41514
|
this.serviceHost = t, this.options = e || {};
|
|
40882
41515
|
}
|
|
@@ -40926,6 +41559,29 @@ SensorServiceClient.prototype.doCommand = function t(e, s, i) {
|
|
|
40926
41559
|
}
|
|
40927
41560
|
};
|
|
40928
41561
|
};
|
|
41562
|
+
SensorServiceClient.prototype.getGeometries = function t(e, s, i) {
|
|
41563
|
+
arguments.length === 2 && (i = arguments[1]);
|
|
41564
|
+
var u = grpc$2.unary(SensorService.GetGeometries, {
|
|
41565
|
+
request: e,
|
|
41566
|
+
host: this.serviceHost,
|
|
41567
|
+
metadata: s,
|
|
41568
|
+
transport: this.options.transport,
|
|
41569
|
+
debug: this.options.debug,
|
|
41570
|
+
onEnd: function(g) {
|
|
41571
|
+
if (i)
|
|
41572
|
+
if (g.status !== grpc$2.Code.OK) {
|
|
41573
|
+
var p = new Error(g.statusMessage);
|
|
41574
|
+
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
41575
|
+
} else
|
|
41576
|
+
i(null, g.message);
|
|
41577
|
+
}
|
|
41578
|
+
});
|
|
41579
|
+
return {
|
|
41580
|
+
cancel: function() {
|
|
41581
|
+
i = null, u.close();
|
|
41582
|
+
}
|
|
41583
|
+
};
|
|
41584
|
+
};
|
|
40929
41585
|
var SensorServiceClient_1 = SensorServiceClient;
|
|
40930
41586
|
class SensorClient {
|
|
40931
41587
|
client;
|
|
@@ -41668,7 +42324,7 @@ class ServoClient {
|
|
|
41668
42324
|
return doCommandFromClient(s, this.name, e, this.options);
|
|
41669
42325
|
}
|
|
41670
42326
|
}
|
|
41671
|
-
const version = "0.2.0
|
|
42327
|
+
const version = "0.2.0";
|
|
41672
42328
|
export {
|
|
41673
42329
|
ArmClient,
|
|
41674
42330
|
BaseClient,
|