1
0
Fork 0

Make sure the friction forces are positive, otherwise they will push the aircraft rather than holding it into place. The ground reaction code still needs some attention.

This commit is contained in:
ehofman 2004-02-13 12:54:38 +00:00
parent 71c83c4de7
commit c648bc18f7

View file

@ -403,6 +403,11 @@ FGColumnVector3& FGLGear::Force(void)
FCoeff = dynamicFCoeff*fabs(WheelSlip)/WheelSlip;
}
// A negative force coefficient will result in a force pulling the wheel(s)
// back instead of trying to stop them from moving.
if (FCoeff < 0.0)
FCoeff = 0.0;
// Compute the vertical force on the wheel using square-law damping (per comment
// in paper AIAA-2000-4303 - see header prologue comments). We might consider
// allowing for both square and linear damping force calculation. Also need to