> From: ThorstenB [mailto:bre...@gmail.com] > > Hi, > > probably spotted the cause for the reported reset crash: it's the same > as already reported before - targeted by this earlier patch: > http://www.gitorious.org/fg/flightgear/commit/287cc74965e11ff3888117a9d > 9b88ed2bdbb9252 > > This patch unties all JSBSim properties prior to reset. However, it's > not quite sufficient and misses some JSBSim properties. > Problem is that JSBSim can also tie properties outside the /fdm/jsbsim > branch - using property paths which can be configured in > aircraft-specific configuration files. > > ... > > I'm currently testing a different patch for the same issue: instead of > untieing all properties below the /fdm/jsbsim (only), I added a list to > JSBSim's FGPropertyManagager, so it keeps track of all the properties > it has actually bound. It can then use this list to untie all its > properties - no mattere where these are located in the property tree. > > This patch seems to fix the issue for me. I'll do a few more tests and > (hopefully :) ) propose this a new patch... > > cheers, > > Thorsten
I thought we already had something like this in JSBSim - I thought I had added such a feature already, myself, actually, but maybe I just "dreamed" it. ;-) I'll have to go back and look at the [JSBSim] code again. I'd like to figure out how to make resetting work better from the API - more "naturally" and without having to reload the aircraft model. This would be useful for both the JSBSim standalone executable and for any larger simulation framework that incorporates JSBSim. Jon www.JSBSim.org www.facebook.com/jsbsim ------------------------------------------------------------------------------ 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