Skip to content

feat(diagnostics): show bridge rate cap next to wire Hz - #11

Merged
alvgaona merged 2 commits into
mainfrom
feature/rew-200
Jul 20, 2026
Merged

feat(diagnostics): show bridge rate cap next to wire Hz#11
alvgaona merged 2 commits into
mainfrom
feature/rew-200

Conversation

@alvgaona

@alvgaona alvgaona commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

When the bridge throttles a topic, the Diagnostics panel keeps showing the wire rate while the plot updates at the cap, which reads as data loss. This renders the cap next to the wire rate so the state explains itself.

Changes

  • The visualizer in src/views/diagnostics/system.rs queries the new optional max_hz column from ROS2DiagnosticsInfo and parses it like latency_ms (empty string means unthrottled).
  • The Hz cell in src/views/diagnostics/mod.rs renders the wire rate with a weak (capped N) annotation when a cap is present. Unthrottled topics and old recordings render exactly as before.
  • The extras pin moves to the feature/rew-200 branch temporarily and flips to the v0.7.0 tag at release.

Sorting still uses the wire rate, so the column ordering is unchanged by throttling.

Related

Checklist

  • PR title follows Conventional Commits
  • cargo fmt --check is clean
  • cargo clippy --all-targets -- -D warnings is clean (native)
  • cargo test passes
  • Public items have /// docs

Breaking changes

None. The new component is optional in both directions, old recordings and old bridges render without the annotation.

alvgaona added 2 commits July 20, 2026 16:12
Reads the max_hz column from ROS2DiagnosticsInfo and renders the Hz
cell as wire rate plus a weak '(capped N)' annotation. Old recordings
without the column render unchanged. Extras pin moves to the feature
branch temporarily and flips to the v0.7.0 tag at release.
@alvgaona
alvgaona merged commit f1f6a7c into main Jul 20, 2026
4 checks passed
@alvgaona
alvgaona deleted the feature/rew-200 branch July 20, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant