On dimanche 07 décembre 2008, Ron Jensen wrote: > On Mon, 2008-12-08 at 03:44 +0900, Tatsuhiro Nishioka wrote: > > Hi Gérard, and James, > > > > Thanks for the info, > > I tried some other JSBSim aircraft like A6M2-jsbsim, f18, f15, etc, and > > found many fall into either black out or white out, which never happens > > on fgfs without the JSBSim update. > > > > As this update is included in Durk's tarball, we definitely need to > > either cut out the JSBSim update on 11/30 or fix this issue before the > > release. I think latter is better but I don't know if we can fix this > > easily.... need many helps from you guys. > > > > I now feel very much that I wish we had a release branch for separating > > two things, concentrating on bug-hunting for release and actively > > committing new features that might be buggy but very attractive. > > > > Best, > > > > Tat > > Anders found this bug. It was uninitialized variables in FGTank. The > change is already in CVS, but here's the patch anyway: > > Index: src/FDM/JSBSim/models/propulsion/FGTank.cpp > =================================================================== > RCS file: > /var/cvs/FlightGear-0.9/source/src/FDM/JSBSim/models/propulsion/FGTank.cpp, >v retrieving revision 1.6 > diff -u -p -r1.6 FGTank.cpp > --- src/FDM/JSBSim/models/propulsion/FGTank.cpp 30 Nov 2008 10:44:30 > -0000 1.6 +++ src/FDM/JSBSim/models/propulsion/FGTank.cpp 7 Dec 2008 > 19:41:38 -0000 @@ -59,6 +59,7 @@ FGTank::FGTank(FGFDMExec* exec, Element* > Element* element_Grain; > Area = 1.0; > Temperature = -9999.0; > + Ixx = Iyy = Izz = 0.0; > Auxiliary = exec->GetAuxiliary(); > Radius = Capacity = Contents = Standpipe = Length = InnerRadius = 0.0; > PropertyManager = exec->GetPropertyManager(); > > I hope that solve the problem for you. Here i have rebuilt FG with that patch and recovered one of my old JSBSim Aircraft FDM which did not worked, i am longer getting the same error , black screen and CullVisitor::apply(Geode&) detected NaN, depth=nan, center=(-3.09272 -0.110464 -0.924417), matrix={ nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan }
Anyhow, as i told before i have solved it in a different way. Cheers -- Gérard http://pagesperso-orange.fr/GRTux/ J'ai décidé d'être heureux parce que c'est bon pour la santé. Voltaire ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel