Skip to content

Latest commit

 

History

History
42 lines (21 loc) · 1.39 KB

File metadata and controls

42 lines (21 loc) · 1.39 KB

FRC 2019 Shuffleboard Status Indicator Widget Library

A project dervied from my FRC 2019 Shuffleboard widget tutorial example code. The widgets in this library were created with the tutorial project as a template.

VorTx 3735 Text Status Indicator Widget

This widget displays 4 states in response to bound number ranges.

  • Neutral - Represented by a blue background. If there is no data bound or a data value that does not fit in the range of one of the other states.

neutral

  • Normal - Represented by a green background.

normal

  • Warning - Represented by a yellow background.

warning

  • Alert - Represented by a red background.

alert

As the state changes, the display "pulses" to help the user notice the state change.

pulser example

Optionally, you may specify that any state causes the context to "wobble" each time data is received. States that are not set to animate do not wobble when data is received.

wobbler example

Setting it up is easy, just select the properties of the widget. Set the min/max range values for each state and if you want to enable the data reception wobble for the state. The title of the widget is the display text.

settings