]>
git.gag.com Git - fw/altos/log
Keith Packard [Sun, 7 Oct 2012 00:21:55 +0000 (17:21 -0700)]
altos/drivers: Use data ring values for MS5607 presentation
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 7 Oct 2012 00:21:10 +0000 (17:21 -0700)]
altos/megametrum: Make MS5607 driver hold SPI bus for whole operation
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 7 Oct 2012 00:05:59 +0000 (17:05 -0700)]
altos/megametrum: Use mma655x for acceleration measurements now
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 3 Oct 2012 17:44:28 +0000 (10:44 -0700)]
Merge branch 'master' into mm-ms5611
Keith Packard [Wed, 3 Oct 2012 17:43:28 +0000 (10:43 -0700)]
altos: Re-enable the ms5607 and mma655x acquisition threads
These were disabled to help with testing in Argonia
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 3 Oct 2012 14:50:48 +0000 (07:50 -0700)]
altos/megametrum: Commit for boards with MS5611 baro sensor
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 29 Sep 2012 05:39:55 +0000 (22:39 -0700)]
altos: Provide MS5611 configuration option, HAS_MS5611
MS5611 and MS5607 use slightly different conversion functions. Alas,
there doesn't appear to be a way to tell them apart in software. This
patch adds the necessary conversion changes and makes them depend on a
compile-time configuration option.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 21 Sep 2012 11:29:17 +0000 (13:29 +0200)]
altos: Shrink Pa to altitude table
This improves the computation of the table enough that errors from a
470 entry table are almost all < 0.5m.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 20 Sep 2012 09:33:24 +0000 (11:33 +0200)]
Bump revision to 1.2 development branch
With 1.1 out the door, this now starts the 1.2 development series
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 20 Sep 2012 09:30:19 +0000 (11:30 +0200)]
Merge remote-tracking branch 'mjb/altosdroid'
Keith Packard [Thu, 20 Sep 2012 09:30:11 +0000 (11:30 +0200)]
Merge remote-tracking branch 'mjb/prefs_interface'
Keith Packard [Thu, 20 Sep 2012 09:29:55 +0000 (11:29 +0200)]
Merge remote-tracking branch 'mjb/altosui_mjb'
Mike Beattie [Tue, 18 Sep 2012 11:47:50 +0000 (23:47 +1200)]
altosdroid: initial implementation of telemetry logging.
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Tue, 18 Sep 2012 11:47:06 +0000 (23:47 +1200)]
altoslib: make parts of AltosLog public for usage outside altoslib.
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Tue, 18 Sep 2012 11:46:17 +0000 (23:46 +1200)]
altos{lib,ui,droid}: move OS specific code out of altoslib
This is to allow the usage of AltosLog on Android - no swing, so
we need to push the "home directory" code used to pick a default
telemetry logging path - using the PreferencesBackend interface
for now.
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Tue, 18 Sep 2012 11:43:18 +0000 (23:43 +1200)]
altosdroid: cosmetic re-order of methods
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Tue, 18 Sep 2012 11:42:11 +0000 (23:42 +1200)]
altosdroid: simplify keys() method
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Tue, 18 Sep 2012 11:38:12 +0000 (23:38 +1200)]
altosdroid: Update Makefile.am
Signed-off-by: Mike Beattie <mike@ethernal.org>
Bdale Garbee [Sun, 16 Sep 2012 21:12:26 +0000 (15:12 -0600)]
further refinment of Releasing document
Bdale Garbee [Sun, 16 Sep 2012 19:59:21 +0000 (13:59 -0600)]
releasing 1.1.1
Keith Packard [Sun, 16 Sep 2012 19:38:33 +0000 (12:38 -0700)]
Add release notes for version 1.1.1
Signed-off-by: Keith Packard <keithp@keithp.com>
Mike Beattie [Sun, 16 Sep 2012 13:29:33 +0000 (01:29 +1200)]
altosdroid: implement AltosPreferencesBackend, and initialize.
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Sun, 16 Sep 2012 10:27:04 +0000 (22:27 +1200)]
Merge branch 'prefs_interface' into altosdroid
Keith Packard [Sun, 16 Sep 2012 09:39:25 +0000 (02:39 -0700)]
altos: Fix telemini sdcdb init file
Set the driver source path for the debugger
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 16 Sep 2012 07:58:20 +0000 (00:58 -0700)]
altosui: Gather Tm sensor data in Monitor Idle mode
Tm is pretty much the same as TM for the analog sensors, it's just
missing the accelerometr. Use the same code for constructing an
AltosRecord for it
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 14 Sep 2012 23:56:04 +0000 (16:56 -0700)]
altos: Need to use 16-bit counts for ao_xmem functions
Trying to use 8-bit counts is a nice optimization which fails when the
count is larger than 255, as is the case with clearing the flash block
in the AT45 driver. This bug resulted in the inability to erase
flights on TeleMetrum v1.0 boards.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 14 Sep 2012 19:59:31 +0000 (12:59 -0700)]
altosui: Show over-ground-distance in Descent tab
Helps to know where the rocket might land.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 14 Sep 2012 19:58:54 +0000 (12:58 -0700)]
altosui: Remove debugging from KML export
Left in from testing the Eeprom export bug
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 14 Sep 2012 18:13:02 +0000 (11:13 -0700)]
altosui: Fix Landed tab units
And clean up the whole flight value reporting code base. It would be
nice to create a separate class to make this easier; at present
there's a bunch of customization embedded in how values are presented
in each tab.
Reported by: Bdale Garbee <bdale@gag.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 14 Sep 2012 18:08:57 +0000 (11:08 -0700)]
altoslib: Update GPS seen_values in AltosEepromIterable
Otherwise, KML export won't ever get GPS data to write.
Reported by: Bob Brown <prefect@kloudbusters.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 14 Sep 2012 18:08:19 +0000 (11:08 -0700)]
altoslib: Remove duplicate seen_ values in AltosEepromIterable
These are defined in AltosRecord; duplicating them is not a good plan
Signed-off-by: Keith Packard <keithp@keithp.com>
Mike Beattie [Fri, 14 Sep 2012 00:43:21 +0000 (12:43 +1200)]
altosui: remove un-used import
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Thu, 13 Sep 2012 13:27:22 +0000 (01:27 +1200)]
altosui: revert AltosUIPreferences init() method
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Thu, 13 Sep 2012 13:08:53 +0000 (01:08 +1200)]
altosui: Add return to try/catch.. duh
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Thu, 13 Sep 2012 13:06:59 +0000 (01:06 +1200)]
altosui: add missing try/catch
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Thu, 13 Sep 2012 13:03:53 +0000 (01:03 +1200)]
altosui/altoslib: bug fixes, update Makefile.am
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Thu, 13 Sep 2012 12:53:56 +0000 (00:53 +1200)]
altosui/altoslib: Add call to …Preferences.init() with backend object, remove static init()
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Thu, 13 Sep 2012 12:46:34 +0000 (00:46 +1200)]
altoslib: Add AltosPreferencesBackend.java to Makefile.am
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Thu, 13 Sep 2012 12:44:59 +0000 (00:44 +1200)]
altosui/altoslib: add methods to interface, fix imports/exceptions in BT code
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Thu, 13 Sep 2012 12:40:16 +0000 (00:40 +1200)]
altosui: add missing methods for Backend, fix BT code.
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Thu, 13 Sep 2012 12:25:49 +0000 (00:25 +1200)]
altoslib/altosui: begin moving preferences "backend" into interface
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Fri, 14 Sep 2012 01:17:24 +0000 (13:17 +1200)]
altosui: comment out obsolete code - could probably remove the file.
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Fri, 14 Sep 2012 01:16:48 +0000 (13:16 +1200)]
altosui: add type to … implements Comparable.
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Fri, 14 Sep 2012 01:16:16 +0000 (13:16 +1200)]
altosui: comment out/remove dead code
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Fri, 14 Sep 2012 01:15:36 +0000 (13:15 +1200)]
altosui: access class variables by class, not instance
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Fri, 14 Sep 2012 01:15:07 +0000 (13:15 +1200)]
altosui: remove redundant catches
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Fri, 14 Sep 2012 01:14:31 +0000 (13:14 +1200)]
altosui: comment out un-used classes and associated imports
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Fri, 14 Sep 2012 01:13:35 +0000 (13:13 +1200)]
altosui: comment out un-used fields and methods
Signed-off-by: Mike Beattie <mike@ethernal.org>
Mike Beattie [Fri, 14 Sep 2012 01:09:58 +0000 (13:09 +1200)]
altosui: remove un-used imports
Signed-off-by: Mike Beattie <mike@ethernal.org>
Bdale Garbee [Thu, 13 Sep 2012 22:13:42 +0000 (16:13 -0600)]
add note about checking doc copyright date and revision history to Releasing
Keith Packard [Thu, 13 Sep 2012 22:12:33 +0000 (15:12 -0700)]
doc: Add revision history for 1.1. Update copyright date
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Thu, 13 Sep 2012 21:36:37 +0000 (15:36 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Thu, 13 Sep 2012 07:35:27 +0000 (00:35 -0700)]
doc: Document imperial units and groundstation configuration
What it says on the tin.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Thu, 13 Sep 2012 06:58:30 +0000 (00:58 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Thu, 13 Sep 2012 06:56:18 +0000 (23:56 -0700)]
altosui: Exit with an error status when file processing fails
If the user provides any files on the command line, and if processing
them fails in some way, exit immediately with an error indication.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 13 Sep 2012 05:40:57 +0000 (22:40 -0700)]
altosui: Leave new_gps indication until gps value is used
During replay, AltosState may not see a new GPS value as soon as it
lands in the state field as additional records with the same timestamp
may come in after the GPS record.
Instead of resetting the new_gps indication when the new record is
created, wait until the new_gps indication is seen by the AltosState
update code and have that clear the new_gps indication.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 13 Sep 2012 04:32:25 +0000 (21:32 -0700)]
altosui: Stop downloading eeprom data on a block full of invalid data
When no valid records are found within an eeprom block, we assume that
no more data will be found within the entire storage area.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Thu, 13 Sep 2012 03:50:25 +0000 (21:50 -0600)]
document workaround for 'make fat' not building altoslib
Bdale Garbee [Thu, 13 Sep 2012 01:50:07 +0000 (19:50 -0600)]
update Releasing for non-native versioning and builds on debian branch
Bdale Garbee [Thu, 13 Sep 2012 01:49:51 +0000 (19:49 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Wed, 12 Sep 2012 23:07:41 +0000 (16:07 -0700)]
altosui: Serialize data access in TD config code
Setting the values was being done in the UI thread instead of the
Serial thread, which left the serial thread with uninitialized values
when it went to update the displayed value for the current
frequency. All fixed now.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 12 Sep 2012 23:06:59 +0000 (16:06 -0700)]
altosui: Lock access to preferences data
These are accessed by several different threads, so keep things sane
by just holding locks across all access.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 12 Sep 2012 20:07:01 +0000 (13:07 -0700)]
altosui: Add multi-sized icons to all windows
This lets the window system pick a better size for presentation
Signed-off-by: Keith Packard <keithp@keithp.com>
Tom Marble [Wed, 12 Sep 2012 15:05:42 +0000 (10:05 -0500)]
Reference specific dependent jars in the AltosUI launchers
Keith Packard [Wed, 12 Sep 2012 09:30:59 +0000 (02:30 -0700)]
doc: Mention changes to flight data download UI
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 12 Sep 2012 09:26:32 +0000 (02:26 -0700)]
altosui: Initialize flight velocity to zero when reading eeprom files
Otherwise, the integration of velocity will start at MISSING and get
stranger. Fortunately, we know the initial velocity of the rocket when
sitting on the pad.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 12 Sep 2012 06:37:20 +0000 (23:37 -0700)]
altosui: Don't say a decimal point for distances in meters
Useful for distances in miles, but not meters.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 12 Sep 2012 06:36:26 +0000 (23:36 -0700)]
altosui: Initialize imperial units checkbox with correct value
Use imperial units preference instead of serial debug preference. Cut
& paste programming failure...
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Wed, 12 Sep 2012 06:26:21 +0000 (00:26 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Wed, 12 Sep 2012 06:04:19 +0000 (23:04 -0700)]
Clean up Windows event handles on com port close
This avoids having to wait for the receiver to timeout before we can
open the same com port again.
This patch also adds a bit more debugging -- it prints Windows error
messages to stdout along with the file/line where the error was generated.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 12 Sep 2012 05:03:17 +0000 (22:03 -0700)]
Include AltosLib.jar in windows install
Otherwise, altosui doesn't do much.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Wed, 12 Sep 2012 04:17:22 +0000 (22:17 -0600)]
releasing 1.1
Tom Marble [Wed, 12 Sep 2012 03:50:18 +0000 (22:50 -0500)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Tom Marble [Wed, 12 Sep 2012 03:48:04 +0000 (22:48 -0500)]
Added the feature to AC to default --with-android to $ANDROID_SDK (if set)
Fixed typos in altosui/Makefile.am (had removed JCOMMON, but it's from AC)
Jenkins changes:
- added android sdk
- will now record artifacts: altoslib/AltosLib.jar,altosui/altosui.jar,**/*.apk
Keith Packard [Tue, 11 Sep 2012 22:53:36 +0000 (15:53 -0700)]
Use ft/s for imperial speeds
Bob Brown thinks this unit will be more useful than mph
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 11 Sep 2012 22:30:45 +0000 (15:30 -0700)]
Add Version 1.1 release notes.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 11 Sep 2012 08:00:05 +0000 (01:00 -0700)]
altosui: Imperial units for graphs too
Just to be consistent
Signed-off-by: Keith Packard <keithp@keithp.com>
Tom Marble [Tue, 11 Sep 2012 17:54:31 +0000 (12:54 -0500)]
Reverted package name to 'altosui' from 'AltosUI'
Also added emacs backup regex (*~) to .gitignore
Tom Marble [Tue, 11 Sep 2012 17:44:24 +0000 (12:44 -0500)]
Add appropriate Java build deps as given from autoconf
Tom Marble [Tue, 11 Sep 2012 16:39:22 +0000 (11:39 -0500)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Tom Marble [Tue, 11 Sep 2012 16:37:14 +0000 (11:37 -0500)]
Use explicit build deps for altosui (avoids * wildcarding)
Bdale Garbee [Tue, 11 Sep 2012 16:35:04 +0000 (10:35 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Tue, 11 Sep 2012 16:34:00 +0000 (10:34 -0600)]
update Debian build-deps in preparation for 1.1 release
Keith Packard [Tue, 11 Sep 2012 07:49:48 +0000 (00:49 -0700)]
Fix Latin-1 encoded copyright symbols in AltosDroid java code
Otherwise, we get complaints when compiling these files.
Signed-off-by: Keith Packard <keithp@keithp.com>
Tom Marble [Mon, 10 Sep 2012 21:54:27 +0000 (16:54 -0500)]
Changed package name from altosui to AltosUI
Tom Marble [Mon, 10 Sep 2012 19:50:37 +0000 (14:50 -0500)]
Test commit (comment) to confirm push works
Keith Packard [Mon, 10 Sep 2012 16:16:04 +0000 (09:16 -0700)]
altosui: Use units conversion functions everywhere.
Provide a configuration option to select imperial units and use them everywhere
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Mon, 10 Sep 2012 16:14:03 +0000 (09:14 -0700)]
altoslib: Add imperial units conversion support
"Redneck" mode support
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 9 Sep 2012 21:02:57 +0000 (14:02 -0700)]
Bump version to 1.0.9.7
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 9 Sep 2012 21:01:21 +0000 (14:01 -0700)]
altos/telelco: Search for available firing nodes at boot time
Query for available firing nodes, limiting device selections to those found.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 9 Sep 2012 20:58:29 +0000 (13:58 -0700)]
altos/telefire: Add steady warble when the LCO arm switch is on
And make debugging a run-time option too.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 9 Sep 2012 20:57:16 +0000 (13:57 -0700)]
altos/stm: Fix basic time interval to 10ms -- was 10.1ms
Counting from 0 to 100 takes 10.1ms, so count to 99 instead.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 9 Sep 2012 20:56:35 +0000 (13:56 -0700)]
altos/spiradio: Label LEDs so that the radio code can use them
Mark which should be on for TX and which for RX
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 9 Sep 2012 20:50:56 +0000 (13:50 -0700)]
altos: Try to get remote cmac time closer to reality
Record the time after the packet was sent, but before the return
packet arrives to try and more closely approximate the time the packet
arrived at the other end.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 9 Sep 2012 20:46:23 +0000 (13:46 -0700)]
altos: Clean up flight data definitions
These just shuffle the various definitions of data macros around to
make the include files more sensible looking.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 9 Sep 2012 20:43:45 +0000 (13:43 -0700)]
altos: include ao_arch_funcs.h at the very end of ao.h
Move it below the definition of the ms5607 init function
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 9 Sep 2012 20:11:57 +0000 (13:11 -0700)]
altos: Allow products without MS5607
The define for a missing MS5607 was wrong, so anything using the fancy
multi-sensor data code would break without an MS5607 in place.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 9 Sep 2012 20:10:07 +0000 (13:10 -0700)]
ao_tools/ao-send-telem: Only start real-time on valid states
Check state to make sure it is < ao_flight_landed to keep invalid
states from switching to real-time playback mode.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 9 Sep 2012 20:09:27 +0000 (13:09 -0700)]
altoslib: Add in a bunch of java files mising after Mike's cleanups
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 9 Sep 2012 20:03:47 +0000 (13:03 -0700)]
Merge remote-tracking branch 'mjb/altoslib_mjb'