Traffic alert and collision avoidance system: Difference between revisions

Jump to navigation Jump to search
m
Syntaxhighlighting
(TCAS is not affected by Canvas. It's a faceless FG instrument. Canvas thing may apply to wxradar (the display))
m (Syntaxhighlighting)
Line 132: Line 132:


Example:
Example:
<syntaxhighlight lang="xml">
  <PropertyList>
  <PropertyList>
   <sim>
   <sim>
   <instrumentation>
   <instrumentation>
   
   
     '''<tcas>'''
     <tcas>
         '''<name>tcas</name>'''
         <name>tcas</name>
         '''<number>0</number>'''
         <number>0</number>
     '''</tcas>'''
     </tcas>
   
   
   </instrumentation>
   </instrumentation>
   </sim>  
   </sim>  
  </PropertyList>
  </PropertyList>
</syntaxhighlight>
Usually planes only have a single TCAS installed - so using multiple instances wouldn't be too common.
Usually planes only have a single TCAS installed - so using multiple instances wouldn't be too common.


Line 152: Line 154:


XML Template:
XML Template:
 
<syntaxhighlight lang="xml">
  <PropertyList>
  <PropertyList>
   <nowiki><!--</nowiki> here: other data from ...-set.xml <nowiki>--></nowiki>
   <!-- here: other data from ...-set.xml -->
   
   
   <instrumentation>
   <instrumentation>
          
          
     <tcas>                               <nowiki><!--</nowiki> http://wiki.flightgear.org/index.php/TCAS <nowiki>--></nowiki>
     <tcas>                               <!-- http://wiki.flightgear.org/index.php/TCAS -->
   
   
       <serviceable type="bool">true</serviceable>
       <serviceable type="bool">true</serviceable>
                                           <nowiki><!--</nowiki> TCAS ENABLE <nowiki>--></nowiki>
                                           <!-- TCAS ENABLE -->
   
   
       <inputs>
       <inputs>
           <mode type="int">3</mode>      <nowiki><!--</nowiki> 0=off, 1=standby, 2=TA-only, 3=auto(TA/RA) <nowiki>--></nowiki>
           <mode type="int">3</mode>      <!-- 0=off, 1=standby, 2=TA-only, 3=auto(TA/RA) -->
       </inputs>
       </inputs>


       <nowiki><!--</nowiki>
       <!--
       <voice>
       <voice>
           <file-prefix type="string">Aircraft/MyAircraft/Sounds/tcas/</file-prefix>
           <file-prefix type="string">Aircraft/MyAircraft/Sounds/tcas/</file-prefix>
                                           <nowiki><!--</nowiki> custom sound path and/or file prefix <nowiki>--></nowiki>
                                           <!-- custom sound path and/or file prefix -->
       </voice>
       </voice>
       <nowiki>--></nowiki>
       -->
   
   
       <speaker>                          <nowiki><!--</nowiki> Speaker Configuration <nowiki>--></nowiki>
       <speaker>                          <!-- Speaker Configuration -->
         <max-dist> 2 </max-dist>          <nowiki><!--</nowiki> Max. distance where speaker is heard <nowiki>--></nowiki>
         <max-dist> 2 </max-dist>          <!-- Max. distance where speaker is heard -->
         <reference-dist> 1 </reference-dist> <nowiki><!--</nowiki> Distance to pilot <nowiki>--></nowiki>
         <reference-dist> 1 </reference-dist> <!-- Distance to pilot -->
         <volume> 1.0 </volume>            <nowiki><!--</nowiki> Volume at reference distance <nowiki>--></nowiki>
         <volume> 1.0 </volume>            <!-- Volume at reference distance -->
       </speaker>
       </speaker>
   
   
Line 184: Line 186:
   
   
  </PropertyList>
  </PropertyList>
 
</syntaxhighlight>
'''Note''':
'''Note''':
* You can connect the instrumentation/tcas/inputs/mode property to a cockpit switch (transponder mode), so the pilot can manually switch the TCAS mode.
* You can connect the instrumentation/tcas/inputs/mode property to a cockpit switch (transponder mode), so the pilot can manually switch the TCAS mode.
Line 194: Line 196:


The following example shows additional settings required for wxradar in order to enable the TCAS display mode:
The following example shows additional settings required for wxradar in order to enable the TCAS display mode:
<syntaxhighlight lang="xml">
         <radar>
         <radar>
             ...
             ...
Line 200: Line 203:
                 <tcas type="bool">true</tcas>
                 <tcas type="bool">true</tcas>
             </display-controls>
             </display-controls>
             <nowiki><font></nowiki>
             <font>
                 <tcas>
                 <tcas>
                     <color n="0"> <nowiki><!--</nowiki> distant targets <nowiki>--></nowiki>
                     <color n="0"> <!-- distant targets -->
                         <red type="float">0</red>
                         <red type="float">0</red>
                         <green type="float">1</green>
                         <green type="float">1</green>
                         <blue type="float">1</blue>
                         <blue type="float">1</blue>
                     </color>
                     </color>
                     <color n="1"> <nowiki><!--</nowiki> proximity targets <nowiki>--></nowiki>
                     <color n="1"> <!-- proximity targets -->
                         <red type="float">0</red>
                         <red type="float">0</red>
                         <green type="float">1</green>
                         <green type="float">1</green>
                         <blue type="float">1</blue>
                         <blue type="float">1</blue>
                     </color>
                     </color>
                     <color n="2"> <nowiki><!--</nowiki> TA threat targets <nowiki>--></nowiki>
                     <color n="2"> <!-- TA threat targets -->
                         <red type="float">1</red>
                         <red type="float">1</red>
                         <green type="float">0.5</green>
                         <green type="float">0.5</green>
                         <blue type="float">0</blue>
                         <blue type="float">0</blue>
                     </color>
                     </color>
                     <color n="3"> <nowiki><!--</nowiki> RA threat targets <nowiki>--></nowiki>
                     <color n="3"> <!-- RA threat targets -->
                         <red type="float">1</red>
                         <red type="float">1</red>
                         <green type="float">0</green>
                         <green type="float">0</green>
Line 223: Line 226:
                     </color>
                     </color>
                 </tcas>
                 </tcas>
             <nowiki></font></nowiki>
             </font>
             ...
             ...
             <echo-texture-path type="string">Aircraft/..../wxecho.png</echo-texture-path>
             <echo-texture-path type="string">Aircraft/..../wxecho.png</echo-texture-path>
         </radar>
         </radar>
 
</syntaxhighlight>
'''Note''':
'''Note''':
* Remember to reference a specific "wxecho.png" image providing TCAS-style symbols (see 777-200ER).
* Remember to reference a specific "wxecho.png" image providing TCAS-style symbols (see 777-200ER).
* The TCAS display mode requires the installation of a TCAS instrument.
* The TCAS display mode requires the installation of a TCAS instrument.


= References =
== References ==
* [http://www.arinc.com/downloads/tcas/tcas.pdf FAA: Introduction to TCAS II Version 7]
* [http://www.arinc.com/downloads/tcas/tcas.pdf FAA: Introduction to TCAS II Version 7]
* [http://www.eurocontrol.int/msa/public/standard_page/ACAS_Startpage.html EUROCONTROL ACAS Website]
* [http://www.eurocontrol.int/msa/public/standard_page/ACAS_Startpage.html EUROCONTROL ACAS Website]
Line 239: Line 242:


{{Understanding}}
{{Understanding}}
[[Category:Aviation]]
[[Category:Aviation]]
[[Category:Aircraft instruments]]
[[Category:Aircraft instruments]]

Navigation menu