On Saturday 31 July 2010 10:16:01 pm Ron Jensen wrote: > On Saturday 31 July 2010 13:33:51 Hal V. Engel wrote: > > I am working on a model that has drop tanks. Recently I built FG GIT so > > that I could test against the latest code and also so that I could use > > new features to enhance my model. I noticed that this has a menu for > > > > Equipment -> Fuel and Payload > > > > that allows the pilot to adjust how much fuel is in each fuel tank. I > > don't remember this being in 2.0 but I could be wrong. In any case I > > have an issue with this in that it allows the pilot to add fuel to the > > drop tanks even if these tanks are not installed. This could be because > > I have my tanks mis- configured or perhaps I need to set some additional > > properties to tell this system that the tank does/does not exist at that > > moment. This is a JSBSim model. What is the correct way to configure > > drop tanks in a JSBSim model so that this works correctly? > > > > Hal > > I do believe it was added before 2.0, but I could be wrong because I don't > really follow releases. This dialog always existed for YASim, we just > changed the code so it worked with JSBSim, too. > > I don't think we have an "ignore this tank" property, although I could see > other times that might come in handy, too. > > What I would suggest for now is a JSBSim switch that would set the tank > contents to 0 if it is not installed and no-op if it is installed. > > Ron
OK that worked. I also needed to set this up so that the drop tank fuel load went to 0 when the tanks were released so this allowed me to do that as well. Hal ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel