More fine tuning of altitude hold.
This commit is contained in:
parent
eb81ebae2f
commit
3e7030cc4b
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ int fgAPRun( void )
|
||||||
|
|
||||||
total_adj = 0.9 * prop_adj + 0.1 * int_adj;
|
total_adj = 0.9 * prop_adj + 0.1 * int_adj;
|
||||||
if ( total_adj > 0.5 ) { total_adj = 0.5; }
|
if ( total_adj > 0.5 ) { total_adj = 0.5; }
|
||||||
if ( total_adj < -0.3 ) { total_adj = -0.3; }
|
if ( total_adj < -0.2 ) { total_adj = -0.2; }
|
||||||
|
|
||||||
fgElevSet( total_adj );
|
fgElevSet( total_adj );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue