Tinca/Docs/Widgets/Indicator Light

Indicator Light

FREE
STATUS · 9 FIELDS · 2×1 DEFAULT

Boolean status indicator light

When to reach for it

Indicator Light is the binary status pill: on or off, driven by a boolean field, a numeric threshold, or a string match. Use it for e-stop state, mode flags, gripper open/closed, fault flags: anywhere a glance beats reading a number. For the raw value next to the color, Value Display covers similar ground; its Warning/Critical threshold coloring is Pro-only.

Pick the right Mode

Boolean reads the field with plain JS truthiness, clean for std_msgs/Bool topics. Threshold compares a numeric reading against Threshold Value, for “motor temperature above 60 means warning.” String Match checks the incoming string against your String Mappings table for exact equality, useful for enum-style status fields like OK, WARN, FAULT.

Watch out for
  • String Match compares values with exact, case-sensitive equality and no trimming. A topic sending ok against a mapping configured for OK falls back to inactive, with nothing in the UI to explain why.
  • Boolean mode uses real JS truthiness, not a strict true/false check: a string field holding the text “false” reads as active, since a non-empty string is truthy.
  • If Field Pathpoints at a field missing from the message, the light just goes inactive: there's no error state distinguishing a wrong path from a legitimately off value.

Configuration fields

Topictopic

The topic this widget reads from. While connected, tap to pick one the robot advertises.

Field Pathfield-path

Dot-path to the field to read, like pose.position.x. Blank uses the message's main value.

Max Message Rate (Hz)number

Messages per second this widget takes from the topic. Lower saves data, higher shows more.

0.1 to 60, step 0.1
Modeselect

How the reading turns the light on or off.

BooleanThresholdString Match
Threshold Valuenumber

In Threshold mode, the value the reading must reach to turn the light on.

String Mappingsstring-mapping

Map incoming text values to colors, such as OK to green.

Show Labelboolean

Show a name under the light.

Labelstring
Active Colorselect

The color shown when the light is on.

GoldGreenRedBlue