Re: [Flightgear-devel] setting fuel load

2003-05-30 Thread James Turner
On Thursday, May 29, 2003, at 01:05 pm, Erik Hofman wrote: Jon Berndt wrote: The reset file sets the current *dynamic* state. I suppose we could (for JSBSim standalone) set actual fuel load in a script, but if that's not done right we might still end up with a user going: why don't my plane

Re: [Flightgear-devel] setting fuel load

2003-05-30 Thread Jim Wilson
James Turner [EMAIL PROTECTED] said: 1. JSB sim reads config file (maybe sets fuel load, etc) 2. FG reads -set.xml file, and potentially over-writes some JSB sim values 3. Everyone is happy. Am is missing something here? Obviously bits of the -set.xml files may need to be loaded

[Flightgear-devel] setting fuel load

2003-05-29 Thread David Culp
Has anyone else been having a problem with trying to set the fuel load at startup using property /consumables/fuel/tank[n]/level-gal_us ? I find that sometimes I get the fuel load I want, and sometimes I get empty tanks. Is it just me? This might be specific to JSBSim. Dave Culp

RE: [Flightgear-devel] setting fuel load

2003-05-29 Thread Jon Berndt
Has anyone else been having a problem with trying to set the fuel load at startup using property /consumables/fuel/tank[n]/level-gal_us ? I find that sometimes I get the fuel load I want, and sometimes I get empty tanks. Is it just me? This might be specific to JSBSim. Dave Culp Dave:

Re: [Flightgear-devel] setting fuel load

2003-05-29 Thread Erik Hofman
Jon Berndt wrote: I suspect this is because the JSBSim aircraft config file can set the fuel load, but so can FlightGear. I am not happy about the situation where such a conflict can occur, but given the circumstances I appreciate that there really isn't a way around it. I can't recall the

RE: [Flightgear-devel] setting fuel load

2003-05-29 Thread Jim Wilson
Jon Berndt [EMAIL PROTECTED] said: I suspect this is because the JSBSim aircraft config file can set the fuel load, but so can FlightGear. I am not happy about the situation where such a conflict can occur, but given the circumstances I appreciate that there really isn't a way around it. I

RE: [Flightgear-devel] setting fuel load

2003-05-29 Thread Jon Berndt
These are the values from the c172p -set.xml configuration: consumables fuel tank n=0 level-gal_us20/level-gal_us /tank tank n=1 level-gal_us20/level-gal_us /tank /fuel /consumables I believe the problem is not that it works sporadically, but that JSBSim

Re: [Flightgear-devel] setting fuel load

2003-05-29 Thread Erik Hofman
Jon Berndt wrote: I believe the problem is not that it works sporadically, but that JSBSim allows setting fuel load as well as FlightGear. It could be that we are inconsistent in defining fuel load: do some aircraft models define it in JSBSim, and others do it vice versa? In JSBSim we can and

RE: [Flightgear-devel] setting fuel load

2003-05-29 Thread Jon Berndt
The way I see it, the aircraft configuration files should define the possibilities of the aircraft and not the current state. I was under the impression the current state was defined in the reset00 and reset001 files? Erik The reset file sets the current *dynamic* state. I suppose we

Re: [Flightgear-devel] setting fuel load

2003-05-29 Thread Erik Hofman
Jon Berndt wrote: The reset file sets the current *dynamic* state. I suppose we could (for JSBSim standalone) set actual fuel load in a script, but if that's not done right we might still end up with a user going: why don't my plane start? I see. There are some conflicting requirements here.