File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
subprojects/robotpy-wpilib/wpilib Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 33 waitForNotifierAlarm , stopNotifier , tResourceType , tInstances
44from wpilib import RobotController
55
6- from wpilib .iterativerobotpy import IterativeRobotPy
6+ from .iterativerobotpy import IterativeRobotPy
77
88_getFPGATime = RobotController .getFPGATime
99_kResourceType_Framework = tResourceType .kResourceType_Framework
@@ -83,13 +83,13 @@ def __str__(self):
8383
8484class TimedRobotPy (IterativeRobotPy ):
8585
86- def __init__ (self , periodS : float = 0.020 ):
87- super ().__init__ (periodS )
86+ def __init__ (self , period : float = 0.020 ):
87+ super ().__init__ (period )
8888
8989 self ._startTimeUs = _getFPGATime ()
9090 self ._callbacks = _OrderedList ()
9191 self .loopStartTimeUs = 0
92- self .addPeriodic (self .loopFunc , period = periodS )
92+ self .addPeriodic (self .loopFunc , period = period )
9393
9494 self ._notifier , status = initializeNotifier ()
9595 if status != 0 :
You can’t perform that action at this time.
0 commit comments