A recovery behavior that reverts the navigation stack's costmaps to the static map outside of a user-specified region. More...
#include <clear_costmap_recovery.h>

Public Member Functions | |
| ClearCostmapRecovery () | |
| Constructor, make sure to call initialize in addition to actually initialize the object. More... | |
| 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. More... | |
| void | runBehavior () |
| Run the ClearCostmapRecovery recovery behavior. Reverts the costmap to the static map outside of a user-specified window and clears unknown space around the robot. More... | |
Public Member Functions inherited from nav_core::RecoveryBehavior | |
| virtual | ~RecoveryBehavior () |
Private Member Functions | |
| void | clear (costmap_2d::Costmap2DROS *costmap) |
| void | clearMap (boost::shared_ptr< costmap_2d::CostmapLayer > costmap, double pose_x, double pose_y) |
Private Attributes | |
| std::set< std::string > | clearable_layers_ |
| Layer names which will be cleared. More... | |
| costmap_2d::Costmap2DROS * | global_costmap_ |
| bool | initialized_ |
| costmap_2d::Costmap2DROS * | local_costmap_ |
| std::string | name_ |
| double | reset_distance_ |
| tf::TransformListener * | tf_ |
Additional Inherited Members | |
Protected Member Functions inherited from nav_core::RecoveryBehavior | |
| RecoveryBehavior () | |
A recovery behavior that reverts the navigation stack's costmaps to the static map outside of a user-specified region.
Definition at line 50 of file clear_costmap_recovery.h.
| clear_costmap_recovery::ClearCostmapRecovery::ClearCostmapRecovery | ( | ) |
Constructor, make sure to call initialize in addition to actually initialize the object.
Definition at line 47 of file clear_costmap_recovery.cpp.
|
private |
Definition at line 95 of file clear_costmap_recovery.cpp.
|
private |
Definition at line 125 of file clear_costmap_recovery.cpp.
|
virtual |
Initialization function for the ClearCostmapRecovery recovery behavior.
| tf | A pointer to a transform listener |
| global_costmap | A pointer to the global_costmap used by the navigation stack |
| local_costmap | A pointer to the local_costmap used by the navigation stack |
Implements nav_core::RecoveryBehavior.
Definition at line 50 of file clear_costmap_recovery.cpp.
|
virtual |
Run the ClearCostmapRecovery recovery behavior. Reverts the costmap to the static map outside of a user-specified window and clears unknown space around the robot.
Implements nav_core::RecoveryBehavior.
Definition at line 80 of file clear_costmap_recovery.cpp.
|
private |
Layer names which will be cleared.
Definition at line 83 of file clear_costmap_recovery.h.
|
private |
Definition at line 78 of file clear_costmap_recovery.h.
|
private |
Definition at line 81 of file clear_costmap_recovery.h.
|
private |
Definition at line 78 of file clear_costmap_recovery.h.
|
private |
Definition at line 79 of file clear_costmap_recovery.h.
|
private |
Definition at line 82 of file clear_costmap_recovery.h.
|
private |
Definition at line 80 of file clear_costmap_recovery.h.