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 @@ -287,7 +287,6 @@ def autonomous(self):
287
287
288
288
self .__nt .putString ("mode" , "auto" )
289
289
self .__nt .putBoolean ("is_ds_attached" , self .ds .isDSAttached ())
290
- wpilib .LiveWindow .setEnabled (False )
291
290
292
291
self ._on_mode_enable_components ()
293
292
@@ -313,7 +312,6 @@ def disabled(self):
313
312
314
313
self .__nt .putString ("mode" , "disabled" )
315
314
ds_attached = None
316
- wpilib .LiveWindow .setEnabled (False )
317
315
318
316
self ._on_mode_disable_components ()
319
317
try :
@@ -361,7 +359,6 @@ def operatorControl(self):
361
359
# don't need to update this during teleop -- presumably will switch
362
360
# modes when ds is no longer attached
363
361
self .__nt .putBoolean ("is_ds_attached" , self .ds .isDSAttached ())
364
- wpilib .LiveWindow .setEnabled (False )
365
362
366
363
# initialize things
367
364
self ._on_mode_enable_components ()
@@ -403,7 +400,6 @@ def test(self):
403
400
404
401
self .__nt .putString ("mode" , "test" )
405
402
self .__nt .putBoolean ("is_ds_attached" , self .ds .isDSAttached ())
406
- wpilib .LiveWindow .setEnabled (True )
407
403
408
404
try :
409
405
self .testInit ()
You can’t perform that action at this time.
0 commit comments