def test(self): while self.isTest() and self.isEnabled(): LiveWindow.run() for component in self.components.values(): component.stop() if self.nt_timer.hasPeriodPassed(.5): component.update_nt()
def test(self): for component in self.components.values(): component.stop() while self.isTest() and self.isEnabled(): LiveWindow.run() self.update_networktables()
def testPeriodic(self): LiveWindow.run() self.updateDashboard()