def ___ros_master_running(self):
        checker = ROSMasterChecker.ROSMasterChecker()

        if not checker.master_present(5):
            self.logger.debug("ROS Master Not Found!!!! Exiting!!!")
            QtGui.QGuiApplication.exit()
            return False
        return True
#####################################
if __name__ == "__main__":
    signal.signal(signal.SIGINT, signal.SIG_DFL
                  )  # This allows the keyboard interrupt kill to work properly

    # ########## Start the QApplication Framework ##########
    application = QtWidgets.QApplication(
        sys.argv)  # Create the ase qt gui application
    application.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5())

    # ########## Set Organization Details for QSettings ##########
    QtCore.QCoreApplication.setOrganizationName("OSURC")
    QtCore.QCoreApplication.setOrganizationDomain("http://osurobotics.club/")
    QtCore.QCoreApplication.setApplicationName("groundstation")

    # ########## Check ROS Master Status ##########
    master_checker = ROSMasterChecker.ROSMasterChecker()

    if not master_checker.master_present(5):
        message_box = QtWidgets.QMessageBox()
        message_box.setWindowTitle("Rover Ground Station")
        message_box.setText(
            "Connection to ROS Master Failed!!!\n" +
            "Ensure ROS master is running or check for network issues.")
        message_box.exec_()
        exit()

    # ########## Start Ground Station If Ready ##########
    ground_station = GroundStation()
    application.exec_()  # Execute launching of the application