State Transitions
The State Transitions panel visualizes changes in discrete values from your topic message paths. Use message path syntax to specify which values to track.
The panel displays data for specified topics across the entire visualization time range.
Current playback time will be indicated by a vertical gray bar.
Paths can point to any primitive value (numbers, booleans, enums, etc.), but will be most useful for enums.
Constants included in your ROS message definition will be displayed as a label for each "enum" plot. Limit enums to one per message definition, as Foxglove will not know which constant name to use in the event of multiple matches.
Settings
General
field | description |
---|---|
Sync with other plots | Sync zooming and panning with other plots |
Show points | Show a point for each incoming message |
X-axis
field | description |
---|---|
Axis label | Label displayed along the time axis |
Min | The minimum time value to display |
Max | The maximum time value to display |
Range | Width of the panel viewport (in seconds) |
Series
field | description |
---|---|
Message path | Message path containing values for the series |
Label | Label displayed in the legend for the series |
Timestamp | Timestamp used for message ordering:
|
Controls and shortcuts
Pan and zoom
To pan, click and drag using the mouse or trackpad.
To zoom, scroll using the mouse wheel or trackpad. Alternatively, enable the Zoom tool by clicking the button in the toolbar or pressing z
on your keyboard:
With the Zoom tool on, click and drag to select an area:
Click the Reset view button in the panel toolbar (or double-click the panel) to reset to the original viewport, as defined by your panel's range settings:
Scroll vertically
Sometimes not all series fit in the viewport. To scroll vertically, you can:
- Press
Shift
while scrolling anywhere in the panel - Scroll over the scrollbar
- Drag the scrollbar
Click-to-seek
Hover over any point on the state transition chart to see state details at the time in a tooltip. You'll see a vertical yellow bar appear, as well as a corresponding yellow marker at the same time on the playback timeline. Click to seek playback to the yellow marker on the timeline.
Only available for recorded data.