On Thursday, August 12, 2010 07:24:36 pm Ron Jensen wrote: > On Thursday 12 August 2010 18:52:28 Hal V. Engel wrote: > > On Wednesday, August 11, 2010 02:10:07 pm Stuart Buchanan wrote: > > > Hi All, > > > > > > I'm getting consistent crashes with the new p51d-jsbsim. Backtrace > > > below. > > > > > > My simgear and flightgear source are up to date (as far as I can tell). > > > > > > Anyone else seeing this? > > > > > > -Stuart > > > > Just to follow up. I am not running current GIT of FG. My copy is GIT > > as of about 3 weeks ago and I am not seeing this issue. The JSBSIm > > P-51D is doing some things that are a little unusual and that push the > > limits of what can be done in JSBSIm. So it is more likely to run into > > things that cause crashes than most models. > > > > It appears that it is crashing when it tries to do something with a > > switch. You might want to try bisecting to see which commit is causing > > the problem. > > > > Hal > > In yesterday's standalone JSBSim the p51d aborts because some properties > are being used without being declared. Try the attached patch to the > p51d.xml and see if it works any better for you. > > Ron > ( I tried sending the whole file but it errorred out for being too many > kbytes.) > > diff --git a/aircraft/p51d/p51d.xml b/aircraft/p51d/p51d.xml > index 5a264c9..00eb3a3 100644 > --- a/aircraft/p51d/p51d.xml > +++ b/aircraft/p51d/p51d.xml > @@ -665,6 +665,9 @@ Hal V. Engel hven...@astound.net > <output>gear/gear-pos-norm</output> > </kinematic> > </channel> > + <property>/controls/gear/brake-left</property> > + <property>/controls/gear/brake-right</property> > + <property>/controls/gear/brake-parking</property> > > <channel name="Brakes">
The above is a little confusing I think. It appears that this patch is for the p51d.xml file but p51d.xml is the YASim xml file. This probably needs to be applied against p51d-jsbsim.xml instead. I see that GIT was last synced with JSBSim CVS Aug 3 and the sync before that was on July 16. I am running a build from about July 20. So it looks like it is time to for me to rebuild FG to get the latest JSBSim code. I tested the above patch applied to p51d-jsbsim.xml with my older version of GIT and it did not cause any issues for me. I will include it with the next merge of the P-51D. Hal > > --------------------------------------------------------------------------- > --- This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel