Hello, I want to start FlightGear with a bunch of Initial Conditions Settings and I noticed that they dont seem to be loaded when restarting the simulator with "File->Reset". It rather looks like FG is taking the values for pitch, alpha, and so on off of the last session, i.e. if I crashed the plane almost in a 90 deg angle to the earth and then press reset, it starts with the plane heading towards ground in almost a 90deg angle. By pressing "pause" at startup and comparing the values in the property tree I indeed figured out that the values are exactly the same. I am using FG 0.9.10 release version and noticed this behaviour with the c172 and f16. I am loading the IC in from an external input file. I therefore modified the code in FGState.cpp, in the Initialize() function with a rather simple routine to read in the values and used the FGIC->SetBlahBlah() method of the FGInitialConditions class in order to save them.
This all works fine as long as I am NOT specifying --notrim in the command line. As soon as I specify this option, the above described behaviour occurs. Anyone might be able to shed some light in this matter? Where can I find the functions that are responsible for the reset process in the code? Could it be that FG restarts different than its actual starting process is? Thanks a lot for your help. Best, Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel