summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Build micropeak by defaultKeith Packard2013-01-01
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Build installable versions of MicroPeak GUIKeith Packard2013-01-01
| | | | | | | Makes windows/mac/linux versions. Windows version appears to work on Wine at least. Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Add 'Close' menu item. Fix start locationKeith Packard2013-01-01
| | | | | | | Let the window system pick a spot to place the application windows. This avoids having them all sit on top of one another. Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Fix chart colorsKeith Packard2013-01-01
| | | | | | Need to apply custom colors after setting the theme Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak is code complete now.Keith Packard2013-01-01
| | | | | | Added save and download functionality. Removed 'new' from file menu. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote-tracking branch 'origin/master' into micropeak-loggingKeith Packard2012-12-31
|\
| * altos: megadongle radio int is C13, not C14Keith Packard2012-12-28
| | | | | | | | | | | | Hard to get interrupts when listening to the wrong pin Signed-off-by: Keith Packard <keithp@gag.com>
* | Allow CC1120 to sit on other SPI bussesKeith Packard2012-12-31
| | | | | | | | | | | | | | | | Reading the incoming data bypasses the SPI API and touches the SPI data register directly; which port that is needs to be specified in the pins file Signed-off-by: Keith Packard <keithp@keithp.com>
* | micropeak: Add flight stats paneKeith Packard2012-12-31
| | | | | | | | | | | | Shows graph or stats in alternate panes Signed-off-by: Keith Packard <keithp@keithp.com>
* | micropeak: Use altosuilibKeith Packard2012-12-31
| | | | | | | | | | | | This removes a pile of code stolen from altosui Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Add units change notification listKeith Packard2012-12-31
| | | | | | | | | | | | | | This allows the UI to automatically respond to changes in the preferred units. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Create altosuilib to share code between altosui and micropeakKeith Packard2012-12-31
| | | | | | | | | | | | Need to convert altosui to using it, but that shouldn't be hard Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge remote-tracking branch 'origin/master' into micropeak-loggingKeith Packard2012-12-28
|\|
| * altos: Fix MegaDongle CC1120 chip select pinKeith Packard2012-12-28
| | | | | | | | | | | | It's on A0, not C5 Signed-off-by: Keith Packard <keithp@gag.com>
| * altos: Fix cc1120 debug code to build on megadongleKeith Packard2012-12-28
| | | | | | | | | | | | RDF function had changed, and APRS isn't available on megadongle. Signed-off-by: Keith Packard <keithp@gag.com>
* | Lots more work on the MicroPeak applicationKeith Packard2012-12-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | Add file chooser for MicroPeakKeith Packard2012-12-25
| | | | | | | | | | | | Needs reasonable directory tracking Signed-off-by: Keith Packard <keithp@keithp.com>
* | Start building MicroPeak GUI toolKeith Packard2012-12-25
| | | | | | | | | | | | Download, save and analyze MicroPeak flight data Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' into micropeak-loggingKeith Packard2012-12-25
|\|
| * altos: Actually record ground averages for 6dof sensorKeith Packard2012-12-18
| | | | | | | | | | | | | | This gets the long-term averages for the 6dof sensors recorded into the first flight log record. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Clean up graph a bit, remove shapes, improve tooltipsKeith Packard2012-12-18
| | | | | | | | | | | | | | | | Sometimes graphs would get shapes at each datapoint which was annoyingly cluttered. And, the tooltips used a format that was difficult to interpret. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Average MPU6000 values on ground for later useKeith Packard2012-12-17
| | | | | | | | | | | | | | Having long-term ground averages recorded to the eeprom file will make post-flight analysis of the data better. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Re-enable beeper on megametrumKeith Packard2012-12-16
| | | | | | | | | | | | I turned it off during radio testing and forgot to fix that before committing... Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add new MARC status pin interrupt bits to megadongleKeith Packard2012-12-16
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * Merge branch 'aprs' into 'master'Keith Packard2012-12-16
| |\
| | * altoslib: unconfigured radio frequency data is now -1, not 0Keith Packard2012-12-16
| | | | | | | | | | | | | | | | | | | | | This changed when AltosConfigData was cleaned up, so now frequency settings must check for positive numbers rather than non-zero. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * doc: Add warning about matching battery voltage.Keith Packard2012-12-15
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| | * doc: Add paragraph noting differences in JST polarityKeith Packard2012-12-15
| | | | | | | | | | | | | | | | | | | | | | | | Looks like the 'standard' polarity for 3.7V lipos using JST connectors in RC aircraft is swapped from what Spark Fun uses. Note that in the docs to try and keep people from wrecking hardware. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * Merge branch 'micropeak-1.1'Keith Packard2012-12-14
| | |\
| | * | altoslib: Discard previous flight state on SN changeKeith Packard2012-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A previous change discarded previous *telemetry* state, but failed to discard any previous overall flight state. This would reset some of the data fields, but wouldn't reset the GPS state and max measurements. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * | altoslib: Only list flight logs for boards that we know have themKeith Packard2012-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Boards that don't have flight logs will generate a nice 'Syntax Error' and fail to initialize. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * | Merge branch 'micropeak-1.1'Keith Packard2012-12-12
| | |\ \
| | * \ \ Merge branch 'micropeak-1.1'Keith Packard2012-12-12
| | |\ \ \
| | * \ \ \ Merge branch 'micropeak-1.1'Keith Packard2012-12-11
| | |\ \ \ \
| | * \ \ \ \ Merge branch 'micropeak-1.1'Keith Packard2012-12-09
| | |\ \ \ \ \
| * | | | | | | altos: Wire up another CC1120 GPIO to get MARC status changesKeith Packard2012-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the radio drops out of RX or TX mode due to an error, it changes the MARC status, and sends pulse down a configured GPIO. Use this to tell when something 'bad' happened during TX or RX so that we can recover from losing the SPI bus in the middle of transmission or reception. Without this, the radio would change state and we'd never know, leaving the radio code waiting for an interrupt that would never arrive. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | | | | | | altos: Test APRS rounding by using coordinates near the boundaryKeith Packard2012-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This selects lat/lon and altitude near the rounding boundary to check that the resulting APRS data is correctly computed. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | | | | | | altos: Document what HAS_BOOT_RADIO does in the m25 driverKeith Packard2012-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HAS_BOOT_RADIO causes the m25 driver to abort any ongoing receive in case that is holding the SPI bus. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | | | | | | altos: Round APRS data correctlyKeith Packard2012-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply rounding once at the start of the computation, then truncate after that. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | | | | | | altos: Stop including profiling and stack guard code in megametrumKeith Packard2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These take CPU time and memory and are intended only for debugging Signed-off-by: Keith Packard <keithp@keithp.com>
| * | | | | | | altos: Fix aprs test to not allow callsign configurationKeith Packard2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no configuration to take a callsign from... Signed-off-by: Keith Packard <keithp@keithp.com>
| * | | | | | | altosui: Add APRS interval configuration to UIKeith Packard2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | | | | | | Merge branch 'master' into aprsKeith Packard2012-12-07
| |\| | | | | |
| | * | | | | | altosui: Call config UI from AltosConfigData directlyKeith Packard2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't make AltosConfig have a pile of config code, stick that in AltosConfigData instead. This uses a new interface, AltosConfigValues to get from AltosConfigData to the UI. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | | | | | | altos: Use configured callsign in APRS packetsKeith Packard2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of hard-coding my own call sign... Signed-off-by: Keith Packard <keithp@keithp.com>
| * | | | | | | altos: Make APRS interval configurableKeith Packard2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This provides a separate configuration value for APRS, allowing the interval between APRS reports to vary. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | | | | | | altos: Fix up APRS packet sending code in cc1120 driverKeith Packard2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the FIFO management, ensuring that the data are streamed into the radio fast enough to keep the packet continuous. Sounds like it works, but testing with an actual APRS receiver is required. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | | | | | | Merge branch 'master' into aprsKeith Packard2012-12-07
| |\| | | | | |
| | * | | | | | altos: fix functions calling pollchar to use 'int' to hold the valueKeith Packard2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AO_READ_AGAIN doesn't fit in a char anymore now that stdio is 8-bit clean, everyone using pollchar must use an 'int' variable to capture the whole value from pollchar. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * | | | | | altosui: Use AltosConfigData for altosui configuration dialogKeith Packard2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of a separate config language parser, share with altoslib Signed-off-by: Keith Packard <keithp@keithp.com>