fw/altos
13 years agomanually fold in documentation work from the master branch buttonbox
Bdale Garbee [Thu, 25 Nov 2010 04:44:53 +0000 (21:44 -0700)]
manually fold in documentation work from the master branch

13 years agotweak rev history
Bdale Garbee [Thu, 25 Nov 2010 04:21:53 +0000 (21:21 -0700)]
tweak rev history

13 years agofix missing section close in Site Map content
Bdale Garbee [Thu, 25 Nov 2010 03:53:36 +0000 (20:53 -0700)]
fix missing section close in Site Map content

13 years agoMerge remote branch 'aj/buttonbox' into buttonbox
Keith Packard [Thu, 25 Nov 2010 02:57:35 +0000 (18:57 -0800)]
Merge remote branch 'aj/buttonbox' into buttonbox

13 years agoMissing change to top level Makefile to build altosui
Keith Packard [Thu, 25 Nov 2010 02:50:46 +0000 (18:50 -0800)]
Missing change to top level Makefile to build altosui

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agodoc: Document altosui "Site Map" tab
Anthony Towns [Wed, 24 Nov 2010 23:52:30 +0000 (09:52 +1000)]
doc: Document altosui "Site Map" tab

13 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Wed, 24 Nov 2010 23:10:50 +0000 (09:10 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

13 years agoMove altosui to the top level, placing libaltos inside it.
Keith Packard [Wed, 24 Nov 2010 22:57:57 +0000 (14:57 -0800)]
Move altosui to the top level, placing libaltos inside it.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agodocs: Document altosui "Graph Data" button
Anthony Towns [Wed, 24 Nov 2010 23:07:34 +0000 (09:07 +1000)]
docs: Document altosui "Graph Data" button

13 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Wed, 24 Nov 2010 22:47:36 +0000 (08:47 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

13 years agoaltosui: Make sure packet mode is turned off when the connection fails
Keith Packard [Wed, 24 Nov 2010 18:55:18 +0000 (10:55 -0800)]
altosui: Make sure packet mode is turned off when the connection fails

When the packet connection times out, turn packet mode off when
closing the serial port.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Let people fire igniters that don't read as 'ready'
Keith Packard [Wed, 24 Nov 2010 04:17:44 +0000 (20:17 -0800)]
altosui: Let people fire igniters that don't read as 'ready'

This provides for igniter testing with LEDs or other materials that
don't look like regular igniters.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Disable radio configation over packet link.
Keith Packard [Wed, 24 Nov 2010 03:09:31 +0000 (19:09 -0800)]
altosui: Disable radio configation over packet link.

Attempting to configure the radio over the packet link will only end
up confusing the user, so disable it. This also works around a bug in
older TM code which would lock up when trying to do this.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: New AltosSerial.set_radio function sets channel/call
Keith Packard [Wed, 24 Nov 2010 03:08:07 +0000 (19:08 -0800)]
altosui: New AltosSerial.set_radio function sets channel/call

Use this anytime you need to set the device radio channel and call
sign, either for telemetry reception or packet mode origination. This
uses the saved callsign and per-device radio channel number. Do not
use this when opening a telemetrum as there won't be a saved channel number.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Make AltosSerial.flush_input keep reading while non-empty
Keith Packard [Wed, 24 Nov 2010 03:04:55 +0000 (19:04 -0800)]
altosui: Make AltosSerial.flush_input keep reading while non-empty

Flushing the input buffer can take a while, especially over the packet
link. Keep reading while stuff is appearing on the reply queue.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltos: Make radio test command careful with the radio mutex.
Keith Packard [Wed, 24 Nov 2010 03:02:54 +0000 (19:02 -0800)]
altos: Make radio test command careful with the radio mutex.

Remember whether the radio test mode is on or off and don't try to do
either of them twice to prevent the mutex from being acquired or
released twice.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltos: Don't abort radio transmissions with ao_radio_abort
Keith Packard [Wed, 24 Nov 2010 02:57:49 +0000 (18:57 -0800)]
altos: Don't abort radio transmissions with ao_radio_abort

We only want to abort pending radio reception to release the radio for
other use, or to change the radio channel. Let radio transmission
proceed. This fixes a problem with using packet mode to configure the
radio channel; if the packet transmission is aborted, the TM ends up
wedged.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltos: remove unused variable from ao_igniter
Keith Packard [Wed, 24 Nov 2010 02:56:46 +0000 (18:56 -0800)]
altos: remove unused variable from ao_igniter

The 'status' variable used to hold a reported status value from the
igniter after firing, but we ignore that now.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Wed, 24 Nov 2010 02:14:11 +0000 (12:14 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

13 years agolose the placeholder on how GPS works, as it's going to be a
Bdale Garbee [Wed, 24 Nov 2010 01:58:11 +0000 (18:58 -0700)]
lose the placeholder on how GPS works, as it's going to be a
while before I tackle that, if ever.

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

13 years agomerge Keith's AltosUI documention into "the big book"
Bdale Garbee [Wed, 24 Nov 2010 01:53:18 +0000 (18:53 -0700)]
merge Keith's AltosUI documention into "the big book"

13 years agoaltosui: sitemap uses rocket gps if no pad gps
Anthony Towns [Tue, 23 Nov 2010 16:13:32 +0000 (02:13 +1000)]
altosui: sitemap uses rocket gps if no pad gps

13 years agoaltosui: don't switch away from user selected tab
Anthony Towns [Tue, 23 Nov 2010 16:11:36 +0000 (02:11 +1000)]
altosui: don't switch away from user selected tab

13 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Tue, 23 Nov 2010 15:53:46 +0000 (01:53 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

13 years agodoc: Add internal documentation for AltOS
Keith Packard [Tue, 23 Nov 2010 06:26:19 +0000 (22:26 -0800)]
doc: Add internal documentation for AltOS

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoadd a rudimentary --help for command line use
Bdale Garbee [Tue, 23 Nov 2010 04:07:10 +0000 (21:07 -0700)]
add a rudimentary --help for command line use

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

13 years agoMerge remote branch 'origin/buttonbox' into buttonbox
Keith Packard [Tue, 23 Nov 2010 00:02:22 +0000 (16:02 -0800)]
Merge remote branch 'origin/buttonbox' into buttonbox

13 years agoaltos: assume igniter worked.
Keith Packard [Mon, 22 Nov 2010 23:56:04 +0000 (15:56 -0800)]
altos: assume igniter worked.

Many igniters don't go open when fired, so there's no way
to know if they worked. Assume they did as a failed igniter is
unlikely to do anything when fired again anyways.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: Close serial port when debug link fails
Keith Packard [Mon, 22 Nov 2010 23:53:27 +0000 (15:53 -0800)]
altosui: Close serial port when debug link fails

If the debug connection isn't working, close down the serial port when
reporting the failure.

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

13 years agoAdded PKGBUILDs for deps into contribs
Bob Finch [Mon, 22 Nov 2010 19:24:42 +0000 (12:24 -0700)]
Added PKGBUILDs for deps into contribs

13 years agoaltos: Add on/off modes to 'C' command
Keith Packard [Sun, 21 Nov 2010 22:03:17 +0000 (14:03 -0800)]
altos: Add on/off modes to 'C' command

This lets the user turn the radio on/off and then invoke other commands.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoaltosui: keep sitemap more centred on rocket
Anthony Towns [Sun, 21 Nov 2010 19:29:26 +0000 (05:29 +1000)]
altosui: keep sitemap more centred on rocket

13 years agoaltosui: improve sitemap scrolling behaviour
Anthony Towns [Sun, 21 Nov 2010 19:22:17 +0000 (05:22 +1000)]
altosui: improve sitemap scrolling behaviour

13 years agoAltosSiteMap: ensure buffer around active tile
Anthony Towns [Sun, 21 Nov 2010 07:39:50 +0000 (17:39 +1000)]
AltosSiteMap: ensure buffer around active tile

13 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Sun, 21 Nov 2010 06:08:37 +0000 (16:08 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

13 years agoaltosui: When fixing eeprom gps time information, make GPS data valid
Keith Packard [Sun, 21 Nov 2010 06:03:26 +0000 (22:03 -0800)]
altosui: When fixing eeprom gps time information, make GPS data valid

Eeprom files may be missing the GPS time (due to a firmware bug). Working
around this involves finding the next valid GPS time and using that to
create a fake GPS time entry. However, that next GPS time may not
be locked or may have few sats as it is from the boost stage of the
flight. Fix this by simply forcing the fake time packet to have
4 sats and be locked.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 years agoAltosSiteMap: limit nr of tiles to 200x200
Anthony Towns [Sun, 21 Nov 2010 05:13:35 +0000 (15:13 +1000)]
AltosSiteMap: limit nr of tiles to 200x200

13 years agoAltosSiteMap: never accept 0,0 as lat/long
Anthony Towns [Sun, 21 Nov 2010 05:03:21 +0000 (15:03 +1000)]
AltosSiteMap: never accept 0,0 as lat/long

13 years agoAltosSiteMap: refactor tile collection
Anthony Towns [Sun, 21 Nov 2010 04:45:10 +0000 (14:45 +1000)]
AltosSiteMap: refactor tile collection

13 years agoAltosSiteMap: thread safe tile addition
Anthony Towns [Sun, 21 Nov 2010 04:05:00 +0000 (14:05 +1000)]
AltosSiteMap: thread safe tile addition

13 years agoAltosSiteMap: try to get new tile construction right
Anthony Towns [Sun, 21 Nov 2010 03:19:36 +0000 (13:19 +1000)]
AltosSiteMap: try to get new tile construction right

13 years agoAltosSiteMap: extend map if rocket goes far away
Anthony Towns [Sun, 21 Nov 2010 03:07:11 +0000 (13:07 +1000)]
AltosSiteMap: extend map if rocket goes far away

13 years agoMerge branch 'sitemap' into buttonbox
Anthony Towns [Sun, 21 Nov 2010 01:15:02 +0000 (11:15 +1000)]
Merge branch 'sitemap' into buttonbox

Conflicts:
ao-tools/altosui/AltosSiteMap.java

13 years agoAltosSiteMap: explain tile size better
Anthony Towns [Sun, 21 Nov 2010 00:55:22 +0000 (10:55 +1000)]
AltosSiteMap: explain tile size better

13 years agoaltosui: Set site map flight path lines to 6 pixels anti-aliased.
Keith Packard [Sun, 21 Nov 2010 00:55:12 +0000 (16:55 -0800)]
altosui: Set site map flight path lines to 6 pixels anti-aliased.

Much more visible over the map.

Signed-off-by: Keith Packard <keithp@keithp.com>
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 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 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>