summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altosdroid: AltosState now has speed and max_speed funcsKeith Packard2012-10-21
| | | | | | | These pull out the appropriate baro/accel speed values and may use some fancier values in future. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add AltosRecordNone.javaKeith Packard2012-10-21
| | | | | | oops. forgot a file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Use MMA655X in ao_flight_test_mm. Add run-mm to plot mm dataKeith Packard2012-10-21
| | | | | | | | | Pull MMA655X data out of eeprom file when available. Switch build to using MMA655x by default. Clone run-one to plot a single mm flight Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Handle .mega files in Landed tab 'Graph Flight' buttonKeith Packard2012-10-21
| | | | | | Need to check for .mega files here too. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Document mega log packet typesKeith Packard2012-10-21
| | | | | | | Just add comments to ao_log.h so it's easy to remember which labels go with each record. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Parse GPS .mega file entries for reply/graphingKeith Packard2012-10-21
| | | | | | | | The .mega file parsing had a pile of leftovers from when it was cloned from the .eeprom file parsing code. Replace all of that with the right parsing bits so that GPS data will be presented correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Move computed state from AltosRecord to AltosStateKeith Packard2012-10-21
| | | | | | | Make AltosRecord simply track the raw data and have AltosState hold all computed values, including cross-packet averages and computed speeds. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Compute accelerometer speed from megametrum eeprom dataKeith Packard2012-10-21
| | | | | | Duplicates code from the TM eeprom state tracking code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: remove a couple of TM log record types from MM log parsingKeith Packard2012-10-21
| | | | | | PRESSURE and DEPLOY log records don't occurin MM eeprom files. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: MegaMetrum eeprom never loses GPS dateKeith Packard2012-10-21
| | | | | | | | TeleMetrum had a firmware bug that would fail to record the GPS date and time correctly, that was hacked around in altosui, but isn't needed for MegaMetrum. Remove those hacks from the MM path. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Correct megametrum eeprom filename dateKeith Packard2012-10-21
| | | | | | Was fetching day-of-month from the year field Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add new filename filtersKeith Packard2012-10-21
| | | | | | Allow the user to restrict filenames to telem, eeprom or mega files Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: Stop spewing clock out PA8 pinKeith Packard2012-10-21
| | | | | | | This was used to debug the clock bringup, but is not useful anymore, and probably a bad idea to boot. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' into pwmin-new1.1.9.1pwmin-newKeith Packard2012-10-18
|\
| * altosui: Re-add a couple of "unused" valuesKeith Packard2012-10-18
| | | | | | | | | | | | | | The values in these calls aren't needed, but the side-effects are, so add them back in. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Bump version to 1.1.9.1Keith Packard2012-10-18
| | | | | | | | | | | | Prepare for Rocketober/Thrustration Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/megametrum: Switch back to using the MS5607Keith Packard2012-10-18
| | | | | | | | | | | | We're planning to ship the MS5607 Signed-off-by: Keith Packard <keithp@keithp.com>
| * Merge branch 'master' into mm-ms5611Keith Packard2012-10-18
| |\ | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Fix up ms5607 and mma655x commands to work againKeith Packard2012-10-08
| | | | | | | | | | | | | | | | | | These just display the most recently fetched values Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Go back to recording sensor data in globalsmm-ms5611Keith Packard2012-10-08
| | | | | | | | | | | | | | | | | | | | | | | | Instead of trying to get things into the ring from a variety of functions, go back to the simpler method of storing them in globals and having the ADC code just pluck out the most recent values. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/megametrum: Try running accel and baro in parallel againKeith Packard2012-10-07
| | | | | | | | | | | | | | | | | | | | | Now that the baro sensor appears to be working, try running conversions in parallel to see if that makes the accel cal happy Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/stm: Set SPI clock high for disabled SPI bussesKeith Packard2012-10-06
| | | | | | | | | | | | | | | | | | | | | This should avoid an accidental low->high transition when switching between multiple SPI busses. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/stm: Clean up SPI pin configuration codeKeith Packard2012-10-06
| | | | | | | | | | | | | | | | | | | | | Make sure none of the pin configurations are being used at startup time. Split out the pin configuration into separate functions. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/drivers: Use data ring values for MS5607 presentationKeith Packard2012-10-06
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/megametrum: Make MS5607 driver hold SPI bus for whole operationKeith Packard2012-10-06
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/megametrum: Use mma655x for acceleration measurements nowKeith Packard2012-10-06
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | Merge branch 'master' into mm-ms5611Keith Packard2012-10-03
| |\ \
| * | | altos/megametrum: Commit for boards with MS5611 baro sensorKeith Packard2012-10-03
| | | | | | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altos: Build telescience-pwm product when possibleKeith Packard2012-10-16
| | | | | | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altos: Add telescience-pwm productKeith Packard2012-10-16
| | | | | | | | | | | | | | | | | | | | | | | | Split out special PWM-sampling telescience product Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altos: Only enable PWM on telescience_pwm productKeith Packard2012-10-16
| | | | | | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | telescience: correctly calculating rate values with higher resolutionRobert Garbee2012-10-16
| | | |
* | | | ICP3 workingRobert Garbee2012-10-16
| | | |
* | | | Timer 3 working with slower clock and all 16 bits.Robert Garbee2012-10-16
| | | |
* | | | first work on PWM input to TeleScience, 'p' command displays timer 1Robert Garbee2012-10-16
| | | |
* | | | telescience: steal last adc channel for icp3 most recent valueRobert Garbee2012-10-16
| |_|/ |/| | | | | | | | | | | | | | Make the ICP3 rpm counter use in ao_adc_avr.c optional Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altosui: Accept serial number of zero for eeprom downloadKeith Packard2012-10-16
| | | | | | | | | | | | | | | | | | | | | | | | AVR-based products don't have a valid serial number, and so usually report 0. Accept this by making the 'no serial number' case check for negative values. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/avr: Use ISR_BLOCK to disable interrupts during slave ISRKeith Packard2012-10-16
| | | | | | | | | | | | | | | | | | This avoids enabling and then immediatly disabling them Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altosui: Print exception stack trace when tracking flightsKeith Packard2012-10-16
| | | | | | | | | | | | | | | | | | More useful in fixing the problem Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altosui: Handle missing pad distance in descent tabKeith Packard2012-10-16
| | | | | | | | | | | | | | | | | | | | | When the GPS isn't locked, the distance from the pad cannot be computed and is left missing. Not crashing in this case is more useful. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/telelco: Make the RSSI led turn red when no packet is receivedKeith Packard2012-10-15
| | | | | | | | | | | | | | | | | | | | | This involved splitting out the notion of ever having received an answer and having received an answer from the last query. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/telelco: 10ms is not enough time to get a packet backKeith Packard2012-10-15
| | | | | | | | | | | | | | | | | | Not reliable, so bump to 20ms Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/telelco: Only display every 10th box number during scanKeith Packard2012-10-15
| | | | | | | | | | | | | | | | | | This reduces the scan time to about 4 seconds, which seems tolerable Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/telelco: Crank up SPI speed to cc1111Keith Packard2012-10-15
| | | | | | | | | | | | | | | | | | | | | | | | The cc1111 can handle up to 3MHz, so use 2MHz. Also, crank down the packet wait time to 10ms, which should be plenty long for the remote box to receive and return a packet. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/stm: Declare all SPI bus speedsKeith Packard2012-10-15
| | | | | | | | | | | | | | | | | | Just list them all so users can pick what they like Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/telelco: Actually set pad when it changesKeith Packard2012-10-14
| | | | | | | | | | | | | | | | | | Oops. Lost the actual assignment to the current pad Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/telelco: Handle case where no boxes are presentKeith Packard2012-10-14
| | | | | | | | | | | | | | | | | | Don't infinite loop looking for something which isn't there Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/telelco: Only present valid padsKeith Packard2012-10-14
| | | | | | | | | | | | | | | | | | Limit pad display to valid pads, skipping missing ones. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/telefire: Report valid channels instead of valid pinsKeith Packard2012-10-14
| | | | | | | | | | | | | | | | | | | | | Now that pins don't match channels 1:1, make sure that the report back to the LCO names the channels instead of the pin numbers. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/test: Display MPU6000 values in ao_flight_test_mm outputKeith Packard2012-10-13
| | | | | | | | | | | | | | | | | | No computation yet, just making the values visible in the output Signed-off-by: Keith Packard <keithp@keithp.com>