48 const std::string name,
50 const TFPtr &tf_listener_ptr,
52 const MoveBaseFlexConfig &config,
53 boost::function<
void()> setup_fn,
54 boost::function<
void()> cleanup_fn)
55 : AbstractRecoveryExecution(name, recovery_ptr, tf_listener_ptr, toAbstract(config), setup_fn, cleanup_fn),
56 global_costmap_(global_costmap), local_costmap_(local_costmap)
67 mbf_abstract_nav::MoveBaseFlexConfig abstract_config;
68 abstract_config.recovery_enabled = config.recovery_enabled;
69 abstract_config.recovery_patience = config.recovery_patience;
70 return abstract_config;
CostmapRecoveryExecution(const std::string name, const mbf_costmap_core::CostmapRecovery::Ptr &recovery_ptr, const TFPtr &tf_listener_ptr, CostmapPtr &global_costmap, CostmapPtr &local_costmap, const MoveBaseFlexConfig &config, boost::function< void()> setup_fn, boost::function< void()> cleanup_fn)
Constructor.
mbf_abstract_nav::MoveBaseFlexConfig toAbstract(const MoveBaseFlexConfig &config)
virtual ~CostmapRecoveryExecution()