Oops. Previous versions caused compile errors
This commit is contained in:
parent
0975a42f49
commit
9299767541
2 changed files with 3 additions and 3 deletions
|
@ -510,8 +510,8 @@ bool FGInitialCondition::getAlpha(void) {
|
|||
if(vt < 0.01) return 0;
|
||||
|
||||
xlo=xhi=0;
|
||||
xmin=fdmex->GetAircraft()->GetAlphaCLMin();
|
||||
xmax=fdmex->GetAircraft()->GetAlphaCLMax();
|
||||
xmin=fdmex->GetAerodynamics()->GetAlphaCLMin();
|
||||
xmax=fdmex->GetAerodynamics()->GetAlphaCLMax();
|
||||
sfunc=&FGInitialCondition::GammaEqOfAlpha;
|
||||
if(findInterval(0,guess)){
|
||||
if(solve(&alpha,0)){
|
||||
|
|
|
@ -553,7 +553,7 @@ bool FGJSBsim::copy_from_JSBsim() {
|
|||
|
||||
update_gear();
|
||||
|
||||
stall_warning->setDoubleValue( Aircraft->GetStallWarn() );
|
||||
stall_warning->setDoubleValue( Aerodynamics->GetStallWarn() );
|
||||
|
||||
/* elevator_pos_deg->setDoubleValue( FCS->GetDePos()*SG_RADIANS_TO_DEGREES );
|
||||
left_aileron_pos_deg->setDoubleValue( FCS->GetDaLPos()*SG_RADIANS_TO_DEGREES );
|
||||
|
|
Loading…
Add table
Reference in a new issue