altos: Make telemetry interval more consistent
authorKeith Packard <keithp@keithp.com>
Sun, 20 Mar 2011 06:41:44 +0000 (23:41 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 20 Mar 2011 06:41:44 +0000 (23:41 -0700)
Instead of using a delay between telemetry packets, use a telemetry
period and compute an appropriate delay each time. This requires
changing the ascent telemetry from a 50ms delay to a 100ms interval,
to provide a regular 10 packets-per-second rate. Before, we counted on
the telemetry packet taking about 50ms to send so that we would
receive about 10 per second.

This also eliminates delays during descent for RDF tones -- those will
get transmitted in the interval between telemetry packets without
interrupting the spacing of those packets.

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

No differences found