DEFINITIONS
*******************************************************************************/
+#define ID_LGEAR "$Header"
+
/*******************************************************************************
CLASS DECLARATION
*******************************************************************************/
FGColumnVector Force(void);
FGColumnVector Moment(void) {return vMoment;}
+ FGColumnVector GetBodyLocation(void) { return vWhlBodyVec; }
inline string GetName(void) {return name; }
inline bool GetWOW(void) {return WOW; }
inline float GetCompLen(void) {return compressLength;}
inline float GetCompVel(void) {return compressSpeed; }
inline float GetCompForce(void) {return Force()(3); }
+
+ inline void SetBrake(double bp) {brakePct = bp;}
+
+ inline void SetReport(bool bb) { ReportEnable=bb; }
+ inline bool GetReport(void) { return ReportEnable; }
+
private:
enum {eX=1, eY, eZ};
FGColumnVector vXYZ;
FGColumnVector vMoment;
- float kSpring, bDamp, compressLength, compressSpeed;
- float statFCoeff, rollFCoeff, skidFCoeff;
- float frictionForce, compForce;
- float brakePct, brakeForce, brakeCoeff;
+ FGColumnVector vWhlBodyVec;
+ float kSpring;
+ float bDamp;
+ float compressLength;
+ float compressSpeed;
+ float staticFCoeff, dynamicFCoeff;
+ float brakePct;
+ float maxCompLen;
double SinkRate;
double GroundSpeed;
double DistanceTraveled;
bool WOW;
bool FirstContact;
bool Reported;
+ bool ReportEnable;
string name;
+ string BrakeType;
+ string SteerType;
+ string GroupMember;
+ float maxSteerAngle;
FGFDMExec* Exec;
FGState* State;