fw/altos
3 months agotelemini outline filename changed debian debian/1.6.2-1
Bdale Garbee [Mon, 11 Jan 2016 03:21:47 +0000 (20:21 -0700)]
telemini outline filename changed

3 months agoMerge branch 'branch-1.6' into debian
Bdale Garbee [Mon, 11 Jan 2016 02:15:24 +0000 (19:15 -0700)]
Merge branch 'branch-1.6' into debian

3 months agoMerge branch 'master' into branch-1.6 branch-1.6 1.6.2
Bdale Garbee [Mon, 11 Jan 2016 02:15:16 +0000 (19:15 -0700)]
Merge branch 'master' into branch-1.6

3 months agoprocess updates from 1.6.1 release
Bdale Garbee [Thu, 16 Jul 2015 20:47:10 +0000 (14:47 -0600)]
process updates from 1.6.1 release

3 months agoupdate changelog for Debian build
Bdale Garbee [Mon, 11 Jan 2016 02:12:16 +0000 (19:12 -0700)]
update changelog for Debian build

3 months agoMerge branch 'branch-1.6' into debian
Bdale Garbee [Mon, 11 Jan 2016 02:09:09 +0000 (19:09 -0700)]
Merge branch 'branch-1.6' into debian

3 months agoupdate Changelog from git log
Bdale Garbee [Mon, 11 Jan 2016 02:08:12 +0000 (19:08 -0700)]
update Changelog from git log

3 months agoMerge branch 'master' into branch-1.6
Bdale Garbee [Mon, 11 Jan 2016 02:07:49 +0000 (19:07 -0700)]
Merge branch 'master' into branch-1.6

3 months agoone more time, with feeling .. this time, I've updated pdclib
Bdale Garbee [Mon, 11 Jan 2016 02:06:19 +0000 (19:06 -0700)]
one more time, with feeling .. this time, I've updated pdclib

3 months agoone more time, with feeling .. this time, I've updated pdclib
Bdale Garbee [Mon, 11 Jan 2016 02:06:19 +0000 (19:06 -0700)]
one more time, with feeling .. this time, I've updated pdclib

3 months agoMerge branch 'master' into branch-1.6
Bdale Garbee [Mon, 11 Jan 2016 02:04:49 +0000 (19:04 -0700)]
Merge branch 'master' into branch-1.6

3 months agosubmodule madness
Bdale Garbee [Mon, 11 Jan 2016 01:58:31 +0000 (18:58 -0700)]
submodule madness

3 months agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Mon, 11 Jan 2016 01:29:07 +0000 (18:29 -0700)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

3 months agodoc: Remove extraneous 'first off' from legal paragraph
Keith Packard [Mon, 11 Jan 2016 01:22:35 +0000 (17:22 -0800)]
doc: Remove extraneous 'first off' from legal paragraph

Not helpful (bdale)

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agodoc: Remove telemini v2.0. Add telemega v2.0
Keith Packard [Mon, 11 Jan 2016 01:13:56 +0000 (17:13 -0800)]
doc: Remove telemini v2.0. Add telemega v2.0

Reflect hardware we've actually shipped.

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agodoc: fix typo in using external active switch circuit section
Keith Packard [Mon, 11 Jan 2016 01:01:57 +0000 (17:01 -0800)]
doc: fix typo in using external active switch circuit section

the -> then (bdale)

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agodoc: Update copyright year in altusmetrum doc
Keith Packard [Mon, 11 Jan 2016 00:59:37 +0000 (16:59 -0800)]
doc: Update copyright year in altusmetrum doc

And note that this need to be checked for each release in RELNOTES

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agomodify release procedure to reflect Keith setting version in confgure.ac
Bdale Garbee [Mon, 11 Jan 2016 00:45:45 +0000 (17:45 -0700)]
modify release procedure to reflect Keith setting version in confgure.ac

