fw/altos
7 years agoMerge remote-tracking branch 'mjb/altosdroid'
Keith Packard [Sun, 10 Mar 2013 18:43:06 +0000 (11:43 -0700)]
Merge remote-tracking branch 'mjb/altosdroid'

7 years agoaltos: re-enable optimization for stm-demo. remove unused bits
Keith Packard [Sun, 10 Mar 2013 18:41:49 +0000 (11:41 -0700)]
altos: re-enable optimization for stm-demo. remove unused bits

This makes stm-demo run on the discovery board again.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosdroid: Add map polyline between pad and rocket
Mike Beattie [Sun, 10 Mar 2013 10:28:26 +0000 (23:28 +1300)]
altosdroid: Add map polyline between pad and rocket

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: Add rocket and pad map markers
Mike Beattie [Sun, 10 Mar 2013 10:27:28 +0000 (23:27 +1300)]
altosdroid: Add rocket and pad map markers

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: programmatically create map fragment
Mike Beattie [Sun, 10 Mar 2013 07:40:13 +0000 (20:40 +1300)]
altosdroid: programmatically create map fragment

* Allows reliable fetching of a GoogleMap handle.
* Set map options, initial location (NCR North for now, temporarily)
* Add some info fields below map, and update them accordingly

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoMerge branch 'master' into altosdroid
Mike Beattie [Sun, 10 Mar 2013 07:24:56 +0000 (20:24 +1300)]
Merge branch 'master' into altosdroid

7 years agoaltosdroid: Add SDK checks to configure.ac
Mike Beattie [Sun, 10 Mar 2013 07:24:15 +0000 (20:24 +1300)]
altosdroid: Add SDK checks to configure.ac

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: adjust clean targets to get rid of automake warning
Mike Beattie [Sun, 10 Mar 2013 07:22:51 +0000 (20:22 +1300)]
altosdroid: adjust clean targets to get rid of automake warning

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoao-tools: Add ao-edit-telem to .gitignore
Mike Beattie [Sun, 10 Mar 2013 07:22:09 +0000 (20:22 +1300)]
ao-tools: Add ao-edit-telem to .gitignore

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoMerge branch 'master' into altosdroid
Mike Beattie [Sun, 10 Mar 2013 06:07:01 +0000 (19:07 +1300)]
Merge branch 'master' into altosdroid

7 years agoao-tools: Add ao-edit-telem
Keith Packard [Sun, 10 Mar 2013 04:40:52 +0000 (20:40 -0800)]
ao-tools: Add ao-edit-telem

This lets you edit a telemetry file. The only current editing
available is to change the pad location, allowing a flight to be
replayed anywhere in the world.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoao-tools/lib: Add cc_telemetry_unparse
Keith Packard [Sun, 10 Mar 2013 04:39:31 +0000 (20:39 -0800)]
ao-tools/lib: Add cc_telemetry_unparse

This takes a telemetry structure and generates a string version

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Add N/S and E/W to info table lat/lon values
Keith Packard [Sun, 10 Mar 2013 04:37:38 +0000 (20:37 -0800)]
altosui: Add N/S and E/W to info table lat/lon values

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosdroid: fix side-to-side scrolling in map tab
Mike Beattie [Fri, 8 Mar 2013 06:41:32 +0000 (19:41 +1300)]
altosdroid: fix side-to-side scrolling in map tab

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoMerge remote-tracking branch 'mjb/altosdroid'
Keith Packard [Thu, 7 Mar 2013 21:00:44 +0000 (13:00 -0800)]
Merge remote-tracking branch 'mjb/altosdroid'

7 years agoaltosdroid: Auto tab changing
Mike Beattie [Thu, 7 Mar 2013 08:37:51 +0000 (21:37 +1300)]
altosdroid: Auto tab changing

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: implement Age field updating
Mike Beattie [Thu, 7 Mar 2013 08:37:22 +0000 (21:37 +1300)]
altosdroid: implement Age field updating

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: implement UI updating on tabs
Mike Beattie [Thu, 7 Mar 2013 08:35:43 +0000 (21:35 +1300)]
altosdroid: implement UI updating on tabs

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: implement tabs interface
Mike Beattie [Thu, 7 Mar 2013 08:33:27 +0000 (21:33 +1300)]
altosdroid: implement tabs interface

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: Import initial versions of XML and Java for Tab content
Mike Beattie [Thu, 7 Mar 2013 08:28:45 +0000 (21:28 +1300)]
altosdroid: Import initial versions of XML and Java for Tab content

