| 88 | } |
| 89 | |
| 90 | void StaticLayer::MatchSize() { |
| 91 | if (!layered_costmap_->IsRolling()) { |
| 92 | Costmap2D* master = layered_costmap_->GetCostMap(); |
| 93 | ResizeMap(master->GetSizeXCell(), master->GetSizeYCell(), master->GetResolution(), |
| 94 | master->GetOriginX(), master->GetOriginY()); |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | void StaticLayer::InComingMap(const nav_msgs::OccupancyGridConstPtr &new_map) { |
| 99 | unsigned int temp_index = 0; |
no test coverage detected