3 months agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Mon, 11 Jan 2016 00:44:03 +0000 (17:44 -0700)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

3 months agomodify bringup scripts to handle TeleMega v2.0
Bdale Garbee [Mon, 11 Jan 2016 00:43:34 +0000 (17:43 -0700)]
modify bringup scripts to handle TeleMega v2.0

3 months agoBump version to 1.6.2, altosdroid to 10
Keith Packard [Sun, 10 Jan 2016 22:37:05 +0000 (14:37 -0800)]
Bump version to 1.6.2, altosdroid to 10

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agonow building for m4, too
Bdale Garbee [Mon, 11 Jan 2016 00:41:38 +0000 (17:41 -0700)]
now building for m4, too

3 months agonew build dependency on asciidoc
Bdale Garbee [Mon, 11 Jan 2016 00:38:26 +0000 (17:38 -0700)]
new build dependency on asciidoc

3 months agoaltos: Switch PWM constants to end up exposing µsec
Keith Packard [Sun, 10 Jan 2016 23:56:21 +0000 (15:56 -0800)]
altos: Switch PWM constants to end up exposing µsec

This changes the constants so the clock runs at 1MHz, making the step
1µsec each. Then make the period 20000 steps, or 20ms for a 50Hz
frequency as before.

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoaltos: Set TeleMega v2.0 PWM to support servos
Keith Packard [Sun, 10 Jan 2016 23:44:08 +0000 (15:44 -0800)]
altos: Set TeleMega v2.0 PWM to support servos

Typical servos use a 50Hz signal with less than 10% duty cycle. Set
the divider to 10 and the range to 64000 to provide a reasonable level
of detail down in the low range.

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoAdd release notes for 1.6.2
Keith Packard [Sun, 10 Jan 2016 19:44:17 +0000 (11:44 -0800)]
Add release notes for 1.6.2

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoUpdate java library versions
Keith Packard [Sun, 10 Jan 2016 20:30:34 +0000 (12:30 -0800)]
Update java library versions

altoslib is API incompatible with 1.6.1 release due to altos.state updates.

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoaltoslib: Remove debug message from AltosMap
Keith Packard [Sun, 10 Jan 2016 20:30:11 +0000 (12:30 -0800)]
altoslib: Remove debug message from AltosMap

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoElide flight computer info from APRS section of TeleGPS manual
Keith Packard [Sun, 10 Jan 2016 20:21:24 +0000 (12:21 -0800)]
Elide flight computer info from APRS section of TeleGPS manual

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoElide pyro channel information from EasyMini docs
Keith Packard [Sun, 10 Jan 2016 20:15:50 +0000 (12:15 -0800)]
Elide pyro channel information from EasyMini docs

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoaltos: Insert inter telemetry-packet delay
Keith Packard [Sun, 10 Jan 2016 05:33:23 +0000 (21:33 -0800)]
altos: Insert inter telemetry-packet delay

The receivers take some time to reset the radio between packets, so
make sure we don't send back-to-back telemetry too quickly by delaying
after sending each telemetry packet.

3 months agoSwitch TeleMega v2.0 to CC1200 radio chip telemega-v2
Keith Packard [Sun, 10 Jan 2016 00:28:53 +0000 (16:28 -0800)]
Switch TeleMega v2.0 to CC1200 radio chip

That's what we're using, after all

Signed-off-by: Keith Packard <keithp@keithp.com>
4 months agoaltos: Set AO_PWM_TIMER_SCALE for telemega-v2.0
Keith Packard [Sat, 26 Dec 2015 07:27:45 +0000 (23:27 -0800)]
altos: Set AO_PWM_TIMER_SCALE for telemega-v2.0

This is needed to configure the PWM timer correctly

Signed-off-by: Keith Packard <keithp@keithp.com>
4 months agoaltos: Get stm32l pwm driver working
Keith Packard [Sat, 26 Dec 2015 07:20:29 +0000 (23:20 -0800)]
altos: Get stm32l pwm driver working

