Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
CarParams.prototype.getSteerMaxBP = function () { return capnp_ts_1.Struct.getList(3, capnp.Float32List, this); };
CarParams.prototype.hasSteerMaxBP = function () { return !capnp_ts_1.Struct.isNull(capnp_ts_1.Struct.getPointer(3, this)); };
CarParams.prototype.getBrakeMaxV = function () { return capnp_ts_1.Struct.getList(8, capnp.Float32List, this); };
CarParams.prototype.hasBrakeMaxV = function () { return !capnp_ts_1.Struct.isNull(capnp_ts_1.Struct.getPointer(8, this)); };
CarParams.prototype.initSteerKpV = function (length) { return capnp_ts_1.Struct.initList(16, capnp.Float32List, length, this); };
CarParams.prototype.setSteerKpV = function (value) { capnp_ts_1.Struct.copyFrom(value, capnp_ts_1.Struct.getPointer(16, this)); };