fw/altos
7 years agoSet version to 1.3.2 in preparation for release
Keith Packard [Fri, 24 Jan 2014 18:10:00 +0000 (10:10 -0800)]
Set version to 1.3.2 in preparation for release

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agodoc: Add 1.3.2 release notes
Keith Packard [Fri, 24 Jan 2014 17:35:55 +0000 (09:35 -0800)]
doc: Add 1.3.2 release notes

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Tmega Don't try to log info about more than 12 GPS sats
Keith Packard [Fri, 24 Jan 2014 17:21:46 +0000 (09:21 -0800)]
altos: Tmega Don't try to log info about more than 12 GPS sats

The mega log format has a single packet for GPS info which holds a
maximum of 12 satellites. Bdale managed to get 14 sats in view, which
ended up crashing the ground station software, and also overflowed the
gps_tracking_data structure.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Validate TeleMega GPS_SAT log packet nsat
Keith Packard [Fri, 24 Jan 2014 06:16:36 +0000 (22:16 -0800)]
altoslib: Validate TeleMega GPS_SAT log packet nsat

Make sure nsat is not more than the size of the array

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoupdate notes on how to release
Bdale Garbee [Thu, 23 Jan 2014 04:31:03 +0000 (21:31 -0700)]
update notes on how to release

7 years agofreshen ChangeLog for release 1.3.1
Bdale Garbee [Thu, 23 Jan 2014 03:53:03 +0000 (20:53 -0700)]
freshen ChangeLog for release

7 years agoupdate copyright date on main documentation file
Bdale Garbee [Thu, 23 Jan 2014 03:52:09 +0000 (20:52 -0700)]
update copyright date on main documentation file

7 years agodoc: Update for 1.3.1
Keith Packard [Wed, 22 Jan 2014 07:02:27 +0000 (23:02 -0800)]
doc: Update for 1.3.1

Add 1.3.1 release notes. Update screen shots. Document new functionality

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agodoc: Fix image widths to make them all scale the same amount
Keith Packard [Wed, 22 Jan 2014 07:01:28 +0000 (23:01 -0800)]
doc: Fix image widths to make them all scale the same amount

Hand-compute scale factors so that all images are presented at the
same relative size as they would be on the screen.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Handle serial-port startup errors in idle-monitor
Keith Packard [Wed, 22 Jan 2014 06:13:01 +0000 (22:13 -0800)]
altosui: Handle serial-port startup errors in idle-monitor

Trap exceptions during idle monitor startup and report them.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Handle already-opened link in IgniteUI
Keith Packard [Wed, 22 Jan 2014 06:01:39 +0000 (22:01 -0800)]
altosui: Handle already-opened link in IgniteUI

Must run the link open from the UI thread so that we can put up the
in-use dialog immdiately; otherwise the UI thread is blocked which
means the dialog never appears and the app appears to hang.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosuilib: Remove some spurious debug printfs
Keith Packard [Wed, 22 Jan 2014 05:37:18 +0000 (21:37 -0800)]
altosuilib: Remove some spurious debug printfs

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Fetch target device config for Fire Igniter npyro value
Keith Packard [Wed, 22 Jan 2014 05:34:58 +0000 (21:34 -0800)]
altoslib: Fetch target device config for Fire Igniter npyro value

The code was using the AltosLink config_data, which is always the
locally connected device's configuration. When using the packet link,
that's not terribly useful when asking how many extra pyro channels
are available.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoMerge remote-tracking branch 'origin/master'
Keith Packard [Wed, 22 Jan 2014 04:59:06 +0000 (20:59 -0800)]
Merge remote-tracking branch 'origin/master'

7 years agoset version to 1.3.1 for release
Bdale Garbee [Wed, 22 Jan 2014 04:31:25 +0000 (21:31 -0700)]
set version to 1.3.1 for release

7 years agoaltosui: rate limit map downloads
Anthony Towns [Mon, 20 Jan 2014 09:38:21 +0000 (19:38 +1000)]
altosui: rate limit map downloads

7 years agoaltosui: --fetchmaps gets same number of maps as GUI
Anthony Towns [Sun, 19 Jan 2014 19:10:58 +0000 (05:10 +1000)]
altosui: --fetchmaps gets same number of maps as GUI

