-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
costmap_cspace: prevent map update region out-of-bound #748
costmap_cspace: prevent map update region out-of-bound #748
Conversation
[582] PASSED on noeticAll tests passed
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #748 +/- ##
==========================================
- Coverage 88.68% 88.66% -0.02%
==========================================
Files 60 60
Lines 4632 4633 +1
==========================================
Hits 4108 4108
- Misses 524 525 +1 ☔ View full report in Codecov by Sentry. |
@@ -402,6 +402,7 @@ class Costmap3dLayerBase | |||
bool updateChainEntry(const UpdatedRegion& region, bool output = true) | |||
{ | |||
region_.merge(region); | |||
region_.normalize(map_->info.width, map_->info.height); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Limit region by the size of the static map
No description provided.