How to use the capnp-ts.CompositeList 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.setVEgoStopping = function (value) { capnp_ts_1.Struct.setFloat32(52, value, this); };
  CarParams.prototype.getDirectAccelControl = function () { return capnp_ts_1.Struct.getBit(8, this); };
  CarParams.prototype.setDirectAccelControl = function (value) { capnp_ts_1.Struct.setBit(8, value, this); };
  CarParams.prototype.getStoppingControl = function () { return capnp_ts_1.Struct.getBit(9, this); };
  CarParams.prototype.setStoppingControl = function (value) { capnp_ts_1.Struct.setBit(9, value, this); };
  CarParams.prototype.getStartAccel = function () { return capnp_ts_1.Struct.getFloat32(56, this); };
  CarParams.prototype.setStartAccel = function (value) { capnp_ts_1.Struct.setFloat32(56, value, this); };
  CarParams.prototype.getSteerRateCost = function () { return capnp_ts_1.Struct.getFloat32(60, this); };
  CarParams.prototype.setSteerRateCost = function (value) { capnp_ts_1.Struct.setFloat32(60, value, this); };
  CarParams.prototype.toString = function () { return 'CarParams_' + _super.prototype.toString.call(this); };
  CarParams.SafetyModels = CarParams_SafetyModels;
  CarParams._capnp = { displayName: 'CarParams', id: '8c69372490aaa9da', size: new capnp_ts_1.ObjectSize(72, 19) };
  return CarParams;
}(capnp_ts_1.Struct));
exports.CarParams = CarParams;
CarState._Events = capnp.CompositeList(CarEvent);
CarState._ButtonEvents = capnp.CompositeList(CarState_ButtonEvent);
RadarState._Points = capnp.CompositeList(RadarState_RadarPoint);
github jfrux / workbench / lib / capnp / car.capnp.js View on Github external
CarParams.prototype.getDirectAccelControl = function () { return capnp_ts_1.Struct.getBit(8, this); };
  CarParams.prototype.setDirectAccelControl = function (value) { capnp_ts_1.Struct.setBit(8, value, this); };
  CarParams.prototype.getStoppingControl = function () { return capnp_ts_1.Struct.getBit(9, this); };
  CarParams.prototype.setStoppingControl = function (value) { capnp_ts_1.Struct.setBit(9, value, this); };
  CarParams.prototype.getStartAccel = function () { return capnp_ts_1.Struct.getFloat32(56, this); };
  CarParams.prototype.setStartAccel = function (value) { capnp_ts_1.Struct.setFloat32(56, value, this); };
  CarParams.prototype.getSteerRateCost = function () { return capnp_ts_1.Struct.getFloat32(60, this); };
  CarParams.prototype.setSteerRateCost = function (value) { capnp_ts_1.Struct.setFloat32(60, value, this); };
  CarParams.prototype.toString = function () { return 'CarParams_' + _super.prototype.toString.call(this); };
  CarParams.SafetyModels = CarParams_SafetyModels;
  CarParams._capnp = { displayName: 'CarParams', id: '8c69372490aaa9da', size: new capnp_ts_1.ObjectSize(72, 19) };
  return CarParams;
}(capnp_ts_1.Struct));
exports.CarParams = CarParams;
CarState._Events = capnp.CompositeList(CarEvent);
CarState._ButtonEvents = capnp.CompositeList(CarState_ButtonEvent);
RadarState._Points = capnp.CompositeList(RadarState_RadarPoint);
github jfrux / workbench / lib / capnp / car.capnp.js View on Github external
CarParams.prototype.setDirectAccelControl = function (value) { capnp_ts_1.Struct.setBit(8, value, this); };
  CarParams.prototype.getStoppingControl = function () { return capnp_ts_1.Struct.getBit(9, this); };
  CarParams.prototype.setStoppingControl = function (value) { capnp_ts_1.Struct.setBit(9, value, this); };
  CarParams.prototype.getStartAccel = function () { return capnp_ts_1.Struct.getFloat32(56, this); };
  CarParams.prototype.setStartAccel = function (value) { capnp_ts_1.Struct.setFloat32(56, value, this); };
  CarParams.prototype.getSteerRateCost = function () { return capnp_ts_1.Struct.getFloat32(60, this); };
  CarParams.prototype.setSteerRateCost = function (value) { capnp_ts_1.Struct.setFloat32(60, value, this); };
  CarParams.prototype.toString = function () { return 'CarParams_' + _super.prototype.toString.call(this); };
  CarParams.SafetyModels = CarParams_SafetyModels;
  CarParams._capnp = { displayName: 'CarParams', id: '8c69372490aaa9da', size: new capnp_ts_1.ObjectSize(72, 19) };
  return CarParams;
}(capnp_ts_1.Struct));
exports.CarParams = CarParams;
CarState._Events = capnp.CompositeList(CarEvent);
CarState._ButtonEvents = capnp.CompositeList(CarState_ButtonEvent);
RadarState._Points = capnp.CompositeList(RadarState_RadarPoint);