summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | Moved Mac OS packaging to altosui dirKeith Packard2010-07-29
| |
* | altosui: Switch eeprom extension back to .eepromKeith Packard2010-07-29
| |
* | Add Mac OS X packaging bitsKeith Packard2010-07-29
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: construct Darwin application directoryKeith Packard2010-07-29
| | | | | | | | | | | | | | This adds the necessary files and build steps to construct AltosUI.app on a Darwin system. Signed-off-by: Keith Packard <keithp@keithp.com>
* | libaltos: build with java src encoding UTF8Keith Packard2010-07-29
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: remove debug printfKeith Packard2010-07-29
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Close serial, join reader thread, free altos_fileKeith Packard2010-07-29
| | | | | | | | | | | | | | | | | | Separating out the close and free actions ensures that the reader thread will not access freed memory or dereference a null pointer while shutting down the connection to the serial device. Otherwise, a race condition exists between the serial close and the thread join. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Remove unnecessary freetts .jar filesKeith Packard2010-07-29
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: check for closed serial device before readingKeith Packard2010-07-29
|/ | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Reset GPS ready status when GPS comes unlocked on the padKeith Packard2010-07-28
| | | | | | | If GPS becomes unlocked, then report that in the UI and via voice. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: report rocket ground bearing at landing only if knownKeith Packard2010-07-28
| | | | | | if state.from_pad is null, then there isn't any data to report. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Replace device dialog. Center eeprom monitor.Keith Packard2010-07-28
| | | | | | | | This adds a custom dialog for selecting device, which makes it look much nicer on the screen and allows the user to double-click on an entry to select it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix Save flight data monitor layout, add cancelKeith Packard2010-07-28
| | | | | | | | Use GridBagLayout to improve the appearance of the flight data monitor widget, add a cancel button to stop loading data (useful if the connection is wedged). Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add progress bar for eeprom downloading statusKeith Packard2010-07-28
| | | | | | | This has a progress bar tracking the state and block count while downloading stuff from telemetrum. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add eeprom data capture function. No UI yet.Keith Packard2010-07-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote branch 'keithp/macos'Keith Packard2010-07-28
|\
| * Force java source encoding to UTF-8Keith Packard2010-07-27
| |
* | Remove debug printfKeith Packard2010-07-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | Add voice test command for help in adjusting volume.Keith Packard2010-07-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | Make voice and channel menus work.Keith Packard2010-07-28
| | | | | | | | | | | | Stores voice and channel data to preferences. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Catch errors opening USB devices. Limit list to relevant devicesKeith Packard2010-07-28
| | | | | | | | | | | | | | Avoids a segfault when failing to open a device. Limit listed telemetry devices to just TeleDongle units. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'macos'Keith Packard2010-07-28
|\ \
| * | Java voice reporting cleanups.Keith Packard2010-07-27
| | | | | | | | | | | | | | | | | | | | | | | | Make sure it says something at the end of a log file replay. Make sure it reports max speed after motor burn out, and max height after apogee. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | Java clean ups -- use varargs where possible, remove AltosSerialReaderKeith Packard2010-07-27
| | | | | | | | | | | | | | | | | | | | | | | | Add methods that format stuff using String.format for voice and serial link, remove AltosSerialReader class and just embed that in the AltosSerial class directly. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | Remove directories as .class file dependencies; it makes them get rebuilt ↵Keith Packard2010-07-27
| | | | | | | | | | | | all the time
| * | Clean up altosui build a bitKeith Packard2010-07-27
| |/
| * Add application icons for Mac OS XKeith Packard2010-07-27
| |
| * Add Mac OS X packaging files for altosuiKeith Packard2010-07-27
| |
| * libaltos: build fat 10.5-compatible libraryKeith Packard2010-07-27
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * libaltos: make clean remove all built filesKeith Packard2010-07-27
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * libaltos needs -I. on all systemsKeith Packard2010-07-27
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * Darwin doesn't have strndup.Keith Packard2010-07-26
| | | | | | | | | | | | This provides a private version of this GNU extension. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Re-enable Linux support for altosui.Keith Packard2010-07-26
| | | | | | | | | | | | | | This steals code from cc-usbdev for scanning the USB tree and uses the same tty code as on Darwin Signed-off-by: Keith Packard <keithp@keithp.com>
| * Re-enable freettsKeith Packard2010-07-26
| |
| * Present list of altos devices in nice formatKeith Packard2010-07-26
| |
| * Switch AltosUI to libaltos for device accessKeith Packard2010-07-26
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * Add libaltos which talks to USB connected altos devicesKeith Packard2010-07-26
| |
* | Make ao_log_data re-entrant as it is used for both sensor and GPS logsKeith Packard2010-07-28
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because ao_log_data is called from two different threads, failing to make it re-entrant would cause the 'log' pointer parameter to get overwritten if another thread asked to log data while the eeprom was busy writing out a block. This would cause the second thread to re-writing data from the first thread's address, but without re-checksumming the data as the checksum is computed before the log mutex is taken. The bug can be seen by log blocks with invalid checksums. Here's what happens with the ao_gps_tracking_report and ao_log threads: ao_gps_tracking_report ao_log Writes a bunch of records *blocks* in the eeprom flush sets ao_log_data 'log' to global 'log' computes checksum for 'log' block *blocks* on ao_log_mutex Wakes up sets ao_log_data 'log' to 'gps_log' writes remaining records 'gps_log' is left with svid = 0 *blocks* on ao_gps_tracking_data writes data, reading from the current ao_log_data 'log' pointer which points at 'gps_log' Making ao_log_data re-entrant fixes this by ensuring that the 'ao_log' thread has its own copy of the ao_log_data 'log' parameter. I made this function take an __xdata restricted pointer so that it could be passed in the dptr register instead of needing to go on the stack. Signed-off-by: Keith Packard <keithp@keithp.com>
* When the EP0 IN buffer is full, don't panic, just skip sending anotherKeith Packard2010-07-26
| | | | | | | | | | If the host doesn't pull the IN packet out of EP0 before sending another SETUP command along, the IN buffer will still be busy when we try to reply to the SETUP command. While I don't quite understand why this would ever happen, there's no need to panic about it, just drop the reply packet on the floor. Signed-off-by: Keith Packard <keithp@keithp.com>
* fix text since TM only has one led to blinkBdale Garbee2010-07-21
|
* update changelogs for Debian builddebian/0.6+236+gcd8aa79Bdale Garbee2010-07-20
|
* update to latest Debian standards versionBdale Garbee2010-07-20
|
* update changelogs for Debian builddebian/0.6+234+g8f19337Bdale Garbee2010-07-20
|
* reflect documentation file name changeBdale Garbee2010-07-20
|
* update changelogs for Debian builddebian/0.6+232+g74c67fcBdale Garbee2010-07-20
|
* add build dep for sndfileBdale Garbee2010-07-20
|
* update changelogs for Debian builddebian/0.6+230+g15a6791Bdale Garbee2010-07-20
|
* update changelogs for Debian builddebian/0.6+229+ge747954Bdale Garbee2010-07-20
|
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2010-07-20
|\
| * Switch DBG pins to GPIO when using any debug commands. Reboot to restore.Keith Packard2010-07-14
| | | | | | | | | | | | | | | | | | | | | | | | If you want to use TeleMetrum as a debug dongle, you need to flip the three pins used to talk to the remote debug port from SPI mode to GPIO mode. This patch doesn't provide any way to get back to SPI mode, so you'll have to reboot the TeleMetrum to write out config parameters or log flight data after using any debug commands. Signed-off-by: Keith Packard <keithp@keithp.com>