Command line options: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 19: Line 19:


The way to use with [[FlightGear Qt launcher]]: go to the "Settings" tab and in the "Additional Settings" section enter the following options, each on a new line. The options entered there take precedence over those defined by Qt Launcher. To see the entire list of command line options used by Qt Launcher, use the keyboard shortcut {{Key press|Ctrl|L}} or select "View command-line" from the Launcher menu.
The way to use with [[FlightGear Qt launcher]]: go to the "Settings" tab and in the "Additional Settings" section enter the following options, each on a new line. The options entered there take precedence over those defined by Qt Launcher. To see the entire list of command line options used by Qt Launcher, use the keyboard shortcut {{Key press|Ctrl|L}} or select "View command-line" from the Launcher menu.
= Legend how to read the following options =
# <code>--option1</code> (<code>--option2</code>) - in this case <code>--option2</code> is the aliast for <code>--option1</code> which is exactly the same as <code>--option1</code>.
# <code>--option1</code><br/><code>--option2</code> - two different options, mutually exclusive. They cannot be used simultaneously, but are connected due to a common description.
# <code>--option1</code>, <code>--option2</code> - two different options that can be specified simultaneously and are connected due to a common description.


= General Options =
= General Options =


<code>--help</code>, <code>-h</code>
<code>--help</code> (<code>-h</code>)
::Show the most relevant command line options.
::Show the most relevant command line options.


<code>--verbose</code>, <code>-v</code>
<code>--verbose</code> (<code>-v</code>)
::Show all command line options when combined with <code>--help</code> or <code>-h</code>.
::Show all command line options when combined with <code>--help</code> or <code>-h</code>.


Line 158: Line 164:
= Aircraft =
= Aircraft =


<code>--aircraft=name</code>, <code>--vehicle=name</code>
<code>--aircraft=name</code> (<code>--vehicle=name</code>)
::Select an aircraft profile as defined by a top level -set.xml.
::Select an aircraft profile as defined by a top level -set.xml.


Line 210: Line 216:
::Specify starting runway (must also specify an airport).
::Specify starting runway (must also specify an airport).


<code>--parking-id=name</code>, <code>--parkpos=name</code>
<code>--parking-id=name</code> (<code>--parkpos=name</code>)
::Specify a gate at the airport (e.g. 747d11).
::Specify a gate at the airport (e.g. 747d11).


Line 453: Line 459:
::Enable HTTP server on the specified port.
::Enable HTTP server on the specified port.


<code>--telnet={port|socket,bi,hz,localhost,port,tcp}</code>, <code>--props={port|socket,bi,hz,localhost,port,tcp}</code>
<code>--telnet={port|socket,bi,hz,localhost,port,tcp}</code> (<code>--props={port|socket,bi,hz,localhost,port,tcp}</code>)
::Enable telnet server on the specified port. Optionally, you can change the hz (number of packets per second).
::Enable telnet server on the specified port. Optionally, you can change the hz (number of packets per second).


Line 506: Line 512:
::Emit the set of AV400 strings required to drive a Garmin 400-series GPS from FlightGear.
::Emit the set of AV400 strings required to drive a Garmin 400-series GPS from FlightGear.


<code>--AV400WSimA=params</code><br/>
<code>--AV400WSimA=params</code>, <code>--AV400WSimB=params</code>
<code>--AV400WSimB=params</code>
::The Garmin WAAS GPS uses 2 serial channels to communicate with the simulator. These 2 channels are represented by the FGAV400WSimA and the FGAV400WSimB classes. The "A" channel is similar to the previous AVSim400 protocol. The "B" channel is considered the "GPS" channel and uses a different protocol than the "A" channel. The GPS unit expects input on the "B" channel at two different frequencies (1hz and 5hz, normally). The "B" channel also expects responses to certain output messages.
::The Garmin WAAS GPS uses 2 serial channels to communicate with the simulator. These 2 channels are represented by the FGAV400WSimA and the FGAV400WSimB classes. The "A" channel is similar to the previous AVSim400 protocol. The "B" channel is considered the "GPS" channel and uses a different protocol than the "A" channel. The GPS unit expects input on the "B" channel at two different frequencies (1hz and 5hz, normally). The "B" channel also expects responses to certain output messages.


Line 569: Line 574:
= Avionics Options =
= Avionics Options =


<code>--com1=frequency</code><br/>
<code>--com1=frequency</code>, <code>--com2=frequency</code>
<code>--com2=frequency</code>
::Set the COM1, COM2 radio frequency.
::Set the COM1/COM2 radio frequency.


<code>--nav1=[radial:]frequency</code><br/>
<code>--nav1=[radial:]frequency</code>, <code>--nav2=[radial:]frequency</code>
<code>--nav2=[radial:]frequency</code>
::Set the NAV1, NAV2 radio frequency, optionally preceded by a radial.
::Set the NAV1/NAV2 radio frequency, optionally preceded by a radial.


<code>--adf1=[rotation:]frequency</code><br/>
<code>--adf1=[rotation:]frequency</code>, <code>--adf2=[rotation:]frequency</code>
<code>--adf2=[rotation:]frequency</code>
::Set the ADF1, ADF2 frequency to frequency kHz. You can optionally specify the rotation angle of its compass card by prefixing the frequency with the angle and a colon. The <code>--adf</code> option is deprecated.
::Set the ADF1/ADF2 frequency to frequency kHz. You can optionally specify the rotation angle of its compass card by prefixing the frequency with the angle and a colon. The <code>--adf</code> option is deprecated.


<code>--dme={nav1|nav2|frequency}</code>
<code>--dme={nav1|nav2|frequency}</code>
1,089

edits

Navigation menu