|
From: Tony P. <ap...@ea...> - 2001-06-17 14:59:14
|
On Sunday 17 June 2001 07:26 am, you wrote: > Tony Peden writes: > > 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. > > That number looks strangely familiar: 1 meter =~ 3.28 feet. I cannot > guess why you're getting 3.28 *meters*, but this seems to be a default > altitude of 0 + the adjustment main.cxx makes for pilot elevation. > > Don't the FDMs work with feet rather than meters. Yep, that's 3.28 ft, sorry about that. The height of KSJC is about 17m or 56 feet though. IIRC, the first runway altitude passed in to the FDM's has been correct in the past. > > > 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). > > Perhaps it results in an enormous force acting on the gear code. I'm > seeing the bug at low-elevation airports as well now, but originally, > it appeared only at higher-elevation airports (possibly because the > calculated force was higher). > > > All the best, > > > David -- Tony Peden ap...@ea... We all know Linux is great ... it does infinite loops in 5 seconds. -- attributed to Linus Torvalds |