TJREVERB / pfs

Flight software for TJREVERB's nanosat.
7 stars 5 forks source link

Enhancement 40 - Modularize Telemetry #46

Closed etnguyen03 closed 4 years ago

etnguyen03 commented 4 years ago

40

Modularize telemetry into a class. Currently, I'm just sending out through aprs and ignoring radio_output, but the functionality of radio_output can be easily incorporated into telemetry if desired.

abagali1 commented 4 years ago

In addition to the changes listed above, add a heartbeat() method which just sends an "IM ALIVE" message ONLY through iridium. This method will be called by core on a timer.

def heartbeat():
  self.modules["iridium"].send("TJREVERB ALIVE, {0}".format( [time] ))