summaryrefslogtreecommitdiff
path: root/altosui
Commit message (Collapse)AuthorAge
* altosui: Initial accel calibration UIaccel-cal-uiKeith Packard2017-08-12
| | | | | | Almost working, needs further tweaking. 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>
* altosui: Add TeleMini v3.0 and EasyMini v2.0 firmware to windows packageKeith Packard2017-04-24
| | | | | | Sigh. This can't easily be done from Makefile.am Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ship telemini v3.0 firmwareKeith Packard2017-04-24
| | | | | | Even though we don't provide a cable for reflashing yet Signed-off-by: Keith Packard <keithp@keithp.com>
* two more places where telemini-outline.pdf filename needs to be updatedBdale Garbee2017-04-24
|
* Remove pyro wizard file from masterKeith Packard2016-09-05
| | | | | | This isn't done yet. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't ship TeleMetrum v3.0 firmware (yet)Keith Packard2016-09-05
| | | | | | We haven't finished this yet, so don't deliver firmware for it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Deal with connect failure in AltosConfigTDKeith Packard2016-09-02
| | | | | | | | When the USB connection times out, abort any pending operations and clean up the thread correctly. Also, deal with the serial line being closed by checking for null. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add a 'seconds' method to AltosGPSKeith Packard2016-08-02
| | | | | | | This computes the time in seconds since the epoch from GPS time information. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add telemetrum v3.0Keith Packard2016-07-12
| | | | | | Like Telemetrum v2.0, but with cc1200 instead of cc1120 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>
* altosui: Deliver firmware for Tmega 2.0 and TBT 3.0 for Windows tooKeith Packard2016-06-29
| | | | | | | 1.6.4 added Tmega 2.0 and TBT 3.0 firmware to linux and mac, but neglected windows. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Print filename before attempting to parse in --summary modeKeith Packard2016-06-17
| | | | | | | Any problems handling the file are easier to debug if the filename is visible above the error message. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't open command window when --graph is providedKeith Packard2016-06-15
| | | | | | | When the user explicitly asks to open a graph, don't bring up the command button window too. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Track open frames, exit when none remainKeith Packard2016-06-15
| | | | | | | This will let us not have the altosui window open by causing the application to shut down when the last frame closes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove missing items from --summary outputKeith Packard2016-06-15
| | | | | | Check all values for MISSING before printing them. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Rename AltosUIMap*New.java to AltosUIMap*.javaKeith Packard2016-05-24
| | | | | | This code isn't really new anymore... Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Store saved state in version-independent formatKeith Packard2016-05-12
| | | | | | | Use AltosHashSet for AltosState so that AltosDroid doesn't lose tracker information when the application is upgraded. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps/micropeak: Handle both MULTI_LIB and non-MULTI_LIB buildsKeith Packard2016-05-12
| | | | | | | | | | | | | On x86 systems with -m32 and -m64 compilers, both libaltos32.so and libaltos64.so are built. Otherwise, we should use libaltos.so altosui only dealt with libaltos32.so and libaltos64.so, so it only worked on MULTI_LIB systems. telegps and micropeak only used libaltos.so, so they wouldn't work correctly on multi-lib systems. Fix all of them to work either way. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java library versionsKeith Packard2016-05-12
| | | | | | Prepare for 1.6.4 release Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Switch distance from m/ft to km/miles for large valuesKeith Packard2016-05-11
| | | | | | | This adds lots of infrastructure to deal with making the unit used depend on the value itself, and then uses it only for distances. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Ship firmware for new hardwareKeith Packard2016-05-11
| | | | | | TBT v3.0 and Tmega v2.0 Signed-off-by: Keith Packard <keithp@keithp.com>
* windows: Change install to look for browser in a different placeKeith Packard2016-05-06
| | | | | | The windows registry is a mystery. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Deal with TeleMetrum v2.0 MMA6555 being invertedKeith Packard2016-05-02
| | | | | | | | | | | | | | | | Dumping the MMA655X data with the 'A' command provides the raw sensor value. On TM v2.0 boards, the sensor is inverted, and all of the firmware uses the inverted value except for the 'dump the raw data' command. As a result, MonitorIdle was using the un-inverted value and displaying mystic values. I've fixed this in the ground station code by checking the product name and conditionally inverting the value (4095 - value) for TeleMetrum v2.0 products. Unknown products will generate a warning dialog on AltosUI so we'll catch places where we've failed to add a new product name. Signed-off-by: Keith Packard <keithp@keithp.com>
* Update java library version numbersKeith Packard2016-04-21
| | | | | | Prepare for 1.6.3 release. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui,telegps: Do not allow radio calibration to be editedKeith Packard2016-03-26
| | | | | | | This leads to sorrow for almost everyone. If you want to edit this, use a terminal program. Signed-off-by: Keith Packard <keithp@keithp.com>