fw/altos
23 months agoMerge branch 'master' into pwmin-new pwmin-new 1.1.9.1
Keith Packard [Thu, 18 Oct 2012 23:49:28 +0000 (16:49 -0700)]
Merge branch 'master' into pwmin-new

23 months agoaltosui: Re-add a couple of "unused" values
Keith Packard [Thu, 18 Oct 2012 23:19:38 +0000 (16:19 -0700)]
altosui: Re-add a couple of "unused" values

The values in these calls aren't needed, but the side-effects are, so
add them back in.

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

23 months agoBump version to 1.1.9.1
Keith Packard [Thu, 18 Oct 2012 23:02:59 +0000 (16:02 -0700)]
Bump version to 1.1.9.1

Prepare for Rocketober/Thrustration

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

23 months agoaltos/megametrum: Switch back to using the MS5607
Keith Packard [Thu, 18 Oct 2012 22:34:41 +0000 (15:34 -0700)]
altos/megametrum: Switch back to using the MS5607

We're planning to ship the MS5607

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

23 months agoMerge branch 'master' into mm-ms5611
Keith Packard [Thu, 18 Oct 2012 22:18:52 +0000 (15:18 -0700)]
Merge branch 'master' into mm-ms5611

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

23 months agoaltos: Build telescience-pwm product when possible
Keith Packard [Wed, 17 Oct 2012 05:33:34 +0000 (22:33 -0700)]
altos: Build telescience-pwm product when possible

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

23 months agoaltos: Add telescience-pwm product
Keith Packard [Wed, 17 Oct 2012 05:21:04 +0000 (22:21 -0700)]
altos: Add telescience-pwm product

Split out special PWM-sampling telescience product

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

23 months agoaltos: Only enable PWM on telescience_pwm product
Keith Packard [Wed, 17 Oct 2012 05:17:25 +0000 (22:17 -0700)]
altos: Only enable PWM on telescience_pwm product

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

23 months agotelescience: correctly calculating rate values with higher resolution
Robert Garbee [Thu, 19 Jul 2012 00:41:00 +0000 (18:41 -0600)]
telescience: correctly calculating rate values with higher resolution

23 months agoICP3 working
Robert Garbee [Wed, 18 Jul 2012 20:24:05 +0000 (14:24 -0600)]
ICP3 working

23 months agoTimer 3 working with slower clock and all 16 bits.
Robert Garbee [Wed, 18 Jul 2012 19:41:27 +0000 (13:41 -0600)]
Timer 3 working with slower clock and all 16 bits.

23 months agofirst work on PWM input to TeleScience, 'p' command displays timer 1
Robert Garbee [Tue, 17 Jul 2012 19:23:48 +0000 (13:23 -0600)]
first work on PWM input to TeleScience, 'p' command displays timer 1

23 months agotelescience: steal last adc channel for icp3 most recent value
Robert Garbee [Thu, 19 Jul 2012 17:40:20 +0000 (11:40 -0600)]
telescience: steal last adc channel for icp3 most recent value
Make the ICP3 rpm counter use in ao_adc_avr.c optional

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

23 months agoaltosui: Accept serial number of zero for eeprom download
Keith Packard [Wed, 17 Oct 2012 04:54:23 +0000 (21:54 -0700)]
altosui: Accept serial number of zero for eeprom download

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>

23 months agoaltos/avr: Use ISR_BLOCK to disable interrupts during slave ISR
Keith Packard [Wed, 17 Oct 2012 04:08:58 +0000 (21:08 -0700)]
altos/avr: Use ISR_BLOCK to disable interrupts during slave ISR

This avoids enabling and then immediatly disabling them

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

23 months agoaltosui: Print exception stack trace when tracking flights
Keith Packard [Wed, 17 Oct 2012 00:14:05 +0000 (17:14 -0700)]
altosui: Print exception stack trace when tracking flights

More useful in fixing the problem

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

23 months agoaltosui: Handle missing pad distance in descent tab
Keith Packard [Wed, 17 Oct 2012 00:13:04 +0000 (17:13 -0700)]
altosui: Handle missing pad distance in descent tab

