37 #ifndef CLEAR_COSTMAP_RECOVERY_H_ 38 #define CLEAR_COSTMAP_RECOVERY_H_
void clear(costmap_2d::Costmap2DROS *costmap)
A recovery behavior that reverts the navigation stack's costmaps to the static map outside of a user-...
std::set< std::string > clearable_layers_
Layer names which will be cleared.
ClearCostmapRecovery()
Constructor, make sure to call initialize in addition to actually initialize the object.
costmap_2d::Costmap2DROS * global_costmap_
void runBehavior()
Run the ClearCostmapRecovery recovery behavior. Reverts the costmap to the static map outside of a us...
costmap_2d::Costmap2DROS * local_costmap_
void initialize(std::string name, tf::TransformListener *tf, costmap_2d::Costmap2DROS *global_costmap, costmap_2d::Costmap2DROS *local_costmap)
Initialization function for the ClearCostmapRecovery recovery behavior.
void clearMap(boost::shared_ptr< costmap_2d::CostmapLayer > costmap, double pose_x, double pose_y)
tf::TransformListener * tf_