def __init__(self):
     self.controls = ControlIPC.getSingleton()
     self.sensors = SensorIPC.getSingleton()
     self.highPriorityProcesses = []
     self.medPriorityProcesses = []
     self.counter = 0
def stopAtExit():
    ControlIPC.getSingleton().emergencyStop(
    )  # This destroys everying and stops the motors