File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 44
55import wpilib
66
7+ from networktables import NetworkTables
8+ from wpilib .shuffleboard import Shuffleboard
9+
710from robotpy_ext .misc import NotifierDelay
811from robotpy_ext .autonomous import AutonomousModeSelector
912
1013from robotpy_ext .misc .orderedclass import OrderedClass
1114from robotpy_ext .misc .annotations import get_class_annotations
1215
13- from networktables import NetworkTables
14-
1516from .magic_tunable import setup_tunables , _TunableProperty , collect_feedbacks
1617from .magic_reset import will_reset_to
1718
@@ -179,10 +180,12 @@ def robotPeriodic(self):
179180 You may use it for any code you need to run
180181 during all modes of the robot (e.g NetworkTables updates)
181182
182- The default implementation will update SmartDashboard and LiveWindow.
183+ The default implementation will update
184+ SmartDashboard, LiveWindow and Shuffleboard.
183185 """
184186 wpilib .SmartDashboard .updateValues ()
185187 wpilib .LiveWindow .updateValues ()
188+ Shuffleboard .update ()
186189
187190 def onException (self , forceReport = False ):
188191 """
You can’t perform that action at this time.
0 commit comments