Readd plot panel to Twix - #2960
Open
alexschmander wants to merge 8 commits into
Open
alexschmander wants to merge 8 commits into
alexschmander wants to merge 8 commits into
Conversation
alexschmander
added this pull request to stack #2961
October 4, 2026 18:58
This was referenced Oct 4, 2026
alexschmander
marked this pull request as draft
October 4, 2026 19:06
alexschmander
force-pushed
the
twix/plot-panel
branch
from
October 4, 2026 19:29
1ca9160 to
3a28d56
Compare
alexschmander
marked this pull request as ready for review
October 4, 2026 19:30
Opt plot observations into time-based retention without a sample-count limit. The default 4096-sample cap truncated a requested 30-second window to 9.1 seconds at 450 Hz. Keep the default cap for other observers and update the plot documentation and tooltip.
Rename Add line to Add item, place an X remove button beside the topic field, and show status details through an info button on hover or click.
Lay out the remove and info buttons from the right edge before giving the topic input the remaining width. Set a readable viewport-aware width for info tooltips and popups and wrap diagnostic text.
Toggle pause with Space in the focused pane without consuming text input or key repeats. Preserve pane focus after chart clicks, route double-click reset through Reset view, and document trackpad zoom gestures.
alexschmander
force-pushed
the
twix/plot-panel
branch
from
October 5, 2026 16:50
3a28d56 to
0c897ae
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why? What?
This PR adds a numeric time-series Plot panel to Twix, building on the topic field selection PR.
Multiple numeric fields can be plotted with individual colors and visibility controls. The history duration is configurable, and pausing allows panning and zooming through the captured data. Missing or invalid values produce gaps. Subscription and selection details are available through each item's info button.
ros-z-debug retains the selected time window, with one observation per topic shared across its plotted fields.
ToDo / Known Issues
Comparing topics assumes synchronized publisher clocks. Retention has no sample-count cap, so memory usage depends on message rate, payload size, and history duration. Stalled timestamps prevent time-based eviction.
Ideas for Next Iterations (Not This PR)
How to Test
Connect Twix to a robot, simulator, or replay. Open a Plot panel and add
inputs/imu_state.roll_pitch_yaw[0]and[1]. Check history duration, pause/resume, zooming, and item controls.