Fix the CCMR1_OC1PE and CCMR2_OC3PE values.
Disable clock when no PWM outputs are running.
Fix the apb1enr value for the timer.
Set ARR value to PWM_MAX - 1 -- ARR is off by one.
Sets the GPIO pins to 40MHz bandwidth for sharper edges.

Tested on EasyMega, but that code is not included as it breaks the
companion protocol.

Signed-off-by: Keith Packard <keithp@keithp.com>
4 months agoaltos: Add TeleMega v2.0, including PWM driver
Keith Packard [Thu, 24 Dec 2015 08:28:59 +0000 (00:28 -0800)]
altos: Add TeleMega v2.0, including PWM driver

Signed-off-by: Keith Packard <keithp@keithp.com>
4 months agoao-tools/ao-dbg: Stop using sigvec
Keith Packard [Wed, 23 Dec 2015 18:18:24 +0000 (10:18 -0800)]
ao-tools/ao-dbg: Stop using sigvec

Signed-off-by: Keith Packard <keithp@keithp.com>
5 months agodoc: Remove some bogus bits from am.css
Keith Packard [Sat, 14 Nov 2015 08:01:05 +0000 (00:01 -0800)]
doc: Remove some bogus bits from am.css

Just commented out stuff which had a nested comment and was thus invalid

Signed-off-by: Keith Packard <keithp@keithp.com>
5 months agodoc: Construct html index for documentation
Keith Packard [Sat, 14 Nov 2015 07:36:02 +0000 (23:36 -0800)]
doc: Construct html index for documentation

This gets uploaded to keith's machine as an easy way to see what's available.

Signed-off-by: Keith Packard <keithp@keithp.com>
5 months agodoc: Try a different trick for asciidoc build issues
Keith Packard [Sat, 14 Nov 2015 07:17:11 +0000 (23:17 -0800)]
doc: Try a different trick for asciidoc build issues

asciidoc creates temp files in the current directory using basename of
the source filename. Doing html and pdf builds in parallel causes
chaos as a result. Fix this by having the pdf target build both
serially, and then have the html target just depend on the pdf target.

Signed-off-by: Keith Packard <keithp@keithp.com>
5 months agodoc: Split out EasyMini into a separate manual
Keith Packard [Sat, 14 Nov 2015 06:55:35 +0000 (22:55 -0800)]
doc: Split out EasyMini into a separate manual

EasyMini uses a tiny fraction of the overall system software;
splitting the manual out makes it a lot smaller.

Signed-off-by: Keith Packard <keithp@keithp.com>
5 months agodoc: Reformat html versions a bit
Keith Packard [Sat, 14 Nov 2015 04:59:25 +0000 (20:59 -0800)]
doc: Reformat html versions a bit

Color more text black, including toc. Add a bit of space around the
toc. Make paragraph labels bold.

Signed-off-by: Keith Packard <keithp@keithp.com>
5 months agodoc: Move pad beeps table to usage chapter
Keith Packard [Sat, 14 Nov 2015 04:58:58 +0000 (20:58 -0800)]
doc: Move pad beeps table to usage chapter

This places all of the sound information in one place.

Signed-off-by: Keith Packard <keithp@keithp.com>
5 months agodoc: Provide more actual links instead of just chapter names
Keith Packard [Sat, 14 Nov 2015 04:58:08 +0000 (20:58 -0800)]
doc: Provide more actual links instead of just chapter names

Replace 'see chapter "foo"' with 'see <<foo>>' so that a link is
created to directly go to the relevant text.

Signed-off-by: Keith Packard <keithp@keithp.com>
5 months agodoc: Reformat 'Using MicroPeak' section
Keith Packard [Sat, 14 Nov 2015 04:56:45 +0000 (20:56 -0800)]
doc: Reformat 'Using MicroPeak' section

Use labeled paragraphs to make the steps stand out.

