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 4
4
5
5
import wpilib
6
6
7
+ from networktables import NetworkTables
8
+ from wpilib .shuffleboard import Shuffleboard
9
+
7
10
from robotpy_ext .misc import NotifierDelay
8
11
from robotpy_ext .autonomous import AutonomousModeSelector
9
12
10
13
from robotpy_ext .misc .orderedclass import OrderedClass
11
14
from robotpy_ext .misc .annotations import get_class_annotations
12
15
13
- from networktables import NetworkTables
14
-
15
16
from .magic_tunable import setup_tunables , _TunableProperty , collect_feedbacks
16
17
from .magic_reset import will_reset_to
17
18
@@ -179,10 +180,12 @@ def robotPeriodic(self):
179
180
You may use it for any code you need to run
180
181
during all modes of the robot (e.g NetworkTables updates)
181
182
182
- The default implementation will update SmartDashboard and LiveWindow.
183
+ The default implementation will update
184
+ SmartDashboard, LiveWindow and Shuffleboard.
183
185
"""
184
186
wpilib .SmartDashboard .updateValues ()
185
187
wpilib .LiveWindow .updateValues ()
188
+ Shuffleboard .update ()
186
189
187
190
def onException (self , forceReport = False ):
188
191
"""
You can’t perform that action at this time.
0 commit comments