When the GPS isn't locked, the distance from the pad cannot be
computed and is left missing. Not crashing in this case is more useful.

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

23 months agoaltos/telelco: Make the RSSI led turn red when no packet is received
Keith Packard [Mon, 15 Oct 2012 07:24:57 +0000 (00:24 -0700)]
altos/telelco: Make the RSSI led turn red when no packet is received

This involved splitting out the notion of ever having received an
answer and having received an answer from the last query.

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

23 months agoaltos/telelco: 10ms is not enough time to get a packet back
Keith Packard [Mon, 15 Oct 2012 07:24:28 +0000 (00:24 -0700)]
altos/telelco: 10ms is not enough time to get a packet back

Not reliable, so bump to 20ms

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

23 months agoaltos/telelco: Only display every 10th box number during scan
Keith Packard [Mon, 15 Oct 2012 07:07:57 +0000 (00:07 -0700)]
altos/telelco: Only display every 10th box number during scan

This reduces the scan time to about 4 seconds, which seems tolerable

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

23 months agoaltos/telelco: Crank up SPI speed to cc1111
Keith Packard [Mon, 15 Oct 2012 07:06:57 +0000 (00:06 -0700)]
altos/telelco: Crank up SPI speed to cc1111

The cc1111 can handle up to 3MHz, so use 2MHz. Also, crank down the
packet wait time to 10ms, which should be plenty long for the remote
box to receive and return a packet.

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

23 months agoaltos/stm: Declare all SPI bus speeds
Keith Packard [Mon, 15 Oct 2012 07:06:10 +0000 (00:06 -0700)]
altos/stm: Declare all SPI bus speeds

Just list them all so users can pick what they like

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

23 months agoaltos/telelco: Actually set pad when it changes
Keith Packard [Mon, 15 Oct 2012 06:40:58 +0000 (23:40 -0700)]
altos/telelco: Actually set pad when it changes

Oops. Lost the actual assignment to the current pad

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

23 months agoaltos/telelco: Handle case where no boxes are present
Keith Packard [Mon, 15 Oct 2012 06:24:49 +0000 (23:24 -0700)]
altos/telelco: Handle case where no boxes are present

Don't infinite loop looking for something which isn't there

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

23 months agoaltos/telelco: Only present valid pads
Keith Packard [Mon, 15 Oct 2012 06:16:45 +0000 (23:16 -0700)]
altos/telelco: Only present valid pads

Limit pad display to valid pads, skipping missing ones.

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

23 months agoaltos/telefire: Report valid channels instead of valid pins
Keith Packard [Mon, 15 Oct 2012 06:04:44 +0000 (23:04 -0700)]
altos/telefire: Report valid channels instead of valid pins

Now that pins don't match channels 1:1, make sure that the report back
to the LCO names the channels instead of the pin numbers.

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

23 months agoaltos/test: Display MPU6000 values in ao_flight_test_mm output
Keith Packard [Sat, 13 Oct 2012 22:04:46 +0000 (15:04 -0700)]
altos/test: Display MPU6000 values in ao_flight_test_mm output

No computation yet, just making the values visible in the output

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

23 months agoaltos: Define full-scale gyro and accel values for MPU6000
Keith Packard [Sat, 13 Oct 2012 22:04:00 +0000 (15:04 -0700)]
altos: Define full-scale gyro and accel values for MPU6000

This lets other code convert MPU6000 readings into canonical units

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

23 months agoaltos: When missing MMA655x, create fake Z accel value
Keith Packard [Sat, 13 Oct 2012 22:02:42 +0000 (15:02 -0700)]
altos: When missing MMA655x, create fake Z accel value

This avoids overwriting the MPU6000 y acceleration value so that other
computations using that value can work unmodified.

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

23 months agoaltos/test: Add ao_flight_test_mm
Keith Packard [Sat, 13 Oct 2012 20:39:03 +0000 (13:39 -0700)]
altos/test: Add ao_flight_test_mm

This reads mega metrum eeprom files and runs the flight code over it

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

23 months agoaltos: Eliminate implicit 1 byte offset in uint16/int16 functions
Keith Packard [Sat, 13 Oct 2012 20:37:29 +0000 (13:37 -0700)]
altos: Eliminate implicit 1 byte offset in uint16/int16 functions

