Debian Codegraph @

man/man1/UGsmooth.1

raw
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 UGSMOOTH 1 2017-06-25 FlightGear "FlightGear man pages"
19 .SH NAME
20 UGsmooth \- send UGear-formatted GPS data to a FlightGear instance
21 .SH SYNOPSIS
22 \fBUGsmooth\fR \fB\-\-help\fR
23 | \fB\-\-infile\fR \fIinfile_name\fR [\fIoptions\fR]...
24 | \fB\-\-flight\fR \fIflight_dir\fR [\fIoptions\fR]...
25 | \fB\-\-serial\fR \fIdev_name\fR \fB\-\-outfile\fR \fIoutfile_name\fR [\fIoptions\fR]...
26 .SH DESCRIPTION
27 .B UGsmooth
28 is a utility that reads GPS data in UGear format from a text file, a directory
29 containing flight data or from a device connected to the serial port, parses it
30 and sends it to a 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\-\-flight\fR \fIflight_dir\fR
40 Read GPS data from the flight directory named \fIflight_dir\fR.
41 .TP
42 \fB\-\-serial\fR \fIdev_name\fR
43 Read GPS data from the serial device named \fIdev_name\fR.
44 .TP
45 \fB\-\-outfile\fR \fIoutfile_name\fR
46 Save the data retrieved from the device to \fIoutfile_name\fR.
47 .TP
48 \fB\-\-hertz\fR \fIfrequency\fR
49 Specify the frequency to use for sending data to the FlightGear instance.
50 By default, events are sent at a frequency of \fB60\fR Hz.
51 .TP
52 \fB\-\-host\fR \fIhostname\fR
53 Send the data to the FlightGear instance running on \fIhostname\fR.
54
55 If \fB\-\-host\fR is not specified, the default is to send the data to
56 \fBlocalhost\fR.
57 .TP
58 \fB\-\-broadcast\fR
59 Send flight data model and control data as broadcast packets.
60 .TP
61 \fB\-\-opengc\-port\fR \fIport\fR
62 Set the port OpenGC data should be sent to. By default, data is sent to port
63 \fB6000\fR.
64 .TP
65 \fB\-\-fdm\-port\fR \fIport\fR
66 Set the port flight data model data should be sent to. By default, data is sent
67 to port \fB5505\fR.
68 .TP
69 \fB\-\-ctrls\-port\fR \fIport\fR
70 Set the port control data should be sent to. By default, data is sent to port
71 \fB5506\fR.
72 .TP
73 \fB\-\-groundtrack\-heading\fR
74 Calculate the aircraft heading from the GPS velocity instead of using the raw
75 heading recorded by the device.
76 .TP
77 \fB\-\-ground\-speed\fR
78 Calculate the ground speed from the GPS velocity instead of using the raw speed
79 recorded by the device.
80 .TP
81 \fB\-\-estimate\-control\-deflections\fR
82 Estimate control deflections from the angular velocities instead of using the
83 raw deflections recorded by the device.
84 .TP
85 \fB\-\-altitude\-offset\fR \fImeters\fR
86 Add the specified offset (in meters) to the altitude sent to FlightGear.
87 .TP
88 \fB\-\-skip\-seconds\fR \fIseconds\fR
89 Do not transmit the first \fIseconds\fR seconds of data.
90
91 This option is ignored when reading GPS data from a serial device.
92 .TP
93 \fB\-\-no\-real\-time\fR
94 Do not update the elapsed time.
95 .TP
96 \fB\-\-ignore\-checksum\fR
97 Do not discard data with invalid checksums.
98
99 This option is ignored when reading GPS data from a flight directory.
100 .TP
101 \fB\-\-sg\-swap\fR
102 Activate the special double swap logic for the (non-standard) stargate double
103 format.
104 .SH "EXIT STATUS"
105 .B UGsmooth
106 exits with
107 .B 0
108 on success, with
109 .B \-1
110 if the syntax of the command-line arguments is wrong or an error occurs.
111 .SH "SEE ALSO"
112 .BR fgfs (1),
113 .BR GPSsmooth (1),
114 .BR MIDGsmooth (1)