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
  • Loading branch information
SteveMacenski authored Dec 16, 2022
1 parent 0318561 commit a4c5f93
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 a4c5f93

Please sign in to comment.