Comment out the UIUC ground trimming code
This commit is contained in:
parent
f4b3f7a003
commit
c1fa7f95bd
1 changed files with 4 additions and 1 deletions
|
@ -1110,9 +1110,11 @@ static void fgMainLoop( void ) {
|
||||||
cur_fdm_state->get_Runway_altitude() * SG_FEET_TO_METER,
|
cur_fdm_state->get_Runway_altitude() * SG_FEET_TO_METER,
|
||||||
cur_fdm_state->get_Altitude() * SG_FEET_TO_METER); */
|
cur_fdm_state->get_Altitude() * SG_FEET_TO_METER); */
|
||||||
|
|
||||||
// Curt is this code used? I don't see any problems when I comment it out.
|
#if 0
|
||||||
// This code is used by LaRCsim/UIUC to position the aircraft at a proper
|
// This code is used by LaRCsim/UIUC to position the aircraft at a proper
|
||||||
// place. This code should eventually go into the LaRCsim directory.
|
// place. This code should eventually go into the LaRCsim directory.
|
||||||
|
// Commented out at Jul 27 2003 because tests show it is not needed.
|
||||||
|
// Can probbaly be safely removed after Spet. 2003 - EMH
|
||||||
|
|
||||||
if ( acmodel_location != 0 ) {
|
if ( acmodel_location != 0 ) {
|
||||||
if ( acmodel_location->get_cur_elev_m() > -9990 && cur_fdm_state->get_inited() ) {
|
if ( acmodel_location->get_cur_elev_m() > -9990 && cur_fdm_state->get_inited() ) {
|
||||||
|
@ -1133,6 +1135,7 @@ static void fgMainLoop( void ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// End of code in question. (see Curt is this code used? above)
|
// End of code in question. (see Curt is this code used? above)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* printf("Adjustment - ground = %.2f runway = %.2f alt = %.2f\n",
|
/* printf("Adjustment - ground = %.2f runway = %.2f alt = %.2f\n",
|
||||||
scenery.get_cur_elev(),
|
scenery.get_cur_elev(),
|
||||||
|
|
Loading…
Reference in a new issue