Skip to content

Commit

Permalink
get inflation radius in inflation layer (ros-navigation#3329)
Browse files Browse the repository at this point in the history
(cherry picked from commit a4c5f93)
  • Loading branch information
SteveMacenski authored and Tony Najjar committed Mar 2, 2023
1 parent b0ec2a9 commit aa85f5f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nav2_costmap_2d/include/nav2_costmap_2d/inflation_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa85f5f

Please sign in to comment.