7 years agoAltosSiteMapPreload: only load 49 maps
Anthony Towns [Sun, 19 Jan 2014 18:52:43 +0000 (04:52 +1000)]
AltosSiteMapPreload: only load 49 maps

Google Static Maps API limits queries to 50 maps per IP per minute,
so querying a 7x7 array instead of a 9x9 array seems more likely to
work well.

7 years agoaltosui: Make romconfig serial and radio cal fields 8 digits wide
Keith Packard [Sun, 19 Jan 2014 08:17:06 +0000 (00:17 -0800)]
altosui: Make romconfig serial and radio cal fields 8 digits wide

This ensure that they are wide enough to show a cc1120 calibration
value, which is 7 digits.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoset version to 1.3.0.2 for test flights this weekend
Bdale Garbee [Sat, 18 Jan 2014 03:55:45 +0000 (20:55 -0700)]
set version to 1.3.0.2 for test flights this weekend

7 years agouse firmware in /usr/share/altos for production flashing
Bdale Garbee [Sat, 18 Jan 2014 03:47:16 +0000 (20:47 -0700)]
use firmware in /usr/share/altos for production flashing

7 years agoaltos: Add missing ADC divider values for Tmega v1.0
Keith Packard [Wed, 15 Jan 2014 21:28:16 +0000 (13:28 -0800)]
altos: Add missing ADC divider values for Tmega v1.0

Somehow I left these out of the previous commit

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoIgnore 32 and 64 bit cjnitest apps
Keith Packard [Wed, 15 Jan 2014 20:42:59 +0000 (12:42 -0800)]
Ignore 32 and 64 bit cjnitest apps

7 years agoaltos: Report battery, apogee and main voltages over APRS
Keith Packard [Wed, 15 Jan 2014 20:40:26 +0000 (12:40 -0800)]
altos: Report battery, apogee and main voltages over APRS

This makes APRS more usable when you mute the RF audio on the HT.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Use factory calibration for all acceleration computations
Keith Packard [Wed, 15 Jan 2014 07:29:59 +0000 (23:29 -0800)]
altos: Use factory calibration for all acceleration computations

The ground acceleration value will vary depending on the tilt angle of
the airframe, which will result in incorrect acceleration computations
during flight. This also avoids accidental boost detect when moving
the airframe around in pad mode.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Switch APRS to compressed position format
Keith Packard [Wed, 15 Jan 2014 07:21:40 +0000 (23:21 -0800)]
altos: Switch APRS to compressed position format

This provides lat/lon/alt in fewer bytes while improving precision.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agodoc: Ship telemini outline as pdf file too
Keith Packard [Wed, 15 Jan 2014 07:18:40 +0000 (23:18 -0800)]
doc: Ship telemini outline as pdf file too

Build telemini.pdf from telemini.svg and include it in all of the
released packages.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Require both libaltos32 and libaltos64 for fat Linux tarball
Keith Packard [Thu, 2 Jan 2014 06:08:13 +0000 (22:08 -0800)]
altosui: Require both libaltos32 and libaltos64 for fat Linux tarball

No sense shipping a broken tarball ever

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agolibaltos: Build -m64 and -m32 for fat tarball when possible
Keith Packard [Thu, 2 Jan 2014 06:02:56 +0000 (22:02 -0800)]
libaltos: Build -m64 and -m32 for fat tarball when possible

Check to see if we can compile libaltos for both 32 bit and 64 bit
systems, and then use those when generating the linux tarball.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoBump version to 1.3.9.1
Keith Packard [Thu, 2 Jan 2014 06:02:04 +0000 (22:02 -0800)]
Bump version to 1.3.9.1

Lots of new features; let's not release with 1.3 set

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Handle a missing libaltos when starting up
Keith Packard [Thu, 2 Jan 2014 06:00:24 +0000 (22:00 -0800)]
altosui: Handle a missing libaltos when starting up

Skip a null list of devices when figuring out what to open monitor
windows for during startup.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Flip acceleration data consistently for orientation changes
Keith Packard [Thu, 2 Jan 2014 05:12:20 +0000 (21:12 -0800)]
altos: Flip acceleration data consistently for orientation changes

