summaryrefslogtreecommitdiff
path: root/altosui
Commit message (Collapse)AuthorAge
* altosui: Make it possible to disable APRSKeith Packard2019-08-04
| | | | | | | The menu says "Disabled", but the device wants "0". Translate back and forth to avoid an error. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix path to easymini-v2.0 ihx fileKeith Packard2019-08-04
| | | | | | This gets the bits included in macosx and linux builds Signed-off-by: Keith Packard <keithp@keithp.com>
* Use discovered java path for compiler and jni include filesKeith Packard2019-07-17
| | | | | | | | Instead of using the discovered java bits just for jni.h, also use javac from that directory. Add JAVA_VERSION param to set language version for newer compilers. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Display error message when attempting to graph unknown filesKeith Packard2019-06-18
| | | | | | Instead of presenting an empty graph window. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ship EasyMini v2.0 firwmareKeith Packard2019-06-17
| | | | | | Left this out in the last release... Signed-off-by: Keith Packard <keithp@keithp.com>
* Use strip-nondeterminism to fix JAR timestampsKeith Packard2019-02-03
| | | | | | | | .jar files are just zip files, and contain dates. These will cause the build to be non-reproducible. Use strip-nondeterminism to smash all of these back to a fixed value. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add keywords to .desktop filesKeith Packard2018-10-22
| | | | | | Makes applications easier to find with search Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add EasyMega v2.0 firmware to releaseKeith Packard2018-10-19
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove cc1111 productsKeith Packard2018-10-13
| | | | | | We're not testing these anyways; building new firmware for them is not helpful. Signed-off-by: Keith Packard <keithp@keithp.com>
* Switch to universal JavaApplicationStub for Mac OS XKeith Packard2018-10-07
| | | | | | | | | | | | | | | | The binary JavaApplicationStub only supports Mac JRE 6, even if you install a later JRE from Oracle it will still run our apps with the Mac version. This replacement JavaApplicationStub is a shell script which comes from here: https://github.com/tofi86/universalJavaApplicationStub I've tested it with Oracle JRE 10 installed and AltosUI came up fine, and has access to our devices and networking. Signed-off-by: Keith Packard <keithp@keithp.com>
* macosx: Ship install-macosx script with all apps.Keith Packard2018-10-05
| | | | | | | This script copies all files to ~/Applications/AltOS, then it deletes all xattrs on all files so that OS X will run the java programs. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java lib versions to 13Keith Packard2018-08-15
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Include TeleMega v3.0 firmware with releasesKeith Packard2018-08-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add separate 'ao_launch_tick'. Use in pyro and lockout.Keith Packard2018-08-05
| | | | | | | | | | | | | | | | Prior to this, there was only ao_boost_tick, which got reset at each motor burn start. That meant there wasn't any way to measure total flight time for pyro channels and 'apogee lockout' was based on time since most recent motor start instead of total flight time. Now pyro channels and apogee lockout both use total flight time, while motor burn length still uses time since most recent motor burn start (as it should). Docs and UI updated to use 'launch' instead of 'boost' to try and make the change clear. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove ascending/descending from pyro configKeith Packard2018-04-26
| | | | | | | | | Ascending and descending don't add any functionality and can confuse people. Clears pyro configuration value when ascending or descending were selected in the configuration so that the user knows to reset the channel from scratch. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add TeleGPS v2.0 binaries to distributionKeith Packard2018-02-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Improve EEprom downloadKeith Packard2017-11-11
| | | | | | | | | * Catch and report CRC errors * Deal with corrupted flight records * Add ability to immediately graph new data * Check before overwriting existing files Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Save separate config for local and remote. Use in idleKeith Packard2017-10-14
| | | | | | | | | | | When using the remote link, there are two separate configuration data blocks, that for the local device and for remote. Make the link report both versions, depending on whether it is in remote mode or not. Request config data in remote mode when running idle monitoring so that the presented data is for the remote device, not the local one. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add user-selectable filter width for data smoothingKeith Packard2017-10-02
| | | | | | | | | Also switch smoothing window to Kaiser and change default accel filter width to 1 second instead of 4 seconds. Now users can play with the filter and see what it does. Signed-off-by: Keith Packard <keithp@keithp.com>
* be more aggressive about removing and ignoring .mdwn filesBdale Garbee2017-09-18
|
* altosui: Handle missing GPS when graphing mega/metrum dataKeith Packard2017-09-12
| | | | | | | These have GPS, but if we never get a valid packet, then there won't be any final position to display. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debug printfs in FC config UIKeith Packard2017-09-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Accel calibration UIKeith Packard2017-09-01
| | | | | | Provides a GUI for re-calibrating accelerometers Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make --oneline show drogue deploy speedKeith Packard2017-08-27
| | | | | | Also remove some commented out values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add --oneline mode to briefly summarize flightsKeith Packard2017-08-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* install: Add 'fat-install' targetKeith Packard2017-08-12
| | | | | | | | | | | | | This uses the existing --with-fat-dir option and instead of installing everything to that directory, creates a normal ikiwiki hierarchy of files including .mdwn files, whacked release notes html files and all of the appropriate packages. One stop shopping for adding the release to the web site. Attempted to update Releasing file to match. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui, telegps: Add TeleBT v4.0 firmware to app packagesKeith Packard2017-08-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Rename AltosConfig -> AltosConfigFCKeith Packard2017-07-23
| | | | | | Now the class name says that this configures the flight computer. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Adapt to flight stats time value changesKeith Packard2017-07-23
| | | | | | | | | There aren't state time values anymore as those don't work when you have multiple motors. Instead, 'boost_time' is when the rocket left the pad and 'landed_time' is when it touched down. Use these new values in the --summary output. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Make cal_data private in AltosDataListenerKeith Packard2017-06-20
| | | | | | This way we can create it as needed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib,altosuilib: Bump library version numbersKeith Packard2017-06-13
| | | | | | The API and ABI have changed a bit since 1.7 Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Rename AltosGraphNew to AltosGraphKeith Packard2017-06-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Display current altitude in monitor idle Pad tabKeith Packard2017-06-11
| | | | | | | This was attempting to use 'pad' values even though monitor idle doesn't have them. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib, altosuilib, altosui, telegps: Missing config values now MISSINGKeith Packard2017-06-11
| | | | | | | | Config values that didn't apply to the current product used to get set to -1, but now they're set to AltosLib.MISSING to be consistent with the rest of the code. Deal with this in the UI bits. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Create data file open helper in AltosLibKeith Packard2017-05-28
| | | | | | | Use InputStream everywhere, instead of Reader. Create private string input stream as java one is deprecated. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Recover from a couple of API changesKeith Packard2017-05-27
| | | | | | Nothing serious. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Remove 'cal_data' param from AltosGraphNew constructorKeith Packard2017-05-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Get telegps application working againKeith Packard2017-05-27
| | | | | | Many minor API tweaks Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Deal with AltosState changesKeith Packard2017-05-27
| | | | | | | | cal data split out from altos state. altos state needed to have no-arguments constructor for JSON code. Also messed with voice to make it stay quiet during app startup. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debug printf.Keith Packard2017-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Get KML export working againKeith Packard2017-05-26
| | | | | | Even annotate the states with avg speed/accel for fun. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Make sure AltosFlightSeries is filled in before useKeith Packard2017-05-26
| | | | | | | After all of the raw data is captured, the derived data needs to be computed by calling the 'finish' function. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove --cat modeKeith Packard2017-05-26
| | | | | | Wasn't documented, didn't do much useful. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Make AltosReplayReader start synchronously enough to track statesKeith Packard2017-05-26
| | | | | | | | | | The Altos UI needs to see 'pad' state and then 'boost' state so that it will automatically switch tabs during the flight. When reading from eeprom files, the only way that is going to happen is if the reader thread waits until the UI has definitely seen 'pad' state, which we do by simply delaying the reader thread until after that has happened. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib,altosuilib,altosui: Get stats and replay working again.Keith Packard2017-05-26
| | | | | | | | Stats are really easy with all of the data in memory. Replay takes a special thread to run the data and dump it into a single state. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib/altosui: More work towards using AltosFlightSeries for ↵Keith Packard2017-05-25
| | | | | | | | analysis Graphing and CSV seem complete now; stats still missing lots of stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Adapt to AltosFlightSeries for data analysisKeith Packard2017-05-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Hacks to plug into the new graph stuffKeith Packard2017-05-19
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove older eeprom handling codeKeith Packard2017-05-09
| | | | | | The new code appears to work in minor testing; time to try it all the time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use new eeprom reading codeKeith Packard2017-05-09
| | | | | | | This just means using different file opening functions, which then get matched by AltosEepromFile and sent off to the new eeprom code. Signed-off-by: Keith Packard <keithp@keithp.com>