summaryrefslogtreecommitdiff
path: root/src/kernel/ao_log.h
Commit message (Collapse)AuthorAge
* altos: Create separate log format for EasyMini v2.0Keith Packard2017-06-11
| | | | | | | The ADC in the STM32F0 is different than the LPC, with a range of 0-4095 instead of 0-32767. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: HMC5883 output order is X Z YKeith Packard2017-06-11
| | | | | | | | | | Re-label everything to have the correct names. This doesn't actually change the code at all, so the eeprom and telemetry is all compatible. Matching changes on the host side will be required to actually process the data correctly, of course. Signed-off-by: Keith Packard <keithp@keithp.com>
* telefiretwo: don't try to record pre-burn sensor values in FLIGHT recordBdale Garbee2017-05-11
|
* fleshing out logging for telefiretwoBdale Garbee2017-04-22
|
* altos: Split out TeleMini v3 log/telem labelingKeith Packard2017-02-20
| | | | | | | Allow the ground software to know which TeleMini version is in use, even though they are very similar with only ADC values differing. Signed-off-by: Keith Packard <keithp@keithp.com>
* Switch from GPLv2 to GPLv2+Keith Packard2016-07-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add Detherm log format (easymini without ADC)Keith Packard2016-04-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix syntax error with ao_log_mega change.Keith Packard2014-10-04
| | | | | | Missed a semi-colon. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Record 32-bits for gyro calibration valuesKeith Packard2014-10-04
| | | | | | | | | The gyro ground calibration values are scaled by 512 to provide a bit more precision for the computations. This means they don't fit in 16 bits, so change the format of the flight log record. Also change the reported format so that AltosUI has a chance of figuring it out. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Don't add AO_LOG_FLIGHT to existing GPS logsKeith Packard2014-09-01
| | | | | | | When appending to a TeleGPS log, don't stick another flight value into the log. That just confuses the ground station software. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps-v1.0: Provide one log and append to itKeith Packard2014-08-17
| | | | | | | | Instead of creating per-flight logs, create a single log and append data to it each time TeleGPS is powered on. This avoids potentially running out of log space just because the device is powered off/on. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Record pdop value in TeleMetrumV2 logKeith Packard2014-07-10
| | | | | | There's only one byte free, so we'll record the pdop value Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Extend GPS altitudes to at least 24 bits everywhereKeith Packard2014-07-10
| | | | | | | | Telemetry gets a special 'mode' flag indicating that 24-bit data is present; log files get new data and log readers are expected to detect that via the firmware version number. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Define ao_log_mutex in ao_log.c rather than every log productKeith Packard2014-06-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add TeleGPS logging formatKeith Packard2014-06-07
| | | | | | | | | | | | | This is mostly like the mega format, but places the flight state in a spare byte of the GPS data and writes the gps starting location to the flight packet. Log data is written by the main tracker thread; there's no reason for a separate thread given the GPS update rate and the lack of flight controls. This means ao_log_gps has an API to be called from there, rather than a thread to run. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix byte offsets in the mega AO_LOG_FLIGHT packetsKeith Packard2014-05-08
| | | | | | Just comments, but even those should be correct Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Rename 'core' to 'kernel'Keith Packard2014-04-05
core remains a bad name to use -- dirvish skips files (and directories, it seems) with that name. Signed-off-by: Keith Packard <keithp@keithp.com>