summaryrefslogtreecommitdiff
path: root/ao-tools
Commit message (Collapse)AuthorAge
* altosui: Separate out jfreechart and jcommon directoriesKeith Packard2010-10-06
| | | | | | This allows these packages to be referenced separately Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove ability to graph data in .csv filesKeith Packard2010-10-06
| | | | | | | 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>
* altosui: Add KML file export.Keith Packard2010-09-28
| | | | | | | 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>
* Merge remote branch 'aj/master'Keith Packard2010-09-27
|\
| * Add callsign/serial/flight to graph titleAnthony Towns2010-09-28
| |
* | altosui: use Altos constants in graphing codeKeith Packard2010-09-27
|/ | | | | | The Altos class nicely defines constants for all of the flight states. Signed-off-by: Keith Packard <keithp@keithp.com>
* Hax0r graphing to support telem/eeprom filesAnthony Towns2010-09-28
|
* Merge branch 'master' of git://git.gag.com/fw/altosAnthony Towns2010-09-28
|\
| * altosui: Deal with eeprom dates going backwards across wrapKeith Packard2010-09-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * altosui: .CSV output: add link quality, gps hdop and sat C/N0 numbersKeith Packard2010-09-27
| | | | | | | | | | | | This makes the CSV files contain all of the available information. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Create iterables for log file scanning. Split out display threadsKeith Packard2010-09-27
| | | | | | | | | | | | | | | | | | 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>
* | Merge branch 'master' of git://git.gag.com/fw/altosAnthony Towns2010-09-24
|\|
| * altosui: Require 4 sats for 'good' GPS dataKeith Packard2010-09-23
| | | | | | | | | | | | | | Wait for 10 consecutive GPS reports with at least 4 sats before reporting "GPS ready" state. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: remove unused ReplayThread wrapper classesKeith Packard2010-09-20
| | | | | | | | | | | | | | These aren't used now that the replay opener dialog knows how to build a reader from a filename. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Factor some UI elements into separate classesKeith Packard2010-09-20
| | | | | | | | | | | | Clean up AltosUI by moving the two main tables to separate class files. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' of git://git.gag.com/fw/altosAnthony Towns2010-09-20
|\|
| * altosui: Write raw sensor data to .csv filesKeith Packard2010-09-19
| | | | | | | | | | | | | | For data export, provide the raw sensor samples instead of the filtered values. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Use recorded ground acceleration when reading eeprom filesKeith Packard2010-09-19
| | | | | | | | | | | | | | | | | | The flight software records 1000 accelerometer samples and records that in the flight log. Use that value instead of using the very few samples recorded in the eeprom before boost is detected. This generates far more accurate accerometer data in the .csv files. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Add JFreeChart to Makefile.amAnthony Towns2010-09-15
| |
* | Add graphing.Anthony Towns2010-09-15
|/
* altosui: Remember directory containing firmware filesKeith Packard2010-09-10
| | | | | | | Instead of forcing the user to navigate to the firmware directory each time, this remembers the previous directory and starts there. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: set default .csv file name in file save dialogKeith Packard2010-09-10
| | | | | | | This uses setSelectedFile to specify which output filename to make the default in the save dialog. Signed-off-by: Keith Packard <keithp@keithp.com>
* make the column headers comma separated, too, so they align with the dataBdale Garbee2010-09-10
|
* altosui: Stop parsing eeprom file after hitting 'landed' state0.7.1Keith Packard2010-09-09
| | | | | | | | | Sometimes there are additional records found in the eeprom file; the reader is mostly worried about not losing anything, so it reads as much as it can. However, the last record written for any flight is the 'landed' record, so we can stop looking at the file after hitting that. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fill in time value of last Eeprom record read from fileKeith Packard2010-09-09
| | | | | | | The last record is handled separately, and was missing the code to compute the time. Sigh. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debug printfs from AltosTelemetryReaderKeith Packard2010-09-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix telemetry file reader to handle tick count wrappingKeith Packard2010-09-09
| | | | | | | The telemetry reader was ignoring tick count wrapping, so you'd see time go backwards in jumps. Not useful. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add --with-fat-dir configure option to publish finished stand-alone bitsKeith Packard2010-09-09
| | | | | | | | | --with-fat-dir specifies a directory to copy the finished linux/macosx/windows stand-alone ("fat") packages to. A sub-directory will be created under the specified directory based on the product version number and the files copied there. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: libaltos.so is built with libtool -- it's in ../libaltos/.libsKeith Packard2010-09-09
| | | | | | It used to be in ../libaltos Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove some debug printfs.Keith Packard2010-09-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: conflating USB product and vendor IDs is a bad ideaKeith Packard2010-09-09
| | | | | | | | | | | We've now got a USB vendor ID called 'altusmetrum' for generic altusmetrum devices (old USB ID 0x000A) while the general vendor name for all devices is 'altusmetrum' as well. This patch splits vendors and products into separate name spaces, products are prefixed with product_ and vendor with (oddly) vendor_. Signed-off-by: Keith Packard <keithp@keithp.com>
* initial cut at an altosui man pageBdale Garbee2010-09-09
|
* altosui: Display error dialog when AltOS JNI library can't be loadedKeith Packard2010-09-09
| | | | | | | Having an error dialog appear at application startup seems better than simply failing to present the device dialog later on. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Store libaltos.so in $(libdir)/altosKeith Packard2010-09-09
| | | | | | It's not a public library, so hide it away in a subdirectory. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: remove FATJAR from all-local to avoid building fat .jar fileKeith Packard2010-09-09
| | | | | | | | the fat .jar file is used in non-native builds to run from a directory containing all of the freetts jar files along with the altosui jar file. We don't want this on a real install where freetts is installed separately. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: hack to make JAVAROOT directory get created before javac runsKeith Packard2010-09-09
| | | | | | | This ensures that the JAVAROOT directory gets created by adding it to the variable used to set the CLASSPATH environment value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: fix telemetrum.inf FFFE:000A product names on AMD64 and ia64Keith Packard2010-09-09
| | | | | | This appears to matter to Vista. Dunno why. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add explicit requirement to create classes directoryKeith Packard2010-09-09
| | | | | | The implicit ordering doesn't appear reliable. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: ensure that 'altosui' script is installed. Pass arguments along.Keith Packard2010-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: eeprom files place 'boost' time in the flight number record.Keith Packard2010-09-05
| | | | | | | Instead of looking for the first state change record, use the Flight record to get the boost tick. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Record flight number when scanning file, not when runningKeith Packard2010-09-05
| | | | | | | | | The very first record in the eeprom is the flight number, but it is time-stamped with the 'boost' time, and so it gets sorted until much later, delaying the return of data until the rocket enters boost mode. This drops all of the nice pad GPS and state date on the floor. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use local .class files in the classpathKeith Packard2010-09-05
| | | | | This ensures that compiling only a few changed files will locate the old .class files instead of using a stale .jar file.
* altosui: Prevent voice altitude data from queueing upKeith Packard2010-09-05
| | | | | | | | | | | When flight status changes rapidly, the queue of voice data can get quite long. This change does two things -- first, it remembers when the altitude reporting happens due to flight events and delays the periodic reporting until a suitable time after that, second it ensures that the voice data has all been delivered before generating a new altitude report. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add AltosVoice.drain() to wait for queued speech to finishKeith Packard2010-09-05
| | | | | | | | drain() blocks until all pending phrases have been processed, allowing the UI code to avoid pending data that will end up stale by the time it is emitted. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Start idle thread after the rocket leaves the padKeith Packard2010-09-05
| | | | | | | | This makes the first altitude report time consistently 10 seconds after launch, instead of some random time depending on when the rocket launched relative to the time the device connection was made. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: When replay thread is interrupted, don't make final reportKeith Packard2010-09-05
| | | | | | | | Normally, the replay process makes one final report after the file has been parsed. However, if the reading process is interrupted to display something else, this report is just annoying, so don't make it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add elevation and range data to main displayKeith Packard2010-09-05
| | | | | | Reported by voice, it's useful to see these on the display as well. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Eeprom files contain only one date; save it.Keith Packard2010-09-05
| | | | | | | | While reading eeprom files, the GPS record is reconstructed each time the system sees the first GPS log item (the time field), but as the date isn't repeated, we need to copy it from the old GPS data record. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debugging printf from AltosEepromReaderKeith Packard2010-09-05
| | | | | | | | These were in place while validing the GPS data reconstruction code that handles eeprom files missing the first GPS date line due to the record overwriting bug in old firmware versions. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Return AO_LOG_INVALID instead of exception for eeprom filesKeith Packard2010-09-05
| | | | | | | | When an eeprom file contains an invalid line, just return AO_LOG_INVALID instead of throwing an exception. This allows us to replay and parse files with extraneous serial communication. Signed-off-by: Keith Packard <keithp@keithp.com>