How to use the capnp-ts.Float32List function in capnp-ts

To help you get started, we’ve selected a few capnp-ts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jfrux / workbench / lib / capnp / car.capnp.js View on Github external
  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)); };
github jfrux / workbench / lib / capnp / car.capnp.js View on Github external
  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)); };
github jfrux / workbench / lib / capnp / car.capnp.js View on Github external
  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)); };