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">

------------------------------------------------------------------------------
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

Reply via email to