summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos/test: Add fake flight creation toolfake-flightKeith Packard2017-09-18
| | | | | | This reads eeprom data and generates a fake flight record Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telemega-v1.0: Add fakeflight supportKeith Packard2017-09-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Flush pyro updates during fake flightKeith Packard2017-09-18
| | | | | | Let them appear at the right time. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-sendfake: Show progress sending flight dataKeith Packard2017-09-18
| | | | | | Print '.' after each chunk. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Create ao-sendfake to send flight data for simulation runsKeith Packard2017-09-18
| | | | | | | This sends a binary data stream to the flight computer over USB to simulate flights using as much of the real firmware as possible. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-fakeflightKeith Packard2017-09-18
| | | | | | | This generates a TeleMetrumV2 eeprom file with a fake flight for use in testing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Avoid crashing when computing stats for empty flight logsKeith Packard2017-09-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Fix up TeleGPS UI bits after accel cal changesKeith Packard2017-09-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* test/ao_flight_test: Show recorded pyro firingKeith Packard2017-09-18
| | | | | | Can compare with computed values. Signed-off-by: Keith Packard <keithp@keithp.com>
* publish support for TeleGPS v2.0Bdale Garbee2017-09-17
|
* deal with cheap BT dongle that shows multiple copies of unit in lescan outputBdale Garbee2017-09-14
|
* altosuilib: Make steps in accel cal default buttonKeith Packard2017-09-12
| | | | | | This way you can just hit return through the process. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Handle new eeprom file format. Give up on telem files.Keith Packard2017-09-12
| | | | | | | Parse eeprom config using libjson-c, then read the hex values into a giant blob. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix debug printf in ao_pyro for state >=Keith Packard2017-09-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* chaoskey: Wait for input data to stabilize before using itKeith Packard2017-09-12
| | | | | | | The ADC data takes a while to start working after power on; wait for the range of input values to look reasonable before using the data. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add forward reference from 'idle' description to idle entry steps.Keith Packard2017-09-12
| | | | | | | This provides a reminder that entering idle mode takes specific steps which differ between models. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Handle missing GPS when graphing mega/metrum dataKeith Packard2017-09-12
| | | | | | | These have GPS, but if we never get a valid packet, then there won't be any final position to display. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debug printfs in FC config UIKeith Packard2017-09-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Display serial, call, freq in tracker listKeith Packard2017-09-12
| | | | | | This makes the list a lot easier to find entries in when it gets long. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Make receive frequency available in telem dataKeith Packard2017-09-12
| | | | | | This lets AltosDroid record which frequency each station was heard on. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove debug stack dump from AltosStateKeith Packard2017-09-12
| | | | | | | An empty AltosState is allocated when parsing JSON data; it's not a mistake. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Correctly parse IMU cal dataKeith Packard2017-09-12
| | | | | | | Was trying to match 'IMU call along' instead of 'IMU cal along', causing the line to not match and losing the IMU accel cal values. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-chaosread: Add -Wall -Wextra, clean up resultsKeith Packard2017-09-12
|
* altosui: Accel calibration UIKeith Packard2017-09-01
| | | | | | Provides a GUI for re-calibrating accelerometers Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump to version 1.8.1.1/android 16 for altosdroid1.8.1.1Keith Packard2017-08-31
| | | | | | | | AltosDroid 1.8.1 got released before the latest fix for not storing frequency preferences was made. Make a 1.8.1.1 with a new android release number for that. Signed-off-by: Keith Packard <keithp@keithp.com>
* need to capture .bin file for telebt-v4.0 loaderBdale Garbee2017-08-28
|
* a few tweaks to the Releasing document based on experience with 1.8.1Bdale Garbee2017-08-28
|
* Version 1.8.1Keith Packard2017-08-28
| | | | | | Android version 15 Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Update for 1.8.1Keith Packard2017-08-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Don't compute filtered average of height error when HAS_ACCELKeith Packard2017-08-28
| | | | | | | | We only use this for baro-only devices to avoid firing drogue charges at mach transitions; we trust the combination of accel+baro to do the right thing when available. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Fix freq preference loadingKeith Packard2017-08-28
| | | | | | | Allocate throw-away freq array to get the class pointer. Add null-ary AltosFrequency constructor for JSON code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make --oneline show drogue deploy speedKeith Packard2017-08-27
| | | | | | Also remove some commented out values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Compute speed at entry to each stateKeith Packard2017-08-27
| | | | | | Useful to have drogue/main deployment speeds Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Fix parsing of old TM log GPS sat dataKeith Packard2017-08-27
| | | | | | | Attempting to fetch sat data from wrong byte led to array bounds exception. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Allow for missing product when checking for mma655x invertedKeith Packard2017-08-27
| | | | | | If there's no product, assume we've got some ancient log file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove debug printf for gyro adjustKeith Packard2017-08-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Fake baro data for flight 12 serial 2093Keith Packard2017-08-27
| | | | | | | | This flight had a baro spike due to an accidental drogue charge firing but is otherwise quite useful when testing for various mach delay effects, so fake out the data during that spike. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Integrate raw accel to provide speed for comparisonKeith Packard2017-08-27
| | | | | | | | This can provide a useful visualization of the 'true' vs 'kalman' speed value, as the kalman is necessarily delayed due to the model assuming constant acceleration. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: telemetrum baro data is inverted before being written to eepromKeith Packard2017-08-27
| | | | | | No need for the test code to invert it during replay Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Don't eliminate baro above mach speed, just trust it lessKeith Packard2017-08-27
| | | | | | | | | | | | | | | | | | | | | | | | Instead of completely eliminating the baro sensor above mach speed, just derate it a bit so that the accel will dominate for speed computation and keep the device from false-triggering across mach transitions. When we completely ignored the baro sensor above mach, and the flight spent considerable time in that speed range, then the estimated height could be far from the real value. When the estimated speed dropped back down and the baro values were brought back into the computation, then the resulting rapid shift in estimated speed could trigger accidental apogee detection. By mixing in a bit of baro data even above mach, we keep the estimated height closer to the baro value and prevent this error, at least in flights measured so far. The flight known to have this problem is: 2015-09-26-serial-2093-flight-0012.eeprom Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Eliminate separate height error filter for accelerometer devicesKeith Packard2017-08-27
| | | | | | | We don't use the error value in flight for those models anyways; it's only useful on baro-only hardware. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add --oneline mode to briefly summarize flightsKeith Packard2017-08-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Add "Huge" font sizeKeith Packard2017-08-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Track font changes in raw data displayKeith Packard2017-08-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Perform time comparisons using 16-bit arithmetic to handle wrapKeith Packard2017-08-27
| | | | | | | Subtracting two 16-bit unsigned values to perform time comparisons yields mystic results unless we carefully cast that to int16_t. Signed-off-by: Keith Packard <keithp@keithp.com>
* install: Add 'fat-install' targetKeith Packard2017-08-12
| | | | | | | | | | | | | This uses the existing --with-fat-dir option and instead of installing everything to that directory, creates a normal ikiwiki hierarchy of files including .mdwn files, whacked release notes html files and all of the appropriate packages. One stop shopping for adding the release to the web site. Attempted to update Releasing file to match. Signed-off-by: Keith Packard <keithp@keithp.com>
* releasing 1.81.8Bdale Garbee2017-08-12
|
* update docinfo file for 1.8 releaseBdale Garbee2017-08-12
|
* Note that telebt 4.0 files need to go to altusmetrumllc dirKeith Packard2017-08-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump version to 1.8Keith Packard2017-08-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>