| 311 | } |
| 312 | |
| 313 | void CostmapInterface::ResetLayers() { |
| 314 | Costmap2D *master = layered_costmap_->GetCostMap(); |
| 315 | master->ResetPartMap(0, 0, master->GetSizeXCell(), master->GetSizeYCell()); |
| 316 | auto plugins = layered_costmap_->GetPlugins(); |
| 317 | for (auto plugin = (*plugins).begin(); plugin != (*plugins).end(); ++plugin) { |
| 318 | (*plugin)->Reset(); |
| 319 | } |
| 320 | } |
| 321 | |
| 322 | bool CostmapInterface::GetRobotPose(tf::Stamped<tf::Pose> &global_pose) const { |
| 323 | global_pose.setIdentity(); |
nothing calls this directly
no test coverage detected