| 1 |
.\" Copyright (C) 2017 Alessandro Menti |
| 2 |
.\" |
| 3 |
.\" This program is free software; you can redistribute it and/or |
| 4 |
.\" modify it under the terms of the GNU General Public License |
| 5 |
.\" as published by the Free Software Foundation; either version 2 |
| 6 |
.\" of the License, or (at your option) any later version. |
| 7 |
.\" |
| 8 |
.\" This program is distributed in the hope that it will be useful, |
| 9 |
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 |
.\" GNU General Public License for more details. |
| 12 |
.\" |
| 13 |
.\" You should have received a copy of the GNU General Public License |
| 14 |
.\" along with this program; if not, write to the Free Software |
| 15 |
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 16 |
.\" Or try here: http://www.fsf.org/copyleft/gpl.html |
| 17 |
.\" |
| 18 |
.TH JSBSIM 1 2017-06-25 FlightGear "FlightGear man pages" |
| 19 |
.SH NAME |
| 20 |
JSBSim \- standalone version of the JSBSim open source flight dynamics model |
| 21 |
.SH SYNOPSIS |
| 22 |
\fBJSBSim\fR \fI<script filename>\fR \fI<output filenames>\fR \fI<options>\fR |
| 23 |
.SH DESCRIPTION |
| 24 |
.B JSBSim |
| 25 |
is a standalone version of the JSBSim open source flight dynamics model |
| 26 |
library that, given a script file, runs the simulation and outputs the results |
| 27 |
to one or more files. |
| 28 |
.SH OPTIONS |
| 29 |
.TP |
| 30 |
\fB\-\-help\fR |
| 31 |
Display usage information and exit. |
| 32 |
.TP |
| 33 |
\fB\-\-version\fR |
| 34 |
Display the JSBSim version number and exit. |
| 35 |
.TP |
| 36 |
\fB\-\-outputlogfile=\fIfilename\fR |
| 37 |
Output the processed data to \fIfilename\fR. |
| 38 |
.TP |
| 39 |
\fB\-\-logdirectivefile=\fIfilename\fR |
| 40 |
Use the data logging directives specified in \fIfilename\fR. This option may be |
| 41 |
specified multiple times. |
| 42 |
.TP |
| 43 |
\fB\-\-root=\fIpath\fR |
| 44 |
Use \fIpath\fR as the JSBSim root directory (the directory where the aircraft |
| 45 |
model resides, containing the \fBaircraft\fR, \fBengine\fR... subdirectories). |
| 46 |
.TP |
| 47 |
\fB\-\-aircraft=\fIfilename\fR |
| 48 |
Use the aircraft model specified in \fIfilename\fR. |
| 49 |
.TP |
| 50 |
\fB\-\-script=\fIfilename\fR |
| 51 |
Run the simulation script specified in \fIfilename\fR. |
| 52 |
|
| 53 |
This option is incompatible with \fB\-\-catalog\fR. |
| 54 |
.TP |
| 55 |
\fB\-\-realtime\fR |
| 56 |
Run the simulation in actual real world time. |
| 57 |
.TP |
| 58 |
\fB\-\-nice\fR[\fB=\fIsleep period\fR] |
| 59 |
Reduce CPU usage by pausing the simulation between frames for |
| 60 |
\fIsleep period\fR nanoseconds. If \fIsleep period\fR is not given, it is set |
| 61 |
to \fB0.01\fR nanoseconds. |
| 62 |
.TP |
| 63 |
\fB\-\-nohighlight\fR |
| 64 |
Do not colorize the output. |
| 65 |
.TP |
| 66 |
\fB\-\-suspend\fR |
| 67 |
Suspend the simulation after initializing it. |
| 68 |
.TP |
| 69 |
\fB\-\-initfile=\fIfilename\fR |
| 70 |
Use the initialization file \fIfilename\fR. |
| 71 |
.TP |
| 72 |
\fB\-\-catalog\fR[\fB=\fIaircraft\fR] |
| 73 |
Print all properties for the aircraft model (\fIaircraft\fR, if the model name |
| 74 |
is passed as an argument, or for the model loaded via the initialization file). |
| 75 |
|
| 76 |
This option is incompatible with \fB\-\-script\fR. |
| 77 |
.TP |
| 78 |
\fB\-\-property=\fIname\fB=\fIvalue\fR |
| 79 |
Set the property named \fIname\fR to \fIvalue\fR. |
| 80 |
.TP |
| 81 |
\fB\-\-simulation\-rate=\fIrate\fR |
| 82 |
Set the simulation rate (dT) to \fIrate\fR. If \fIrate\fR is less than \fB1\fR, |
| 83 |
it is interpreted as a time step size in seconds; otherwise, it is interpreted |
| 84 |
as a rate in Hertz. |
| 85 |
.TP |
| 86 |
\fB\-\-end=\fItime\fR |
| 87 |
Set the simulation end time to \fItime\fR. |
| 88 |
.SH "EXIT STATUS" |
| 89 |
.B JSBSim |
| 90 |
exits with |
| 91 |
.B 0 |
| 92 |
on success, with |
| 93 |
.B 1 |
| 94 |
if the syntax of the command-line arguments is wrong or an error occurs. |
| 95 |
.SH "SEE ALSO" |
| 96 |
.BR fgfs (1), |
| 97 |
.UR http://\:jsbsim.sourceforge.net/ |
| 98 |
the JSBSim Web site |
| 99 |
.UE |