Hello,

JSBSim has a feature for refueling , that feature was implemented a very long 
time ago.
It was working with  FCS FDM 


for instance this

        <switch name="systems/refuel/arming">
          <default value="0"/>
          <test value="1">
                systems/refuel/armed == 1
          </test>
          <output>propulsion/refuel</output>
     </switch>

JSBSim looked at the <property>/systems/refuel/contact</property> 
That property being updated by FG.

When that <property> was true,  and everything else right,  the refuel on 
every tanks was done.

Unfortunately, since an old FG update ( can't say when),  that feature has 
been broken <property>/systems/refuel/contact</property> is never updated.


We need  an extra nasal script in order to get updated, that  
<property>/systems/refuel/contact</property>  updated.

I have extracted from an old aar.nas script the loop which update the 
property.

it can be downloaded from here 

http://pagesperso-orange.fr/GRTux/tanker.nas.tar.gz

It is i use in the most recent version of Blackbird-A and -B

Cheers


-- 
Gérard
http://pagesperso-orange.fr/GRTux/

"J'ai décidé d'être heureux parce que c'est bon pour la santé. 
Voltaire "


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to