$search

clear_costmap_recovery::ClearCostmapRecovery Class Reference

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>

Inheritance diagram for clear_costmap_recovery::ClearCostmapRecovery:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ClearCostmapRecovery ()
 Constructor, make sure to call initialize in addition to actually initialize the object.
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 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.

Private Attributes

costmap_2d::Costmap2DROSglobal_costmap_
bool initialized_
costmap_2d::Costmap2DROSlocal_costmap_
std::string name_
double reset_distance_
tf::TransformListenertf_

Detailed Description

A recovery behavior that reverts the navigation stack's costmaps to the static map outside of a user-specified region.

Definition at line 49 of file clear_costmap_recovery.h.


Constructor & Destructor Documentation

clear_costmap_recovery::ClearCostmapRecovery::ClearCostmapRecovery (  ) 

Constructor, make sure to call initialize in addition to actually initialize the object.

Parameters:
@return 

Definition at line 44 of file clear_costmap_recovery.cpp.


Member Function Documentation

void clear_costmap_recovery::ClearCostmapRecovery::initialize ( std::string  name,
tf::TransformListener tf,
costmap_2d::Costmap2DROS global_costmap,
costmap_2d::Costmap2DROS local_costmap 
) [virtual]

Initialization function for the ClearCostmapRecovery recovery behavior.

Parameters:
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 47 of file clear_costmap_recovery.cpp.

void clear_costmap_recovery::ClearCostmapRecovery::runBehavior (  )  [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 67 of file clear_costmap_recovery.cpp.


Member Data Documentation

Definition at line 75 of file clear_costmap_recovery.h.

Definition at line 78 of file clear_costmap_recovery.h.

Definition at line 75 of file clear_costmap_recovery.h.

Definition at line 76 of file clear_costmap_recovery.h.

Definition at line 79 of file clear_costmap_recovery.h.

Definition at line 77 of file clear_costmap_recovery.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


clear_costmap_recovery
Author(s): Eitan Marder-Eppstein
autogenerated on Fri Mar 1 16:10:40 2013