summaryrefslogtreecommitdiff
path: root/src/util
Commit message (Collapse)AuthorAge
* altos: Add 100ms constants for baro Kalman filterKeith Packard2017-04-27
| | | | | | MicroPeak v2 uses this rate. 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 the ability to configure a different USB vendor IDKeith Packard2015-03-19
| | | | | | | ChaosKey will use an OpenMoko vid/pid, so we need the ability to configure a different USB vendor ID for each product. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add smaller pa to altitude table for TeleMiniKeith Packard2014-07-09
| | | | | | | TeleMini doesn't have space for the larger table, and the smaller one isn't that much less accurate at lower altitudes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add ublox checksum app to generate ublox config linesKeith Packard2013-05-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add atmosphere.5cKeith Packard2013-02-04
| | | | | | Shared code for building pressure tables Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add computation of MicroPeak Kalman correction coefficientsKeith Packard2013-01-16
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: make check-avr-mem utility executableKeith Packard2012-10-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Parameterize altitude table access and initializationKeith Packard2012-10-12
| | | | | | | | | | This allows projects to store the altitude data in different representations or with different access modes. By default, altitude data is stored in meters, but the initializers include decimeter values so those can be used instead if desired. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink Pa to altitude tableKeith Packard2012-09-21
| | | | | | | This improves the computation of the table enough that errors from a 470 entry table are almost all < 0.5m. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Software implemenation of CC1111 radio encodingKeith Packard2012-06-17
| | | | | | | Add CRC, whitening, FEC and interleaving routines for transmission path to allow cc1120 to send telem packets to cc1111. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add conversion between Pa and metersKeith Packard2012-05-18
| | | | | | To be used with the MS5607 which generates data in calibrated units. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove debug printf from cc1111 check-stack scriptKeith Packard2012-04-14
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Check for cc1111 flash overflowKeith Packard2012-04-09
| | | | | | | The linker is supposed to do this, but it ignores the static initializer data added after the code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Check pdata+xdata memory usage during buildKeith Packard2011-11-12
| | | | | | | | | | | The sdcc linker doesn't check the sum of pdata+xdata memory usage, it only ensures that xdata itself is small enough. This doesn't keep xdata below the end of usable ram on the cc1111 though (0xfe000). Fix up the check-stack program to also make sure all of xdata fits in available memory. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/avr: Must leave space for init stack in ramKeith Packard2011-10-11
| | | | | | | The stack used during system initialization lives at the top of RAM, so leave some space for that. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Improve TM v1.0 apogee estimateKeith Packard2011-10-08
| | | | | | | | | | | | | | | | | | | | | v1.0 boards have noisy accelerometer data caused by interactions between RF transmission and the accelerometer measurements; this noise generates a negative bias in the accelerometer readings. The net effect is that the estimated speed is lower than the actual speed, causing early an apogee estimate. By increasing the sigma value for accelerometer data, the kalman filter 'trusts' the acceleration data less, putting more weight on the barometer data. This causes the estimated time of apogee to be closer to the correct value. This reduces the response to changes in acceleration. This new value is applied solely to TeleMetrum v1.0 boards. v1.1 boards correct for this error, and hence can use the correct sigma value for the accelerometer. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix make-kalman to run under dashKeith Packard2011-09-21
| | | | | | Dash can't deal with >&, so use the old-school > file 2>&1 Signed-off-by: Keith Packard <keithp@keithp.com>
* fix bashism that prevents building with /bin/sh->/bin/dashBdale Garbee2011-09-21
|
* altos: Integrate telescience supportKeith Packard2011-08-26
| | | | | | Adds a few drivers including an LCD driver Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Restructure altos build to prepare for multi-arch supportKeith Packard2011-08-25
Split out sources into separate directories: core: architecture and product independent bits cc1111: cc1111-specific code drivers: architecture independent drivers product: product-specific sources and Makefile fragments util: scripts for building stuff This should have no effect on the built products, but testing is encouraged Signed-off-by: Keith Packard <keithp@keithp.com>