summaryrefslogtreecommitdiff
path: root/altoslib/AltosConfigData.java
Commit message (Collapse)AuthorAge
* 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>
* Bump java library versionsKeith Packard2016-05-12
| | | | | | Prepare for 1.6.4 release 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>
* Update java library versionsKeith Packard2016-01-10
| | | | | | altoslib is API incompatible with 1.6.1 release due to altos.state updates. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump Java library versionsKeith Packard2015-07-15
| | | | | | Avoid problems if you have an old version of the library installed Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Update library version to 7Keith Packard2015-05-25
| | | | | | So many ABI/API changes Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Add config option for APRS formatKeith Packard2015-03-02
| | | | | | Allow configuration of APRS compressed/uncompressed Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java library versionsKeith Packard2015-02-07
| | | | | | | Lots of minor API/ABI changes; make sure people can install both 1.5 and 1.6 at the same time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: EEProm download from TeleGPS doesn't have statesKeith Packard2015-02-06
| | | | | | | | | | | | | As TeleGPS doesn't have flight states, the EEProm download progress bar shouldn't show 'state invalid', and it should use a different scale for each block. Fix this by having AltosConfigData know which devices have state based on their log format, then mark the progress bar state limits as 'invalid/invalid' instead of 'boost/landed'. Then have the progress bar use that to set a more reasonable scale for each block. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Store MS5607 data in AltosConfigData for use by AltosMs5607Keith Packard2015-02-06
| | | | | | | | | When doing 'Monitor Idle', we fetch new config data each iteration and pass that to each of the readers, including ms5607. Instead of re-fetching the config data there, just store the ms5607 parameters when we fetch it the first time and copy it over. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Compute tilt angle from eeprom dataKeith Packard2014-10-04
| | | | | | | | | | | | | | | | This copies the computation of tilt angle from the firmware so that post-flight analysis can also show the data. This change also renames all of the imu values to make them easier to understand: accel gyro axis along roll length of the board across pitch across the board through yaw through the board. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Add EasyMega supportKeith Packard2014-09-09
| | | | | | | This makes flashing find the right files, and Monitor Idle show all of the state data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Update local callsign/baud rate when using remote protocolKeith Packard2014-09-06
| | | | | | | | We've had code to synchronously update the local and remote radio frequencies when doing configuration over the remote link. This patch adds the same code when changing the call sign and baud rate. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Parse 'Log fixed:' configuration valueKeith Packard2014-08-17
| | | | | | | | | TeleGPS holds a single flight record and constantly appends data to it instead of having separate flight records on the board. It reports 'Log fixed: 1' to let AltosLib know that the size of the per-flight log is not configurable. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Extend telemetry heights from 16 to 32 bitsKeith Packard2014-07-10
| | | | | | | Uses the GPS data and/or previous kalman data to compute the upper 16 bits of the truncated telemetry altitude value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Support multiple telemetry ratesKeith Packard2014-07-05
| | | | | | | Altos now supports 2400 and 9600 baud in addition to the classic 38400 baud rate. Add support to altoslib for these as well Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Expose configurable APRS SSIDKeith Packard2014-06-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* java: Bump java library versions for next releaseKeith Packard2014-06-16
| | | | | | Prepare for future release by bumping java versions now Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add pyro firing time configurationKeith Packard2014-06-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui/telegps: Switch TeleGPS config to motion/intervalKeith Packard2014-06-10
| | | | | | | | TeleGPS had configurable boost-detect values; those have been replaced with a configurable stop-tracking motion limit and logging/telemetry interval value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui/telegps: Change log size configurationKeith Packard2014-06-10
| | | | | | | | | | | | | * Use new log-space value provided by firmware when available. * Divide that up into 1-8 flights and offer those sizes as options to the user instead of a fixed set of sizes. * Show how many flights each selection will store * This also checks values provided by the user Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: All products with logging have the 'l' commandKeith Packard2014-06-07
| | | | | | | | Instead of listing products with the 'l' command, just exclude products that don't have logging from using the 'l' command to collect the number of stored flights. Signed-off-by: Keith Packard <keithp@keithp.com>
* 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>
* telegps: Add config for tracker starting distancesKeith Packard2014-05-30
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Change versions to altoslib:4, altosuilib:2Keith Packard2014-05-25
| | | | | | API has changed for these libraries, time to bump the file versions Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debug printf about beep configKeith Packard2014-05-15
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add configuration UI for beeper toneKeith Packard2014-05-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Disable flight log configuration while flights are storedKeith Packard2014-04-06
| | | | | | | | The log code won't let you resize the maximum flight log while there is still data on the flight computer; the code to figure that out in the UI was busted, leaving users confused about why it wasn't working. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Bump library versionKeith Packard2013-12-20
| | | | | | | Prepare for next release by making sure we notice that the API/ABI for this library has changed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Hide non-applicable altimeter config valuesKeith Packard2013-12-18
| | | | | | This makes configuring EasyMini a lot easier... Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Finish AltosState changes. Update version number.Keith Packard2013-09-05
| | | | | | | Removes all of the AltosRecord bits, changes the monitor idle bits to have per-object state updaters. Signed-off-by: Keith Packard <keithp@keithp.com>
* name change from MegaMetrum to TeleMegaBdale Garbee2013-04-22
|
* altoslib/altosui: Carry receiver status around in AltosListenerStateKeith Packard2013-04-09
| | | | | | | | | | This moves the crc_errors into the new structure and adds a receiver battery voltage value there as well. Now the receiver status can be monitored separately from the flight status. That also means that code receiving state updates should be prepared to accept missing listener or flight state values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't deref null pyros when saving altimeter configKeith Packard2013-03-27
| | | | | | | The check for no pyro config is to compare npyros against zero rather than check the length of the pyros array as the latter may be null. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Fix available flight log storage computationKeith Packard2013-02-10
| | | | | | | | number of flights was off by one as it was initialized to -1 storage erase unit wasn't getting fetched correctly flight_log_max is in kB, not B; need to multiply by 1024 Signed-off-by: Keith Packard <keithp@keithp.com>
* Add version numbers to java librariesKeith Packard2013-01-29
| | | | | | | Make our private java library names include a version number so we can ship and install multiple versions at the same time. Signed-off-by: Keith Packard <keithp@keithp.com>
* Change AltosLib to altoslibKeith Packard2013-01-29
| | | | | | Follow Java conventions Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'aprs' into 'master'Keith Packard2012-12-16
|\
| * 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>
* | altosui: Add APRS interval configuration to UIKeith Packard2012-12-07
|/ | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* 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>
* 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>
* altoslib: Make AltosConfigData parse all of the config dataKeith Packard2012-12-06
| | | | | | | | It was missing quite a few. This also speeds up parsing of config from TeleScience, TeleBT and TeleTerra by not listing flight info on those products (where it doesn't make sense). Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/altoslib: Add support for configuring pyro channelsKeith Packard2012-10-22
| | | | | | | This provides a UI on devices which have pyro channels other than main/apogee. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Accept serial number of zero for eeprom downloadKeith Packard2012-10-16
| | | | | | | | AVR-based products don't have a valid serial number, and so usually report 0. Accept this by making the 'no serial number' case check for negative values. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote-tracking branch 'mjb/altoslib_mjb'Keith Packard2012-09-09
|\
| * altoslib: Remove un-needed importsMike Beattie2012-09-07
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* | altoslib: add missing manufacturer parsing for AltosConfigDataMike Beattie2012-08-31
|/ | | | Signed-off-by: Mike Beattie <mike@ethernal.org>