UNPKG

node-insim

Version:

An InSim library for NodeJS with TypeScript support

73 lines (72 loc) 1.92 kB
import { __decorate } from "tslib"; import { byte, float } from '../decorators'; import { Struct } from '../packets'; export class OutSimWheel extends Struct { constructor() { super(...arguments); /** compression from unloaded */ this.SuspDeflect = 0; /** including Ackermann and toe */ this.Steer = 0; /** force right */ this.XForce = 0; /** force forward */ this.YForce = 0; /** perpendicular to surface */ this.VerticalLoad = 0; /** radians/s */ this.AngVel = 0; /** radians a-c viewed from rear */ this.LeanRelToRoad = 0; /** degrees C */ this.AirTemp = 0; /** (0 to 255 - see below) */ this.SlipFraction = 0; /** touching ground */ this.Touching = 0; this.Sp3 = 0; /** slip ratio */ this.SlipRatio = 0; /** tangent of slip angle */ this.TanSlipAngle = 0; } } __decorate([ float() ], OutSimWheel.prototype, "SuspDeflect", void 0); __decorate([ float() ], OutSimWheel.prototype, "Steer", void 0); __decorate([ float() ], OutSimWheel.prototype, "XForce", void 0); __decorate([ float() ], OutSimWheel.prototype, "YForce", void 0); __decorate([ float() ], OutSimWheel.prototype, "VerticalLoad", void 0); __decorate([ float() ], OutSimWheel.prototype, "AngVel", void 0); __decorate([ float() ], OutSimWheel.prototype, "LeanRelToRoad", void 0); __decorate([ byte() ], OutSimWheel.prototype, "AirTemp", void 0); __decorate([ byte() ], OutSimWheel.prototype, "SlipFraction", void 0); __decorate([ byte() ], OutSimWheel.prototype, "Touching", void 0); __decorate([ byte() ], OutSimWheel.prototype, "Sp3", void 0); __decorate([ float() ], OutSimWheel.prototype, "SlipRatio", void 0); __decorate([ float() ], OutSimWheel.prototype, "TanSlipAngle", void 0);