fw/altos
13 years agoMerge branch 'buttonbox' into sitemap
Anthony Towns [Sun, 21 Nov 2010 00:45:15 +0000 (10:45 +1000)]
Merge branch 'buttonbox' into sitemap

Conflicts:
ao-tools/altosui/AltosFlightUI.java

13 years agoMerge remote branch 'aj/sitemap' into buttonbox
Keith Packard [Sun, 21 Nov 2010 00:35:48 +0000 (16:35 -0800)]
Merge remote branch 'aj/sitemap' into buttonbox

Conflicts:
ao-tools/altosui/AltosFlightUI.java

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoAltosSiteMap: better gps check, lower zoom
Anthony Towns [Sun, 21 Nov 2010 00:34:39 +0000 (10:34 +1000)]
AltosSiteMap: better gps check, lower zoom

13 years agoaltosui: Rewrite info table to mix with scroll pane well. Fix startup size
Keith Packard [Sun, 21 Nov 2010 00:19:42 +0000 (16:19 -0800)]
altosui: Rewrite info table to mix with scroll pane well. Fix startup size

Using a single table for the info table means that the scroll pane
automatically picks up the table headers and shows them above the
scrollable view.

This patch also fixes the application size at startup so that no
scrollbar is required in the info table, and the window is < 800x600.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: reindent
Anthony Towns [Sat, 20 Nov 2010 22:58:44 +0000 (08:58 +1000)]
altosui: reindent

13 years agoMerge branch 'buttonbox' into sitemap
Anthony Towns [Sat, 20 Nov 2010 22:56:13 +0000 (08:56 +1000)]
Merge branch 'buttonbox' into sitemap

13 years agoAltosSiteMap: be more polite about preferred size
Anthony Towns [Sat, 20 Nov 2010 22:44:13 +0000 (08:44 +1000)]
AltosSiteMap: be more polite about preferred size

13 years agoaltosui: change descent tab formatting to four columns
Keith Packard [Sat, 20 Nov 2010 22:31:23 +0000 (14:31 -0800)]
altosui: change descent tab formatting to four columns

This places labels to the left of each field. For igniter voltages,
it uses three columns for the labels.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoAdd GrabNDrag.java
Anthony Towns [Sat, 20 Nov 2010 22:28:24 +0000 (08:28 +1000)]
Add GrabNDrag.java

13 years agoAltosSiteMap: major refactoring
Anthony Towns [Sat, 20 Nov 2010 22:18:39 +0000 (08:18 +1000)]
AltosSiteMap: major refactoring

13 years agoaltosui: re-indent
Keith Packard [Sat, 20 Nov 2010 22:06:37 +0000 (14:06 -0800)]
altosui: re-indent

13 years agoAltosDescent: switch elev from height to range
Anthony Towns [Sat, 20 Nov 2010 15:34:52 +0000 (01:34 +1000)]
AltosDescent: switch elev from height to range

13 years agoAltosAscent/Descent: tidy up layout
Anthony Towns [Sat, 20 Nov 2010 15:27:01 +0000 (01:27 +1000)]
AltosAscent/Descent: tidy up layout

13 years agoAltosSiteMapTile: draw boost circle as well as landed
Anthony Towns [Sat, 20 Nov 2010 14:17:51 +0000 (00:17 +1000)]
AltosSiteMapTile: draw boost circle as well as landed

13 years agoAltosSiteMap: automatic fetching of map data
Anthony Towns [Sat, 20 Nov 2010 14:07:16 +0000 (00:07 +1000)]
AltosSiteMap: automatic fetching of map data

13 years agoAltosSiteMapTile: seperate map and drawing layers
Anthony Towns [Sat, 20 Nov 2010 12:49:51 +0000 (22:49 +1000)]
AltosSiteMapTile: seperate map and drawing layers

13 years agoAltosSiteMap: add autoscroll and grabndrag scroll
Anthony Towns [Sat, 20 Nov 2010 11:06:37 +0000 (21:06 +1000)]
AltosSiteMap: add autoscroll and grabndrag scroll

