sandiskthefrog
23-03-2016, 19:47
Hi!
I'm working on a widget that'll change the background of SmartDashboard to green when we ought to shoot and make it red when we shouldn't shoot. The should/shouldn't shoot shoot is handled in our code, but I don't know what to do about the widget.
I downloaded the code found in this thread this thread (http://www.chiefdelphi.com/forums/showthread.php?t=131715). And I've uncommented the code to set the color correctly. Thing is, now I don't know how to get that widget onto smartdashboard and activate it when I need to. Help?
If anyone has a better way of accomplishing what I've described with the background color, please feel free to chime in. Thanks.
I'm working on a widget that'll change the background of SmartDashboard to green when we ought to shoot and make it red when we shouldn't shoot. The should/shouldn't shoot shoot is handled in our code, but I don't know what to do about the widget.
I downloaded the code found in this thread this thread (http://www.chiefdelphi.com/forums/showthread.php?t=131715). And I've uncommented the code to set the color correctly. Thing is, now I don't know how to get that widget onto smartdashboard and activate it when I need to. Help?
If anyone has a better way of accomplishing what I've described with the background color, please feel free to chime in. Thanks.