| 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 GPSSMOOTH 1 2017-06-04 FlightGear "FlightGear man pages" |
| 19 |
.SH NAME |
| 20 |
GPSsmooth \- send NMEA-formatted GPS data to a FlightGear instance |
| 21 |
.SH SYNOPSIS |
| 22 |
\fBGPSsmooth\fR \fB\-\-help\fR | \fB\-\-file\fR \fIfile_name\fR |
| 23 |
[\fB\-\-hertz\fR \fIhertz\fR] [\fB\-\-host\fR \fIhostname\fR] |
| 24 |
[\fB\-\-broadcast\fR] [\fB\-\-fdm\-port\fR \fIport\fR] [\fB\-\-ctrls\-port\fR |
| 25 |
\fIport\fR] |
| 26 |
.SH DESCRIPTION |
| 27 |
.B GPSsmooth |
| 28 |
is a utility that reads a text file containing GPS data in NMEA format, parses |
| 29 |
it and sends it to a FlightGear instance for replaying. |
| 30 |
.SH OPTIONS |
| 31 |
.TP |
| 32 |
\fB\-\-help\fR |
| 33 |
Display usage information and exit. |
| 34 |
.TP |
| 35 |
\fB\-\-file\fR \fIfile_name\fR |
| 36 |
Read GPS data from \fIfile_name\fR. This option is mandatory if \fB\-\-help\fR |
| 37 |
is not specified. |
| 38 |
.TP |
| 39 |
\fB\-\-hertz\fR \fIhertz\fR |
| 40 |
Specify the frequency to use for sending data to the FlightGear instance. |
| 41 |
By default, events are sent at a frequency of \fB60\fR Hz. |
| 42 |
.TP |
| 43 |
\fB\-\-host\fR \fIhostname\fR |
| 44 |
Send the data to the FlightGear instance running on \fIhostname\fR. |
| 45 |
|
| 46 |
If \fB\-\-host\fR is not specified, the default is to send the data to |
| 47 |
\fBlocalhost\fR. |
| 48 |
.TP |
| 49 |
\fB\-\-broadcast\fR |
| 50 |
Send flight data model and control data as broadcast packets. |
| 51 |
.TP |
| 52 |
\fB\-\-fdm\-port\fR \fIport\fR |
| 53 |
Set the port flight data model data should be sent to. By default, data is sent |
| 54 |
to port \fB5505\fR. |
| 55 |
.TP |
| 56 |
\fB\-\-ctrls\-port\fR \fIport\fR |
| 57 |
Set the port control data should be sent to. By default, data is sent to port |
| 58 |
\fB5506\fR. |
| 59 |
.SH "EXIT STATUS" |
| 60 |
.B GPSsmooth |
| 61 |
exits with |
| 62 |
.B 0 |
| 63 |
on success, with |
| 64 |
.B \-1 |
| 65 |
if the syntax of the command-line arguments is wrong or an error occurs. |
| 66 |
.SH "SEE ALSO" |
| 67 |
.BR fgfs (1), |
| 68 |
.BR MIDGsmooth (1), |
| 69 |
.BR UGsmooth (1) |