예제 #1
0
파일: burn.py 프로젝트: mwhagedorn/basaGC
    def _disable_directional_autopilot(self):

        try:
            telemachus.disable_smartass()
        except:
            return False
        else:
            utils.log("Directional autopilot disabled", log_level="INFO")
            return True
예제 #2
0
    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")
예제 #3
0
    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()