|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Our team would also be interested in adding widgets to the SD (a working gyro in our case)
As per your question: does it have to be the background of the whole SD? you can use SmartDashboard.putBoolean to put the "canShoot" boolean on, and change the indicator to a booleanbox (false becomes red, true is green) and then resize the box as you see fit. you could resize it to the whole screen and just send the widget back (provided you are fine with those colors as your background). |
|
#2
|
|||
|
|||
|
Re: How to add custom widget to smart dashboard?
I agree that the best way is to use a boolean box. It has options to change the colors that are displayed for true and false, if you don't like the defaults.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|