altos/stm32f4: Wrong value for CK48MSEL_PLL_Q
[fw/altos] / doc / telegps-application.inc
1 == TeleGPS Application
2
3         The TeleGPS application provides a graphical user interface for
4         interacting with the Altus Metrum product family. TeleGPS can
5         monitor telemetry data, configure devices and many other
6         tasks. The primary interface window is for displaying data
7         received over the telemetry link. There are additional
8         tasks available from the main window menu bar.
9
10         === Telemetry Monitoring
11
12                 This is the window brought up when you start the
13                 application. If you have a TeleDongle device connected
14                 to the computer, it will automatically be selected for
15                 telemetry monitoring
16
17                 All telemetry data received are automatically recorded
18                 in suitable log files. The name of the files includes
19                 the current date and TeleGPS serial and flight
20                 numbers.
21
22                 The radio frequency being monitored by the TeleDongle
23                 device is displayed at the top of the window. You can
24                 configure the frequency by clicking on the frequency
25                 box and selecting the desired frequency. The TeleGPS
26                 application remembers the last frequency selected for
27                 each TeleDongle and selects that automatically the
28                 next time you use that device.
29
30                 Below the TeleDongle frequency selector, the window
31                 contains a few significant pieces of information about
32                 the altimeter providing the telemetry data stream:
33
34                 * The configured call-sign
35
36                 * The device serial number
37
38                 * The flight number. TeleGPS remembers how many times
39                   it has flown.
40
41                 * The Received Signal Strength Indicator value. This
42                   lets you know how strong a signal TeleDongle is
43                   receiving. The radio inside TeleDongle operates down
44                   to about -100dBm; weaker signals may not be
45                   receivable. The packet link uses error detection and
46                   correction techniques which prevent incorrect data
47                   from being reported.
48
49                 * The age of the displayed data, in seconds since the
50                   last successfully received telemetry packet.  In
51                   normal operation this will stay in the low single
52                   digits.  If the number starts counting up, then you
53                   are no longer receiving data over the radio link
54                   from the flight computer.
55
56                 Finally, the largest portion of the window contains a set of
57                 tabs, each of which contain some information about the TeleGPS
58                 board. The final 'table' tab displays many of the raw telemetry
59                 values in one place in a spreadsheet-like format.
60       
61                 ==== Map
62
63                         The Map tab shows the TeleGPS track over time
64                         on top of map data making it easy to locate
65                         the device.
66         
67                         .TeleGPS Map View
68                         image::telegps-map.png[width=400]
69
70                         The map's default scale is approximately 3m
71                         (10ft) per pixel. The map can be dragged using
72                         the left mouse button. The map will attempt to
73                         keep the rocket roughly centered while data is
74                         being received.
75         
76                         You can adjust the style of map and the zoom
77                         level with buttons on the right side of the
78                         map window. You can draw a line on the map by
79                         moving the mouse over the map with a button
80                         other than the left one pressed, or by
81                         pressing the left button while also holding
82                         down the shift key. The length of the line in
83                         real-world units will be shown at the start of
84                         the line.
85         
86                         Images are fetched automatically via the
87                         Google Maps Static API, and cached on disk for
88                         reuse. If map images cannot be downloaded, the
89                         rocket's path will be traced on a dark gray
90                         background instead.
91         
92                         You can pre-load images for your favorite
93                         launch sites before you leave home; check out
94                         <<_load_maps>>.
95         
96                 ==== Location
97
98                         The Location tab shows the raw GPS data
99                         received from TeleGPS.
100         
101                         .TeleGPS Location View
102                         image::telegps-location.png[width=400]
103
104                 ==== Status
105
106                         The Status tab shows data relative to the
107                         location of TeleGPS when the application first
108                         received telemetry from it.
109         
110                         .TeleGPS Status View
111                         image::telegps-status.png[width=400]
112
113                 ==== Table
114
115                         The Table tab shows detailed information about
116                         the GPS receiver
117         
118                         .TeleGPS Information Table
119                         image::telegps-table.png[width=400]
120
121         === TeleGPS Menus
122
123                 TeleGPS has three or four menus at the top of
124                 the window:
125
126                 File::
127
128                 New Window, Graph Data, Export Data, Load Maps,
129                 Preferences, Close and Exit
130               
131                 Monitor::
132
133                 Connect Device, Disconnect and Scan Channels
134
135                 Device::
136
137                 Download Data, Configure Device and Flash Device
138               
139                 Frequency::
140
141                 This shows the current monitoring frequency with a
142                 drop-down menu listing other configured
143                 frequencies. You can change the set of frequencies
144                 shown here from the Preferences dialog. This menu is
145                 only shown when the TeleGPS application is connected
146                 to a TeleDongle or TeleBT device.
147               
148       
149                 ==== New Window
150
151                         This creates another telemetry monitoring window, in case
152                         you have multiple TeleDongle devices connected to the
153                         computer.
154         
155         === Graph Data
156
157                 The Graph tab shows a plot of the the GPS data
158                 collected. The X axis is time in seconds; there are a
159                 variety of Y axes available for different kinds of
160                 data. This window also allows you to see some
161                 statistics computed from the data, and an overall map
162                 of the entire data record.
163           
164                 ==== Data Graph
165
166                         .TeleGPS Graph
167                         image::telegps-graph-graph.png[width=400]
168
169                 ==== Graph Configuration
170
171                         .TeleGPS Graph Configuration
172                         image::telegps-graph-configure.png[width=400]
173
174                         This selects which graph elements to show, and, at the
175                         bottom, lets you switch between metric and imperial
176                         units
177
178                 ==== Statistics
179
180                         .TeleGPS Statistics
181                         image::telegps-graph-stats.png[width=400]
182
183                         Shows overall data computed from the flight.
184                 
185                 ==== Map
186
187                         .TeleGPS Map
188                         image::telegps-graph-map.png[width=450]
189
190                         Shows a map of the area overlaid with the GPS track. As with
191                         the telemetry monitoring window, you can select the style
192                         of map and zoom level using buttons along the side;
193                         you can scroll the map by dragging within the map pressing
194                         the left button and you can draw a line to measure
195                         distances using either the left button with the shift key,
196                         or any other button.
197
198         === Export Data
199
200                 This tool takes the raw data files and makes them
201                 available for external analysis. When you select this
202                 button, you are prompted to select a data file, which
203                 can be either a .eeprom or .telem.  The .eeprom files
204                 contain higher resolution and more continuous data,
205                 while .telem files contain receiver signal strength
206                 information.  Next, a second dialog appears which is
207                 used to select where to write the resulting file. It
208                 has a selector to choose between CSV and KML file
209                 formats.
210         
211                 ==== Comma Separated Value Format
212
213                         This is a text file containing the data in a
214                         form suitable for import into a spreadsheet or
215                         other external data analysis tool. The first
216                         few lines of the file contain the version and
217                         configuration information from TeleGPS, then
218                         there is a single header line which labels all
219                         of the fields. All of these lines start with a
220                         '#' character which many tools can be
221                         configured to skip over.
222
223                         The remaining lines of the file contain the
224                         data, with each field separated by a comma and
225                         at least one space. All of the sensor values
226                         are converted to standard units, with the
227                         barometric data reported in both pressure,
228                         altitude and height above pad units.
229
230                 ==== Keyhole Markup Language (for Google Earth)
231
232                         This is the format used by Google Earth to provide an overlay
233                         within that application. With this, you can use Google Earth to
234                         see the whole path in 3D.
235
236         include::load-maps.adoc[]
237
238         === Preferences
239
240                 .TeleGPS Preferences Window
241                 image::telegps-preferences.png[width=230]
242
243                 include::config-ui.adoc[]
244
245         === Close
246
247                 This closes the current window, leaving any other windows
248                 open and the application running.
249         
250         === Exit
251
252                 This closes all TeleGPS windows and terminates the
253                 application.
254         
255         === Connect Device
256
257                 Selecting this item brings up a dialog box listing all
258                 of the connected TeleDongle devices. When you choose
259                 one of these, AltosUI will display telemetry data as
260                 received by the selected TeleDongle device.
261         
262                 .Device Selection Dialog
263                 image::device-selection.png[width=300]
264
265         === Disconnect
266
267                 Disconnects the currently connected TeleDongle or
268                 TeleBT
269
270         === Scan Channels
271
272                 .Radio Scanning Dialog
273                 image::telegps-scan.png[width=300]
274
275                 Scans the configured set of frequencies looking for
276                 telemetry signals. A list of all of the discovered
277                 signals is show; selecting one of those and clicking
278                 on 'Monitor' will select that frequency in the
279                 associated TeleGPS application window.
280
281         === Download Data
282
283                 TeleGPS records data to its internal flash memory.
284                 On-board data is recorded at the same rate as
285                 telemetry but is not subject to radio drop-outs. As
286                 such, it generally provides a more complete and
287                 precise record.  The 'Download Data' menu entry allows
288                 you to read the flash memory and write it to disk.
289
290                 Select the 'Download Data' menu entry to bring up a
291                 list of connected TeleGPS devices. After the device
292                 has been selected, a dialog showing the data stored in
293                 the device will be shown allowing you to select which
294                 entries to download and which to delete. You must
295                 erase flights in order for the space they consume to
296                 be reused by another track. This prevents accidentally
297                 losing data if you neglect to download data before
298                 starting TeleGPS again. Note that if there is no more
299                 space available in the device, then no data will be
300                 recorded.
301
302                 The file name for each data log is computed
303                 automatically from the recorded date, altimeter serial
304                 number and flight number information.
305         
306         === Configure Device
307
308                 .TeleGPS Configuration Dialog
309                 image::telegps-configure.png[width=350]
310
311                 Select this button and then select any connected TeleGPS
312                 device from the list provided.
313
314                 The first few lines of the dialog provide information
315                 about the connected device, including the product
316                 name, software version and hardware serial
317                 number. Below that are the individual configuration
318                 entries.
319
320                 At the bottom of the dialog, there are four buttons:
321         
322                 Save::
323                 This writes any changes to the configuration parameter
324                 block in flash memory. If you don't press this button,
325                 any changes you make will be lost.
326
327                 Reset::
328                 This resets the dialog to the most recently saved
329                 values, erasing any changes you have made.
330
331                 Reboot::
332
333                 This reboots the device. Use this to switch from idle
334                 to pad mode by rebooting once the rocket is oriented
335                 for flight, or to confirm changes you think you saved
336                 are really saved.
337
338                 Close::
339
340                 This closes the dialog. Any unsaved changes will be
341                 lost.
342
343                 The rest of the dialog contains the parameters to be configured.
344
345                 include::config-device.adoc[]
346
347         === Flash Device
348
349                 This reprograms TeleGPS devices with new
350                 firmware. Please read the directions for flashing
351                 devices in <<_updating_device_firmware>>.