Beispiel #1
0
 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()
Beispiel #2
0
 def test(self):
     for component in self.components.values():
         component.stop()
     while self.isTest() and self.isEnabled():
         LiveWindow.run()
         self.update_networktables()
Beispiel #3
0
 def testPeriodic(self):
     LiveWindow.run()
     self.updateDashboard()