| 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 MIDGSMOOTH 1 2017-06-25 FlightGear "FlightGear man pages" |
| 19 |
.SH NAME |
| 20 |
MIDGsmooth \- send MIDG-formatted GPS data to a FlightGear instance |
| 21 |
.SH SYNOPSIS |
| 22 |
\fBMIDGsmooth\fR \fB\-\-help\fR |
| 23 |
| \fB\-\-infile\fR \fIinfile_name\fR [\fIoptions\fR]... |
| 24 |
| \fB\-\-serial\fR \fIdev_name\fR \fB\-\-outfile\fR \fIoutfile_name\fR |
| 25 |
[\fIoptions\fR]... |
| 26 |
.SH DESCRIPTION |
| 27 |
.B MIDGsmooth |
| 28 |
is a utility that reads GPS data in MIDG format from a text file or from an |
| 29 |
MIDG device connected to the serial port, parses it and sends it to a |
| 30 |
FlightGear instance for replaying. |
| 31 |
.SH OPTIONS |
| 32 |
.TP |
| 33 |
\fB\-\-help\fR |
| 34 |
Display usage information and exit. |
| 35 |
.TP |
| 36 |
\fB\-\-infile\fR \fIinfile_name\fR |
| 37 |
Read GPS data from \fIinfile_name\fR. |
| 38 |
.TP |
| 39 |
\fB\-\-serial\fR \fIdev_name\fR |
| 40 |
Read GPS data from the serial device named \fIdev_name\fR. |
| 41 |
.TP |
| 42 |
\fB\-\-outfile\fR \fIoutfile_name\fR |
| 43 |
Save the data retrieved from the device to \fIoutfile_name\fR. |
| 44 |
.TP |
| 45 |
\fB\-\-hertz\fR \fIfrequency\fR |
| 46 |
Specify the frequency to use for sending data to the FlightGear instance. |
| 47 |
By default, events are sent at a frequency of \fB60\fR Hz. |
| 48 |
.TP |
| 49 |
\fB\-\-host\fR \fIhostname\fR |
| 50 |
Send the data to the FlightGear instance running on \fIhostname\fR. |
| 51 |
|
| 52 |
If \fB\-\-host\fR is not specified, the default is to send the data to |
| 53 |
\fBlocalhost\fR. |
| 54 |
.TP |
| 55 |
\fB\-\-skip\-seconds\fR \fIseconds\fR |
| 56 |
Do not transmit the first \fIseconds\fR seconds of data. |
| 57 |
|
| 58 |
This option is ignored when reading GPS data from a serial device. |
| 59 |
.TP |
| 60 |
\fB\-\-broadcast\fR |
| 61 |
Send flight data model and control data as broadcast packets. |
| 62 |
.TP |
| 63 |
\fB\-\-fdm\-port\fR \fIport\fR |
| 64 |
Set the port flight data model data should be sent to. By default, data is sent |
| 65 |
to port \fB5505\fR. |
| 66 |
.TP |
| 67 |
\fB\-\-ctrls\-port\fR \fIport\fR |
| 68 |
Set the port control data should be sent to. By default, data is sent to port |
| 69 |
\fB5506\fR. |
| 70 |
.TP |
| 71 |
\fB\-\-altitude\-offset\fR \fImeters\fR |
| 72 |
Add the specified offset (in meters) to the altitude sent to FlightGear. |
| 73 |
.SH "EXIT STATUS" |
| 74 |
.B MIDGsmooth |
| 75 |
exits with |
| 76 |
.B 0 |
| 77 |
on success, with |
| 78 |
.B \-1\fR |
| 79 |
if the syntax of the command-line arguments is wrong or an error occurs. |
| 80 |
.SH "SEE ALSO" |
| 81 |
.BR fgfs (1), |
| 82 |
.BR GPSsmooth (1), |
| 83 |
.BR UGsmooth (1) |