* Includes TabsAdapter class borrowed from Support Library sample code
* New "GoNoGoLights" class for dealing with the red/green/gray LEDs
* extra required strings in strings.xml
* Couple of support functions in AltosDroid.java
* rudimentary Maps tab - does nothing at present.

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: whitespace cleanup
Mike Beattie [Thu, 7 Mar 2013 08:20:47 +0000 (21:20 +1300)]
altosdroid: whitespace cleanup

DAMN my OCD.

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: make AltosDroid.pos() static
Mike Beattie [Thu, 7 Mar 2013 08:20:06 +0000 (21:20 +1300)]
altosdroid: make AltosDroid.pos() static

* Will be used from tabs that display lat/lon

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: convert spaces to tabs in strings.xml
Mike Beattie [Thu, 7 Mar 2013 07:53:26 +0000 (20:53 +1300)]
altosdroid: convert spaces to tabs in strings.xml

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: adjust release Makefile target
Mike Beattie [Thu, 7 Mar 2013 07:49:41 +0000 (20:49 +1300)]
altosdroid: adjust release Makefile target

* Rename target
* Add dependency on unsigned release APK
* use $(ZIPALIGN) variable

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: Symlink red/green/gray LEDs via build system
Mike Beattie [Thu, 7 Mar 2013 07:48:16 +0000 (20:48 +1300)]
altosdroid: Symlink red/green/gray LEDs via build system

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: Adjust build system for GMaps & Tabs support
Mike Beattie [Thu, 7 Mar 2013 06:23:39 +0000 (19:23 +1300)]
altosdroid: Adjust build system for GMaps & Tabs support

* Use SupportV4 library for Tab support
* Use Google Services Lib for Google Maps
* revert to a standard Android target, not Google API's
* Add permissions required for Google Maps to manifest, and API key

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: adjust Makefile rules
Mike Beattie [Thu, 7 Mar 2013 06:05:43 +0000 (19:05 +1300)]
altosdroid: adjust Makefile rules

separate altoslib linking and, making of external lib directory.

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: use a glob for source files
Mike Beattie [Thu, 7 Mar 2013 06:02:48 +0000 (19:02 +1300)]
altosdroid: use a glob for source files

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: Only update BuildInfo.java when other source files change
Mike Beattie [Thu, 7 Mar 2013 05:59:30 +0000 (18:59 +1300)]
altosdroid: Only update BuildInfo.java when other source files change

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: Fix up some formatting in manifest
Mike Beattie [Thu, 7 Mar 2013 05:54:45 +0000 (18:54 +1300)]
altosdroid: Fix up some formatting in manifest

(And add flag to allow settings backup by google services)

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoMerge remote-tracking branch 'mjb/master'
Keith Packard [Thu, 7 Mar 2013 05:53:22 +0000 (21:53 -0800)]
Merge remote-tracking branch 'mjb/master'

7 years agoaltosdroid: minor whitespace cleanup
Mike Beattie [Thu, 7 Mar 2013 05:51:27 +0000 (18:51 +1300)]
altosdroid: minor whitespace cleanup

(damn my OCD!)

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: update copyrights/licensing
Mike Beattie [Thu, 7 Mar 2013 05:46:32 +0000 (18:46 +1300)]
altosdroid: update copyrights/licensing

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltoslib: Invalidate GPS new data bit when updating state
Keith Packard [Tue, 5 Mar 2013 03:44:30 +0000 (19:44 -0800)]
altoslib: Invalidate GPS new data bit when updating state

Somehow this line got lost when the GPS ground altitude fix was made.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoao-tools: Add ao-dumpflash program
Keith Packard [Mon, 4 Mar 2013 00:53:52 +0000 (16:53 -0800)]
ao-tools: Add ao-dumpflash program

This program dumps the entire flash contents of an AltOS device to
allow for external analysis.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agolibaltos: Open FTDI serial devices twice on Windows.
Keith Packard [Sun, 3 Mar 2013 01:46:29 +0000 (17:46 -0800)]
libaltos: Open FTDI serial devices twice on Windows.

Looks like the Windows FTDI driver has 'issues' and opening it only
once doesn't work correctly. Just close and re-open the device and it
seems to be perfectly happy.

