Spoken GCA: Difference between revisions

Jump to navigation Jump to search
152 bytes added ,  28 September 2017
Line 64: Line 64:
Correct your vertical speed if you hear ''"<Above/Below> glidepath."''
Correct your vertical speed if you hear ''"<Above/Below> glidepath."''
= How control.nas script works =
= How control.nas script works =
[[File:Gca general schema.png|right|This is the general (simplified) scheme of the gca module:<ref>{{cite web  |url    =  https://forum.flightgear.org/viewtopic.php?p=319409#p319409  |title  =  <nowiki> Re: Spoken GCA </nowiki>  |author =  <nowiki> rleibner </nowiki>  |date  =  Sep 26th, 2017  |added  =  Sep 26th, 2017  |script_version = 0.40  }}</ref>]]
[[File:Gca schema1.png|right|This is the general (simplified) scheme of the gca module:<ref>{{cite web  |url    =  https://forum.flightgear.org/viewtopic.php?p=319409#p319409  |title  =  <nowiki> Re: Spoken GCA </nowiki>  |author =  <nowiki> rleibner </nowiki>  |date  =  Sep 26th, 2017  |added  =  Sep 26th, 2017  |script_version = 0.40  }}</ref>]]


The ''gca.Control()'' function instances a "demo" object from ''gca_class'' and sets aircraft and destination values. <br />
The ''gca.Control()'' function instances an object from ''gca_class'' and sets destination values. <br />
It also instances a "Par" object from ''PARScreen_class'' to track the aircraft on the PAR screen.<br />
That GCAobject contains all the AI to design the approaching path and will check the aircraft's position once per second. Instructions are built and transmitted to the caller.<br />
 
It also instances an object from ''PARScreen_class'' to track the aircraft on the PAR screen.<br />
   
   
Each second, the script receives an instruction. But it is neither possible nor convenient to pass these instructions to the pilot every second !<br />
Each second, the script receives an instruction. But it is neither possible nor convenient to pass these instructions to the pilot every second !<br />
229

edits

Navigation menu