-
Notifications
You must be signed in to change notification settings - Fork 88
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: add stacked costmap class #104
Conversation
PASSEDAll tests passed
|
FAILEDTest failed
|
648e979
to
32208d2
Compare
PASSEDAll tests passed
|
virtual bool updateChain() = 0; | ||
bool updateChainEntry(const UpdatedRegion ®ion) | ||
{ | ||
region_.merge(region); |
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.
move impl of processMapOverlay
to here
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.
only if non-empty region is stored
{ | ||
ROS_ASSERT(!root_); | ||
ROS_ASSERT(ang_grid_ > 0); | ||
const int ox = lroundf((msg.info.origin.position.x - map_->info.origin.position.x) / map_->info.linear_resolution); | ||
const int oy = lroundf((msg.info.origin.position.y - map_->info.origin.position.y) / map_->info.linear_resolution); | ||
*map_overlay_ = *map_; | ||
gemerateCSpace(map_overlay_, msg, true); |
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.
store msg and region, then trigger updateChainEntry
PASSEDAll tests passed
|
PASSEDAll tests passed
|
No description provided.