summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos: Perform cc1200 calibration less often. Tweak radio paramsKeith Packard2014-10-25
| | | | | | | | | | | This performs calibration after every 4 operations, or when the frequency changes. This reduces the time it takes to get to receive mode. This also makes the sync and preamble qualifiers more strict to reject bad packets. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove old AO_SEND_ALL_BARO bitsKeith Packard2014-10-25
| | | | | | | This was used for testing the original TeleMini which couldn't log data at full speed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Build TeleDongle v1.9 by defaultKeith Packard2014-10-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Increase PQT value for cc1200 improving sensitivityKeith Packard2014-10-25
| | | | | | | | The PQT value indicates how 'good' the preamble is; higher values allow a lower quality of preamble to pass the test, permitting more packets to be decoded. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Sort out ao_gps_print altitude fetchingKeith Packard2014-10-25
| | | | | | | | | | ao_gps_print is used by both teledongle/telebt and the host-based GPS test code. The first instance uses the old internal GPS structure, containing just a 16-bit altitude while the second uses an ao_telemetry structure, which contains 32 bits split into two members. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/teledongle-v1.9: Add remaining code to complete the projectKeith Packard2014-10-24
| | | | | | This turns the prototype board into a full teledongle Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Complete cc1200 driverKeith Packard2014-10-24
| | | | | | | | | | Deal with differences between cc1120 and cc1200, including built-in packet support and various register changes. This now works to send and receive telemetry, as well as send APRS and RDF. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Expose telemetry altitude macros even without GPSKeith Packard2014-10-24
| | | | | | This allows for APRS testing in the new teledongle code Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Mark STM ao_spi_send as taking const pointerKeith Packard2014-10-24
| | | | | | We don't write to this, so let it be const for type checking Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-send-telem: Add verbose, fake and rate optionsKeith Packard2014-10-24
| | | | | | | | Verbose dumps some data while sending packets. Fake sends constructed packets, once every 500ms. Rate sets the transmit bit rate. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Try to detect the architecture when loading JNI libKeith Packard2014-10-24
| | | | | | | Look at sun.arch.data.model and os.arch to try and load the right libaltos file the first time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: synchronize access to serial debug output listKeith Packard2014-10-24
| | | | | | | This list is access by both the receiver and the monitor task, so it needs to be locked to prevent collisions. Signed-off-by: Keith Packard <keithp@keithp.com>
* document pyro current limits in an appendixBdale Garbee2014-10-09
|
* altos: Add prototype TeleDongle v1.9 codeKeith Packard2014-10-05
| | | | | | | Lights up the hardware, sends carrier and RDF tones. A bit more cc1200 work to be done still. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Copy cc1120 driver to cc1200 driver and hack a bitKeith Packard2014-10-05
| | | | | | | | | | The cc1200 is similar to the cc1120, although many registers have changed. This driver can send a bare carrier and an RDF tone, but does not yet receive or transmit telemetry data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix syntax error with ao_log_mega change.Keith Packard2014-10-04
| | | | | | Missed a semi-colon. 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>
* altosui: Update 'Imperial Units' checkbox when units changeKeith Packard2014-10-04
| | | | | | | If you have two graphs running, make sure the imperial units checkboxes agree. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Deal with new Mega log format that has 32-bit gyro calKeith Packard2014-10-04
| | | | | | | This adds parsing for the new log format type to get all 32 bits of the gyro calibration data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Record 32-bits for gyro calibration valuesKeith Packard2014-10-04
| | | | | | | | | The gyro ground calibration values are scaled by 512 to provide a bit more precision for the computations. This means they don't fit in 16 bits, so change the format of the flight log record. Also change the reported format so that AltosUI has a chance of figuring it out. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Check for map and stats table when changing units/fonts in graphKeith Packard2014-09-29
| | | | | | | AltosGraphUI wasn't making sure the map and stats tables were present before attempting to adjust font size and units. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Handle antenna down in ao_flight_testKeith Packard2014-09-29
| | | | | | | Parse the Pad orientation config value and flip the accelerometer value back around in antenna down configuration. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Auto-select programmer for teledongle turnonKeith Packard2014-09-26
| | | | | | | Bdale's programmer is SN 100, Keith's is SN 186. Use the username to figure out which one to use. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make sure we drop the SPI mutex when aborting cc1120 recvKeith Packard2014-09-26
| | | | | | | | | | The cc1120 receive code is 'twisty', in that it acquires the SPI mutex in the middle of an interrupt handler so that it can quickly start the radio when the signal comes in. This means we have to be careful to drop that mutex in all paths which leave the receive code, including when the packet receive is aborted mid-way through the process. Signed-off-by: Keith Packard <keithp@keithp.com>
* store cal value correctly even when we didn't need to change itBdale Garbee2014-09-13
|
* altosdroid: Update notebook to reflect current statusKeith Packard2014-09-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Bring up main window when doing --replay or --graphKeith Packard2014-09-13
| | | | | | | | This shows the main window when replaying or graphing files so that you can interact with that, changing the global configuration or doing other stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix --replay to run in realtime after boostKeith Packard2014-09-13
| | | | | | | I added the ability to rapidly replay files for AltosDroid to recover from a crash, but didn't change AltosUI to use realtime mode again. Signed-off-by: Keith Packard <keithp@keithp.com>
* reflect filename changes in LLC repoBdale Garbee2014-09-13
|
* altosdroid: Automatically sign the released version if the key is availableKeith Packard2014-09-13
| | | | | | | Look in ~/altusmetrumllc for release.keystore and Passphrase and enable building and signing of the release binary. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Update version code and name for 1.5Keith Packard2014-09-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Mark master branch as past the 1.5 pointKeith Packard2014-09-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* updated to reflect changes from 1.5 releaseBdale Garbee2014-09-13
|
* ao-bringup: Improve igniter testing. Add TeleMega and TeleMetrum testing.Keith Packard2014-09-12
| | | | | | | | | | The script lets you re-try each one when they fail, which is nice if you're hand-holding the setup. The TeleMetrum and TeleMega tests are adapted from the EasyMega tests and are hooked up to the turnon scripts. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-test-igniter: Remove bogus printfKeith Packard2014-09-12
| | | | | | | This must have been left over from testing; it prints "device (null)", which isn't very useful. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-test-gps: Improve output formattingKeith Packard2014-09-12
| | | | | | Add a newline before printing out the flags and sats at exit time Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Use C version of ao-test-gps in test-telegpsKeith Packard2014-09-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-test-gps programKeith Packard2014-09-12
| | | | | | This waits for GPS to report lock Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Use C version of test-flash for telegpsKeith Packard2014-09-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ignore built .desktop fileKeith Packard2014-09-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make sure we don't beep out continuity twice in idle modeKeith Packard2014-09-11
| | | | | | | | | | | | | | If the battery voltage report takes longer than the initialiation sequence, we could get to the state reporting after the state had switched from startup to idle. This would result in continuity being reported the first time through the loop. Then, as the state had already changed, we'd pass through the while test and go back to report continuity a second time. Fixed by using the state remembered before beeping out the voltage to decide whether to report the continuity. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add smaller altitude table file to .gitignoreKeith Packard2014-09-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Add TMv2 test program to .gitignoreKeith Packard2014-09-11
|
* altos: Fix ability to disable telemetry by setting interval to 0Keith Packard2014-09-11
| | | | | | | | | For non-zero telemetry intervals, the radio code limits the value based on the data rate. However, a zero interval means that telemetry should be entirely disabled, so that value should be left alone when checking. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Was mis-configuring the 'Configure Device' dialogKeith Packard2014-09-11
| | | | | | | Make sure we show 'rate_label' instead of showing 'radio_enable_label' twice. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Stop re-loading previous flight when starting telemetry monitoringKeith Packard2014-09-11
| | | | | | | | | | | | This feature is necessary on AltosDroid because there's no other UI for reloading an old flight. It's not useful on the desktop where you really just want to see new telemetry; old telemetry is availbale through the 'graph flight' or 'replay' mechanisms. AltosDroid uses a different class for reading telemetry data, so we can just remove this feature from altoslib at this point. Signed-off-by: Keith Packard <keithp@keithp.com>
* use dh_installmime, which requires telling configure to stay out of the wayBdale Garbee2014-09-10
|
* another build depBdale Garbee2014-09-10
|
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2014-09-10
|\
| * configure: Add --disable-install-shared-mime-info optionKeith Packard2014-09-10
| | | | | | | | | | | | | | | | This inhibits the installation of the shared mime info data file and updating of the shared mime database. Necessary if you want to use a distribution-specific shared mime installation hook, like dh_installmime Signed-off-by: Keith Packard <keithp@keithp.com>