File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
subprojects/robotpy-wpilib/wpilib Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -183,8 +183,7 @@ def robotPeriodic(self) -> None:
183
183
print (f"Default robotPeriodic() method...Override me!" )
184
184
self ._robotPeriodicHasRun = True
185
185
186
- # todo why is this _simulationPeriodic in previous code? Can it be simulationPeriodic and still work?
187
- def simulationPeriodic (self ) -> None :
186
+ def _simulationPeriodic (self ) -> None :
188
187
"""
189
188
Periodic simulation code should go here.
190
189
@@ -443,19 +442,19 @@ def _loopFunc(self) -> None:
443
442
self .watchdog .addEpoch ("robotPeriodic()" )
444
443
445
444
SmartDashboard .updateValues ()
446
- self .watchdog .addEpoch ("SmartDashboard::UpdateValues ()" )
445
+ self .watchdog .addEpoch ("SmartDashboard.updateValues ()" )
447
446
448
447
LiveWindow .updateValues ()
449
- self .watchdog .addEpoch ("LiveWindow::UpdateValues ()" )
448
+ self .watchdog .addEpoch ("LiveWindow.updateValues ()" )
450
449
451
450
Shuffleboard .update ()
452
- self .watchdog .addEpoch ("Shuffleboard::Update ()" )
451
+ self .watchdog .addEpoch ("Shuffleboard.update ()" )
453
452
454
453
if self .isSimulation ():
455
454
simPeriodicBefore ()
456
- self .simulationPeriodic ()
455
+ self ._simulationPeriodic ()
457
456
simPeriodicAfter ()
458
- self .watchdog .addEpoch ("SimulationPeriodic ()" )
457
+ self .watchdog .addEpoch ("_simulationPeriodic ()" )
459
458
460
459
self .watchdog .disable ()
461
460
You can’t perform that action at this time.
0 commit comments