summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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>
| * altos: Make ao_wakeup reentrantKeith Packard2013-08-26
| | | | | | | | | | | | In case we end up invoking it from two places at once. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Check for MS5607 MISO low before sleepingKeith Packard2013-08-26
| | | | | | | | | | | | | | If the MISO line goes low before we manage to configure the interrupts, we'll miss it entirely unless we check the pin explicitly. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telemini-v2.0: Add ao_exti.h depend. Init beeper and usb.Keith Packard2013-08-26
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Use %ld and %lu for MS5607 debug outputKeith Packard2013-08-26
| | | | | | | | | | | | The value are 'long', so use the right printf format. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/cc1111: Wake up non-ADC sensor code each timer tickKeith Packard2013-08-26
| | | | | | | | | | | | Make sure the MS5607 code gets told to sample every tick Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/cc1111: Leave pin interrupts completely disabled at init timeKeith Packard2013-08-26
| | | | | | | | | | | | | | Don't even turn in the PICTL bits as that seems to cause the chip to be unhappy. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Get telemini to copy current MS5607 state to ring.Keith Packard2013-08-26
| | | | | | | | | | | | | | The ADC code is responsible for actually inserting the non-ADC data into the ring, so do the copy there. Signed-off-by: Keith Packard <keithp@keithp.com>
| * cc1111: Hacky pin interrupt support. Only useful for TeleMini v2Keith Packard2013-08-26
| | | | | | | | | | | | This code is designed to support the MS5607 MISO interrupt bits. Signed-off-by: Keith Packard <keithp@keithp.com>
| * cc1111: Rework ADC configuration a bit, fix Tm V2 ADC usageKeith Packard2013-08-26
| | | | | | | | | | | | | | The Tm v2 ADC code was not actually fetching and storing the ADC conversion values. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-tools: Use TeleDongle for default ao-dbg targetKeith Packard2013-08-26
| | | | | | | | | | | | Makes more sense than assuming we're still using the old TI developer board. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Build more products by defaultKeith Packard2013-08-25
| | | | | | | | | | | | We keep creating more hardware... Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Changes required by cc1111 multi-spi supportKeith Packard2013-08-25
| | | | | | | | | | | | These drivers got missed Signed-off-by: Keith Packard <keithp@keithp.com>
| * Bump version to 1.2.9.21.2.9.2Keith Packard2013-08-25
| | | | | | | | | | | | Set version for Airfest testing Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/teletiny-v2.0: Support multiple SPI busses on CC1111Keith Packard2013-08-25
| | | | | | | | | | | | Needed for TeleMini v2.0 Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add exti and spi to telemini-v2.0Keith Packard2013-08-25
| | | | | | | | | | | | No longer builds like this Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Make TeleMini v2.0 fitKeith Packard2013-08-25
| | | | | | | | | | | | Mash lots of storage locations and code around to shrink stuff down to size Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add 64-bit subtractionKeith Packard2013-08-25
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add 64x64 multiply. Test 64 ops for dest same as either sourceKeith Packard2013-08-25
| | | | | | | | | | | | | | The test change is to ensure that the destination may be one of the 64 bit sources. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Make 64x16 mul a bit fasterKeith Packard2013-08-25
| | | | | | | | | | | | the unsigned 32x32 multiply really does work, just use it Signed-off-by: Keith Packard <keithp@keithp.com>