- FDMExec.GetAircraft()->LoadAircraft(aircraft_path.str(),
- engine_path.str(), "X15");
- FG_LOG( FG_FLIGHT, FG_INFO, " loaded aircraft" );
-
-// FDMExec.GetState()->Reset(aircraft_path.str(), "Reset00");
+ FDMExec.GetAircraft()->LoadAircraft( aircraft_path.str(),
+ engine_path.str(),
+ current_options.get_aircraft() );
+ FG_LOG( FG_FLIGHT, FG_INFO, " loaded aircraft" <<
+ current_options.get_aircraft() );
+
+ FG_LOG( FG_FLIGHT, FG_INFO, "Initializing JSBsim with:" );
+ FG_LOG( FG_FLIGHT, FG_INFO, " U: " << current_options.get_uBody() );
+ FG_LOG( FG_FLIGHT, FG_INFO, " V: " <<current_options.get_vBody() );
+ FG_LOG( FG_FLIGHT, FG_INFO, " W: " <<current_options.get_wBody() );
+ FG_LOG( FG_FLIGHT, FG_INFO, " phi: " <<get_Phi() );
+ FG_LOG( FG_FLIGHT, FG_INFO, "theta: " << get_Theta() );
+ FG_LOG( FG_FLIGHT, FG_INFO, " psi: " << get_Psi() );
+ FG_LOG( FG_FLIGHT, FG_INFO, " lat: " << get_Latitude() );
+ FG_LOG( FG_FLIGHT, FG_INFO, " lon: " << get_Longitude() );
+ FG_LOG( FG_FLIGHT, FG_INFO, " alt: " << get_Altitude() );