Signed-off-by: Keith Packard <keithp@keithp.com>
5 months agoBreak out common pieces from TeleGPS and AltusMetrum
Keith Packard [Sat, 14 Nov 2015 03:45:02 +0000 (19:45 -0800)]
Break out common pieces from TeleGPS and AltusMetrum

This creates shared files for portions of the TeleGPS and AltusMetrum
manual to avoid duplicating text between the two.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Add product logos to books
Keith Packard [Mon, 2 Nov 2015 05:05:20 +0000 (21:05 -0800)]
doc: Add product logos to books

This places the product logo on the title verso in pdf form, and above
the TOC in html form.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agoaltosui: telemini outline pdf changed name
Keith Packard [Sun, 1 Nov 2015 14:20:27 +0000 (06:20 -0800)]
altosui: telemini outline pdf changed name

It's now telemini-outline.pdf, just like the other outline files.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: verbose mode for a2x
Keith Packard [Sun, 1 Nov 2015 13:43:59 +0000 (05:43 -0800)]
doc: verbose mode for a2x

6 months agodoc: Make pdf titles less ridiculously large
Keith Packard [Sun, 1 Nov 2015 13:08:27 +0000 (05:08 -0800)]
doc: Make pdf titles less ridiculously large

Instead of having them grow at 20% per nesting level, use 10% instead.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Get images and tables all centered and labeled
Keith Packard [Sun, 1 Nov 2015 12:23:56 +0000 (04:23 -0800)]
doc: Get images and tables all centered and labeled

A bunch of images were using image: instead of image:: and some images
and tables were missing titles.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Split revhistory to separate file for html docs
Keith Packard [Sun, 1 Nov 2015 12:22:27 +0000 (04:22 -0800)]
doc: Split revhistory to separate file for html docs

This avoids having the revhistory clutter the top of the document.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Place html book contents on left side of page with separate scrollbar
Keith Packard [Sun, 1 Nov 2015 12:20:18 +0000 (04:20 -0800)]
doc: Place html book contents on left side of page with separate scrollbar

This lets the user see the toc while browsing the document

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Switch to free fonts. Publish fonts with docs.
Keith Packard [Sun, 1 Nov 2015 12:18:34 +0000 (04:18 -0800)]
doc: Switch to free fonts. Publish fonts with docs.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Minor makefile cleanups
Keith Packard [Sun, 1 Nov 2015 06:54:26 +0000 (23:54 -0700)]
doc: Minor makefile cleanups

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Convert telemetry and companion docs to asciidoc
Keith Packard [Sun, 1 Nov 2015 06:36:03 +0000 (23:36 -0700)]
doc: Convert telemetry and companion docs to asciidoc

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Convert AltOS doc to asciidoc
Keith Packard [Sun, 1 Nov 2015 05:40:13 +0000 (22:40 -0700)]
doc: Convert AltOS doc to asciidoc

It's still pretty stale, but at least it isn't in docbook?

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Finish converting docs to asciidoc format
Keith Packard [Sun, 1 Nov 2015 04:34:42 +0000 (21:34 -0700)]
doc: Finish converting docs to asciidoc format

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Add titles to all figures
Keith Packard [Sat, 31 Oct 2015 21:54:20 +0000 (14:54 -0700)]
doc: Add titles to all figures

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Add updating firmware and using am products asciidoc bits
Keith Packard [Fri, 30 Oct 2015 03:32:58 +0000 (20:32 -0700)]
doc: Add updating firmware and using am products asciidoc bits

