Make RDF beacon only run on pad and after landing.
authorKeith Packard <keithp@keithp.com>
Fri, 4 Sep 2009 18:46:55 +0000 (11:46 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 4 Sep 2009 18:46:55 +0000 (11:46 -0700)
commitfee46389b70a624ab5b1128a8b4c3083c7747bcb
treeb39de35fd305b26413839c69592de56acbc13fab
parent54545640b0db7747137655f84bc67fd290ecb904
Make RDF beacon only run on pad and after landing.

It's pretty much impossible to RDF the rocket during flight, and it
interferes with the telemetry data stream. Leave it enabled on the pad
so that radios can be tested, and then re-enable it once the rocket
has landed.

This patch also turns the rdf 'on' time into a parameter so it can be
changed, and then sets that parameter to 500ms, once every 5 seconds.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao.h
src/ao_flight.c
src/ao_radio.c
src/ao_telemetry.c