13 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Sat, 20 Nov 2010 08:20:45 +0000 (18:20 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

13 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Sat, 20 Nov 2010 08:14:30 +0000 (18:14 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

13 years agoaltosui: Fix channel changing in flight UI to actually work
Keith Packard [Sat, 20 Nov 2010 08:13:58 +0000 (00:13 -0800)]
altosui: Fix channel changing in flight UI to actually work

Replacing the menu with a combo box required reworking the way events
are delivered from that widget back to the channel changing
function. Just delete the old magic and use the JComboBox action
listener directly.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Initialize display thread state in constructor instead of run
Keith Packard [Sat, 20 Nov 2010 08:09:03 +0000 (00:09 -0800)]
altosui: Initialize display thread state in constructor instead of run

Some state will get set before run is called, initializing it there
can be too late.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Sat, 20 Nov 2010 07:40:49 +0000 (17:40 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

Conflicts:
ao-tools/altosui/AltosFlightUI.java

13 years agoaltosui: calling thread.interrupt with null thread doesn't work well
Keith Packard [Sat, 20 Nov 2010 07:18:51 +0000 (23:18 -0800)]
altosui: calling thread.interrupt with null thread doesn't work well

This was a left-over from debugging the previous patch.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: When switching log files, don't terminate log thread
Keith Packard [Sat, 20 Nov 2010 07:09:15 +0000 (23:09 -0800)]
altosui: When switching log files, don't terminate log thread

The log thread automatically switches output files when the incoming
telemetry changes. Don't use 'close' for that as 'close' terminates
the log thread as well as closing the file. Create a new
'close_log_file' function which just closes the file.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: switch channel selector to combo box. Shorten displayed device names
Keith Packard [Sat, 20 Nov 2010 06:44:48 +0000 (22:44 -0800)]
altosui: switch channel selector to combo box. Shorten displayed device names

A combo box displays the current value, which is quite nice to
have. Add a 'toShortString' for AltosDevice so that the window frames
and error messages don't have extra spaces generated by the
altos_device toString method.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoupdate turnon scripts to use stashed copies of stable release firmware
Bdale Garbee [Sat, 20 Nov 2010 06:33:42 +0000 (23:33 -0700)]
update turnon scripts to use stashed copies of stable release firmware

13 years agoaltosui: Use timeouts to recover from broken packet links.
Keith Packard [Sat, 20 Nov 2010 02:25:48 +0000 (18:25 -0800)]
altosui: Use timeouts to recover from broken packet links.

This puts timeouts every place the system reads from the packet link
and aborts the in-progress operation if it takes more than a second to
get a response.

Also mixed in here are persistent igniter status displays for the
ejection testing UI.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agodoc: Document the 'Flash Image' operation.
Keith Packard [Fri, 19 Nov 2010 12:44:29 +0000 (20:44 +0800)]
doc: Document the 'Flash Image' operation.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agodoc: git ignore generated doc files
Keith Packard [Fri, 19 Nov 2010 12:29:14 +0000 (20:29 +0800)]
doc: git ignore generated doc files

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agodoc: Add preliminary altosui documentation
Keith Packard [Fri, 19 Nov 2010 12:26:49 +0000 (20:26 +0800)]
doc: Add preliminary altosui documentation

Also, update the Makefile to allow for further documents to be added
without a lot of custom rules.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Clean up global AltosUI configuration settings dialog
Keith Packard [Fri, 19 Nov 2010 09:16:03 +0000 (17:16 +0800)]
altosui: Clean up global AltosUI configuration settings dialog

This dialog had a mish-mash of styles and was confusing.
Now it's got a label for each line, and suitable setters for
each element

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Unify datafile selection to AltosDataChooser
Keith Packard [Fri, 19 Nov 2010 09:14:17 +0000 (17:14 +0800)]
altosui: Unify datafile selection to AltosDataChooser

Instead of having several separate intefaces, use a single dialog for
selecting data files for graph/export/replay.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Add igniter ground testing code
Keith Packard [Fri, 19 Nov 2010 07:41:30 +0000 (15:41 +0800)]
altosui: Add igniter ground testing code

Not yet hooked up, but the UI is finished.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoAltosSiteMapTile: adjust scale to 1 nmi per tile
Anthony Towns [Fri, 19 Nov 2010 03:30:00 +0000 (13:30 +1000)]
AltosSiteMapTile: adjust scale to 1 nmi per tile

13 years agoAltosSiteMapTile: adjust centering calculation
Anthony Towns [Fri, 19 Nov 2010 03:17:29 +0000 (13:17 +1000)]
AltosSiteMapTile: adjust centering calculation

13 years agoAltosSiteMapTile: autoscale to about 2 nmi per tile
Anthony Towns [Fri, 19 Nov 2010 03:02:05 +0000 (13:02 +1000)]
AltosSiteMapTile: autoscale to about 2 nmi per tile

13 years agoaltosui: tile site maps
Anthony Towns [Fri, 19 Nov 2010 02:09:46 +0000 (12:09 +1000)]
altosui: tile site maps

13 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Wed, 17 Nov 2010 19:54:06 +0000 (05:54 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

Conflicts:
ao-tools/altosui/AltosFlightUI.java

13 years agoaltosui: Add igniter status to ascent and descent tabs
Keith Packard [Tue, 16 Nov 2010 14:46:29 +0000 (22:46 +0800)]
altosui: Add igniter status to ascent and descent tabs

Monitor igniters during all phases of the flight.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Cleanup flight UI layout
Keith Packard [Tue, 16 Nov 2010 14:20:00 +0000 (22:20 +0800)]
altosui: Cleanup flight UI layout

Use common constants for fonts and insets
Shrink fonts so that the window is < 600 pixels tall.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Add callsign configuration in AltosUI configuration dialog
Keith Packard [Tue, 16 Nov 2010 13:49:59 +0000 (21:49 +0800)]
altosui: Add callsign configuration in AltosUI configuration dialog

This callsign is used during packet communication.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoadd a paragraph about forcing TM back to idle mode if an accel cal goes badly
Bdale Garbee [Mon, 15 Nov 2010 18:08:00 +0000 (11:08 -0700)]
add a paragraph about forcing TM back to idle mode if an accel cal goes badly

13 years agoaltosui: add reboot button to telemetrum configuration UI
Keith Packard [Mon, 15 Nov 2010 15:14:51 +0000 (23:14 +0800)]
altosui: add reboot button to telemetrum configuration UI

This lets you reconfigure and reboot telemetrum, including over the
radio link.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: eliminate menu bar, moving elements to buttons.
Keith Packard [Mon, 15 Nov 2010 14:38:35 +0000 (22:38 +0800)]
altosui: eliminate menu bar, moving elements to buttons.

This adds a new 'configure AltosUI' dialog to set the log directory
and voice preferences.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: oops, missed a file in the previous commit
Keith Packard [Mon, 15 Nov 2010 14:04:44 +0000 (22:04 +0800)]
altosui: oops, missed a file in the previous commit

AltosSerialInUseException.java just defines a new exception, thanks to
java for making this live in a separate file.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: With --replay option, exit when replay window is closed
Keith Packard [Sun, 14 Nov 2010 11:26:57 +0000 (03:26 -0800)]
altosui: With --replay option, exit when replay window is closed

Otherwise, the application hangs around forever.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Replace flight status table with labels, fix resize.
Keith Packard [Sun, 14 Nov 2010 01:09:51 +0000 (17:09 -0800)]
altosui: Replace flight status table with labels, fix resize.

There's no reason to use a table for the flight status data,
replace that with a selection of widgets instead.

Also, set all of the grid bag constraints for the various flight
status displays so that resize does something sensible.

Adds a scrollbar to the table display so that it can shrink.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Open serial device at 'new' time. Prohibit duplicate opens.
Keith Packard [Sun, 14 Nov 2010 00:07:04 +0000 (16:07 -0800)]
altosui: Open serial device at 'new' time. Prohibit duplicate opens.

With the per-serial UI, there's never a reason to create a serial
device without opening it right away. This eliminates the bug caused
by not opening the serial device for telemetry reception.

Serial devices can now be opened only once; this eliminates errors
when trying to reflash or configure devices while receiving telemetry.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Eliminate unncessary import altosui lines
Keith Packard [Sat, 13 Nov 2010 23:19:14 +0000 (15:19 -0800)]
altosui: Eliminate unncessary import altosui lines

Java appears to automatically import every module from the current
package.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agocontinuing to work on the docs
Bdale Garbee [Sat, 13 Nov 2010 19:19:12 +0000 (12:19 -0700)]
continuing to work on the docs

13 years agoAltosSiteMap: add targeting circles around landing site
Anthony Towns [Sat, 13 Nov 2010 14:59:01 +0000 (00:59 +1000)]
AltosSiteMap: add targeting circles around landing site

13 years agoAltosTelemetryReader: actually open serial port
Anthony Towns [Sat, 13 Nov 2010 14:57:45 +0000 (00:57 +1000)]
AltosTelemetryReader: actually open serial port

13 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Sat, 13 Nov 2010 14:29:11 +0000 (00:29 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

13 years agoaltosui: Add RF calibration to TeleMetrum config dialog
Keith Packard [Sat, 13 Nov 2010 01:02:22 +0000 (17:02 -0800)]
altosui: Add RF calibration to TeleMetrum config dialog

I think that's the last user-settable value.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Sat, 13 Nov 2010 00:32:43 +0000 (17:32 -0700)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

13 years agofold in content from Keith's email on the re-flashing subject
Bdale Garbee [Sat, 13 Nov 2010 00:32:21 +0000 (17:32 -0700)]
fold in content from Keith's email on the re-flashing subject

13 years agofirst cut at instructions on how to re-flash TM and TD devices based on email
Bdale Garbee [Fri, 12 Nov 2010 17:58:54 +0000 (10:58 -0700)]
first cut at instructions on how to re-flash TM and TD devices based on email
reply to a user who asked

13 years agobetter error behaviour if no map
Anthony Towns [Fri, 12 Nov 2010 13:42:42 +0000 (23:42 +1000)]
better error behaviour if no map

13 years agopull up maps for arbitrary locations
Anthony Towns [Fri, 12 Nov 2010 13:29:40 +0000 (23:29 +1000)]
pull up maps for arbitrary locations

13 years agomake infotable scrollable, revert its fontsize to 14
Anthony Towns [Thu, 11 Nov 2010 17:24:26 +0000 (03:24 +1000)]
make infotable scrollable, revert its fontsize to 14

13 years agotabs -> spaces
Anthony Towns [Thu, 11 Nov 2010 16:08:58 +0000 (02:08 +1000)]
tabs -> spaces

13 years agoadd site map tab, at least for QRS launches
Anthony Towns [Thu, 11 Nov 2010 16:07:41 +0000 (02:07 +1000)]
add site map tab, at least for QRS launches

13 years agoMerge remote branch 'aj/buttonbox' into buttonbox
Keith Packard [Thu, 11 Nov 2010 06:11:21 +0000 (22:11 -0800)]
Merge remote branch 'aj/buttonbox' into buttonbox

13 years agoadd compass bearing during descent
Anthony Towns [Thu, 11 Nov 2010 06:06:32 +0000 (16:06 +1000)]
add compass bearing during descent

13 years agoadd compass bearing to voice output
Anthony Towns [Thu, 11 Nov 2010 05:57:52 +0000 (15:57 +1000)]
add compass bearing to voice output

13 years agouse grayled.png for off
Anthony Towns [Thu, 11 Nov 2010 05:52:01 +0000 (15:52 +1000)]
use grayled.png for off

13 years agoreduce font size for FlightInfoTable
Anthony Towns [Thu, 11 Nov 2010 05:45:43 +0000 (15:45 +1000)]
reduce font size for FlightInfoTable

13 years agoread preferences for --replay
Anthony Towns [Thu, 11 Nov 2010 05:43:05 +0000 (15:43 +1000)]
read preferences for --replay

13 years agoadd --replay command line argument
Anthony Towns [Thu, 11 Nov 2010 05:40:37 +0000 (15:40 +1000)]
add --replay command line argument

13 years agouse value_font for values
Anthony Towns [Thu, 11 Nov 2010 05:38:27 +0000 (15:38 +1000)]
use value_font for values

13 years agoaltos: Use grey leds when unlit - easier to see
Keith Packard [Thu, 11 Nov 2010 00:28:19 +0000 (16:28 -0800)]
altos: Use grey leds when unlit - easier to see

13 years agoUpdated PKGBUILD-git.altos
Bob Finch [Mon, 1 Nov 2010 20:36:41 +0000 (14:36 -0600)]
Updated PKGBUILD-git.altos

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Add ascent, descent and landed tabs
Keith Packard [Wed, 10 Nov 2010 07:34:32 +0000 (23:34 -0800)]
altosui: Add ascent, descent and landed tabs

This completes the set of tabs for in-flight status information.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Add tab UI with 'pad' mode.
Keith Packard [Tue, 9 Nov 2010 22:40:58 +0000 (14:40 -0800)]
altosui: Add tab UI with 'pad' mode.

This creates a multi-tab interface for flight monitoring
and includes a special tab for 'pad' mode.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Create abstract interface for flight data display
Keith Packard [Tue, 9 Nov 2010 18:21:34 +0000 (10:21 -0800)]
altosui: Create abstract interface for flight data display

This allows the implementation of the flight data display to occur in
the flight UI instead of the display thread.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Fix more calls to AltosPreferences.channel()
Keith Packard [Tue, 9 Nov 2010 06:17:26 +0000 (22:17 -0800)]
altosui: Fix more calls to AltosPreferences.channel()

Oops. Two more.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Fix channel setting at serial open time
Keith Packard [Tue, 9 Nov 2010 06:10:46 +0000 (22:10 -0800)]
altosui: Fix channel setting at serial open time

Was using the previous non-device-specific preferences API.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Create buttons for main actions
Keith Packard [Tue, 9 Nov 2010 06:07:04 +0000 (22:07 -0800)]
altosui: Create buttons for main actions

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Split out flight monitoring to separate window
Keith Packard [Sat, 6 Nov 2010 06:44:47 +0000 (23:44 -0700)]
altosui: Split out flight monitoring to separate window

This creates a per-TD (or replay) window to contain the flight
monitoring information, allowing multiple monitors.

This also adds per-TD preferences for monitoring channel.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoupdate changelogs for Debian build debian/0.7.1+36+g811ced6
Bdale Garbee [Wed, 6 Oct 2010 23:47:44 +0000 (17:47 -0600)]
update changelogs for Debian build

13 years agoaltosui: Separate out jfreechart and jcommon directories
Keith Packard [Wed, 6 Oct 2010 23:42:27 +0000 (16:42 -0700)]
altosui: Separate out jfreechart and jcommon directories

This allows these packages to be referenced separately

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Remove ability to graph data in .csv files
Keith Packard [Wed, 6 Oct 2010 23:25:49 +0000 (16:25 -0700)]
altosui: Remove ability to graph data in .csv files

There's no reason to support these files when the raw .eeprom or
.telem files which generate them should be used instead.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoremove the csv build dep, as that code will be abandoned
Bdale Garbee [Wed, 6 Oct 2010 23:14:35 +0000 (17:14 -0600)]
remove the csv build dep, as that code will be abandoned

13 years agoupdate changelogs for Debian build debian/0.7.1+32+g8103432
Bdale Garbee [Wed, 6 Oct 2010 22:27:57 +0000 (16:27 -0600)]
update changelogs for Debian build

13 years agoupdate changelogs for Debian build debian/0.7.1+31+g635066c
Bdale Garbee [Wed, 6 Oct 2010 22:26:33 +0000 (16:26 -0600)]
update changelogs for Debian build

13 years agoupdate changelogs for Debian build debian/0.7.1+30+g4396aaa
Bdale Garbee [Wed, 6 Oct 2010 22:26:19 +0000 (16:26 -0600)]
update changelogs for Debian build

13 years agoadd build-dep on libcsv-java
Bdale Garbee [Wed, 6 Oct 2010 22:25:22 +0000 (16:25 -0600)]
add build-dep on libcsv-java

13 years agoupdate changelogs for Debian build debian/0.7.1+28+gd8a2f4c
Bdale Garbee [Wed, 6 Oct 2010 22:19:35 +0000 (16:19 -0600)]
update changelogs for Debian build

13 years agoadd build dep on jfreechart lib
Bdale Garbee [Wed, 6 Oct 2010 22:18:45 +0000 (16:18 -0600)]
add build dep on jfreechart lib

13 years agoaltosui: Add KML file export.
Keith Packard [Wed, 29 Sep 2010 00:56:49 +0000 (17:56 -0700)]
altosui: Add KML file export.

Command line has switches now, --kml and --csv
Export save dialog has combo box to select kml or csv result.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoMerge remote branch 'aj/master'
Keith Packard [Tue, 28 Sep 2010 05:28:07 +0000 (22:28 -0700)]
Merge remote branch 'aj/master'

13 years agoAdd callsign/serial/flight to graph title
Anthony Towns [Tue, 28 Sep 2010 05:27:07 +0000 (15:27 +1000)]
Add callsign/serial/flight to graph title

13 years agoaltosui: use Altos constants in graphing code
Keith Packard [Tue, 28 Sep 2010 05:26:56 +0000 (22:26 -0700)]
altosui: use Altos constants in graphing code

The Altos class nicely defines constants for all of the flight states.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoHax0r graphing to support telem/eeprom files
Anthony Towns [Tue, 28 Sep 2010 04:45:01 +0000 (14:45 +1000)]
Hax0r graphing to support telem/eeprom files

13 years agoMerge branch 'master' of git://git.gag.com/fw/altos
Anthony Towns [Tue, 28 Sep 2010 02:55:47 +0000 (12:55 +1000)]
Merge branch 'master' of git://git.gag.com/fw/altos

13 years agoaltosui: Deal with eeprom dates going backwards across wrap
Keith Packard [Tue, 28 Sep 2010 01:52:30 +0000 (18:52 -0700)]
altosui: Deal with eeprom dates going backwards across wrap

eeprom timestamps can go backwards as the GPS time stamps are
recorded when the first GPS character is received, but not placed into
the eeprom log until the last GPS packet is complete. If this happens
at the same time the tick count is wrapping, then the tick count will
wrap backwards across the 0 boundary causing time to jump forwards.

Fix this by letting time go backwards across the tick boundary, which
requires that we know when the first 'real' tick is read from the
eeprom file.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: .CSV output: add link quality, gps hdop and sat C/N0 numbers
Keith Packard [Tue, 28 Sep 2010 01:51:05 +0000 (18:51 -0700)]
altosui: .CSV output: add link quality, gps hdop and sat C/N0 numbers

This makes the CSV files contain all of the available information.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Create iterables for log file scanning. Split out display threads
Keith Packard [Tue, 28 Sep 2010 00:11:48 +0000 (17:11 -0700)]
altosui: Create iterables for log file scanning. Split out display threads

Convert from log file reading paradigm to using iterators which is
more idiomatic for java. Split more code out of AltosUI.java,
including the display update threads for telemetry monitoring and
logfile replay.x

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoMerge branch 'master' of git://git.gag.com/fw/altos
Anthony Towns [Fri, 24 Sep 2010 00:28:06 +0000 (10:28 +1000)]
Merge branch 'master' of git://git.gag.com/fw/altos

13 years agoaltosui: Require 4 sats for 'good' GPS data
Keith Packard [Thu, 23 Sep 2010 23:52:51 +0000 (16:52 -0700)]
altosui: Require 4 sats for 'good' GPS data

Wait for 10 consecutive GPS reports with at least 4 sats before
reporting "GPS ready" state.

Signed-off-by: Keith Packard <keithp@keithp.com>