diff --git a/nav2_costmap_2d/include/nav2_costmap_2d/inflation_layer.hpp b/nav2_costmap_2d/include/nav2_costmap_2d/inflation_layer.hpp index c330cd4ef6..68ea9c8de6 100644 --- a/nav2_costmap_2d/include/nav2_costmap_2d/inflation_layer.hpp +++ b/nav2_costmap_2d/include/nav2_costmap_2d/inflation_layer.hpp @@ -177,6 +177,11 @@ class InflationLayer : public Layer return cost_scaling_factor_; } + double getInflationRadius() + { + return inflation_radius_; + } + protected: /** * @brief Process updates on footprint changes to the inflation layer