Public Member Functions | Private Attributes | List of all members
rotate_recovery::RotateRecovery Class Reference

A recovery behavior that rotates the robot in-place to attempt to clear out space. More...

#include <rotate_recovery.h>

Inheritance diagram for rotate_recovery::RotateRecovery:
Inheritance graph
[legend]

Public Member Functions

void initialize (std::string name, tf2_ros::Buffer *, costmap_2d::Costmap2DROS *, costmap_2d::Costmap2DROS *local_costmap)
 Initialization function for the RotateRecovery recovery behavior. More...
 
 RotateRecovery ()
 Constructor, make sure to call initialize in addition to actually initialize the object. More...
 
void runBehavior ()
 Run the RotateRecovery recovery behavior. More...
 
 ~RotateRecovery ()
 Destructor for the rotate recovery behavior. More...
 
- Public Member Functions inherited from nav_core::RecoveryBehavior
virtual ~RecoveryBehavior ()
 

Private Attributes

double acc_lim_th_
 
double frequency_
 
bool initialized_
 
costmap_2d::Costmap2DROSlocal_costmap_
 
double max_rotational_vel_
 
double min_rotational_vel_
 
double sim_granularity_
 
double tolerance_
 
base_local_planner::CostmapModelworld_model_
 

Additional Inherited Members

- Protected Member Functions inherited from nav_core::RecoveryBehavior
 RecoveryBehavior ()
 

Detailed Description

A recovery behavior that rotates the robot in-place to attempt to clear out space.

Definition at line 86 of file rotate_recovery.h.

Constructor & Destructor Documentation

◆ RotateRecovery()

rotate_recovery::RotateRecovery::RotateRecovery ( )

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

Definition at line 89 of file rotate_recovery.cpp.

◆ ~RotateRecovery()

rotate_recovery::RotateRecovery::~RotateRecovery ( )

Destructor for the rotate recovery behavior.

Definition at line 123 of file rotate_recovery.cpp.

Member Function Documentation

◆ initialize()

void rotate_recovery::RotateRecovery::initialize ( std::string  name,
tf2_ros::Buffer ,
costmap_2d::Costmap2DROS ,
costmap_2d::Costmap2DROS local_costmap 
)
virtual

Initialization function for the RotateRecovery recovery behavior.

Parameters
nameNamespace used in initialization
tf(unused)
global_costmap(unused)
local_costmapA pointer to the local_costmap used by the navigation stack

Implements nav_core::RecoveryBehavior.

Definition at line 93 of file rotate_recovery.cpp.

◆ runBehavior()

void rotate_recovery::RotateRecovery::runBehavior ( )
virtual

Run the RotateRecovery recovery behavior.

Implements nav_core::RecoveryBehavior.

Definition at line 128 of file rotate_recovery.cpp.

Member Data Documentation

◆ acc_lim_th_

double rotate_recovery::RotateRecovery::acc_lim_th_
private

Definition at line 117 of file rotate_recovery.h.

◆ frequency_

double rotate_recovery::RotateRecovery::frequency_
private

Definition at line 117 of file rotate_recovery.h.

◆ initialized_

bool rotate_recovery::RotateRecovery::initialized_
private

Definition at line 116 of file rotate_recovery.h.

◆ local_costmap_

costmap_2d::Costmap2DROS* rotate_recovery::RotateRecovery::local_costmap_
private

Definition at line 115 of file rotate_recovery.h.

◆ max_rotational_vel_

double rotate_recovery::RotateRecovery::max_rotational_vel_
private

Definition at line 117 of file rotate_recovery.h.

◆ min_rotational_vel_

double rotate_recovery::RotateRecovery::min_rotational_vel_
private

Definition at line 117 of file rotate_recovery.h.

◆ sim_granularity_

double rotate_recovery::RotateRecovery::sim_granularity_
private

Definition at line 117 of file rotate_recovery.h.

◆ tolerance_

double rotate_recovery::RotateRecovery::tolerance_
private

Definition at line 117 of file rotate_recovery.h.

◆ world_model_

base_local_planner::CostmapModel* rotate_recovery::RotateRecovery::world_model_
private

Definition at line 118 of file rotate_recovery.h.


The documentation for this class was generated from the following files:


rotate_recovery
Author(s): Eitan Marder-Eppstein, contradict@gmail.com
autogenerated on Mon Mar 6 2023 03:50:43