Melchior FRANZ <[EMAIL PROTECTED]> said:
> * Curtis L. Olson -- Tuesday 01 July 2003 20:36:
> > Ignore my previous message. Today in the default C172 I can't seem to
> > be able to climb past about 1600' ASL. Something is definitely
> > weird. :-|
>
> Oh ... the terrain following AP change then? Have to get into that
> machine again ...
>
It is the patch you first thought. Backing out the Sunday patch to
FGAtmosphere.cpp as I have below seems to solve the problem completely.
Best,
Jim
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/FDM/JSBSim/FGAtmosphere.cpp,v
retrieving revision 1.9
diff -u -r1.9 FGAtmosphere.cpp
--- src/FDM/JSBSim/FGAtmosphere.cpp 29 Jun 2003 21:17:21 -0000 1.9
+++ src/FDM/JSBSim/FGAtmosphere.cpp 1 Jul 2003 18:57:25 -0000
@@ -267,7 +267,7 @@
vDirectiondAccelDt(eY) = 1 - 2.0*(double(rand())/double(RAND_MAX));
vDirectiondAccelDt(eZ) = 1 - 2.0*(double(rand())/double(RAND_MAX));
- MagnitudedAccelDt = 1 - 2.0*(double(rand())/double(RAND_MAX));
+ MagnitudedAccelDt = 1 - 2.0*(double(rand())/double(RAND_MAX)) - Magnitude;
MagnitudeAccel += MagnitudedAccelDt*rate*State->Getdt();
Magnitude += MagnitudeAccel*rate*State->Getdt();
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel