Skip to content

Commit 21bab63

Browse files
committed
This version does simulate in autonomous and teleop okay. Need to test timer math.
Signed-off-by: Mike Stitt <[email protected]>
1 parent 5f793b7 commit 21bab63

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

subprojects/robotpy-wpilib/wpilib/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@
233233

234234
from .cameraserver import CameraServer
235235
from .deployinfo import getDeployData
236+
from .iterativerobotpy import IterativeRobotPy
237+
from .timedrobotpy import TimedRobotPy
236238

237239
try:
238240
from .version import version as __version__
@@ -241,4 +243,4 @@
241243

242244
from ._impl.main import run
243245

244-
__all__ += ["CameraServer", "run"]
246+
__all__ += ["CameraServer", "run", "IterativeRobotPy", "TimedRobotPy"]

subprojects/robotpy-wpilib/wpilib/timedrobotpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def startCompetition(self) -> None:
139139
if currentTimeUs == 0:
140140
break
141141
self.loopStartTimeUs = RobotController.getFPGATime()
142-
print(f"self.loopStartTimeUs={self.loopStartTimeUs}")
142+
#print(f"self.loopStartTimeUs={self.loopStartTimeUs}")
143143
self._runCallbackAndReschedule(callback, currentTimeUs)
144144

145145
# Process all other callbacks that are ready to run

0 commit comments

Comments
 (0)