This commit is contained in:
2025-12-31 15:43:07 +07:00
parent ae469e3271
commit b6733ae04c
14 changed files with 24 additions and 74 deletions

View File

@@ -13,10 +13,7 @@ namespace robot_costmap_2d
virtual ~DirectionalLayer();
bool laneFilter(const std::vector<robot_geometry_msgs::PoseStamped> plan);
void resetMap();
LayerType getType() const override
{
return LayerType::DIRECTIONAL_LAYER;
}
private:
void incomingMap(const robot_nav_msgs::OccupancyGrid &new_map);
bool laneFilter(std::vector<std::array<uint16_t, 2>> new_map, const robot_nav_msgs::Path path);