Who knows?

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agodoc: Add version 1.2 release notes
Keith Packard [Sat, 2 Mar 2013 04:48:28 +0000 (20:48 -0800)]
doc: Add version 1.2 release notes

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agodoc: Document how to get TeleMini to 'emergency recovery' mode
Keith Packard [Sat, 2 Mar 2013 04:45:43 +0000 (20:45 -0800)]
doc: Document how to get TeleMini to 'emergency recovery' mode

TeleMini needs emergency recovery mode in case you forget the radio
parameters and need to get things back to a known state. Add
documentation to describe what this does and how to get it enabled.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosuilib: Disable graph element notifies for each add()
Keith Packard [Fri, 1 Mar 2013 20:34:04 +0000 (12:34 -0800)]
altosuilib: Disable graph element notifies for each add()

This reduces the number of notify calls made and dramatically speeds
up graph creation.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosuilib: Add setNotify/fireSeriesChanged methods to AltosUIGrapher
Keith Packard [Fri, 1 Mar 2013 20:28:34 +0000 (12:28 -0800)]
altosuilib: Add setNotify/fireSeriesChanged methods to AltosUIGrapher

This will let the data adding functions disable notifications while
adding all of the graph data, and then send a single notification when
the data sets are complete, which speeds up creating of the graph
elements quite a bit.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: telescience-v0.2 is an ARM product
Keith Packard [Sun, 24 Feb 2013 09:20:41 +0000 (01:20 -0800)]
altos: telescience-v0.2 is an ARM product

Move it from SDCC to ARM targets as Jenkins doesn't have an ARM compiler.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos/driver: Make HMC5883 driver build again
Keith Packard [Sun, 24 Feb 2013 09:20:16 +0000 (01:20 -0800)]
altos/driver: Make HMC5883 driver build again

Adapt to changes in OS interfaces

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoMerge branch 'telescience-v0.2'
Keith Packard [Sun, 24 Feb 2013 08:20:54 +0000 (00:20 -0800)]
Merge branch 'telescience-v0.2'

7 years agoUpdate build version to 1.2
Keith Packard [Sun, 24 Feb 2013 08:20:36 +0000 (00:20 -0800)]
Update build version to 1.2

Prepare for 1.2 release

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos/stm: Add more bits to NVIC register definitions
Keith Packard [Sun, 24 Feb 2013 08:19:49 +0000 (00:19 -0800)]
altos/stm: Add more bits to NVIC register definitions

This cleans up a few values, adds more comments and a few more NVIC fields.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosdroid: excise old code/xml
Mike Beattie [Fri, 15 Feb 2013 09:09:16 +0000 (22:09 +1300)]
altosdroid: excise old code/xml

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoall: clean up .gitignore files and Makefile clean targets
Mike Beattie [Fri, 15 Feb 2013 08:59:08 +0000 (21:59 +1300)]
all: clean up .gitignore files and Makefile clean targets

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosui: Fix AltosLanded call to AltosGraphUI
Keith Packard [Mon, 11 Feb 2013 19:40:38 +0000 (11:40 -0800)]
altosui: Fix AltosLanded call to AltosGraphUI

Changed the argument from String to File but forgot this one.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Remove graph series which aren't available
Keith Packard [Mon, 11 Feb 2013 18:34:47 +0000 (10:34 -0800)]
altosui: Remove graph series which aren't available

Make sure all graph series have actual data underlying them by
checking the available data before creating the series objects.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Stick file basename in graph window title
Keith Packard [Mon, 11 Feb 2013 18:31:24 +0000 (10:31 -0800)]
altosui: Stick file basename in graph window title

The title was empty before, this seems more useful than that.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosuilib: rescale axis when enabling data series
Keith Packard [Mon, 11 Feb 2013 18:24:34 +0000 (10:24 -0800)]
altosuilib: rescale axis when enabling data series

This makes sure new series are visible when you enable them.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agomicropeak: Remove Info.plist
Keith Packard [Mon, 11 Feb 2013 03:33:50 +0000 (19:33 -0800)]
micropeak: Remove Info.plist

It's built from Info.plist.in

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoBuild Windows .nsi files in configure script
Keith Packard [Mon, 11 Feb 2013 03:01:41 +0000 (19:01 -0800)]
Build Windows .nsi files in configure script