Must flip the acceleration calibration data using the same function as
flipping the actual acceleration data or the calibration will no
longer be valid after changing orientation. For the MMA655x, this
means using 4095 in both places, rather than using 0x7fff for the
calibration data changes and 4095 for the data value changes. For the
MPU6000, this means using 0 in both places.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Add 'O' command for TeleMega orient testing
Keith Packard [Sat, 28 Dec 2013 18:18:53 +0000 (10:18 -0800)]
altos: Add 'O' command for TeleMega orient testing

Only present when HAS_FLIGHT_DEBUG is enabled, this command lets the
user check the orientation tracking code by showing the current
orientation and when the calibration values are reset.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Switch Graph to AltosOrient type
Keith Packard [Sat, 28 Dec 2013 18:17:37 +0000 (10:17 -0800)]
altosui: Switch Graph to AltosOrient type

The graph was using a private class for orient type, use the altoslib one

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Adjust info table column width
Keith Packard [Sat, 28 Dec 2013 18:16:24 +0000 (10:16 -0800)]
altosui: Adjust info table column width

Make sure the info table can show a full longitude value

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Add orient to ascent and info table views
Keith Packard [Sat, 28 Dec 2013 18:15:26 +0000 (10:15 -0800)]
altosui: Add orient to ascent and info table views

This adds 'tilt angle' to both ascent and info table views

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Add AltosOrient class and max_orient()
Keith Packard [Sat, 28 Dec 2013 18:13:05 +0000 (10:13 -0800)]
altoslib: Add AltosOrient class and max_orient()

This adds the class necessary to put orient into a UI.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Extend Fire Igniter to additional channels
Keith Packard [Sat, 21 Dec 2013 16:56:00 +0000 (08:56 -0800)]
altosui: Extend Fire Igniter to additional channels

This lets the UI test fire other pyro channels on TeleMega

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Switch from radio buttons to check boxes in pyro config. Add close
Keith Packard [Sat, 21 Dec 2013 14:46:46 +0000 (06:46 -0800)]
altosui: Switch from radio buttons to check boxes in pyro config. Add close

First of (we hope) many review comments from Troj.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Turn on -Werror for STM and LPC builds
Keith Packard [Sat, 21 Dec 2013 07:04:43 +0000 (23:04 -0800)]
altos: Turn on -Werror for STM and LPC builds

Now that the build completes with no warnings, make future warnings
into errors.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Turn on warnings for LPC products too
Keith Packard [Sat, 21 Dec 2013 07:02:51 +0000 (23:02 -0800)]
altos: Turn on warnings for LPC products too

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos/lpc: Missing */ in definition of PIO0_4
Keith Packard [Sat, 21 Dec 2013 07:02:21 +0000 (23:02 -0800)]
altos/lpc: Missing */ in definition of PIO0_4

Would maek using these values pretty hard.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: lpc exti setup was incorrectly testing mode
Keith Packard [Sat, 21 Dec 2013 07:00:43 +0000 (23:00 -0800)]
altos: lpc exti setup was incorrectly testing mode

Check for NOCONFIGURE bit was missing parens

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: cc115l driver tone_run wasn't recording number of tones
Keith Packard [Sat, 21 Dec 2013 06:59:42 +0000 (22:59 -0800)]
altos: cc115l driver tone_run wasn't recording number of tones

This would prevent the cc115l driver from ever sending tones.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Clean up warnings for LPC products
Keith Packard [Sat, 21 Dec 2013 06:58:10 +0000 (22:58 -0800)]
altos: Clean up warnings for LPC products

Unused varibles, functions and parameters.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos/stm: Turn on -Wextra
Keith Packard [Sat, 21 Dec 2013 06:45:56 +0000 (22:45 -0800)]
altos/stm: Turn on -Wextra

All of the warnings for STM projects are cleaned up now

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Add default button return value from ao_button_get
Keith Packard [Sat, 21 Dec 2013 06:45:01 +0000 (22:45 -0800)]
altos: Add default button return value from ao_button_get

This "can't" happen, but it's not unreasonable to have a default
return value.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: unsigned value in ao_pyro_set checked for negative value
Keith Packard [Sat, 21 Dec 2013 06:44:20 +0000 (22:44 -0800)]
altos: unsigned value in ao_pyro_set checked for negative value

No sense checking unsigned values for less than zero.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Clean up -Wextra warnings
Keith Packard [Sat, 21 Dec 2013 06:43:18 +0000 (22:43 -0800)]
altos: Clean up -Wextra warnings

