sm2mm: Add optional flag --permit-missing-externals#39
Conversation
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughA new CLI flag Changes
Sequence Diagram(s)mermaid Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@mp2p_icp_filters/src/sm2mm.cpp`:
- Around line 245-255: The observation object loaded for processing is not
always unloaded: when apply_generators(generators, *obs, mm, robotPose) returns
false the code continues without calling obs->unload(), and the same omission
exists in the exception handler; fix by ensuring obs->unload() is called on
every exit path (e.g., call obs->unload() immediately before the early continue
and also in the catch block before rethrow/continue), or preferably wrap the
load/process block with a RAII/scope-guard that calls obs->unload() in its
destructor to guarantee unload regardless of normal return or exceptions
(references: apply_generators, apply_filter_pipeline, obs->unload()).
71467c0 to
71ea591
Compare
Summary by CodeRabbit
New Features
Behavior
Documentation