These need the library version numbers embedded in them.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Add map and GPS data to graph window. Trac #50
Keith Packard [Sun, 10 Feb 2013 23:34:56 +0000 (15:34 -0800)]
altosui: Add map and GPS data to graph window. Trac #50

See where the rocket landed without having to replay the whole flight.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Display count of erased flights along with their numbers
Keith Packard [Sun, 10 Feb 2013 22:56:10 +0000 (14:56 -0800)]
altosui: Display count of erased flights along with their numbers

An attempt to clarify what's going on by providing both a count and
the flight numbers.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Display block number while downloading flights. Track #51
Keith Packard [Sun, 10 Feb 2013 22:51:46 +0000 (14:51 -0800)]
altosui: Display block number while downloading flights. Track #51

We don't know how long the flight log is, but we can at least provide
a block number in the pacifier to let the user know it's not wedged.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Fix available flight log storage computation
Keith Packard [Sun, 10 Feb 2013 22:40:48 +0000 (14:40 -0800)]
altoslib: Fix available flight log storage computation

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>
7 years agoaltosui: Display callsign in connecting message window
Keith Packard [Sun, 10 Feb 2013 22:18:16 +0000 (14:18 -0800)]
altosui: Display callsign in connecting message window

When waiting for the remote end to respond, display the callsign along
with the frequency so that the user remembers that it's important to
set that too.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Interrupt MonitorIdle when changing frequency/callsign
Keith Packard [Sun, 10 Feb 2013 22:17:04 +0000 (14:17 -0800)]
altosui: Interrupt MonitorIdle when changing frequency/callsign