Unused variables, mismatching signed/unsigned and a few other misc
warnings.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Turn on -Wall for stm compiles
Keith Packard [Sat, 21 Dec 2013 06:21:23 +0000 (22:21 -0800)]
altos: Turn on -Wall for stm compiles

The warnings are all cleaned up now, leave this on by default

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Clean up some minor warnings from -Wall
Keith Packard [Sat, 21 Dec 2013 06:15:25 +0000 (22:15 -0800)]
altos: Clean up some minor warnings from -Wall

Unused variables, functions and labels, missing enums in switch.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: mma655x also needs ao_sensor_errors
Keith Packard [Sat, 21 Dec 2013 06:13:32 +0000 (22:13 -0800)]
altos: mma655x also needs ao_sensor_errors

TeleMetrum has an MMA655X but no IMU, so it needs an explicit addition
for sensor errors.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Complain about sensor self-test errors only in idle mode
Keith Packard [Sat, 21 Dec 2013 06:08:11 +0000 (22:08 -0800)]
altos: Complain about sensor self-test errors only in idle mode

When the accelerometer says to go into pad mode, don't look for other
sensor self test errors. Only look for sensor self test errors to
choose between idle and invalid mode. This will prevent minor sensor
self test errors from letting the rocket fly safely.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: 3-axis accel calibration was invalid in explicit accel cal mode
Keith Packard [Sat, 21 Dec 2013 06:06:52 +0000 (22:06 -0800)]
altos: 3-axis accel calibration was invalid in explicit accel cal mode

When explicit Z-axis accel calibration values were provided to the 'c
a' command, the 3-axis accelerometer calibration values would get set
to uninitialized values. Not so helpful.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos: Execute self-test on MMA655X part
Keith Packard [Sat, 21 Dec 2013 06:04:53 +0000 (22:04 -0800)]
altos: Execute self-test on MMA655X part

This doesn't check for fine calibration, just makes sure the part is
within the broad tolerances specified by the manufacturer. The subtle fix
here was actually getting reset working -- there was a typo in the
bitpattern definition which caused the reset to fail, making it hard
to self-test the part, as self-test is only valid before the part is running.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Bump library version
Keith Packard [Sat, 21 Dec 2013 03:44:38 +0000 (19:44 -0800)]
altoslib: Bump library version

Prepare for next release by making sure we notice that the API/ABI for
this library has changed.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Add imu and mag sensor values to plots
Keith Packard [Sat, 21 Dec 2013 03:40:31 +0000 (19:40 -0800)]
altosui: Add imu and mag sensor values to plots

Makes for a lot of potential graph elements.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosuilib: Rearrange graph enable buttons
Keith Packard [Sat, 21 Dec 2013 03:39:40 +0000 (19:39 -0800)]
altosuilib: Rearrange graph enable buttons

Eliminate separate 'enable' radio button, provide for multiple columns

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Fetch 'orient' value from Mega Sensor packet
Keith Packard [Sat, 21 Dec 2013 03:38:29 +0000 (19:38 -0800)]
altoslib: Fetch 'orient' value from Mega Sensor packet

The mega sensor packet had a spare byte to hold the current
orientation value.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Convert IMU and Mag sensor values to useful units
Keith Packard [Sat, 21 Dec 2013 03:37:08 +0000 (19:37 -0800)]
altoslib: Convert IMU and Mag sensor values to useful units

Convert from raw sensor values to metric units

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosdroid: improve build system dependencies
Mike Beattie [Fri, 20 Dec 2013 02:06:37 +0000 (15:06 +1300)]
altosdroid: improve build system dependencies

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: update to latest google play services
Mike Beattie [Fri, 20 Dec 2013 02:06:07 +0000 (15:06 +1300)]
altosdroid: update to latest google play services

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoaltosdroid: force older jarsigner signing algorithm for java 1.7
Mike Beattie [Fri, 20 Dec 2013 02:05:42 +0000 (15:05 +1300)]
altosdroid: force older jarsigner signing algorithm for java 1.7

(increment versionCode, re-upload to Play Store)

Signed-off-by: Mike Beattie <mike@ethernal.org>
7 years agoupdated notes from 1.3 release
Bdale Garbee [Thu, 19 Dec 2013 10:22:21 +0000 (03:22 -0700)]
updated notes from 1.3 release

