summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* altosui: Add launch-sites.txtKeith Packard2011-07-17
| | | | | | Contains a few of our favorites. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Download list of site locations for map preloadingKeith Packard2011-07-17
| | | | | | | | | | | | The current URL for this is: http://gag.com/~keithp/launch-sites.txt The format is: <site-name>:<lat>:<lon> lat and lon are both in signed decimal degrees. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'preload-maps'Keith Packard2011-07-17
|\
| * altosui: Make sure degree and minute values are visible (map preload)Anthony Towns2011-07-16
| | | | | | | | | | | | | | Set min size to preferred size so that the value remains visible instead of snapping to 0 pixels wide. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Remove a bunch of sitemap debugging printfsKeith Packard2011-07-16
| | | | | | | | | | | | Seems to work, let's get less chatty Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Display full map preload area in view.Keith Packard2011-07-16
| | | | | | | | | | | | | | | | This involved fixing the map view to support arbitrary sizes, and then exposing a synchronous tile loading API so that the progress bar could be used to show tile loading progress. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Merge branch 'scan-telemetry' into preload-mapsKeith Packard2011-07-16
| |\
| | * altosui: Flush telemetry lines before starting to watch for scan resultsKeith Packard2011-07-16
| | | | | | | | | | | | | | | | | | | | | This prevents pending telemetry lines from being incorrectly attributed to the wrong channel/telemetry. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altosui: Try to avoid resize weirdness with map preloadingKeith Packard2011-07-16
| | | | | | | | | | | | | | | | | | | | | grid bag + box does some strange stuff, this appears to avoid the worst of the interactions. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altosui: Add map preloading GUIKeith Packard2011-07-16
| |/ | | | | | | | | | | | | | | Provide a way to manually enter latitude and longitude, preview the map area while downloading a 9x9 grid of map tiles to be used when monitoring flights without network access. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Set 'seen' bits in legacy telemetry packet readerKeith Packard2011-07-16
| | | | | | | | | | | | Otherwise, the 'scan' code won't show detected flight computers. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Initialize channel and telemetry before use in ScanUIKeith Packard2011-07-16
| | | | | | | | | | | | Otherwise we try to use telemetry format 0, which means 'no telemetry'. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Generalize and centralize telemetry constants, parse v0.8 telemetryKeith Packard2011-07-16
| | | | | | | | | | | | | | | | | | | | Move telemetry constants to Altos class, adding functions to compute names and lengths. Generalize users of these values to use all of the known values. Add support for v0.8 TeleMetrum telemetry Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Finish radio scanning UIKeith Packard2011-07-16
| | | | | | | | | | | | | | | | Scans all channels and telemetry formats, presenting visible devices in a list. Entries from the list may be selected, in which case a monitor window pops up with the appropriate configuration. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Configuration telemetry record includes flight numberKeith Packard2011-07-16
| | | | | | | | | | | | Mark the reported altos record as including flight information. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Remove debugging printf from AltosLogKeith Packard2011-07-16
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Pop up monitor window from scan dialogKeith Packard2011-07-16
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Start adding support for scanning radio for available devicesKeith Packard2011-07-16
| | | | | | | | | | | | This is untested. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos, altosui: Add igniter mode (dual, apogee, main)split-telemetryKeith Packard2011-07-17
| | | | | | | | | | | | This provides for redundant charges for either apogee or main. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Set version to 0.9.4.4Keith Packard2011-07-17
|/ | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Set version to 0.9.4.3 for Bdale 2011-7-16 flights0.9.4.3Keith Packard2011-07-15
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: new versions of sdcc require __ prefixes for custom keywordsKeith Packard2011-07-09
| | | | | | | Fortunately, 2.9.1 appears to accept either, so we can switch now and prepare for sdcc 3.0.0. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't show missing igniter and gps valuesKeith Packard2011-07-06
| | | | | | | | | | | The new telemetry stuff leaves state.gps always set (but empty), which seems fine, we just need to look at state.gps.connected to see if there's a GPS receiver on board. For TeleNano, we also want to hide the igniter status fields as they won't have any data present. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Build device constants into .java codeKeith Packard2011-07-06
| | | | | | | | This eliminates a depedency on updates to the system helper library, which means we don't have to provide a new library on all platforms just to support a new USB id. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: product defines are always in ao_product.hKeith Packard2011-07-06
| | | | | | | | | | | When all products were built in a single directory, each one had a separate version of ao_product.h. Now that they all reside in sub-directories, each directory has its own ao_product.h This change is needed so that other modules in the system can use the product defines; otherwise, ao_product.h was not built at the right time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Ensure low-rate telem packets interleave with sensor telem packetsKeith Packard2011-07-06
| | | | | | | | | To avoid over-committing the radio link, we want to send only one low rate packet after each sensor packet. However, the initializations for this were incorrect, causing the configuration and location packets to be sent at the same time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove ao_telemetry_orig.c and ao_telemetry_tiny.cKeith Packard2011-07-06
| | | | | | All products use the common ao_telemetry.c code now Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch Tm and Tn to common telemetry codeKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch flash drivers __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_flight and ao_flight_nano __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_dbg.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_config.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: switch ao_cmd __xdata to __pdataKeith Packard2011-07-06
| | | | | | Saves code space Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch const for __code in struct ao_cmdsKeith Packard2011-07-06
| | | | | | This saves quite a bit of code space when accessing these values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_usb.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_telemetry.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_stdio.c __data to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_serial.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_sample.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_rssi.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_report.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_log.c and ao_log_big.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_ignite and ao_gps_sirf __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_gps_skytraq and ao_gps_sirf __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink ao_add_task by rolling up a memset loopKeith Packard2011-07-06
| | | | | | | This has a dramatic effect. By pulling the 'stack' variable into registers it reduces the size of this function from 550 to 231 bytes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink ao_config_callsign_setKeith Packard2011-07-06
| | | | | | | Replacing a hand-coded memset with a function call, using static space instead of stack space for an array. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink ao_cmd_put16, ao_cmd_hex and ao_cmdKeith Packard2011-07-06
| | | | | | No functional changes, just reduces code size. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Compress telemetry records marked with the same timeKeith Packard2011-07-05
| | | | | | | Split telemetry transmits multiple packets with the same timestamp. Merge those into a single record when read from a file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debug printf.Keith Packard2011-07-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add main/drogue voltages to default graphKeith Packard2011-07-05
| | | | | | | Until we get a UI for changing the graph elements, lets add a few more potentially useful values. Signed-off-by: Keith Packard <keithp@keithp.com>