summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | 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>
* | altosuilib: Adapt to AltosFlightSeries data processing planKeith Packard2017-05-25
| | | | | | | | | | | | | | Replace use of list of AltosState with AltosFlightSeries to improve data analysis. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Do data analysis on raw values rather than AltosStateKeith Packard2017-05-25
| | | | | | | | | | | | | | | | Use AltosFlightSeries instead of a sequence of AltosState records when processing saved data. This provides a better way of doing filtering and plotting. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Don't store computed telemetry fieldsKeith Packard2017-05-23
| | | | | | | | | | | | These values are only needed once, so there's no reason to save them. Signed-off-by: Keith Packard <keithp@keithp.com>
* | doc: Add telegps outlineKeith Packard2017-05-22
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | add thrust as a graphable time series typeBdale Garbee2017-05-19
| |
* | altosui: Hacks to plug into the new graph stuffKeith Packard2017-05-19
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosuilib: Start creating new graph interface that takes time series dataKeith Packard2017-05-19
| | | | | | | | | | | | | | Replace the AltosState interface so the graph can get better data, and can be used for more stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Create new abstraction underneath AltosState for recording valuesKeith Packard2017-05-19
| | | | | | | | | | | | | | Provides a way for the graph API to see raw data values, instead of those cooked by AltosState. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: include TimeSeries code in buildBdale Garbee2017-05-19
| |
* | altosuilib: Add time series subclass with data for generating a plotKeith Packard2017-05-19
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Add initial time series functionsKeith Packard2017-05-19
| | | | | | | | | | | | | | Provides the basis for offering a sequence of time/value datasets for graphing instead of using AltosState. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/telebt-v3.0: Add send_packet commandKeith Packard2017-05-19
| | | | | | | | | | | | Useful for doing host-based RF protocols. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/telebt-v4.0: Remove HAS_POLLCHARKeith Packard2017-05-19
| | | | | | | | | | | | This isn't being used anymore. Signed-off-by: Keith Packard <keithp@keithp.com>
* | ao-bringup: turnon_chaoskey: search for ao-usbload in PATHKeith Packard2017-05-19
| | | | | | | | | | | | Don't assume it's in /usr/bin Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/telefireone-v1.0: Fix confusing defines about config storageKeith Packard2017-05-19
|/ | | | | | | USE_INTERNAL_FLASH is about storing config data in internal flash, and should be on for telefireone. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Set default accel cal for old TeleMetrum v1 filesKeith Packard2017-05-15
| | | | | | | | Before we stashed the config data in the log file, altoslib had to "known" what the accelerometer calibration values should be set to. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Set default log format to FULL until we learn differentKeith Packard2017-05-15
| | | | | | | Ancient log files don't even have a product name in them, so we'll guess TeleMetrum v1. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Mark AltosConfigData fields as MISSING until setKeith Packard2017-05-15
| | | | | | Instead of using -1 or 0 randomly, use MISSING consistently. Signed-off-by: Keith Packard <keithp@keithp.com>
* re-brand current telefiretwo product as telefireoneBdale Garbee2017-05-15
|
* altos/ao_rn4678: Send '$$$' for new devices. Fix name setting code.Keith Packard2017-05-15
| | | | | | | | | New devices won't respond to the cmd pin we have configured, so get them to command mode by sending the $$$ string. Somehow I'd botched the name setting code and hadn't caught it as I hadn't tried a new device... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf: Fix up serial port flow control configuration bitsKeith Packard2017-05-15
| | | | | | | | | Compute whether any sw/hw flow control is in use. Compute whether hw flow control is in use as a separate value. These make the code a bit easier to follow. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Add support for TeleBT-v4.0 bluetooth channel changeKeith Packard2017-05-13
| | | | | | | | The RN4678 in TeleBT v4.0 uses channel 6 instead of channel 1. There is code in the linux bits which discovers this value, but that crashes when run under java for unknown reasons. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Handle TeleBT v4.0 battery voltageKeith Packard2017-05-13
| | | | | | | The device reports raw ADC values, which mean AltosLib needs to translate them. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telebt-v4.0: Hook up RN4678 moduleKeith Packard2017-05-13
| | | | | | | We've switched from the BM70 to this module which offers a virtual serial channel over both BT and BTLE. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add RN4678 Bluetooth module driverKeith Packard2017-05-13
| | | | | | | | | This works much like the old BTM module, but supports both bluetooth and bluetooth LE. I've poked at it briefly over BTLE to see that it appears to have the right name, but haven't attempted to communicate over BTLE yet. Signed-off-by: Keith Packard <keithp@keithp.com>
* Use SDP to locate the service channel on LinuxKeith Packard2017-05-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Another bit of altoslib for the old eeprom stuffKeith Packard2017-05-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* have AltosGraph use new AltosPressure to get imperial_units workingBdale Garbee2017-05-11
|
* initial tests made using Terry's stand with a 2500psi sensorBdale Garbee2017-05-11
|
* telefiretwo: don't try to record pre-burn sensor values in FLIGHT recordBdale Garbee2017-05-11
|
* have git ignore ao-bringup/cal_valuesBdale Garbee2017-05-11
|
* telegps: use new eeprom reading codeBdale Garbee2017-05-10
|
* 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>
* altoslib: Save eeprom data in new .eeprom formatKeith Packard2017-05-09
| | | | | | A chunk of json for the config values followed by hex numbers for the data. 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>
* altoslib: Hack up AltosEepromFile to support new eeprom codeKeith Packard2017-05-09
| | | | | | Redirect when asked to read an eeprom file using the "Reader" type. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Compile AltosForce and AltosPressureKeith Packard2017-05-09
| | | | | | Useful if you want to actually use these. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add new eeprom management codeKeith Packard2017-05-09
| | | | | | Generic .eeprom file parsing, simpler per-type eeprom data extraction. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add set_config_data to AltosStateKeith Packard2017-05-09
| | | | | | Initialize all config-data related state values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add empty constructor for AltosPyro for JSONKeith Packard2017-05-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add Ms5607 constructor that just takes config_dataKeith Packard2017-05-09
| | | | | | Use for making Ms5607 from eeprom files. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add AltosForce and AltosPressure unitsKeith Packard2017-05-09
| | | | | | Useful for TeleFireTwo. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Hide members from json by prefixing with __Keith Packard2017-05-09
| | | | | | | This lets some structures which would otherwise recurse (and crash) get converted to json, assuming the hidden members aren't relevant. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telemini-v3.0: Use dbg connector pin 5 for force bootloaderKeith Packard2017-05-04
| | | | | | This works way better than attempting to use the beeper pin. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telemini-v3.0: Add 'recovery mode' on PA14 (pin 6 on dbg header)Keith Packard2017-05-04
| | | | | | | | Connect this pin to GND (pin 3) and TeleMini will come up with N0CALL at 434.550MHz using the original frequency calibration. Helps recover from accidental mis-configuration. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Move 'ao_force_freq' to ao_config.cKeith Packard2017-05-04
| | | | | | Instead of having to add it to each product using this variable. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make CDC ACM 'line coding' publicKeith Packard2017-05-04
| | | | | | This allows other systems to see what baud rate the host has requested. Signed-off-by: Keith Packard <keithp@keithp.com>