This finishes the asciidoc transition

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Add asciidoc version of Altos Droid manual
Keith Packard [Fri, 30 Oct 2015 01:38:46 +0000 (18:38 -0700)]
doc: Add asciidoc version of Altos Droid manual

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Add asciidoc version of altosui chapter.
Keith Packard [Fri, 30 Oct 2015 01:14:38 +0000 (18:14 -0700)]
doc: Add asciidoc version of altosui chapter.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Lots more conversion from docbook to asciidoc
Keith Packard [Thu, 29 Oct 2015 07:49:00 +0000 (16:49 +0900)]
doc: Lots more conversion from docbook to asciidoc

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Add asciidoc telemini v1.0
Keith Packard [Thu, 29 Oct 2015 06:50:31 +0000 (15:50 +0900)]
doc: Add asciidoc telemini v1.0

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Start doc transition to asciidoc
Keith Packard [Thu, 29 Oct 2015 03:12:15 +0000 (12:12 +0900)]
doc: Start doc transition to asciidoc

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agodoc: Force FOP to read images from doc directory
Keith Packard [Tue, 13 Oct 2015 20:52:32 +0000 (13:52 -0700)]
doc: Force FOP to read images from doc directory

Looks like something changed and fop is now reading from the directory
containing the source file. xmlto places that source in /tmp, making
all relative URIs fail. Fix this by creating a fop configuration file
directing it to load relative to the doc directory and then pass that
through xmlto.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agotelelco: Fix pad reset to one on radio signal loss
Keith Packard [Sat, 10 Oct 2015 21:10:59 +0000 (14:10 -0700)]
telelco: Fix pad reset to one on radio signal loss

The pad number was getting reset back to one when signal was lost,
causing pad one to get fired in this case even when already set to arm mode.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agoCreate directory on keithp.com when uploading devel version
Keith Packard [Mon, 21 Sep 2015 06:03:30 +0000 (07:03 +0100)]
Create directory on keithp.com when uploading devel version

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agoaltoslib: Keep downloading when a parse error occurs
Keith Packard [Mon, 21 Sep 2015 06:01:19 +0000 (07:01 +0100)]
altoslib: Keep downloading when a parse error occurs

Eventually, we'll hit a block with no valid data and give up. Until
then, keep going in case the flight computer glitched and wrote bad data.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agoaltoslib: Clean up remaining direct AltosState.state users
Keith Packard [Mon, 21 Sep 2015 05:32:52 +0000 (06:32 +0100)]
altoslib: Clean up remaining direct AltosState.state users

This value has been hidden to avoid having it written accidentally;
there were a few more bits of code using it though.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agoBump release number to 1.6.1.1
Keith Packard [Mon, 21 Sep 2015 05:27:26 +0000 (06:27 +0100)]
Bump release number to 1.6.1.1

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agoaltoslib: Make sure .eeprom download file is flushed on exception
Keith Packard [Mon, 21 Sep 2015 05:25:49 +0000 (06:25 +0100)]
altoslib: Make sure .eeprom download file is flushed on exception

Flush and close the eeprom file even if an exception occurs to make
sure that contents of the file aren't lost.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agoaltosuilib: In display thread, set new state synchronously
Keith Packard [Mon, 21 Sep 2015 05:00:36 +0000 (06:00 +0100)]
altosuilib: In display thread, set new state synchronously

When replaying telemetry, received_time gets set by both the
telemetry reader (when the file is initially read) and by the replay
reader (as the telemetry is processed). Because these two events are
separated by the time it takes to play the file, the second time is
the one we want for figuring out how long since the last telemetry
packet. However, if we set the global state when pulling the state out
of the telemetry reader, and then the replay reader pauses for a long
time, then the voice output thread sees the intermediate time value
and thinks that it has been a long time since the last packet was
received and reports that the rocket may have crashed.

Fix this by just holding the read state until it has been passed by
the replay reader and had the received_time set to current time.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agoaltosdroid: Add minus sign and decimal point to lat/lon input fields
Keith Packard [Mon, 14 Sep 2015 05:27:10 +0000 (22:27 -0700)]
altosdroid: Add minus sign and decimal point to lat/lon input fields