Make callers explicitly compute the full offset

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

23 months agoaltos: Split out ms5607 conversion code for use in ao_flight_test
Keith Packard [Sat, 13 Oct 2012 20:35:42 +0000 (13:35 -0700)]
altos: Split out ms5607 conversion code for use in ao_flight_test

Makes the conversion code available even where the driver isn't needed

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

23 months agoaltos: struct ao_log_mega doesn't have a ground temp value
Keith Packard [Sat, 13 Oct 2012 20:34:28 +0000 (13:34 -0700)]
altos: struct ao_log_mega doesn't have a ground temp value

There's no averaged ground temperature recorded in the flight system
to save there, so just remove the field

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

23 months agoaltos: Document a few member offsets in struct ao_log_record
Keith Packard [Sat, 13 Oct 2012 20:33:45 +0000 (13:33 -0700)]
altos: Document a few member offsets in struct ao_log_record

Incomplete, but useful even so

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

23 months agoaltosui: Parse .mega files from command line
Keith Packard [Sat, 13 Oct 2012 20:32:56 +0000 (13:32 -0700)]
altosui: Parse .mega files from command line

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

23 months agoaltos: Add .gitignore for micropeak
Keith Packard [Fri, 12 Oct 2012 21:27:14 +0000 (14:27 -0700)]
altos: Add .gitignore for micropeak

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

23 months agoaltos: Add (untested) driver for AT24C i2c flash parts
Keith Packard [Fri, 12 Oct 2012 21:26:08 +0000 (14:26 -0700)]
altos: Add (untested) driver for AT24C i2c flash parts

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

23 months agoaltos: Add initial micropeak implementation
Keith Packard [Fri, 12 Oct 2012 21:22:41 +0000 (14:22 -0700)]
altos: Add initial micropeak implementation

Blinks out max height in decimeters, stores previous flight data to
internal eeprom.

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

23 months agoaltos: Allow products to define which LED to panic with
Keith Packard [Fri, 12 Oct 2012 21:18:37 +0000 (14:18 -0700)]
altos: Allow products to define which LED to panic with

Continue to use AO_LED_RED by default.

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

23 months agoaltos: Megametrum uses altitude-pa.h, not altitude.h
Keith Packard [Fri, 12 Oct 2012 21:08:19 +0000 (14:08 -0700)]
altos: Megametrum uses altitude-pa.h, not altitude.h

Make sure megametrum gets rebuilt as needed when the various
altitude-pa related files change

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

23 months agoaltos: Add attiny architecture files
Keith Packard [Fri, 12 Oct 2012 21:04:57 +0000 (14:04 -0700)]
altos: Add attiny architecture files

These are designed to work with the ATtiny85 processor, but can
presuambly be easily adapted to others in that series

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

23 months agoaltos: Include struct ao_data declaration only when used
Keith Packard [Fri, 12 Oct 2012 21:03:28 +0000 (14:03 -0700)]
altos: Include struct ao_data declaration only when used

Leave it out for products that don't have a ring of sensor data

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

23 months agoaltos: Clean up types in Pa conversion testing code. Only test to 40km
Keith Packard [Fri, 12 Oct 2012 21:02:29 +0000 (14:02 -0700)]
altos: Clean up types in Pa conversion testing code. Only test to 40km

A couple of missing 'int' declarations.
Only test to 40km as above that there aren't enough data points to do
anything reasonable

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

23 months agoaltos: Elide ao_altitude_to_pa in flight firmware
Keith Packard [Fri, 12 Oct 2012 21:01:16 +0000 (14:01 -0700)]
altos: Elide ao_altitude_to_pa in flight firmware

Only the conversion testing code needs to get back from altitude to
pressure, so don't include that code in other environments.

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

23 months agoaltos: Parameterize altitude table access and initialization
Keith Packard [Fri, 12 Oct 2012 20:59:50 +0000 (13:59 -0700)]
altos: Parameterize altitude table access and initialization

This allows projects to store the altitude data in different
representations or with different access modes.

By default, altitude data is stored in meters, but the initializers
include decimeter values so those can be used instead if desired.

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

