Changed the steering gain from +/-0.1 to +/-1.0, so that the steering
angle for the nosewheel (when present) is the same as the rudder
deflection angle. That's probably not exactly right, but it's much
better than we had before -- you can now steer the plane on the ground
reasonably during taxiing.
vLocalGear = State->GetTb2l() * vWhlBodyVec;
+ compressLength = 0.0;
+ compressSpeed = 0.0;
+ brakePct = 0.0;
+ maxCompLen = 0.0;
+
Debug(0);
}
switch (eBrakeGrp) {
case bgLeft:
- SteerGain = -0.10;
+ SteerGain = -1.0;
BrakeFCoeff = rollingFCoeff*(1.0 - FCS->GetBrake(bgLeft)) +
staticFCoeff*FCS->GetBrake(bgLeft);
break;
case bgRight:
- SteerGain = -0.10;
+ SteerGain = -1.0;
BrakeFCoeff = rollingFCoeff*(1.0 - FCS->GetBrake(bgRight)) +
staticFCoeff*FCS->GetBrake(bgRight);
break;
staticFCoeff*FCS->GetBrake(bgCenter);
break;
case bgNose:
- SteerGain = 0.10;
+ SteerGain = 1.0;
BrakeFCoeff = rollingFCoeff;
break;
case bgTail:
- SteerGain = -0.10;
+ SteerGain = -1.0;
BrakeFCoeff = rollingFCoeff;
break;
case bgNone:
- SteerGain = -0.10;
+ SteerGain = -1.0;
BrakeFCoeff = rollingFCoeff;
break;
default:
vMoment.Magnitude() > 5000000000.0 ||
SinkRate > 1.4666*30)
{
- PutMessage("Crash Detected");
+ PutMessage("Crash Detected: Simulation FREEZE.");
Exec->Freeze();
}
}