|
From: Tony P. <ap...@ea...> - 2001-06-17 13:31:30
|
I sent this yesterday morning but to the old list address ... There appears to be (at least) two problems here. First, the altitude for KSJC is 17 meters ( ~56 ft) yet when I start with --airport-id=KSJC, 3.28 meters is passed to *both* jsbsim and larcsim. The second issue is that larcsim doesn't crash because there's an altitude check and adjustment in main.cxx that is executed. LaRCsim accepts the adjustment, JSBSim doesn't (for whatever reason, I haven't gotten that far into it yet). In summary, it looks like bad info is being passed into the FDM's but LaRCsim doesn't crash when it gets the correction while JSBSim goes off into NaN-land. All of my trees (save plib) are up to date and I did a complete rebuild of fg this morning. I am, however, running Mandrake 8 with gcc 2.96, so it might be good if someone with 2.95 could run: $ ] fgfs --fdm=larcsim --airport-id=KSJC &> fgfs.larcsim.out $ ] grep FGLaRCsim fgfs.larcsim.out (you could probably just use a pipe ...) and let me know if the runway altitude is set to something other than 3.28. -- Tony Peden ap...@ea... We all know Linux is great ... it does infinite loops in 5 seconds. -- attributed to Linus Torvalds |