7 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos 1.3
Bdale Garbee [Thu, 19 Dec 2013 09:00:10 +0000 (02:00 -0700)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

7 years agofix missing newline at end of src/test/Makefile
Bdale Garbee [Thu, 19 Dec 2013 08:58:24 +0000 (01:58 -0700)]
fix missing newline at end of src/test/Makefile

7 years agoaltosui: Ship EasyMini firmware too
Keith Packard [Thu, 19 Dec 2013 08:58:50 +0000 (00:58 -0800)]
altosui: Ship EasyMini firmware too

Missing the FIRMWARE_EMINI define left all easy mini firmware out of
the distribution

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoupdate ChangeLog from git
Bdale Garbee [Thu, 19 Dec 2013 08:29:55 +0000 (01:29 -0700)]
update ChangeLog from git

7 years agoaltosdroid: bump versionName to 1.3 and versionCode to 4
Keith Packard [Thu, 19 Dec 2013 08:16:16 +0000 (00:16 -0800)]
altosdroid: bump versionName to 1.3 and versionCode to 4

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: When device has no valid romconfig, set RF cal to 0
Keith Packard [Thu, 19 Dec 2013 08:12:21 +0000 (00:12 -0800)]
altosui: When device has no valid romconfig, set RF cal to 0

This is intended to signal to the user that no valid value was found
and that they'd best pick something sensible.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos/lpc: Stop sending SETUP IN when the requested size is reached
Keith Packard [Thu, 19 Dec 2013 08:08:50 +0000 (00:08 -0800)]
altos/lpc: Stop sending SETUP IN when the requested size is reached

The host won't keep asking for SETUP IN packets once it has received
the amount of data requested, so check to see if we've sent that much
and flip back to IDLE state if so.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos/lpc: Reset less of the device on USB reset.
Keith Packard [Thu, 19 Dec 2013 07:27:34 +0000 (23:27 -0800)]
altos/lpc: Reset less of the device on USB reset.

This leaves most of the device configured across USB reset, which
appears to help when sending a IN reply to the first SETUP packet;
without this change, the IN reply would always get a length of 0,
which is fine for SET_ADDRESS, but not for GET_DESCRIPTOR_DEVICE,
which OS X appears to send before setting the address (go figure).

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Remove some old debug printfs for self flashing
Keith Packard [Thu, 19 Dec 2013 06:00:13 +0000 (22:00 -0800)]
altoslib: Remove some old debug printfs for self flashing

These aren't necessary anymore and just slow down flashing boards.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agomicropeak: Add micropeak man page
Keith Packard [Thu, 19 Dec 2013 05:08:33 +0000 (21:08 -0800)]
micropeak: Add micropeak man page

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoao-tools: Add man pages for ao-flash utilities
Keith Packard [Thu, 19 Dec 2013 05:02:15 +0000 (21:02 -0800)]
ao-tools: Add man pages for ao-flash utilities

These aren't very wordy, but these tools are pretty simple scripts.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Thu, 19 Dec 2013 04:53:52 +0000 (21:53 -0700)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

7 years agoupdate Debian standards version we claim compliance with
Bdale Garbee [Thu, 19 Dec 2013 04:53:36 +0000 (21:53 -0700)]
update Debian standards version we claim compliance with

7 years agoaltos: Try IMU self-test 10 times before giving up
Keith Packard [Thu, 19 Dec 2013 04:32:05 +0000 (20:32 -0800)]
altos: Try IMU self-test 10 times before giving up

This should keep the device from failing to boot unless the IMU is
actually broken. Oh, and if self test does fail, this places the
flight computer in 'Invalid' state rather than panic.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agodoc: Add tables describing AltOS beeps and flashes
Keith Packard [Thu, 19 Dec 2013 04:30:58 +0000 (20:30 -0800)]
doc: Add tables describing AltOS beeps and flashes

Provide a convenient place to reference when listening to the device.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltos/stm: Semantic error in STM usb disable caused it to not work
Keith Packard [Thu, 19 Dec 2013 02:20:55 +0000 (18:20 -0800)]
altos/stm: Semantic error in STM usb disable caused it to not work

The USB enable register wasn't actually getting rewritten with the
enable bit turned off, so the USB device was still powered on in flight.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoupdate release docs to include option for submodules
Bdale Garbee [Thu, 19 Dec 2013 01:30:54 +0000 (18:30 -0700)]
update release docs to include option for submodules

7 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Thu, 19 Dec 2013 01:25:35 +0000 (18:25 -0700)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

7 years agowe're using packaged and local-to-our-tree ARM toolchain now
Bdale Garbee [Thu, 19 Dec 2013 01:25:03 +0000 (18:25 -0700)]
we're using packaged and local-to-our-tree ARM toolchain now

7 years agodoc: typo in micropeak doc hole->hold
Keith Packard [Wed, 18 Dec 2013 22:34:31 +0000 (14:34 -0800)]
doc: typo in micropeak doc hole->hold

7 years agodoc: Update micropeak quick start guide to note new boost detect
Keith Packard [Wed, 18 Dec 2013 22:25:41 +0000 (14:25 -0800)]
doc: Update micropeak quick start guide to note new boost detect

Now waits for one minute and 30m of altitude change to avoid false detections.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agomicropeak: Compile for java 6
Keith Packard [Wed, 18 Dec 2013 22:22:51 +0000 (14:22 -0800)]
micropeak: Compile for java 6

Don't a require later version as not all target OSes support it

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoMove pdclib build results to pdclib-root
Keith Packard [Wed, 18 Dec 2013 22:08:41 +0000 (14:08 -0800)]
Move pdclib build results to pdclib-root

This makes pdclib easier to manage as a submodule

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Remove some debug printfs
Keith Packard [Wed, 18 Dec 2013 21:36:04 +0000 (13:36 -0800)]
altosui: Remove some debug printfs

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosdroid: Use altoslib standard voltages to control lights
Keith Packard [Wed, 18 Dec 2013 21:25:31 +0000 (13:25 -0800)]
altosdroid: Use altoslib standard voltages to control lights

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Define 3.8 as a good battery and 3.5 as a good igniter
Keith Packard [Wed, 18 Dec 2013 21:22:45 +0000 (13:22 -0800)]
altoslib: Define 3.8 as a good battery and 3.5 as a good igniter

Use defined values everywhere instead of copying. Adjust battery up to
3.8 to ensure there's enough voltage to not trip the comparators

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: create eeprom download thread before telling monitor about it
Keith Packard [Wed, 18 Dec 2013 21:09:48 +0000 (13:09 -0800)]
altoslib: create eeprom download thread before telling monitor about it

Telling the monitor too early resulted in passing a null thread
handle, which meant that 'cancel' wouldn't ever work.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltoslib: Don't close telemetry reader at startup unless something fails
Keith Packard [Wed, 18 Dec 2013 20:40:22 +0000 (12:40 -0800)]
altoslib: Don't close telemetry reader at startup unless something fails

Was always closing the file, which led to very little telemetry being received.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agolibaltos: Import newly build libaltos.dylib
Keith Packard [Wed, 18 Dec 2013 20:16:55 +0000 (12:16 -0800)]
libaltos: Import newly build libaltos.dylib

7 years agolibaltos: remove usb id filtering from darwin code
Keith Packard [Wed, 18 Dec 2013 20:15:54 +0000 (12:15 -0800)]
libaltos: remove usb id filtering from darwin code

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agolibaltos: fix test harness main type
Keith Packard [Wed, 18 Dec 2013 20:15:22 +0000 (12:15 -0800)]
libaltos: fix test harness main type

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoaltosui: Add docs to Mac OS X dmg distribution
Keith Packard [Wed, 18 Dec 2013 19:25:05 +0000 (11:25 -0800)]
altosui: Add docs to Mac OS X dmg distribution

Signed-off-by: Keith Packard <keithp@keithp.com>
7 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Wed, 18 Dec 2013 19:19:31 +0000 (12:19 -0700)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

7 years agoa fresher changelog entry for test builds
Bdale Garbee [Wed, 18 Dec 2013 19:18:30 +0000 (12:18 -0700)]
a fresher changelog entry for test builds

7 years agoneed to include the Cortex toolchain
Bdale Garbee [Wed, 18 Dec 2013 18:08:55 +0000 (11:08 -0700)]
need to include the Cortex toolchain

7 years agofix git: path for pdclib
Keith Packard [Wed, 18 Dec 2013 19:14:40 +0000 (11:14 -0800)]
fix git: path for pdclib

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