File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,6 @@ def autonomous(self):
281
281
282
282
self .__nt .putString ("mode" , "auto" )
283
283
self .__nt .putBoolean ("is_ds_attached" , self .ds .isDSAttached ())
284
- wpilib .LiveWindow .setEnabled (False )
285
284
286
285
self ._on_mode_enable_components ()
287
286
@@ -304,7 +303,6 @@ def disabled(self):
304
303
305
304
self .__nt .putString ("mode" , "disabled" )
306
305
ds_attached = None
307
- wpilib .LiveWindow .setEnabled (False )
308
306
309
307
self ._on_mode_disable_components ()
310
308
try :
@@ -340,7 +338,6 @@ def operatorControl(self):
340
338
# don't need to update this during teleop -- presumably will switch
341
339
# modes when ds is no longer attached
342
340
self .__nt .putBoolean ("is_ds_attached" , self .ds .isDSAttached ())
343
- wpilib .LiveWindow .setEnabled (False )
344
341
345
342
# initialize things
346
343
self ._on_mode_enable_components ()
@@ -370,7 +367,6 @@ def test(self):
370
367
371
368
self .__nt .putString ("mode" , "test" )
372
369
self .__nt .putBoolean ("is_ds_attached" , self .ds .isDSAttached ())
373
- wpilib .LiveWindow .setEnabled (True )
374
370
375
371
try :
376
372
self .testInit ()
You can’t perform that action at this time.
0 commit comments