Tinca/Docs/Widgets/Velocity Gauge

Velocity Gauge

FREE
SENSORS · 11 FIELDS · 2×2 DEFAULT

Speedometer arc from odometry, cmd_vel, or a custom field

When to reach for it

Velocity Gauge draws one speed number inside an animated arc, filled proportionally toward the configured max. Use it for at-a-glance speed during teleop. For a plotted history across multiple series, Time Series (Pro); for a bare numeric readout, Value Display.

Worked example: /odom vs /cmd_vel

Leave Topic on its default, /odom (nav_msgs/msg/Odometry), with Source on Auto: the gauge checks the topic's schema name, resolves to Odometry, and plots twist.twist.linear.x, the robot's actual velocity. Point the same widget at /cmd_vel (geometry_msgs/msg/Twist) and Auto resolves to Cmd Vel instead, plotting linear.x, the operator's commanded speed, which diverges from actual whenever the controller saturates. Custom field (Pro) reads any other numeric path, with a magnitude toggle for vectors like joint velocities or motor RPM.

Watch out for
  • Auto-Detect Maxkeeps shifting the scale upward as the robot's peak speed grows, good for catching a spike but bad for muscle memory against a fixed dial. Pin Max Value for stability instead.
  • When Source is Auto and the schema is not yet known, or the topic is oddly named, like /robot/speed, it falls back to matching odom, cmd_vel, or twist as substrings, then defaults to Odometry if nothing matches: a silent read of 0, no error shown.

Configuration fields

Topictopic

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

Sourceselect

Where to read the speed value from. Auto picks Odometry or Cmd Vel based on the topic's message type.

Auto (detect from topic)Odometry (twist.twist.linear.x)Cmd Vel (linear.x)Custom field
Custom Data SourcePROinfo

Read the gauge value from any numeric field on any topic.

WITH PROPro unlocks a "Custom field" source so the gauge can read any number on any topic, like IMU magnitudes, joint velocities, motor RPM, or throttle commands. Includes a "Compute Magnitude" toggle that treats the field as a 3D vector (with .x/.y/.z suffixes) and plots √(x²+y²+z²).

Custom FieldPROfield-path

Any numeric field path to read as the speed value.

Compute Magnitude (√(x²+y²+z²))PROboolean

Treat the field as the base of a 3D vector and plot its magnitude.

Auto-Detect Maxboolean

Adapt the gauge max to the running observed maximum (with 20% headroom).

Max Valuenumber

Manual gauge max.

Unitselect
m/skm/hmphft/sCustom
Custom Unitstring

Your own unit text shown under the value, e.g. "knots", "RPM", "%".

Gauge Colorselect

The color used to draw this widget.

GoldGreenRedBlue
Show Needleboolean