summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * altos/telemega-v1.0: Adjust config params to make flight erase workKeith Packard2014-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Flight erase records are supposed to be written after the ao_config to eeprom in telemega. They were getting written in the middle of one of the pyro channel config blocks. Put a bunch of space between the two by making the config max 1024 bytes instead of 128 bytes. Set the log erase marker to 0x55 -- eeprom comes from the factory as 0x00, so we use any value other than 0x55 to indicate 'unused' erase slots. Save space for more flight erase blocks; we've got plenty. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Clear out eeprom erase records when writing entry 0Keith Packard2014-06-07
| | | | | | | | | | | | | | | | | | | | When writing config/erase to eeprom, there's no 'erase' operation as on-chip eeprom is writable at a byte level. As such, we can't tell when the erase blocks get reset when the config gets written. When this happens, erase block 0 gets written explicitly, so just use that call to trigger explicit erasing of the data. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Allow value other than 0 for marking erased flightsKeith Packard2014-06-07
| | | | | | | | | | | | | | on-chip eeprom doesn't erase to 0xff, so let TeleMega use a different value. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Allow AO_CONFIG_MAX_SIZE to be configured. Validate it.Keith Packard2014-06-07
| | | | | | | | | | | | | | | | | | TeleMega config is 200 bytes. AO_CONFIG_MAX_SIZE was 128. That didn't work out well when logging erased flight information. Allow TeleMega to use a larger value (1k), and then do a compiler hack to make sure the defined value is at least as large as the ao_config structure. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Move ao_tracker.c to kernelKeith Packard2014-06-07
| | | | | | | | | | | | Doesn't make sense to be in product Signed-off-by: Keith Packard <keithp@keithp.com>
| * 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>
| * telegps: Update icon and icon buildingKeith Packard2014-06-05
| | | | | | | | | | | | Switch to satellite icon, build the osx and windows icons. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosuilib: Let the user hand-edit the preload map radiusKeith Packard2014-06-05
| | | | | | | | | | | | In case they want more than 5 Signed-off-by: Keith Packard <keithp@keithp.com>
| * doc: Create release notes for version 1.4Keith Packard2014-06-02
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * telegps: Trap AltosConfigDataException in telegps configKeith Packard2014-06-02
| | | | | | | | | | | | This was added for pyro configuration errors in AltosUI Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Add missing AltosConfigDataException fileKeith Packard2014-06-02
| |
| * altosui: Display error message when parsing pyro channel values failsKeith Packard2014-06-02
| | | | | | | | | | | | | | | | | | Build an exception handling chain to get numeric parse errors propagated all the way back to the original 'save' command and up into a dialog window, including the pyro channel, field and value that were in error. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Fix pyro channel value formattingKeith Packard2014-06-02
| | | | | | | | | | | | | | | | Was using %6.1f for 1 and 2 fraction digit values as the conditional structure for figuring out which format to use was broken. 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>
| * telegps: Add config for tracker starting distancesKeith Packard2014-05-30
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * telegps: Fixup windows fat build harderKeith Packard2014-05-29
| |
| * TeleGPS firmware isn't quite ready, don't include in windows fat build yetKeith Packard2014-05-29
| |
| * Capture windows build error messagesKeith Packard2014-05-29
| |
| * telegps: Add missing TeleGPSGraphUI.java fileKeith Packard2014-05-29
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * Build telegps distribution bits with 'make fat'Keith Packard2014-05-29
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * telegps: Add graph displayKeith Packard2014-05-29
| | | | | | | | | | | | Moved the altosui graph files to altosuilib and fixed things up. Signed-off-by: Keith Packard <keithp@keithp.com>
| * java: Refactor AltosFlightDisplay units and font update handlingKeith Packard2014-05-29
| | | | | | | | | | | | | | | | | | Make AltosFlightDisplay explicitly implement AltosFontListener and AltosUnitsListener interfaces to make everyone use the same API. Then, actually go implement units listeners so that changing units updates all of the active displays immediately Signed-off-by: Keith Packard <keithp@keithp.com>
| * telegps: Add info tableKeith Packard2014-05-29
| | | | | | | | | | | | | | Move a couple of files from altosui to altosuilib, hook up the info table after changing it to implement the AltosFlightDisplay interface Signed-off-by: Keith Packard <keithp@keithp.com>
| * telegps: Add flash device functionalityKeith Packard2014-05-28
| | | | | | | | | | | | Move bits from altosui to altosuilib and use those. Signed-off-by: Keith Packard <keithp@keithp.com>
| * telegps: Auto-connect to any base stations plugged in at startupKeith Packard2014-05-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * telegps: Don't try to ship TeleGPS firmware yetKeith Packard2014-05-28
| | | | | | | | | | | | It's not quite ready. Instead, ship TBT and TD firmware. Signed-off-by: Keith Packard <keithp@keithp.com>
| * telegps: Add 'Info' tabKeith Packard2014-05-28
| | | | | | | | | | | | | | This contains a summary of the tracking info, including position, speed and course. Signed-off-by: Keith Packard <keithp@keithp.com>