summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* altos: Add telegps-v1.0 code and loader1.3.2.2Keith Packard2014-06-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps-v0.3: Remove ao_flight_number from main programKeith Packard2014-06-05
| | | | | | We've got logging enabled now Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps-v0.3: Disable APRS by default. Set log max to 1MKeith Packard2014-06-05
| | | | | | And adjust default radio cal to be a bit closer Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Force telemetry on by default for v0.3 TeleGPS boardsKeith Packard2014-06-05
| | | | | | | These don't have a USB connect indicator, so just turn on telemetry by default Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: HAS_USB_CONNECT has been changed to mean a custom pinKeith Packard2014-06-05
| | | | | | | | The LPC stuff isn't actually very useful and TeleGPS uses a custom pin instead, and was using HAS_USB_CONNECT to mean the same thing. That wasn't good. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix config to set default log size for all devices with logKeith Packard2014-06-05
| | | | | | Not just devices with flight Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add AO_LOG_FLIGHT packet to TeleGPS logsKeith Packard2014-06-05
| | | | | | This encodes the flight number for tracking of data files. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps-v0.3: Add tracker taskKeith Packard2014-06-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add debug to tracker to force launchKeith Packard2014-06-05
| | | | | | This lets us test the move from pad to drogue state Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: tracker distance computation flipped arguments aroundKeith Packard2014-06-05
| | | | | | ao_distance takes (lat, lon, lat, lon) not (lat, lat, lon, lon) Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix tracker start stateKeith Packard2014-06-05
| | | | | | | | | Make sure log can start by scanning existing logs Enable RDF by default Turn off telemetry until we decide whether to turn it on in the loop Allow TeleGPS v0.3 to run without ADC Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Stick flight state in GPS location packetsKeith Packard2014-06-05
| | | | | | Useful for TeleGPS Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Have tracker average 5 GPS samples before moving to pad modeKeith Packard2014-06-05
| | | | | | Avoids early GPS noise right after lock Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Change tracker not-moving speed to 2m/s and documentKeith Packard2014-06-05
| | | | | | Just adjust to avoid sensing motion from GPS noise Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: ao_distance was overflowing when checking for longitude wrapKeith Packard2014-06-05
| | | | | | Need to shift everyone right one bit to fit in 32 bits Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow cc115l driver to be built without radio power controlKeith Packard2014-06-05
| | | | | | TeleGPS just wants full power, so remove the configuration option Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Include sensor logging task only on flight boardsKeith Packard2014-06-05
| | | | | | | This lets TeleGPS use the logging infrastructure without wasting a task to log sensor data Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add tracker task for TeleGPSKeith Packard2014-06-05
| | | | | | | This replaces the flight code to monitor GPS state and switch flight states between startup/pad/drogue Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add ao_distance.c to compute cartesian distances on the globeKeith Packard2014-06-05
| | | | | | | This is not a great circle distance, but should be good enough for points reasonably close together Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fetch/store only 8 bits for pyro state valuesKeith Packard2014-06-02
| | | | | | | These fields are uint8_t, not int16_t. Fetching and storing 16 bits is a bad idea. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Maximum pyro configuration parameter has 4 bytes in the nameKeith Packard2014-06-02
| | | | | | | | "f>=" needs four bytes, not just three to store the whole string. If we only store three, then we never manage to compare correctly as the null terminating byte is missing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Configuring pyro channels can use more than 48 charactersKeith Packard2014-06-02
| | | | | | | Increase the command buffer from 48 to 128 bytes to hold the longest pyro configuration commands Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow sparse GPS data logging for TeleGPSKeith Packard2014-05-30
| | | | | | | When the device hasn't moved for a while, stop logging data. Start as soon as it moves again. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Test APRS altitude encodingKeith Packard2014-05-30
| | | | | | Verify fixed point version against naïve implementation Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch APRS altitude encoding computation to fixed pointKeith Packard2014-05-30
| | | | | | | | | APRS altitude is logarithmically encoded, so this implementation includes a fixed point log-base-2 function along with a bit of other fixed point stuff. This eliminates all floating point from TeleGPS, saving around 4kB of code space. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fake flight code changes in kernel and stmKeith Packard2014-05-27
| | | | | | | Redirects data input from local sensors to USB sourced data, leaving USB enabled when the computer goes into pad mode. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Fix ADC structure for mega, use ao_config.hKeith Packard2014-05-25
| | | | | | | | This switches from hand-coding the ao_config structure to using ao_config.h and also updates the ADC structure for ao_flight_test_mega to using the same one as telemega does natively Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Move ao_config declarations to ao_config.hKeith Packard2014-05-25
| | | | | | No sense leaving these in ao.h, and it's nice to make that file smaller Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make MS5607 PROM a public variableKeith Packard2014-05-25
| | | | | | | This will let the fake flight code update it as necessary, without creating a new interface in ao_ms5607.c Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add config values for tracker start motion limitsKeith Packard2014-05-21
| | | | | | | | TeleGPS switches from 'pad' to 'drogue' states after the device moves a specified distance from the initial starting point. These values can be configured, and this is the configuration for them. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Parse mega ground data. Fix pyro parsingKeith Packard2014-05-21
| | | | | | This gets ao_flight_test_mega working with eeprom files Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Get APRS generation test working againKeith Packard2014-05-21
| | | | | | | APRS now includes sat info, so we have to fake that up to generate an APRS test file Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Don't define ao_ignite_decivolt without ignitersKeith Packard2014-05-21
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Expose ao_gps_set_rate from u-blox driverKeith Packard2014-05-21
| | | | | | This lets applications set the desired GPS update rate to reduce power usage Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix cc115l debug buildKeith Packard2014-05-21
| | | | | | | New compiler warning flags and moving to the nxp require a few minor changes in the code to make it work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow APRS to send just battery voltageKeith Packard2014-05-21
| | | | | | Don't require apogee and main voltages as well Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: whitespaceKeith Packard2014-05-21
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: adc code computes number of active ADC channelsKeith Packard2014-05-21
| | | | | | | Don't require the application to provide AO_NUM_ADC when AO_ADC_NUM is computed automatically. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: Make stm applications depend on ao_boot.hKeith Packard2014-05-21
| | | | | | This should make sure they get recompiled when boot stuff changes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: stm and lpc ao_boot.h were identical. move to kernel.Keith Packard2014-05-15
| | | | | | | These two files were absolutely identical, so share them by moving under kernel instead.x Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use explicit boot loader signal in ao_boot_rebootKeith Packard2014-05-15
| | | | | | | | Instead of just "knowing" that ao_boot_loader will be passed zero when the application wants to get back to the boot loader, explicitly define the values so that both sides always agree. Signed-off-by: Keith Packard <keithp@keithp.com>
* include EasyMega MakefilesBdale Garbee2014-05-15
|
* working?Bdale Garbee2014-05-15
|
* lose the (old) easymega-v1.0 directory in favor of my fresher 0.1Bdale Garbee2014-05-15
|
* altos: Make quadrature debounce per-pin rather than per-deviceKeith Packard2014-05-15
| | | | | | | Debouncing per-pin means we don't lose transitions, which makes counting a lot more precise. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telemini-v2.0: Enable beep frequency configurationKeith Packard2014-05-15
| | | | | | Now that there's space for this, add it in. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telemini-v2.0: Remove old baro->alt conversion tableKeith Packard2014-05-15
| | | | | | TeleMini doesn't have two baro sensors... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/cc1111: Switch P1_0 from a green LED to USB pullupKeith Packard2014-05-15
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/cc1111: Add support for CPU-driven USB pullupKeith Packard2014-05-15
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/cc1111: Errata fix isn't needed for discontinued productsKeith Packard2014-05-13
| | | | | | And, doesn't fit in memory for some of them, so don't compile it. Signed-off-by: Keith Packard <keithp@keithp.com>