Skip to content

Visualization Proto Deduplicator#3574

Merged
Lmh-java merged 11 commits intoUBC-Thunderbots:masterfrom
Lmh-java:lmh/proto-deduper
Mar 8, 2026
Merged

Visualization Proto Deduplicator#3574
Lmh-java merged 11 commits intoUBC-Thunderbots:masterfrom
Lmh-java:lmh/proto-deduper

Conversation

@Lmh-java
Copy link
Contributor

@Lmh-java Lmh-java commented Jan 22, 2026

Description

Part of #3549

Because we are sending lots of duplicated visualization protos over the network at a very fast rate, the system network buffer is not happy with this. (Some machines will crash). This PR introduces a sliding window deduper that controls the rate of sending duplicates (with less-to-no additional overhead) to mitigate the problem.

image

These warnings will be gone after this PR is merged.

Testing Done

Resolved Issues

Length Justification and Key Files to Review

Review Checklist

It is the reviewers responsibility to also make sure every item here has been covered

  • Function & Class comments: All function definitions (usually in the .h file) should have a javadoc style comment at the start of them. For examples, see the functions defined in thunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.
  • Remove all commented out code
  • Remove extra print statements: for example, those just used for testing
  • Resolve all TODO's: All TODO (or similar) statements should either be completed or associated with a github issue

@Lmh-java Lmh-java changed the title Visualization Proto Deduplicators Visualization Proto Deduplicator Jan 22, 2026
@Lmh-java Lmh-java force-pushed the lmh/proto-deduper branch 3 times, most recently from a08b0c2 to 29b5374 Compare January 24, 2026 20:12
@Lmh-java Lmh-java marked this pull request as ready for review March 7, 2026 19:24
@Lmh-java Lmh-java requested a review from Andrewyx March 7, 2026 19:24
@Lmh-java Lmh-java marked this pull request as draft March 7, 2026 19:38
@Lmh-java Lmh-java force-pushed the lmh/proto-deduper branch from ea3b18e to 6fb22d3 Compare March 7, 2026 19:42
@Lmh-java Lmh-java marked this pull request as ready for review March 7, 2026 20:04
Copy link
Contributor

@sauravbanna sauravbanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm !

Copy link
Contributor

@Andrewyx Andrewyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Lmh-java Lmh-java merged commit fd47670 into UBC-Thunderbots:master Mar 8, 2026
6 checks passed
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.

3 participants