23 months agoaltos: Use alt_t for all Pascal-based altitude data
Keith Packard [Fri, 12 Oct 2012 20:57:49 +0000 (13:57 -0700)]
altos: Use alt_t for all Pascal-based altitude data

This allows alt_t to be overridden for systems using the MS5607/MS5611
sensors

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

23 months agoaltos: Allow for other mutex implementations
Keith Packard [Fri, 12 Oct 2012 20:55:33 +0000 (13:55 -0700)]
altos: Allow for other mutex implementations

Allow projects to replace ao_mutex_get and ao_mutex_put with macros

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

23 months agoaltos: Allow projects to specify clock at other than 100Hz
Keith Packard [Fri, 12 Oct 2012 20:54:37 +0000 (13:54 -0700)]
altos: Allow projects to specify clock at other than 100Hz

Leave the default at 100Hz, but allow it to be overridden

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

23 months agoaltos: Prepare ms5607 driver for use in non-tasking products
Keith Packard [Fri, 12 Oct 2012 20:37:07 +0000 (13:37 -0700)]
altos: Prepare ms5607 driver for use in non-tasking products

Micropeak doesn't have tasking, prepare the ms5607 driver for that

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

23 months agoaltos: Split task definitions out to ao_task.h
Keith Packard [Fri, 12 Oct 2012 20:31:17 +0000 (13:31 -0700)]
altos: Split task definitions out to ao_task.h

And only include them if using tasks

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

23 months agoaltos/telefire: Add siren/strobe support
Keith Packard [Wed, 10 Oct 2012 21:28:07 +0000 (14:28 -0700)]
altos/telefire: Add siren/strobe support

This also involved hacking up the code to allow for non-zero offsets
for the pad firing and continuity pins.

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

23 months agoaltos: Fix up ms5607 and mma655x commands to work again
Keith Packard [Tue, 9 Oct 2012 06:24:19 +0000 (23:24 -0700)]
altos: Fix up ms5607 and mma655x commands to work again

These just display the most recently fetched values

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

23 months agoaltos: Go back to recording sensor data in globals mm-ms5611
Keith Packard [Tue, 9 Oct 2012 06:04:16 +0000 (23:04 -0700)]
altos: Go back to recording sensor data in globals

Instead of trying to get things into the ring from a variety of
functions, go back to the simpler method of storing them in globals
and having the ADC code just pluck out the most recent values.

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

23 months agoaltos: Compute desired frequency when upgrading from pre-1.1
Keith Packard [Tue, 9 Oct 2012 04:59:55 +0000 (21:59 -0700)]
altos: Compute desired frequency when upgrading from pre-1.1

Instead of just smashing the frequency to 434.550, compute the
frequency from the old radio channel value

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

23 months agoaltos/megametrum: Try running accel and baro in parallel again
Keith Packard [Sun, 7 Oct 2012 22:40:41 +0000 (15:40 -0700)]
altos/megametrum: Try running accel and baro in parallel again

Now that the baro sensor appears to be working, try running
conversions in parallel to see if that makes the accel cal happy

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

23 months agoaltos/stm: Set SPI clock high for disabled SPI busses
Keith Packard [Sun, 7 Oct 2012 02:39:15 +0000 (19:39 -0700)]
altos/stm: Set SPI clock high for disabled SPI busses

This should avoid an accidental low->high transition when switching
between multiple SPI busses.

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

23 months agoaltos/telefire: Make sure armed alarm goes off on time
Keith Packard [Sun, 7 Oct 2012 01:25:15 +0000 (18:25 -0700)]
altos/telefire: Make sure armed alarm goes off on time

Instead of turning the alarm off when a packet is received after the
deadline, just do it in the thread which is awake all of the time.

This prevents the alarm from sticking on when the LCO box is turned
off while the arming key is on.

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

23 months agoaltos/stm: Clean up SPI pin configuration code
Keith Packard [Sun, 7 Oct 2012 00:56:23 +0000 (17:56 -0700)]
altos/stm: Clean up SPI pin configuration code

Make sure none of the pin configurations are being used at startup
time. Split out the pin configuration into separate functions.

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

23 months agoaltos/drivers: Use data ring values for MS5607 presentation
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>

