Skip to content

Fixing occupancy grids not 3d spam when subscribing octomap... - #1763

Merged
matlabbe merged 1 commit into
masterfrom
fixing_grid_not_3d_spam
Sep 9, 2026
Merged

matlabbe merged 1 commit into
masterfrom
fixing_grid_not_3d_spam

Conversation

@matlabbe

@matlabbe matlabbe commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

...and grids are 2d

On large maps (>1000 nodes) that didn't create 3D local grids and that someone is subscribing to octomap or grid_map output topics, there was a warning published for every node. If also the UWARN are forwarded as UEvents to rosout, at some point the events queue keep growing, not able to clear up the queue before a bunch of new warnings come by. The effect is that rtabmap node looks memory leaking, though it is just the queue cannot empty fast enough. In this PR, we only publish the warning once, to avoid overflowing UEventsManager's events queue.

@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.36%. Comparing base (f7752ba) to head (0f292bb).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1763      +/-   ##
==========================================
+ Coverage   61.34%   61.36%   +0.01%     
==========================================
  Files         291      291              
  Lines       51270    51270              
==========================================
+ Hits        31450    31460      +10     
+ Misses      19820    19810      -10     

see 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@matlabbe
matlabbe merged commit fb45725 into master Sep 9, 2026
30 of 35 checks passed
@matlabbe
matlabbe deleted the fixing_grid_not_3d_spam branch September 9, 2026 17:42
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