diff --git a/FC_Board/main.py b/FC_Board/main.py index cb7f6b1..9b70019 100755 --- a/FC_Board/main.py +++ b/FC_Board/main.py @@ -61,9 +61,10 @@ def send_imu(): c.watchdog_pet() f.send(IMUData) + def main(): f.beacon() - + f.listen_loiter() f.state_of_health() @@ -73,11 +74,11 @@ def main(): f.all_face_data() c.watchdog_pet() f.send_face() - + f.listen_loiter() send_imu() - + f.listen_loiter() f.joke() @@ -85,8 +86,6 @@ def main(): f.listen_loiter() - - def critical_power_operations(): initial_boot() @@ -103,7 +102,6 @@ def minimum_power_operations(): f.Short_Hybernate() - ######################### MAIN LOOP ############################## try: