#include <recovery_action.h>
Public Types | |
typedef boost::shared_ptr< RecoveryAction > | Ptr |
Public Types inherited from mbf_abstract_nav::AbstractAction< mbf_msgs::RecoveryAction, AbstractRecoveryExecution > | |
typedef actionlib::ActionServer< mbf_msgs::RecoveryAction >::GoalHandle | GoalHandle |
typedef boost::shared_ptr< AbstractAction > | Ptr |
typedef boost::function< void(GoalHandle &goal_handle, AbstractRecoveryExecution &execution)> | RunMethod |
Public Member Functions | |
RecoveryAction (const std::string &name, const RobotInformation &robot_info) | |
void | run (GoalHandle &goal_handle, AbstractRecoveryExecution &execution) |
Public Member Functions inherited from mbf_abstract_nav::AbstractAction< mbf_msgs::RecoveryAction, AbstractRecoveryExecution > | |
AbstractAction (const std::string &name, const RobotInformation &robot_info, const RunMethod run_method) | |
virtual void | cancel (GoalHandle &goal_handle) |
virtual void | cancelAll () |
virtual void | reconfigureAll (mbf_abstract_nav::MoveBaseFlexConfig &config, uint32_t level) |
virtual void | runAndCleanUp (GoalHandle &goal_handle, typename AbstractRecoveryExecution::Ptr execution_ptr) |
virtual void | start (GoalHandle &goal_handle, typename AbstractRecoveryExecution::Ptr execution_ptr) |
Additional Inherited Members | |
Protected Attributes inherited from mbf_abstract_nav::AbstractAction< mbf_msgs::RecoveryAction, AbstractRecoveryExecution > | |
std::map< uint8_t, ConcurrencySlot > | concurrency_slots_ |
const std::string & | name_ |
const RobotInformation & | robot_info_ |
RunMethod | run_ |
boost::mutex | slot_map_mtx_ |
boost::thread_group | threads_ |
Definition at line 53 of file recovery_action.h.
Definition at line 57 of file recovery_action.h.
mbf_abstract_nav::RecoveryAction::RecoveryAction | ( | const std::string & | name, |
const RobotInformation & | robot_info | ||
) |
Definition at line 45 of file recovery_action.cpp.
void mbf_abstract_nav::RecoveryAction::run | ( | GoalHandle & | goal_handle, |
AbstractRecoveryExecution & | execution | ||
) |
Definition at line 48 of file recovery_action.cpp.