229
edits
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 | [[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 | The ''gca.Control()'' function instances an object from ''gca_class'' and sets destination values. <br /> | ||
It also instances | 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 /> |
edits