Go to the documentation of this file.
37 #ifndef CLEAR_COSTMAP_RECOVERY_H_
38 #define CLEAR_COSTMAP_RECOVERY_H_
void clearMap(boost::shared_ptr< costmap_2d::CostmapLayer > costmap, double pose_x, double pose_y)
bool invert_area_to_clear_
std::set< std::string > clearable_layers_
Layer names which will be cleared.
bool force_updating_
force costmap update after clearing, so we don't need to wait for update thread
costmap_2d::Costmap2DROS * local_costmap_
void runBehavior()
Run the ClearCostmapRecovery recovery behavior. Reverts the costmap to the static map outside of a us...
ClearCostmapRecovery()
Constructor, make sure to call initialize in addition to actually initialize the object.
A recovery behavior that reverts the navigation stack's costmaps to the static map outside of a user-...
void initialize(std::string name, tf2_ros::Buffer *tf, costmap_2d::Costmap2DROS *global_costmap, costmap_2d::Costmap2DROS *local_costmap)
Initialization function for the ClearCostmapRecovery recovery behavior.
costmap_2d::Costmap2DROS * global_costmap_
void clear(costmap_2d::Costmap2DROS *costmap)
std::string affected_maps_
clear only local, global or both costmaps
clear_costmap_recovery
Author(s): Eitan Marder-Eppstein, contradict@gmail.com
autogenerated on Mon Mar 6 2023 03:50:30