8,827
edits
(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> | |||
<name>tcas</name> | |||
<number>0</number> | |||
</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> | ||
<!-- here: other data from ...-set.xml --> | |||
<instrumentation> | <instrumentation> | ||
<tcas> | <tcas> <!-- http://wiki.flightgear.org/index.php/TCAS --> | ||
<serviceable type="bool">true</serviceable> | <serviceable type="bool">true</serviceable> | ||
<!-- TCAS ENABLE --> | |||
<inputs> | <inputs> | ||
<mode type="int">3</mode> | <mode type="int">3</mode> <!-- 0=off, 1=standby, 2=TA-only, 3=auto(TA/RA) --> | ||
</inputs> | </inputs> | ||
<!-- | |||
<voice> | <voice> | ||
<file-prefix type="string">Aircraft/MyAircraft/Sounds/tcas/</file-prefix> | <file-prefix type="string">Aircraft/MyAircraft/Sounds/tcas/</file-prefix> | ||
<!-- custom sound path and/or file prefix --> | |||
</voice> | </voice> | ||
--> | |||
<speaker> | <speaker> <!-- Speaker Configuration --> | ||
<max-dist> 2 </max-dist> | <max-dist> 2 </max-dist> <!-- Max. distance where speaker is heard --> | ||
<reference-dist> 1 </reference-dist | <reference-dist> 1 </reference-dist> <!-- Distance to pilot --> | ||
<volume> 1.0 </volume> | <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> | ||
<font> | |||
<tcas> | <tcas> | ||
<color n="0" | <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" | <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" | <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" | <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> | ||
</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]] | ||