Esempio n. 1
0
def automated_docking_handler(context, message):
    context['team'].DOK(message['data'], context['logfile'])
    return formatter.format("TDDOK,{},Success".format(
        timeutil.nmea_timestamp()))
Esempio n. 2
0
def raise_the_flag_handler(context, message):
    context['team'].FLG(message['data'], context['logfile'])
    return formatter.format("TDFLG,{},Success".format(
        timeutil.nmea_timestamp()))
Esempio n. 3
0
def heartbeat_handler(context, message):
    context['team'].HRB(message['data'], context['logfile'])
    return formatter.format("TDHRB,{},Success".format(
        timeutil.nmea_timestamp()))