summaryrefslogtreecommitdiff
path: root/ao-tools
Commit message (Collapse)AuthorAge
...
* libaltos: Use overlapped I/O on windowsKeith Packard2010-08-30
| | | | | | Otherwise, reads block writes and vice-versa. Crazy stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Add pre-built Windows .dllKeith Packard2010-08-30
| | | | | | This lets us create the windows distribution on Linux. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Add pre-built Mac OS X libaltos.dylibKeith Packard2010-08-30
| | | | | | This allows the mac bits to be built on Linux. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Improve MakefileKeith Packard2010-08-30
| | | | | | | | | Builds Windows .dll correctly now and sample app. Moves linux install target to end so it is not default Adds .NOTPARALLEL to disable parallel gnumake. Removes -g debugging flags to shrink file size. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Fix windows build.Keith Packard2010-08-30
| | | | | | | Need stdlib.h to get calloc/free defined, remove debug printfs, fix serial timeouts. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: cjnitest needs altos_flush nowKeith Packard2010-08-29
|
* libaltos: Missing OS_LDFLAGS on cjnitest buildKeith Packard2010-08-29
|
* libaltos: Mac OS X cannot use 'poll(2)' on serial lines.Keith Packard2010-08-29
| | | | | | | Who ships this stuff, anyway? Instead of blocking, we'll poll every 100ms now, otherwise, we won't be able to abort the read when the device is closed. Yay! Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: discard invalid lines while reading Eeprom flight dataKeith Packard2010-08-29
| | | | | | | This shouldn't happen, but it's easy enough to get back in sync by just skipping lines with weird contents. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: provide separate flush_input/flush_output for serial. deal with ↵Keith Packard2010-08-29
| | | | | | | | | | | | | | | | | monitor automatically (yes, this should be two patches, but the diffs in AltosSerial were merged together). First, this replaces the existing flush/flush_reply mess with two simple functions, one to flush output to the serial device, making sure that all data written will be seen while we wait for input. The other sucks any pending input off of the serial line and discards it. Second, AltosSerial now tracks whether the serial line is being used for telemetry monitoring. If so, it enables monitoring, otherwise it disables it. Eliminates a bunch of manual state tracking elsewhere. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: AltusMetrum devices use more than one USB ID.Keith Packard2010-08-29
| | | | | | List all usb devices, picking those with AltusMetrum IDs. Signed-off-by: Keith Packard <keithp@keithp.com>
* fix path to installed shared libraryBdale Garbee2010-08-27
|
* Merge branch 'bdale'Bdale Garbee2010-08-27
|\ | | | | | | | | Conflicts: debian/control
| * fix man page delivery pathBdale Garbee2010-08-27
| |
| * install altosui man pageBdale Garbee2010-08-27
| |
| * fix permissions on installed jar file, switch from ao-view to altosui inBdale Garbee2010-08-27
| | | | | | | | the desktop file
| * fix up the wrapper's path to the jar fileBdale Garbee2010-08-27
| |
| * add an install target for altosuiBdale Garbee2010-08-27
| |
| * add install target for libaltosBdale Garbee2010-08-27
| |
| * add a dummy install targetBdale Garbee2010-08-27
| |
| * Merge branch 'new-packet-format' of ssh://git.gag.com/scm/git/fw/altos into ↵Bdale Garbee2010-08-27
| |\ | | | | | | | | | new-package-format
| * \ Merge branch 'new-packet-format' of ssh://git.gag.com/scm/git/fw/altos into ↵Bdale Garbee2010-08-23
| |\ \ | | | | | | | | | | | | new-package-format
| * | | working on java packaging detailsBdale Garbee2010-08-23
| | | |
* | | | Merge remote branch 'origin/master' into new-packet-formatKeith Packard2010-08-27
|\ \ \ \
| * | | | working on java packaging detailsBdale Garbee2010-08-05
| | | | |
| * | | | see if my new freetts package worksBdale Garbee2010-07-31
| | | | |
* | | | | altosui: add elevation and range informationKeith Packard2010-08-27
| |_|_|/ |/| | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: command line args are converted to csv formatKeith Packard2010-08-26
| | | | | | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: Remove debug printf from AltosState.javaKeith Packard2010-08-26
| | | | | | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: When parsing saved telem files, errors shouldn't abort fileKeith Packard2010-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make syntax errors in telem files just skip the current line and move on to the next one instead of abandoning the whole file. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: Serial line is in UTF-8 encoding. Deal with it.Keith Packard2010-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We read bytes from the serial line and need to convert each line into a string. So, save the bytes and at EOL, pass the whole mess to the string constructor with the appropriate encoding info. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: Add support for old (version < 3) telemetry filesKeith Packard2010-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets the code read telemetry files from pre-released versions of the software. Not strictly necessary for production, but useful for analysing old files. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: AltosEepromReader was mis-setting boost tickKeith Packard2010-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It was supposed to use record.tick instead of the (unset) state.tick value. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: add rssi and distance/dir from pad to CSV filesKeith Packard2010-08-26
| | | | | | | | | | | | | | | | | | | | | | | | Just adds a couple more fields to the CSV files that might be interesting. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: Add AltosGreatCircle constructorsKeith Packard2010-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds constructurs from AltosGPS pairs and also one from empty args (which defines both distance and bearing as 0). Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: Move number parsing code to Altos general classKeith Packard2010-08-26
| | | | | | | | | | | | | | | | | | | | | | | | This moves these shared functions to the global shared class. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: flush replies from serial link when entering debug modeKeith Packard2010-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use replies in debug mode a lot and depend on them matching the expected parameters. The case which caused trouble was using TeleMetrum to reprogram TeleDongle -- sending the 'm 0' command (to disable telemetry monitoring on TeleDongle) to the TeleMetrum caused it to reply 'Syntax Error' which confused the subsequent flashing operation. Flushing that reply gets things back in sync. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: write USB serial number string while flashingKeith Packard2010-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USB serial number is encoded in UCS2 as a part of the string descriptors. Place those right after the other rom config bits so that altosui can find it. altosui is changed to write the serial number there. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: always display romconfig ui while flashingKeith Packard2010-08-24
| | | |
* | | | altosui: fetch existing romconfig for flashingKeith Packard2010-08-24
| | | |
* | | | altosui: Delay mapping Flash UI until flashing actually startsKeith Packard2010-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The flash operation may be abandoned before it even starts; this makes sure the UI doesn't flash up on the screen. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: disable radio monitoring while using serial line for debuggingKeith Packard2010-08-24
| | | |
* | | | altosui: Add ability to create CSV file from telem or eeprom filesKeith Packard2010-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This creates a comma separated value file to export data for external programs. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: refactor logfile chooser dialog to share more codeKeith Packard2010-08-23
| | | | | | | | | | | | | | | | | | | | | | | | Move file opening logic into logfile chooser as it can be shared that way. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: Separate out log file choosing dialog to share with CSV generatorKeith Packard2010-08-23
| |_|/ |/| | | | | | | | | | | | | | | | | This dialog will be shared with the CSV file generating code, so split it out instead of duplicating it. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altosui: make default Manifest look for built-in freettsKeith Packard2010-08-23
| | |
* | | altosui: Finish device programming codeKeith Packard2010-08-23
| | | | | | | | | | | | | | | | | | Altosui can now reprogram Altusmetrum devices. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altosui: Remove debug printf from AltosRomconfigKeith Packard2010-08-23
| | |
* | | altosui: flush serial output before waiting for replyKeith Packard2010-08-23
| | |
* | | altosui: remove debug printf from AltosHexfileKeith Packard2010-08-23
| | |