When switching radio parameters, the local device needs to have the
parameters switched, so interrupt the current operation and start
over, the frequency and callsign will be set the next time through.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Add callsign to Monitor Idle window (Trac #62)
Keith Packard [Sun, 10 Feb 2013 19:58:36 +0000 (11:58 -0800)]
altosui: Add callsign to Monitor Idle window (Trac #62)

This makes it a lot more obvious that the callsign is relevant to the
Monitor Idle process.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoMerge remote-tracking branch 'mjb/master'
Keith Packard [Sun, 10 Feb 2013 09:21:52 +0000 (01:21 -0800)]
Merge remote-tracking branch 'mjb/master'

7 years agoaltosui: Adjust graph voltage tool-tip value format
Keith Packard [Sun, 10 Feb 2013 08:40:59 +0000 (00:40 -0800)]
altosui: Adjust graph voltage tool-tip value format

Voltages are always small, so use more of the space for the
fractional value.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Fix a couple of unit functions to make them public
Keith Packard [Sun, 10 Feb 2013 08:32:26 +0000 (00:32 -0800)]
altoslib: Fix a couple of unit functions to make them public

Nice to be able to use these outside of altoslib

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui/altoslib/altosuilib: Switch altosui to shared graph code
Keith Packard [Sun, 10 Feb 2013 08:29:29 +0000 (00:29 -0800)]
altosui/altoslib/altosuilib: Switch altosui to shared graph code

This adds a configuration tab to the graph window to enable/disable
various plotted values.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosuilib/micropeak: Add state markers to micropeak graph
Keith Packard [Sun, 10 Feb 2013 04:24:33 +0000 (20:24 -0800)]
altosuilib/micropeak: Add state markers to micropeak graph

I think this makes the micropeak graph as functional as the altosui graph

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Fix altoslib install
Keith Packard [Sun, 10 Feb 2013 03:24:18 +0000 (19:24 -0800)]
altoslib: Fix altoslib install

Was using AltosLibdir in several places still

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosuilib: Initialize graph axes units
Keith Packard [Sun, 10 Feb 2013 03:23:27 +0000 (19:23 -0800)]
altosuilib: Initialize graph axes units

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Add AltosUnits.graph_format
Keith Packard [Sat, 9 Feb 2013 10:00:13 +0000 (02:00 -0800)]
altoslib: Add AltosUnits.graph_format

This describes the format of numbers used on a graph axis for use with jfreechart

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agomicropeak: Use altosuilib graphing functions
Keith Packard [Sat, 9 Feb 2013 09:59:18 +0000 (01:59 -0800)]
micropeak: Use altosuilib graphing functions

Move these out of micropeak and into shared code

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosuilib: Add graphing routines from MicroPeak
Keith Packard [Sat, 9 Feb 2013 09:58:23 +0000 (01:58 -0800)]
altosuilib: Add graphing routines from MicroPeak

Make these available for AltosUI too

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosuilib: Remove duplicate AltosUnitsListener.java
Keith Packard [Sat, 9 Feb 2013 09:55:51 +0000 (01:55 -0800)]
altosuilib: Remove duplicate AltosUnitsListener.java

This lives in altoslib

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agovarious updates to the text .. more SMA to BNC adapter references, etc
Bdale Garbee [Sat, 9 Feb 2013 16:09:36 +0000 (09:09 -0700)]
various updates to the text .. more SMA to BNC adapter references, etc

7 years agoupdate copyright year to 2013
Bdale Garbee [Sat, 9 Feb 2013 15:47:10 +0000 (08:47 -0700)]
update copyright year to 2013

7 years agoadd pcb overall dimensions and screw sizes the holes are intended for
Bdale Garbee [Sat, 9 Feb 2013 15:44:11 +0000 (08:44 -0700)]
add pcb overall dimensions and screw sizes the holes are intended for

7 years agodoc: Add TeleMetrum and TeleMini drill templates
Keith Packard [Sat, 9 Feb 2013 07:37:49 +0000 (23:37 -0800)]
doc: Add TeleMetrum and TeleMini drill templates

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Add atmosphere.5c
Keith Packard [Mon, 4 Feb 2013 18:51:49 +0000 (10:51 -0800)]
altos: Add atmosphere.5c

Shared code for building pressure tables

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agotest: Accept micropeak CSV files for micropeak testing
Keith Packard [Mon, 4 Feb 2013 17:56:18 +0000 (09:56 -0800)]
test: Accept micropeak CSV files for micropeak testing

This interpolates the missing values to provide a reasonable testing
environment for the Micropeak flight firmware.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Document which MPU6000 revs have broken accel values
Keith Packard [Mon, 4 Feb 2013 17:51:30 +0000 (09:51 -0800)]
altos: Document which MPU6000 revs have broken accel values

From Tridge -- MPU6000 rev C4 and C5 are broken, having accelerometer
values in the wrong range. This commit just adds comments which note
this; experimentation will be required to actually sort out what's
going on.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agomicropeak: Update Makefile to versioned Java libraries
Keith Packard [Mon, 4 Feb 2013 17:50:07 +0000 (09:50 -0800)]
micropeak: Update Makefile to versioned Java libraries

Library names have changed; deal with it.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: fix Makefile JAR target
Keith Packard [Mon, 4 Feb 2013 17:49:07 +0000 (09:49 -0800)]
altoslib: fix Makefile JAR target

Was referencing stale classAltosLib.stamp instead of new classaltoslib.stamp

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoAdd version numbers to java libraries
Keith Packard [Tue, 29 Jan 2013 06:00:43 +0000 (17:00 +1100)]
Add version numbers to java libraries

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>
7 years agoChange AltosLib to altoslib
Keith Packard [Tue, 29 Jan 2013 03:52:23 +0000 (14:52 +1100)]
Change AltosLib to altoslib

Follow Java conventions

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosdroid: initial release to Play Store altosdroid_v1.1.9.3
Mike Beattie [Mon, 28 Jan 2013 12:34:48 +0000 (01:34 +1300)]
altosdroid: initial release to Play Store

* Add release keystore (encrypted)
* Turn off debugging in UI
* add 'sign' target to Makefile.am
* Update version string in AndroidManifest.xml to match released version of altosui.

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoMark MicroPeak as a recording altimeter, not a peak-recording altimeter
Keith Packard [Thu, 24 Jan 2013 22:18:39 +0000 (14:18 -0800)]
Mark MicroPeak as a recording altimeter, not a peak-recording altimeter

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agomicropeak: fix 'make clean' and .gitignore
Keith Packard [Wed, 23 Jan 2013 02:50:02 +0000 (18:50 -0800)]
micropeak: fix 'make clean' and .gitignore

Make git status clean in micropeak dir

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agomicropeak: Add mac build file Info.plist
Keith Packard [Wed, 23 Jan 2013 01:49:25 +0000 (17:49 -0800)]
micropeak: Add mac build file Info.plist

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoAdd documentation for the MicroPeak USB interface
Keith Packard [Wed, 23 Jan 2013 01:34:44 +0000 (17:34 -0800)]
Add documentation for the MicroPeak USB interface

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agomicropeak: Respect font size preference in MicroPeak stats tab
Keith Packard [Wed, 23 Jan 2013 01:29:37 +0000 (17:29 -0800)]
micropeak: Respect font size preference in MicroPeak stats tab

This uses the font size preference to adjust the size of the text
shown in the Statistics tab.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Make initial AltOS window position configurable
Keith Packard [Sun, 20 Jan 2013 23:42:05 +0000 (15:42 -0800)]
altosui: Make initial AltOS window position configurable

Give the user a choice of nine locations on the screen

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Remove duplicate AltosUIPreferences.java
Keith Packard [Sun, 20 Jan 2013 23:39:53 +0000 (15:39 -0800)]
altosui: Remove duplicate AltosUIPreferences.java

This lives in altosuilib now. Several files needed imports of
altosuilib added as a result.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: All of the Altos class is actually in AltosUILib now
Keith Packard [Sun, 20 Jan 2013 23:37:40 +0000 (15:37 -0800)]
altosui: All of the Altos class is actually in AltosUILib now

Remove all of the duplicate content, shrinking AltosLib to a simple alias

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui/micropeak: Let native window system place windows
Keith Packard [Sun, 20 Jan 2013 02:04:08 +0000 (18:04 -0800)]
altosui/micropeak: Let native window system place windows

Instead of forcing windows to our choice of positions, let the host
window pick reasonable locations. This avoids having all of our
windows appear on top of one another.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosi: callsign could not be configured for AltosUI
Keith Packard [Sun, 20 Jan 2013 03:30:38 +0000 (19:30 -0800)]
altosi: callsign could not be configured for AltosUI

An extra local variable called callsign_value was hiding the object
field by the same name and preventing it from getting set to the right value

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoTag version 1.1.9.3 1.1.9.3
Keith Packard [Sat, 19 Jan 2013 05:53:54 +0000 (21:53 -0800)]
Tag version 1.1.9.3

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agomicropeak: Fetch Mac and Windows drivers when creating packages
Keith Packard [Thu, 17 Jan 2013 06:05:32 +0000 (22:05 -0800)]
micropeak: Fetch Mac and Windows drivers when creating packages

This downloads the FTDI drivers from FTDI during the build process

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoMerge branch 'master' into telescience-v0.2
Keith Packard [Wed, 16 Jan 2013 23:22:46 +0000 (15:22 -0800)]
Merge branch 'master' into telescience-v0.2

8 years agomicropeak: Show decimeters in stats window
Keith Packard [Wed, 16 Jan 2013 23:18:31 +0000 (15:18 -0800)]
micropeak: Show decimeters in stats window

We're promising this kindof accuracy, so we'd best show it off

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Add Kalman filter to MicroPeak
Keith Packard [Wed, 16 Jan 2013 23:15:49 +0000 (15:15 -0800)]
altos: Add Kalman filter to MicroPeak

This filters altitudes more accurately and also allows tracking of
acceleration, which is used to discard height data generated by
ejection charge noise

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Add computation of MicroPeak Kalman correction coefficients
Keith Packard [Wed, 16 Jan 2013 23:13:31 +0000 (15:13 -0800)]
altos: Add computation of MicroPeak Kalman correction coefficients

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Correct model error covariance matrix
Keith Packard [Wed, 16 Jan 2013 23:01:12 +0000 (15:01 -0800)]
altos: Correct model error covariance matrix

Finally found a couple of decent references on how to set the model
(process) error covariance matrix. The current process matrix turns
out to be correct for a continuous kalman filter (which isn't
realizable, of course). For a discrete filter, the error in modeled
acceleration (we model it as a constant) needs to be propogated to the
speed and position portions of the matrix.

The correct matrix is seen in this paper:

On Reduced-Order Kalman Filters For GPS Position Filtering
J. Shima
6/2/2001

This references an older paper which is supposed to describe the
derivation of the matrix:

Singer, R.A., “Estimating Optimal Tracking Filter Performance for Manned Maneuvering Targets,”
IEEE Transactions of Aerospace and Electronic Systems, AES-5, July 1970, pp. 473-483.

This change has a minor effect on the computed correction
coefficients; it should respond more reasonably to acceleration
changes now.

Signed-off-by: Keith Packard <keithp@keithp.com>