Some android devices always have change-sign and decimal-point keys
visible, but some do not. Make sure they're available for lat/lon input.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agoaltos/telelco: Adjust drag race UI
Keith Packard [Mon, 14 Sep 2015 05:24:47 +0000 (22:24 -0700)]
altos/telelco: Adjust drag race UI

Enter/leave drag race is done by rotating the box selector knob
to a new 'dr' position and then holding down the firing button; this
avoids a potential accidental firing if you somehow don't realize
you've armed the box before selecting drag race mode.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agoaltoslib: Rotation off by factor of two
Keith Packard [Sun, 13 Sep 2015 03:41:37 +0000 (20:41 -0700)]
altoslib: Rotation off by factor of two

The rotation computation was off by a factor of two when converting
the rates to a quaternion (the quaternion needs to be half of the
actual rotation amount). This ended up presenting a tilt angle of
twice what it should be.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 months agoaltoslib: Hide 'state' member and use accessor function
Keith Packard [Sun, 13 Sep 2015 02:20:49 +0000 (19:20 -0700)]
altoslib: Hide 'state' member and use accessor function

Someone was smashing the state to 'landed' when no packets had been
received for a while. Found that by making it impossible for anyone
outside of AltosState to change the value.

Signed-off-by: Keith Packard <keithp@keithp.com>
7 months agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Tue, 29 Sep 2015 06:46:42 +0000 (00:46 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

7 months agoadd automatic Bluetooth functionality check to turnon_telebt
Bdale Garbee [Tue, 29 Sep 2015 06:45:27 +0000 (00:45 -0600)]
add automatic Bluetooth functionality check to turnon_telebt

7 months agoadd automatic Bluetooth functionality check to turnon_telebt
Bdale Garbee [Tue, 29 Sep 2015 06:45:27 +0000 (00:45 -0600)]
add automatic Bluetooth functionality check to turnon_telebt

8 months agoaltos/telelco: Add drag race UI
Keith Packard [Sun, 30 Aug 2015 00:29:00 +0000 (17:29 -0700)]
altos/telelco: Add drag race UI

With the unit disarmed, press and hold the fire button for five
seconds to enable drag race mode.

The display will show 'dr' for five seconds and beep five times to
indicate that drag race mode is enabled. The decimal points in the
display will all be displayed as an additional visual aid. Once every
five seconds, it will beep.

With drag race mode enabled, you can select a box/pad pair and press
the 'fire' button to add it to the drag race group. For the current
box, all members of the drag race group will have their continuity
LEDs blink slowly. There will be no indication of continuity in this
mode; you'll want to check that before enabling drag race mode. If you
want to de-select a member of the group, just press the fire button
again. Each time you push the fire button, it will beep out the pad
number added or removed.

Arm the box and you will not be able to add or remove members from the
drag race group. Firing will simultaneously fire all members of the
drag race group.

To disable drag race mode, press and hold the fire button for two
seconds. It will beep twice and turn off the decimal points in the display.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 months agoaltos/telelco: Infrastructure changes for drag racing
Keith Packard [Sat, 29 Aug 2015 20:21:19 +0000 (13:21 -0700)]
altos/telelco: Infrastructure changes for drag racing

This makes the lco management code support arming multiple pads and
firing all of them at once. The UI code does not expose this yet.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 months agoaltos: Provide direct segment driving interface for LCD displays
Keith Packard [Sat, 29 Aug 2015 20:20:16 +0000 (13:20 -0700)]
altos: Provide direct segment driving interface for LCD displays

This exposes a simple bit-mask for setting the seven segments instead
of just allowing hex-decimal values.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 months agoaltos/telefire: No reply for ARMED. Ignore time for FIRE.
Keith Packard [Sat, 29 Aug 2015 20:18:46 +0000 (13:18 -0700)]
altos/telefire: No reply for ARMED. Ignore time for FIRE.

This will let us do drag races by letting the LCO arm multiple boxes
and fire them all with a single command.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 months agoaltos: Add HAS_COMPANION to new boards with companion connectors
Keith Packard [Fri, 21 Aug 2015 06:02:04 +0000 (23:02 -0700)]
altos: Add HAS_COMPANION to new boards with companion connectors

Thanks much to Rob Derstadt for discovering this bug!

TeleMetrum v2.0, TeleMega, EasyMega, TeleBalloon v2.0 all have
companion connectors and yet HAS_COMPANION was not defined. This
disabled companion telemetry packets on these products, but otherwise
didn't have any effect.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 months agoao-telem: Add companion packet telemetry data printing
Keith Packard [Thu, 20 Aug 2015 17:51:11 +0000 (10:51 -0700)]
ao-telem: Add companion packet telemetry data printing

Signed-off-by: Keith Packard <keithp@keithp.com>
8 months agoaltoslib: Add companion telemetry data support
Keith Packard [Thu, 20 Aug 2015 17:50:30 +0000 (10:50 -0700)]
altoslib: Add companion telemetry data support

This got lost in the great telemetry rewrite

Signed-off-by: Keith Packard <keithp@keithp.com>
8 months agoMerge branch 'branch-1.6' into debian
Bdale Garbee [Sun, 16 Aug 2015 15:55:47 +0000 (17:55 +0200)]
Merge branch 'branch-1.6' into debian

8 months agoMerge branch 'master' into branch-1.6
Bdale Garbee [Sun, 16 Aug 2015 15:53:40 +0000 (17:53 +0200)]
Merge branch 'master' into branch-1.6

8 months agoapply wrap-and-sort to control files
Bdale Garbee [Sun, 16 Aug 2015 15:43:32 +0000 (17:43 +0200)]
apply wrap-and-sort to control files

8 months agoturnon script for TeleBT v3.0
Bdale Garbee [Sat, 8 Aug 2015 02:52:48 +0000 (20:52 -0600)]
turnon script for TeleBT v3.0

9 months agoadd a paragraph about TeleBT battery charging to AltosDroid chapter in documentation
Bdale Garbee [Fri, 31 Jul 2015 16:47:08 +0000 (10:47 -0600)]
add a paragraph about TeleBT battery charging to AltosDroid chapter in documentation

9 months agomove turnon_teledongle to new cal-freq code
Bdale Garbee [Tue, 28 Jul 2015 07:34:25 +0000 (01:34 -0600)]
move turnon_teledongle to new cal-freq code

9 months agoprocess updates from 1.6.1 release
Bdale Garbee [Thu, 16 Jul 2015 20:47:10 +0000 (14:47 -0600)]
process updates from 1.6.1 release

9 months agoupdate changelog for Debian build debian/1.6.1-1
Bdale Garbee [Thu, 16 Jul 2015 19:39:19 +0000 (13:39 -0600)]
update changelog for Debian build

9 months agoMerge branch 'branch-1.6' into debian
Bdale Garbee [Thu, 16 Jul 2015 19:36:59 +0000 (13:36 -0600)]
Merge branch 'branch-1.6' into debian

9 months agochangelog for 1.6.1 release 1.6.1
Bdale Garbee [Thu, 16 Jul 2015 19:36:13 +0000 (13:36 -0600)]
changelog for 1.6.1 release

9 months agoMerge branch 'master' into branch-1.6
Bdale Garbee [Thu, 16 Jul 2015 19:31:42 +0000 (13:31 -0600)]
Merge branch 'master' into branch-1.6

9 months agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Thu, 16 Jul 2015 13:54:35 +0000 (07:54 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

9 months agoBump Java library versions
Keith Packard [Thu, 16 Jul 2015 01:31:05 +0000 (18:31 -0700)]
Bump Java library versions

Avoid problems if you have an old version of the library installed

Signed-off-by: Keith Packard <keithp@keithp.com>
9 months agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Wed, 15 Jul 2015 22:43:50 +0000 (16:43 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos