Is there a reason this can't be moved out of the main loop yet?  It's been a
while since it was last discussed, but I thought something was going to be
done with it.

Best,

Jim

Erik Hofman <[EMAIL PROTECTED]> said:

>   // Curt is this code used?  I don't see any problems when I comment it out.
> + // This code is used by LaRCsim/UIUC to position the aircraft at a proper
> + // place. This code should eventually go into the LaRCsim directory.
> + 
>       if ( acmodel_location != 0 ) {
>         if ( acmodel_location->get_cur_elev_m() > -9990 &&
cur_fdm_state->get_inited() ) {
>           if ( cur_fdm_state->get_Altitude() * SG_FEET_TO_METER < 
> !              (acmodel_location->get_cur_elev_m() + alt_adjust_m - 130.0) ) {
>               // now set aircraft altitude above ground
>               printf("(*) Current Altitude = %.2f < %.2f forcing to %.2fn", 
>                  cur_fdm_state->get_Altitude() * SG_FEET_TO_METER,
> !                acmodel_location->get_cur_elev_m() + alt_adjust_m - 130.0,
>                  acmodel_location->get_cur_elev_m() + alt_adjust_m );
>               cur_fdm_state->set_Altitude( (acmodel_location->get_cur_elev_m() 
> 



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to