summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos: Move micropeak sources aroundKeith Packard2013-09-15
| | | | | | | | This sticks the micropeak sources in appropriate directories, rather than in the micropeak product directory so that they can be shared with future micropeak-style products. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Include device name in Table viewKeith Packard2013-09-06
| | | | | | It's part of the telemetry, so we might as well display it Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: TeleMetrum v2 telemetry includes computes Pa/°C, not raw valuesKeith Packard2013-09-06
| | | | | | | Telemetry sends converted pressure/temp values as it doesn't include the MS5607 calibration data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add receiver serial to telem file namesKeith Packard2013-09-06
| | | | | | Makes it easy to record telemetry from multiple sites and compare them later. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Set 'flight' value in AltosEepromMonitor window during downloadKeith Packard2013-09-06
| | | | | | This feature was lost in the AltosState updates Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Load Telem files in AltosDataChooser tooKeith Packard2013-09-06
| | | | | | Telem file loading was stubbed out from AltosState changes Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add TeleMini eeprom file to Makefile.amKeith Packard2013-09-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Lock access to AltosLink config_dataKeith Packard2013-09-06
| | | | | | | Prevents multiple callers from trying to get config data at the same time and messing up the serial line Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Set 'valid' for valid TeleMetrum eeprom downloadKeith Packard2013-09-06
| | | | | | | Had separate 'tick_valid' value, which wasn't useful as the supertype didn't look there. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui: Add TeleMini-v1.0 eeprom supportKeith Packard2013-09-06
| | | | | | Got lost in the AltosState transition Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debugging printf from InfoTableKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Set tick value in new TeleMetrum v2 sensor packetsKeith Packard2013-09-05
| | | | | | Was getting left with the old value, which wasn't very useful Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-telem: Parse new TM v2 packetsKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix 'Graph Flight' button in landed dialogKeith Packard2013-09-05
| | | | | | Telemetry file reading was broken (oops!) Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove debug printf from AltosTelemetryMetrumSensorKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Rewrite AltosTelemetryIterableKeith Packard2013-09-05
| | | | | | Sort while reading instead of sorting separately. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Record time_change in AltosState correctlyKeith Packard2013-09-05
| | | | | | time_change is used to make real-time playback work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Update received time when replaying flightsKeith Packard2013-09-05
| | | | | | | Received time is otherwise recorded as the time when the packets were read from the file, which doesn't work in real-time playback Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Only open log file when both flight and serial are knownKeith Packard2013-09-05
| | | | | | | Some telemetry formats include serial and flight in different packets, so wait for both before creating the file Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Use AltosTelemetry.parse to pull telem lines apartKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove more AltosRecord based filesKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: remove AltosRecord based eeprom codeKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove AltosRecord-based telemetry codeKeith Packard2013-09-05
| | | | | | All of this is now AltosState based Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: convert rogue files to unix line endingsMike Beattie2013-09-05
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: more updates for new AltosStateMike Beattie2013-09-05
| | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org> Conflicts: altosdroid/src/org/altusmetrum/AltosDroid/AltosVoice.java
* altosdroid: update to support new state codeMike Beattie2013-09-05
| | | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org> Conflicts: altosdroid/src/org/altusmetrum/AltosDroid/TabAscent.java altosdroid/src/org/altusmetrum/AltosDroid/TabDescent.java altosdroid/src/org/altusmetrum/AltosDroid/TabPad.java
* altoslib: Finish AltosState changes. Update version number.Keith Packard2013-09-05
| | | | | | | Removes all of the AltosRecord bits, changes the monitor idle bits to have per-object state updaters. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Set measured acceleration for measured accelerationKeith Packard2013-09-03
| | | | | | Was setting computed acceleration even for measured data Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Clear sat data when tick changesKeith Packard2013-09-03
| | | | | | | Sat data comes in multiple records, but the tick is always the same, so use that to tell when the set of sats is new Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Start integrated value at 0 by defaultKeith Packard2013-09-03
| | | | | | Check for MISSING and start at zero in that case Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Use first few baro samples for ground pressure on TMKeith Packard2013-09-03
| | | | | | | TM didn't record the ground baro reading in the log file, so pull out the first few measured baro samples and use those instead. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Make Ascent/descent use different filter values. Always filter.Keith Packard2013-09-03
| | | | | | | | | In derivative code, use a shorter filter during ascent as the baro sensor is cleaner then. Then, make sure to always filter the values as the very first few baro samples can be noisy, which generates a bad starting speed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove duplicate cmd/tick from TM eeprom file codeKeith Packard2013-09-03
| | | | | | Also replace tick setting with super call (which does that) Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Clean up metrum eeprom file readingKeith Packard2013-09-03
| | | | | | Spurious tick setting, fix some local variable names Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Correct mega/metrum eeprom years by adding 2000Keith Packard2013-09-03
| | | | | | The files contain a single byte for year, which is always years since 2000. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Correct tick wrapping in eeprom file readingKeith Packard2013-09-03
| | | | | | | Just need to signal that at least one record has been read to know when to start checking for wrap Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Ensure eeprom file body always existsKeith Packard2013-09-03
| | | | | | Create an empty list of body elements if none were read from the file Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: More AltosState hackingKeith Packard2013-09-02
| | | | | | EasyMini graphs are looking good now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Not all products have pins to control flash loaderKeith Packard2013-09-02
| | | | | | TeleGPS has no exposed pins for this function Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui: Further AltosState transition workKeith Packard2013-08-31
| | | | | | | Parses most eeprom and telem records now; altosui updated to show from AltosState info. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps: Initialize logging systemKeith Packard2013-08-31
| | | | | | Otherwise, very little logging works Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' into new-stateKeith Packard2013-08-31
|\
| * altos/lpc: Add bits for building flash loadersKeith Packard2013-08-31
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib/altosui: Fixes for state changesKeith Packard2013-08-31
| | | | | | | | | | | | | | Format for gps alt (now double). Use new code for csv file loading. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib/altosui: Get legacy telem working with new AltosState structureKeith Packard2013-08-31
| | | | | | | | | | | | Make AltosTelemetry work without AltosRecord Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib, altosui: Restructured state management now does TM eeprom filesKeith Packard2013-08-29
| | | | | | | | | | | | | | Removed uses of AltosRecord from AltosState, now just need to rewrite the other AltosState changing code to match Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Split EasyMini and TeleMini log formatsKeith Packard2013-08-29
| | | | | | | | | | | | | | Same data, but EasyMini uses a 3.0V supply while TeleMini uses 3.3V, which changes the intepretation of all of the ADC values Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Start restructuring AltosState harderKeith Packard2013-08-29
|/ | | | | | | Make per-packet code update state itself rather than having all state updates done centrally. Will make adding new packet types easier. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote-tracking branch 'origin/telemini'Keith Packard2013-08-28
|\ | | | | | | | | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com> Conflicts: src/core/ao_telemetry.c src/core/ao_telemetry.h Added both Mini and Metrum telemetry defines
| * altos: Don't use ao_data on cc1111 projectsteleminiKeith Packard2013-08-26
| | | | | | | | | | | | | | | | cc1111 ao_adc.c supplies the needed globals at this point, and linking both into the program leads to two different versions of each at different addresses (yay SDCC linker!) Signed-off-by: Keith Packard <keithp@keithp.com>