fw/altos
9 years agoTelemetry code was mis-computing RSSI
Keith Packard [Sat, 3 Jul 2010 21:42:36 +0000 (17:42 -0400)]
Telemetry code was mis-computing RSSI

The RSSI data from the hardware reports in 1/2 dBm increments, and so
must be divided to report plain RSSI numbers.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+224+g4766b13
Bdale Garbee [Thu, 24 Jun 2010 19:38:23 +0000 (12:38 -0700)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+223+g5283451
Bdale Garbee [Thu, 24 Jun 2010 19:37:55 +0000 (12:37 -0700)]
update changelogs for Debian build

9 years agoAbort any in-progress radio operation when changing radio channel
Keith Packard [Mon, 21 Jun 2010 22:53:33 +0000 (15:53 -0700)]
Abort any in-progress radio operation when changing radio channel

In monitor mode, the current receive operation must be aborted so that
the radio channel change can take effect without receiving a
telemetry packet on the old channel. Aborting any in-progress radio
operation will make sure that happens.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoao-postflight: was walking off state.data array
Keith Packard [Mon, 21 Jun 2010 18:44:32 +0000 (11:44 -0700)]
ao-postflight: was walking off state.data array

9 years agoMerge remote branch 'mjb/master'
Keith Packard [Thu, 17 Jun 2010 04:54:06 +0000 (21:54 -0700)]
Merge remote branch 'mjb/master'

9 years agoMerge remote branch 'origin/master'
Keith Packard [Thu, 17 Jun 2010 04:52:23 +0000 (21:52 -0700)]
Merge remote branch 'origin/master'

9 years agoAdd special code for USB panic's.
Keith Packard [Thu, 17 Jun 2010 04:49:43 +0000 (21:49 -0700)]
Add special code for USB panic's.

The USB system may panic if the hardware isn't ready for IN data when
the driver thinks it should be. This adds a special panic code to make
figuring this out easier.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoao-view: disable radio telemetry monitoring during channel change
Keith Packard [Thu, 17 Jun 2010 04:48:04 +0000 (21:48 -0700)]
ao-view: disable radio telemetry monitoring during channel change

This makes ao-view disable the radio so that the channel change has an
immediate effect rather than waiting for a packet on the old channel.

Note that this should also be fixed in the TM code itself so that this
change wouldn't be required.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoExtension to KML output format, and minor bug fix
Mike Beattie [Thu, 17 Jun 2010 02:04:01 +0000 (14:04 +1200)]
Extension to KML output format, and minor bug fix

Extended KML output by breaking flight into coloured segments representing
flight state. Add extra statistical information to description bubbles
visible in Google Earth when clicking on links in My Places.

Fix Bugs:
* output kml to file provided as argument.
* move kml coordinate output code to take advantage of nsat calculation
* remove superfluous %9.2f format specifier from raw_file output.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoupdates from Bob
Bdale Garbee [Wed, 19 May 2010 05:12:45 +0000 (23:12 -0600)]
updates from Bob

9 years agoupdate changelogs for Debian build debian/0.6+214+g16c4cae
Bdale Garbee [Tue, 18 May 2010 06:26:28 +0000 (00:26 -0600)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+213+gbc89d96
Bdale Garbee [Tue, 18 May 2010 06:26:00 +0000 (00:26 -0600)]
update changelogs for Debian build

9 years agomerge the altusmetrum-themes package
Bdale Garbee [Tue, 18 May 2010 06:24:03 +0000 (00:24 -0600)]
merge the altusmetrum-themes package

9 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Tue, 18 May 2010 05:59:43 +0000 (23:59 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

9 years agomerge in a derivative of Bob Finch's mere mortals guide as a getting started
Bdale Garbee [Tue, 18 May 2010 04:43:19 +0000 (22:43 -0600)]
merge in a derivative of Bob Finch's mere mortals guide as a getting started
chapter

9 years agoFinish basic flight monitoring UI with voice using FreeTTS
Keith Packard [Tue, 18 May 2010 04:30:57 +0000 (21:30 -0700)]
Finish basic flight monitoring UI with voice using FreeTTS

This captures telemetry data to log files and presents flight status
information in audio form using FreeTTS.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Tue, 18 May 2010 02:10:46 +0000 (20:10 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

9 years agoFix telemetrum.inf, tested by Adrian and Keithp
Keith Packard [Mon, 17 May 2010 05:31:23 +0000 (22:31 -0700)]
Fix telemetrum.inf, tested by Adrian and Keithp

9 years agotypo fix from Bob
Bdale Garbee [Thu, 13 May 2010 21:37:37 +0000 (15:37 -0600)]
typo fix from Bob

9 years agoupdates from Bob
Bdale Garbee [Thu, 13 May 2010 07:27:39 +0000 (01:27 -0600)]
updates from Bob

9 years agoupdate changelogs for Debian build debian/0.6+204+g6bd8513
Bdale Garbee [Thu, 13 May 2010 01:54:04 +0000 (19:54 -0600)]
update changelogs for Debian build

9 years agolose the quotes since they apparently aren't necessary
Bdale Garbee [Thu, 13 May 2010 01:53:40 +0000 (19:53 -0600)]
lose the quotes since they apparently aren't necessary

9 years agoupdate changelogs for Debian build debian/0.6+202+gae6854d
Bdale Garbee [Wed, 12 May 2010 23:04:41 +0000 (17:04 -0600)]
update changelogs for Debian build

9 years agoupdate desktop file for conformance with current standards
Bdale Garbee [Wed, 12 May 2010 23:04:13 +0000 (17:04 -0600)]
update desktop file for conformance with current standards

9 years agoupdate changelogs for Debian build debian/0.6+200+g68eaaa6
Bdale Garbee [Wed, 12 May 2010 22:45:00 +0000 (16:45 -0600)]
update changelogs for Debian build

9 years agoadd desktop file
Bdale Garbee [Wed, 12 May 2010 22:44:14 +0000 (16:44 -0600)]
add desktop file

9 years agoadd desktop file provided by Bob Finch
Bdale Garbee [Wed, 12 May 2010 22:34:49 +0000 (16:34 -0600)]
add desktop file provided by Bob Finch

9 years agoadd initial package build scripts for Arch Linux from Bob Finch
Bdale Garbee [Wed, 12 May 2010 22:28:35 +0000 (16:28 -0600)]
add initial package build scripts for Arch Linux from Bob Finch

9 years agolots of updates
Bdale Garbee [Sun, 9 May 2010 07:41:00 +0000 (01:41 -0600)]
lots of updates

9 years agoupdate changelogs for Debian build debian/0.6+195+gcde60f1
Bdale Garbee [Thu, 6 May 2010 19:59:23 +0000 (13:59 -0600)]
update changelogs for Debian build

9 years agoRevert "Merge remote branch 'remotes/origin/fix-reset'"
Bdale Garbee [Thu, 6 May 2010 19:58:31 +0000 (13:58 -0600)]
Revert "Merge remote branch 'remotes/origin/fix-reset'"

This reverts commit 314d27a73c903fef2968dabac3d5313573713460, reversing
changes made to fa77db2ffd8a749c93767db5a6311131e00473ae.

For whatever reason, this is utterly not doing the right things today!

9 years agoupdate changelogs for Debian build debian/0.6+193+g314d27a
Bdale Garbee [Thu, 6 May 2010 18:48:00 +0000 (12:48 -0600)]
update changelogs for Debian build

9 years agoMerge remote branch 'remotes/origin/fix-reset'
Bdale Garbee [Thu, 6 May 2010 18:47:30 +0000 (12:47 -0600)]
Merge remote branch 'remotes/origin/fix-reset'

9 years agoDon't change dbg clock while changing reset_n. Use 20ms everywhere
Keith Packard [Wed, 5 May 2010 19:50:39 +0000 (12:50 -0700)]
Don't change dbg clock while changing reset_n. Use 20ms everywhere

This changes the reset code to be more conservative about changing
things at the same time, and also sets all timings to 20ms to make
debugging with the scope easier.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+190+g8b6767e
Bdale Garbee [Wed, 5 May 2010 08:34:41 +0000 (02:34 -0600)]
update changelogs for Debian build

9 years agoUse ao_delay to sleep for 2 seconds instead of trying ao_sleep
Keith Packard [Wed, 5 May 2010 08:32:46 +0000 (01:32 -0700)]
Use ao_delay to sleep for 2 seconds instead of trying ao_sleep

ao_sleep doesn't delay for a specified time interval as much as one
might want it to.

9 years agoFix all stdio reading functions to be __critical
Keith Packard [Wed, 5 May 2010 08:31:57 +0000 (01:31 -0700)]
Fix all stdio reading functions to be __critical

Oh, right SDCC has '__critical' to mark sections of code that need to
run with interrupts disabled; no need to use EA = 0 and EA = 1.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+187+g8702f49
Bdale Garbee [Wed, 5 May 2010 07:57:54 +0000 (01:57 -0600)]
update changelogs for Debian build

9 years agoinitial attempt at a telemetrum turn on script .. needs work
Bdale Garbee [Wed, 5 May 2010 07:57:11 +0000 (01:57 -0600)]
initial attempt at a telemetrum turn on script .. needs work

9 years agoupdate changelogs for Debian build debian/0.6+185+g45a1c2d
Bdale Garbee [Wed, 5 May 2010 07:56:51 +0000 (01:56 -0600)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+184+gf7ff327
Bdale Garbee [Wed, 5 May 2010 07:54:33 +0000 (01:54 -0600)]
update changelogs for Debian build

9 years agoDisable interrupts while reading from stdin
Keith Packard [Wed, 5 May 2010 07:44:42 +0000 (00:44 -0700)]
Disable interrupts while reading from stdin

With multiple input source support, there is a lag between asking a
device if it has data and then waiting for more data to appear. If an
interrupt signalling additional input arrives in this interval, we'll
go to sleep with input available.

This patch uses a big hammer by just disabling interrupts for the
whole process.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoRevert "Add optional 's' command to packet slave to enable/disable slave mode"
Keith Packard [Wed, 5 May 2010 04:42:54 +0000 (21:42 -0700)]
Revert "Add optional 's' command to packet slave to enable/disable slave mode"

This reverts commit e7dc7fab787df63a4de72c8450e94092eb04d7db.

This patch didn't work, and magically appears to break flashing TM
from TD.

9 years agomore text created during SFO->DEN flight
Bdale Garbee [Thu, 29 Apr 2010 23:48:44 +0000 (17:48 -0600)]
more text created during SFO->DEN flight

9 years agoupdate changelogs for Debian build debian/0.6+180+g99094f0
Bdale Garbee [Tue, 27 Apr 2010 06:18:43 +0000 (00:18 -0600)]
update changelogs for Debian build

9 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Tue, 27 Apr 2010 06:17:37 +0000 (00:17 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

9 years agoadd some RF usage information from an email reply sent today, and re-indent
Bdale Garbee [Tue, 27 Apr 2010 06:17:15 +0000 (00:17 -0600)]
add some RF usage information from an email reply sent today, and re-indent

9 years agoAutodetect flite voice registration function
Keith Packard [Fri, 23 Apr 2010 20:53:25 +0000 (13:53 -0700)]
Autodetect flite voice registration function

Old versions of flite exported the function 'register_cmu_us_kal'
while new ones export 'register_cmu_us_kal16'. This patch just checks
which one is available and uses that.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMore ALtosUI changes
Keith Packard [Thu, 22 Apr 2010 23:25:35 +0000 (16:25 -0700)]
More ALtosUI changes

9 years agoAdd optional 's' command to packet slave to enable/disable slave mode
Keith Packard [Thu, 22 Apr 2010 21:53:44 +0000 (14:53 -0700)]
Add optional 's' command to packet slave to enable/disable slave mode

This option has been selected for teledongle so that you can use slave
mode and hook two teledongles together over the RF link.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Sun, 18 Apr 2010 14:36:07 +0000 (08:36 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

9 years agocapture work done on SFO->DEN flight
Bdale Garbee [Sun, 18 Apr 2010 14:35:43 +0000 (08:35 -0600)]
capture work done on SFO->DEN flight

9 years agoIncrease reset switch time to 100ms
Keith Packard [Sun, 11 Apr 2010 05:09:57 +0000 (22:09 -0700)]
Increase reset switch time to 100ms

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+171+g9394393
Bdale Garbee [Sat, 10 Apr 2010 21:01:14 +0000 (15:01 -0600)]
update changelogs for Debian build

9 years agoOnly have the slave return a packet if it received one.
Keith Packard [Sat, 10 Apr 2010 00:51:01 +0000 (17:51 -0700)]
Only have the slave return a packet if it received one.

When the receive is aborted to switch modes, it's important to not
immediately re-acquire the radio and try to send a packet as the
aborting thread won't know to kick the receiver again.

This prevents the 'C' command from locking up as it tries to stop the
packet slave before turning on the transmitter.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agowrong Yaesu model
Bdale Garbee [Fri, 9 Apr 2010 19:50:49 +0000 (13:50 -0600)]
wrong Yaesu model

9 years agoupdate changelogs for Debian build debian/0.6+168+gc0ee1ae
Bdale Garbee [Fri, 9 Apr 2010 06:10:03 +0000 (00:10 -0600)]
update changelogs for Debian build

9 years agofile changed by auto tools
Bdale Garbee [Fri, 9 Apr 2010 06:09:21 +0000 (00:09 -0600)]
file changed by auto tools

9 years agoupdate changelogs for Debian build debian/0.6+166+gea5d4f0
Bdale Garbee [Fri, 9 Apr 2010 06:08:32 +0000 (00:08 -0600)]
update changelogs for Debian build

9 years agolibflite may forget to reference libasound
Keith Packard [Fri, 9 Apr 2010 05:45:04 +0000 (22:45 -0700)]
libflite may forget to reference libasound

9 years agoupdate changelogs for Debian build debian/0.6+164+g5c3b6e2
Bdale Garbee [Fri, 9 Apr 2010 02:08:07 +0000 (20:08 -0600)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+163+g01e524f
Bdale Garbee [Fri, 9 Apr 2010 01:56:40 +0000 (19:56 -0600)]
update changelogs for Debian build

9 years agochoose a better set of docbook xsl files
Bdale Garbee [Fri, 9 Apr 2010 01:55:05 +0000 (19:55 -0600)]
choose a better set of docbook xsl files

9 years agoWhen changing RESET line, delay 20ms
Keith Packard [Fri, 9 Apr 2010 00:28:17 +0000 (17:28 -0700)]
When changing RESET line, delay 20ms

The GPS data sheet suggests a 1uF cap on the reset line to ensure it
is held low long enough for the power supply to come up to voltage. TM
v1.0 loads a 0.001uF cap there, but in case that isn't large enough,
it could be replaced with the larger one. This change makes sure that
even with that larger value, the debugging link will be able to reset
the target.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMerge remote branch 'origin/master'
Keith Packard [Thu, 8 Apr 2010 20:31:23 +0000 (13:31 -0700)]
Merge remote branch 'origin/master'

9 years agoUse 16-bit flite voice (which appears to have changed symbols recently)
Keith Packard [Thu, 8 Apr 2010 20:30:16 +0000 (13:30 -0700)]
Use 16-bit flite voice (which appears to have changed symbols recently)

9 years agoMerge remote branch 'origin/master' into altosui
Keith Packard [Thu, 8 Apr 2010 18:46:56 +0000 (11:46 -0700)]
Merge remote branch 'origin/master' into altosui

9 years agoupdate changelogs for Debian build debian/0.6+131+g6629ec5
Bdale Garbee [Thu, 8 Apr 2010 18:43:03 +0000 (12:43 -0600)]
update changelogs for Debian build

9 years agolose the url entirely for now
Bdale Garbee [Thu, 8 Apr 2010 18:42:47 +0000 (12:42 -0600)]
lose the url entirely for now

9 years agoupdate changelogs for Debian build debian/0.6+129+g934434f
Bdale Garbee [Thu, 8 Apr 2010 18:41:42 +0000 (12:41 -0600)]
update changelogs for Debian build

9 years agofix typo in url
Bdale Garbee [Thu, 8 Apr 2010 18:41:28 +0000 (12:41 -0600)]
fix typo in url

9 years agoupdate changelogs for Debian build debian/0.6+127+g05ad583
Bdale Garbee [Thu, 8 Apr 2010 18:36:18 +0000 (12:36 -0600)]
update changelogs for Debian build

9 years agoneed another build dep
Bdale Garbee [Thu, 8 Apr 2010 18:34:54 +0000 (12:34 -0600)]
need another build dep

9 years agoupdate changelogs for Debian build debian/0.6+125+g8f1d47e
Bdale Garbee [Thu, 8 Apr 2010 18:28:49 +0000 (12:28 -0600)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+124+gc66eeba
Bdale Garbee [Thu, 8 Apr 2010 18:28:20 +0000 (12:28 -0600)]
update changelogs for Debian build

9 years agoEnable telemetry monitoring
Keith Packard [Tue, 6 Apr 2010 07:58:00 +0000 (00:58 -0700)]
Enable telemetry monitoring

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoTasks may move in task structure as a result of ao_exit
Keith Packard [Tue, 6 Apr 2010 07:56:57 +0000 (00:56 -0700)]
Tasks may move in task structure as a result of ao_exit

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoTD reports "not-connected" when GPS has 0 sats
Keith Packard [Tue, 6 Apr 2010 07:55:19 +0000 (00:55 -0700)]
TD reports "not-connected" when GPS has 0 sats

9 years agoserial port read function cannot be interrupted. poll every 1 second
Keith Packard [Tue, 6 Apr 2010 07:54:52 +0000 (00:54 -0700)]
serial port read function cannot be interrupted. poll every 1 second

9 years agoInterrupt running replay thread when starting another replay
Keith Packard [Tue, 6 Apr 2010 05:42:05 +0000 (22:42 -0700)]
Interrupt running replay thread when starting another replay

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd Linux device discovery
Keith Packard [Tue, 6 Apr 2010 05:21:46 +0000 (22:21 -0700)]
Add Linux device discovery

AltosDeviceLinux.java scans /proc to locate suitable devices. This
will be hooked up to the UI shortly.

9 years agoSwitch TeleMetrum from v0.2 to v1.0
Keith Packard [Mon, 5 Apr 2010 03:55:30 +0000 (20:55 -0700)]
Switch TeleMetrum from v0.2 to v1.0

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoClean up some altosui comments
Keith Packard [Mon, 5 Apr 2010 03:55:18 +0000 (20:55 -0700)]
Clean up some altosui comments

9 years agoDon't abort the radio when enabling telemetry monitoring
Keith Packard [Mon, 5 Apr 2010 02:54:46 +0000 (19:54 -0700)]
Don't abort the radio when enabling telemetry monitoring

If telemetry monitoring is already on, then there isn't any point, and
if it's not on, then presumably there isn't any radio work to abort.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMake ao_radio_idle keep trying to get the radio to idle.
Keith Packard [Mon, 5 Apr 2010 02:48:50 +0000 (19:48 -0700)]
Make ao_radio_idle keep trying to get the radio to idle.

Attempting to abort a radio operation could lead to a hang if the user
of the radio jumped in and started using it again before the task
attempting to abort woke up. This change just keeps smacking the radio
until the radio goes idle long enough to detect it.

9 years agoUse RXTX for serial comm. Add logdir preference saving
Keith Packard [Sun, 4 Apr 2010 23:32:04 +0000 (16:32 -0700)]
Use RXTX for serial comm. Add logdir preference saving

9 years agorewrite urls in docbook format
Bdale Garbee [Sat, 3 Apr 2010 14:02:44 +0000 (08:02 -0600)]
rewrite urls in docbook format

9 years agoMake .jar file
Keith Packard [Sat, 3 Apr 2010 07:02:44 +0000 (00:02 -0700)]
Make .jar file

9 years agoRemove unused cell renderer class
Keith Packard [Sat, 3 Apr 2010 06:25:02 +0000 (23:25 -0700)]
Remove unused cell renderer class

9 years agoRemove GPS data missing from skytraq. Save max height/accel/speed
Keith Packard [Sat, 3 Apr 2010 06:20:38 +0000 (23:20 -0700)]
Remove GPS data missing from skytraq. Save max height/accel/speed

9 years agoReport current gps nsat, not last locked nsat
Keith Packard [Sat, 3 Apr 2010 06:05:40 +0000 (23:05 -0700)]
Report current gps nsat, not last locked nsat

9 years agoClean up GPS data formatting
Keith Packard [Sat, 3 Apr 2010 06:00:30 +0000 (23:00 -0700)]
Clean up GPS data formatting

9 years agoFix state updates
Keith Packard [Sat, 3 Apr 2010 05:47:40 +0000 (22:47 -0700)]
Fix state updates

9 years agoFix status update
Keith Packard [Sat, 3 Apr 2010 04:48:41 +0000 (21:48 -0700)]
Fix status update

9 years agoFix up table formatting
Keith Packard [Sat, 3 Apr 2010 04:44:00 +0000 (21:44 -0700)]
Fix up table formatting

9 years agoDisplay table of flight info. gps is not working yet though
Keith Packard [Sat, 3 Apr 2010 01:10:59 +0000 (18:10 -0700)]
Display table of flight info. gps is not working yet though

9 years agoSteal C code from ao-view
Keith Packard [Fri, 2 Apr 2010 23:07:40 +0000 (16:07 -0700)]
Steal C code from ao-view

9 years agoAdd telem parsing code
Keith Packard [Fri, 2 Apr 2010 20:37:52 +0000 (13:37 -0700)]
Add telem parsing code

9 years agocrudely incorporate "day in the life" info from web page
Bdale Garbee [Fri, 2 Apr 2010 05:56:47 +0000 (23:56 -0600)]
crudely incorporate "day in the life" info from web page