summaryrefslogtreecommitdiff
path: root/altosui
Commit message (Collapse)AuthorAge
...
* altosui/windows: Fix a bunch of windows compiler warnings.Keith Packard2011-08-22
| | | | | | | Some of these may have actually been serious -- a write length was getting stored in a signed char... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-fat/windows: Check and install Java 1.6 as neededKeith Packard2011-08-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Clean up command line processing. Add --graphKeith Packard2011-08-21
| | | | | | | Make the command line processing a bit less ad-hoc, track 'mode' of processing and deal with all files on the command line. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/altosui: Add ability to disable telemetry/rdf completelyKeith Packard2011-08-20
| | | | | | | This turns off the telemetry system so that it never transmits telemetry or RDF tones. In idle mode, it will still accept packet mode connections. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Disable 'max flight log' config when there are stored flightsKeith Packard2011-08-20
| | | | | | | | | When flights are stored in flash, the maximum flight log value cannot be changed as the flight data might need to be moved around in memory. Check for this case by looking for stored flights and disabling the combo box when storage is not empty. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: remove debug printf in pad paneKeith Packard2011-08-20
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add 'On-board Data Logging' indicator to pad tabKeith Packard2011-08-14
| | | | | | | | This shows whether the on-board data memory is full, or is ready to record the flight. This is indicated in the telemetry stream by a flight number of '0'. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ancient log files used 'apogee' for 'coast' stateKeith Packard2011-08-14
| | | | | | | | 2009-07-18-serial-004-flight-000 says 'apogee' for the apogee-detect phase of the flight; map this to coast so that this flight replays correctly (although the log terminates at apogee...) Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Respect storage limits in flight log max config0.9.6.0Keith Packard2011-08-14
| | | | | | | | Compute the maximum flight log using the data returned from the 'f' command (total storage and erase block size). Limit menu to choices which fall within this limit, complain if the user asks for too big a value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: don't set channel when using radio settingKeith Packard2011-08-14
| | | | | | | altos now sets the radio back to channel 0 when the radio setting is changed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: AltosSerial.flush_input shouldn't discard Interrupted exceptionsKeith Packard2011-08-13
| | | | | | | | The eeprom download code wants to interrupt serial communication so that it can stop downloading stuff in the middle of a run. Make flush_input pass the exception along instead of discarding it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Eliminate inter-chunk flush_input callsKeith Packard2011-08-13
| | | | | | | Once the serial line is nicely synchronized, we don't need to flush input between chunks. This speeds up eeprom downloading quite a bit. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Devices with log-format can also delete flightsKeith Packard2011-08-13
| | | | | | Any device with either flight-log-max or log-format can delete flights. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add support for TeleScience eeprom downloadKeith Packard2011-08-13
| | | | | | | | Using the existing eeprom methods, fetch and save TeleScience eeprom data, storing to a filename generated from the serial/flight from the TM connected to the TS board. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Clean up eeprom parsing a bitKeith Packard2011-08-13
| | | | | | | Export basic parsing and checksum functions for shared use. Create 'erased' function to check a chunk of eeprom data for data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add companion support to the flight UI and CSV conversionKeith Packard2011-08-13
| | | | | | | Shows the companion data in a new tab. Also put companion data into CSV file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Don't try to use non-basestations for remote eeprom downloadKeith Packard2011-08-13
| | | | | | | Companion boards may also have eeprom data to fetch; don't try to use them as a radio. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/altosui: Report log format in the version commandKeith Packard2011-08-13
| | | | | | | | This will make it easier to figure out what the contents of the flash should look like from altosui; the current 'guessing' mechanism will not scale to many more formats. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Mis-allocated device list in libaltosKeith Packard2011-08-13
| | | | | | Would overrun mis-allocated array, causing chaos. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add telemetry docs to debian/linux/mac/windows packagesKeith Packard2011-08-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move launch-sites.txt file to altusmetrum.orgKeith Packard2011-08-10
| | | | | | | | The official URL is now: http://www.altusmetrum.org/AltOS/launch-sites.txt Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Plot reasonable data from Tm filesKeith Packard2011-08-10
| | | | | | | Don't plot acceleration based on baro data. Display baro speed if accel speed isn't available. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Prune telemetry file graphs to just the flightKeith Packard2011-08-10
| | | | | | Remove data earlier than 1 second before boost and data after landing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add a 'Graph Flight' button to the 'landed' tabKeith Packard2011-08-10
| | | | | | | This lets you see the results of a flight as soon as the rocket lands using the telemetry data. Signed-off-by: Keith Packard <keithp@keithp.com>
* Altosui: Add flight statistics tab to graph windowKeith Packard2011-08-10
| | | | | | Provide basic flight stats alongside the flight graph. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ship TeleMini v1.0 firmware with fat blobsKeith Packard2011-08-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ensure serial code tracks reply nesting correctlyKeith Packard2011-08-09
| | | | | | | Trap any exceptional return conditions from 'get_reply' to make sure in_reply gets decremented. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't export product defs from libaltosKeith Packard2011-08-09
| | | | | | | As we add new products, that would change the ABI generated for java, invaliding old library versions sitting around for windows and mac. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add close button to 'fire' dialogKeith Packard2011-08-08
| | | | | | Easier to hit than the tiny close box in the frame. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make set of telemetries to use while scanning configurableKeith Packard2011-08-08
| | | | | | with a preference to remember across application runs. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Reading serial from swing thread only bad if remoteKeith Packard2011-08-08
| | | | | | Make the warning on this condition based on whether the link is remote. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove unused AltosConfigData from AltosTelemetryReaderKeith Packard2011-08-08
| | | | | | Now that AltosSerial manages this data, it's not needed here. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Flush radio setting to serial deviceKeith Packard2011-08-08
| | | | | | When changing frequencies, make sure the device hears about it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debugging printfs from AltosSerialKeith Packard2011-08-08
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Show AltosFrequency in scan resultsKeith Packard2011-08-08
| | | | | | Include frequency and description instead of just frequency. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Save frequency after setting it in AltosFlightUIKeith Packard2011-08-08
| | | | | | Otherwise we'll just save the old frequency. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Have single radio_to_frequency functionKeith Packard2011-08-08
| | | | | | | This takes all three radio params (setting, cal, channel) and computes the current frequency. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: A few misc cleanups.Keith Packard2011-08-08
| | | | | | | Initialize radio_setting as it won't be set for older devices ever. Remove unused set_radio_frequency function from AltosConfigUI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Must set radio calibration before radio settingKeith Packard2011-08-08
| | | | | | | | | | | Setting the radio calibration erases any previous radio setting as the radio calibration change invalidates any previously computed radio setting for a specific frequency. Hence, the radio setting must be configured *after* the radio calibration value lest it be ignored. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Pull out BlueTooth supportKeith Packard2011-08-08
| | | | | | | This leaves the code in place, but commented out so that it isn't used until we've got a bluetooth device ready for use. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: altimeter is not spelled altimterKeith Packard2011-08-08
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Convert from channels to frequenciesKeith Packard2011-08-08
| | | | | | | | | | | | | Major areas: * Preferences are stored as frequencies instead of channels * Serial configuration is done using frequencies * UI is presented with frequency lists Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add dialogs to configure 'common' frequenciesKeith Packard2011-08-08
| | | | | | | These are stored in preferences, but not yet hooked up to the TM/TD configure dialogs Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Change button to 'Configure Altimeter'Keith Packard2011-08-08
| | | | | | Now that we've got more than one model. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/altosui: Add pad orientation configure optionKeith Packard2011-08-02
| | | | | | | | | | | Allow TeleMetrum to be operated with the antenna pointing downwards on the pad. This provides some additional flexibility when designing an ebay. The accelerometer calibration levels are flipped around to match, so no re-calibration should be required. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add idle monitor dialogKeith Packard2011-08-02
| | | | | | | | This monitors a telemetrum device in idle mode, either directly or through a teledongle, allowing the GPS status and batteries to be monitored without resorting to placing the device in pad mode. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Simple timeouts don't work with query dataKeith Packard2011-08-02
| | | | | | | | To get the query to come back, it's best to abort and retry the command, other wise the command may have been lost to the previous connection. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Parse accel cal from 'c s' commandKeith Packard2011-08-02
| | | | | | | These fields weren't used before, so the code to parse them hadn't been written. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Standard text field in flight UI needs more width (now 20)Keith Packard2011-08-02
| | | | | | Latitude and longitude take more than 16 characters. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Change continutity colors to yellow/magentaKeith Packard2011-07-17
| | | | | | Makes them stand apart from the accel/speed lines Signed-off-by: Keith Packard <keithp@keithp.com>