def _disable_directional_autopilot(self): try: telemachus.disable_smartass() except: return False else: utils.log("Directional autopilot disabled", log_level="INFO") return True
def disable_direction_autopilot(self): """ Disables the directional autopilot :return: None """ telemachus.disable_smartass() self.is_direction_autopilot_engaged = False utils.log("Autopilot disabled", log_level="INFO")
def quit(self, event=None): """ Quits basaGC. :param event: wxPython event (not used) :return: None """ # disables SMARTASS try: telemachus.disable_smartass() except TypeError: pass # if self.loop_timer.is_running: # self.loop_timer.stop() self.gui.Destroy()