Seamus Thomas Carroll wrote:
The fuel levels seem to retrieve correctly.
I then added the following code to set the fuel levels for when the
c172 aircraft starts:
fgSetDouble( /consumables/fuel/tank[0]/level-gal_us, tank1 );
fgSetDouble( /consumables/fuel/tank[1]/level-gal_us, tank2 );
The
Hi,
I seemed to have had a feature in my code that caused the tanks to be
filled making me think that the tanks were increasing in fuel. The code
seems to work correctly now.
Thanks,
Seamus
On Mon, 28 Feb 2005, Andy Ross wrote:
Seamus Thomas Carroll wrote:
The fuel levels seem to retrieve
Hi,
I am using the following piece of code to read the fuel levels:
double fueln = 0;
// get the fuel levels;
for( int count = 0; count 7; count++ )
{
string tank = /consumables/fuel/tank[+
su-intTostring(count)+]/level-gal_us;
cout setprecision(6) tank count :
Hi Jon
Hope this is concise enough.
There is no total fuel onboard property as far as I am aware.
In other words there is nothing that adds the contents of each tank
to give a total fuel property.
All that is needed is something that adds the total of all the tanks and
outputs it as a property.Now
Jon S. Berndt wrote:
I haven't been following this thread very closely. Can someone
concisely recap what is wanted, here? It's most likely a very simple
addition for us if it's something we don't now model.
Actually, YASim uses a Nasal-based fuel system that was designed to be
Jon S. Berndt wrote:
This is good for YASim. However, the Nasal approach won't apply for
other applications which use JSBSim, and JSBSim also needs its own
fuel management for batch runs (standalone operation) outside of
FlightGear.
Well, it's certainly fgfs-specific, although there's really
With JSBSim, you could write a property interface manager for these
guys that replaces the internal internal fuel/weight managers you
have right now. If you wanted, you could actually write property
listeners to override the current property nodes and wire their
get/set operations directly
I found time this afternoon to refresh my memory about how the fuel
stuff works.
The FDM reads these properties to determine the amount of fuel in each
tank. YASim uses this only for computing the inertia tensor and total
aircraft mass, it doesn't care about fuel per se.
Seamus Thomas Carroll
Hi,
If i was able to find the avialable fuel property i could work out a
kmperlitre based on distance travelled and fuel consumed over a period of
time.
Doesnt a plane run out of fuel after a period of time? I tried grepping
for fuel and the word fuel must have
Innis Cunningham wrote:
Hi Seamus
Seamus Thomas Carroll writes
Hi,
I am trying to find the variable that contains the remaining fuel on a
plane.
I dont think there is a total fuel onboard or fuel remaining property.
I asked about this a couple of weeks back and got no reply(I think).
After a
Hi All
Erik Hofman writes
I dont think there is a total fuel onboard or fuel remaining property.
I asked about this a couple of weeks back and got no reply(I think).
After a quick search in the code I found this property:
/consumables/fuel/tank[0]/level-gal_us
Yep but that gives the total in tank
Innis wrote
Hi All
Erik Hofman writes
I dont think there is a total fuel onboard or fuel remaining property.
I asked about this a couple of weeks back and got no reply(I think).
After a quick search in the code I found this property:
/consumables/fuel/tank[0]/level-gal_us
Yep but
On Thursday 03 February 2005 21:13, Vivian Meazza wrote:
Innis wrote
Hi All
Erik Hofman writes
I dont think there is a total fuel onboard or fuel
remaining property. I asked about this a couple of weeks
back and got no reply(I think).
After a quick search in the code I
Lee Elliott writes
/consumables/fuel/total-fuel-norm
gives the total remaining fuel, normalised to 0-1.
Hmm.Dont know that this is available under jsbsim.
LeeE
Cheers
Innis
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
I have been using the c172 aircraft. Is it controlled by jsbsim or ysim?
Thanks,
Seamus
On Fri, 4 Feb 2005, Innis Cunningham wrote:
Lee Elliott writes
/consumables/fuel/total-fuel-norm
gives the total remaining fuel, normalised to 0-1.
Hmm.Dont know that this is available under jsbsim.
LeeE
I have been using the c172 aircraft. Is it controlled by jsbsim or ysim?
Thanks,
Seamus
I vaguely recall hearing that there is a C-172 for each of those two FDMs. If
you are
refrring to the default c172, that's _probably_ the JSBSim one.
I haven't been following this thread very closely.
Jon S. Berndt wrote:
I haven't been following this thread very closely. Can someone
concisely recap what is wanted, here? It's most likely a very simple
addition for us if it's something we don't now model.
Actually, YASim uses a Nasal-based fuel system that was designed to be
FDM-independent.
Hi Seamus
Seamus Thomas Carroll writes
Hi,
I am trying to find the variable that contains the remaining fuel on a
plane.
I dont think there is a total fuel onboard or fuel remaining property.
I asked about this a couple of weeks back and got no reply(I think).
Also, is there a variable that
Innis Cunningham wrote:
I dont think there is a total fuel onboard or fuel remaining
property. I asked about this a couple of weeks back and got no
reply(I think).
Each tank has its own value, under /consumables/fuel/tank[n] you will
find level-gal_us and level-lbs properties.
I don't think
Hi,
If i was able to find the avialable fuel property i could work out a
kmperlitre based on distance travelled and fuel consumed over a period of
time.
Doesnt a plane run out of fuel after a period of time? I tried grepping
for fuel and the word fuel must have shown up 100 times and none
Seamus Thomas Carroll writes
Doesnt a plane run out of fuel after a period of time?
Yep.But it depends on winds.If you are flying at 80knots into
a 80knot headwind you are going nowhere.But if you are flying
at 80knots with an 80knot tail wind then your ground speed is
160knots.
This is why
Innis Cunningham wrote:
Seamus Thomas Carroll writes
Doesnt a plane run out of fuel after a period of time?
Yes, but not to ease life too much, pilots typically calculate the fuel
consuption of their aircraft in a different way:
They know the fuel consumption of the engine at a certain
22 matches
Mail list logo