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:
183183 print (f"Default robotPeriodic() method...Override me!" )
184184 self ._robotPeriodicHasRun = True
185185
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 :
188187 """
189188 Periodic simulation code should go here.
190189
@@ -443,19 +442,19 @@ def _loopFunc(self) -> None:
443442 self .watchdog .addEpoch ("robotPeriodic()" )
444443
445444 SmartDashboard .updateValues ()
446- self .watchdog .addEpoch ("SmartDashboard::UpdateValues ()" )
445+ self .watchdog .addEpoch ("SmartDashboard.updateValues ()" )
447446
448447 LiveWindow .updateValues ()
449- self .watchdog .addEpoch ("LiveWindow::UpdateValues ()" )
448+ self .watchdog .addEpoch ("LiveWindow.updateValues ()" )
450449
451450 Shuffleboard .update ()
452- self .watchdog .addEpoch ("Shuffleboard::Update ()" )
451+ self .watchdog .addEpoch ("Shuffleboard.update ()" )
453452
454453 if self .isSimulation ():
455454 simPeriodicBefore ()
456- self .simulationPeriodic ()
455+ self ._simulationPeriodic ()
457456 simPeriodicAfter ()
458- self .watchdog .addEpoch ("SimulationPeriodic ()" )
457+ self .watchdog .addEpoch ("_simulationPeriodic ()" )
459458
460459 self .watchdog .disable ()
461460
You can’t perform that action at this time.
0 commit comments