> On Sun, 2011-02-06 at 13:18 +0100, Bertrand Coconnier wrote: > > Hi Jon, > > > > You may already know that but the current behaviour of Flight Gear > > reset process is coded at a higher level than JSBSim glue code > > (JSBSim.cxx). The reset process is to unbind - delete - create a new > > instance of the FDM no matter which FDM is used in Flight Gear (check > > FDMShell:reinit() in src/FDM/fdm_shell.cxx). So in order to make > > Flight Gear use the improvements you are mentioning, this will need > > to be a joint effort between Flight Gear, JSBSim and possibly the > > developers of the other FDMs. However this should not prevent this > > improvement to be made on JSBSim side :-) > > Actually I think this is good behavior regardless what Jon comes up > with and I vote to include the patch from Bertrand to JSBSim anyhow. > > Erik
I'm incorporating it on my side right now. (I vote with you, Erik! ;-) We need to address two things here - and maybe they need to be addressed the same way when integrated within FlightGear (I don't know): 1) Reinitialize at some position and state, with the same aircraft. - This may not require anything more than setting initial conditions and reinitializing the aircraft at that position and state without deleting the entire JSBSim instance. This is preferable for JSBSim standalone, and I would think it would be preferable anywhere, but in another sense I can see that nuking the instance and starting from scratch might be appealing. This is particularly true if our startup process is very fast. 2) Changing aircraft and position/state. - This is a more complex issue and I do think it requires nuking the JSBSim instance and creating a new one. Jon ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel