Fixed altitude update bug.
This commit is contained in:
parent
c193021346
commit
e9013be4a0
2 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ FGFDMExec::FGFDMExec(void)
|
|||
Schedule(Translation, 1);
|
||||
Schedule(Position, 1);
|
||||
Schedule(Auxiliary, 1);
|
||||
Schedule(Output, 1);
|
||||
Schedule(Output, 120);
|
||||
|
||||
terminate = false;
|
||||
frozen = false;
|
||||
|
|
|
@ -82,7 +82,7 @@ private:
|
|||
float U, V, W;
|
||||
float Vn, Ve, Vd, Vee;
|
||||
float invMass, invRadius;
|
||||
float Radius;
|
||||
double Radius;
|
||||
float AccelN, AccelE, AccelD;
|
||||
float lastAccelN, lastAccelE, lastAccelD;
|
||||
float LatitudeDot, LongitudeDot, RadiusDot;
|
||||
|
|
Loading…
Reference in a new issue