23 months agoaltos/megametrum: Make MS5607 driver hold SPI bus for whole operation
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>

23 months agoaltos/megametrum: Use mma655x for acceleration measurements now
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>

23 months agoMerge branch 'master' into mm-ms5611
Keith Packard [Wed, 3 Oct 2012 17:44:28 +0000 (10:44 -0700)]
Merge branch 'master' into mm-ms5611

23 months agoaltos: Re-enable the ms5607 and mma655x acquisition threads
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>

23 months agoaltos/megametrum: Commit for boards with MS5611 baro sensor
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>

23 months agoaltos: Provide MS5611 configuration option, HAS_MS5611
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>

23 months agoaltos: Shrink Pa to altitude table
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>

2 years agoBump revision to 1.2 development branch
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>

2 years agoMerge remote-tracking branch 'mjb/altosdroid'
Keith Packard [Thu, 20 Sep 2012 09:30:19 +0000 (11:30 +0200)]
Merge remote-tracking branch 'mjb/altosdroid'

2 years agoMerge remote-tracking branch 'mjb/prefs_interface'
Keith Packard [Thu, 20 Sep 2012 09:30:11 +0000 (11:30 +0200)]
Merge remote-tracking branch 'mjb/prefs_interface'

2 years agoMerge remote-tracking branch 'mjb/altosui_mjb'
Keith Packard [Thu, 20 Sep 2012 09:29:55 +0000 (11:29 +0200)]
Merge remote-tracking branch 'mjb/altosui_mjb'

2 years agoaltosdroid: initial implementation of telemetry logging.
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>

2 years agoaltoslib: make parts of AltosLog public for usage outside altoslib.
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>

2 years agoaltos{lib,ui,droid}: move OS specific code out of altoslib
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>

2 years agoaltosdroid: cosmetic re-order of methods
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>

2 years agoaltosdroid: simplify keys() method
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>

2 years agoaltosdroid: Update Makefile.am
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>

2 years agofurther refinment of Releasing document
Bdale Garbee [Sun, 16 Sep 2012 21:12:26 +0000 (15:12 -0600)]
further refinment of Releasing document

2 years agoreleasing 1.1.1 1.1.1
Bdale Garbee [Sun, 16 Sep 2012 19:59:21 +0000 (13:59 -0600)]
releasing 1.1.1

2 years agoAdd release notes for version 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>

2 years agoaltosdroid: implement AltosPreferencesBackend, and initialize.
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>

2 years agoMerge branch 'prefs_interface' into altosdroid
Mike Beattie [Sun, 16 Sep 2012 10:27:04 +0000 (22:27 +1200)]
Merge branch 'prefs_interface' into altosdroid

2 years agoaltos: Fix telemini sdcdb init file
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>

2 years agoaltosui: Gather Tm sensor data in Monitor Idle mode
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>

2 years agoaltos: Need to use 16-bit counts for ao_xmem functions
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>

2 years agoaltosui: Show over-ground-distance in Descent tab
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>

2 years agoaltosui: Remove debugging from KML export
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>

2 years agoaltosui: Fix Landed tab units
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>

2 years agoaltoslib: Update GPS seen_values in AltosEepromIterable
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>

2 years agoaltoslib: Remove duplicate seen_ values in AltosEepromIterable
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>

2 years agoaltosui: remove un-used import
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>

2 years agoaltosui: revert AltosUIPreferences init() method
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>

2 years agoaltosui: Add return to try/catch.. duh
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>

2 years agoaltosui: add missing try/catch
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>

2 years agoaltosui/altoslib: bug fixes, update Makefile.am
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>

2 years agoaltosui/altoslib: Add call to …Preferences.init() with backend object, remove static...
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>

2 years agoaltoslib: Add AltosPreferencesBackend.java to Makefile.am
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>

2 years agoaltosui/altoslib: add methods to interface, fix imports/exceptions in BT code
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>

2 years agoaltosui: add missing methods for Backend, fix BT code.
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>

2 years agoaltoslib/altosui: begin moving preferences "backend" into interface
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>

2 years agoaltosui: comment out obsolete code - could probably remove the file.
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>