Skip to main content

ExplainMTCTaskFailure Class

Fails with the reason a planned MTC Task found no solution: the first failing stage and what it recorded. More...

Declaration​

class moveit_pro::behaviors::ExplainMTCTaskFailure { ... }

Included Headers​

#include <explain_mtc_task_failure.hpp>

Base class​

classSharedResourcesNode<BehaviorTreeNodeT>

The SharedResourcesNode class provides a BehaviorContext object when constructing a BehaviorTree.Cpp node. More...

Public Constructors Index​

ExplainMTCTaskFailure (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)

Public Member Functions Index​

BT::NodeStatustick () override

Public Static Functions Index​

static BT::PortsListprovidedPorts ()
static BT::KeyValueVectormetadata ()

Description​

Fails with the reason a planned MTC Task found no solution: the first failing stage and what it recorded.

Tick it after a PlanMTCTask that failed, in a Fallback, so the Objective's failure says what blocked the plan, such as which objects an end effector at its goal would collide with. It always returns FAILURE.

Data Port NamePort TypeObject Type
taskinputstd::shared_ptr<moveit_pro::task_constructor::Task>

Definition at line 47 of file explain_mtc_task_failure.hpp.

Public Constructors​

ExplainMTCTaskFailure()​

moveit_pro::behaviors::ExplainMTCTaskFailure::ExplainMTCTaskFailure (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources)
Parameters
name

The name of this Behavior in its tree.

config

The Behavior's node configuration.

shared_resources

The context shared by the Behaviors of one tree.

Declaration at line 55 of file explain_mtc_task_failure.hpp, definition at line 79 of file explain_mtc_task_failure.cpp.

Public Member Functions​

tick()​

BT::NodeStatus moveit_pro::behaviors::ExplainMTCTaskFailure::tick ()

Declaration at line 62 of file explain_mtc_task_failure.hpp, definition at line 97 of file explain_mtc_task_failure.cpp.

Public Static Functions​

metadata()​

BT::KeyValueVector moveit_pro::behaviors::ExplainMTCTaskFailure::metadata ()
static

Declaration at line 60 of file explain_mtc_task_failure.hpp, definition at line 91 of file explain_mtc_task_failure.cpp.

providedPorts()​

BT::PortsList moveit_pro::behaviors::ExplainMTCTaskFailure::providedPorts ()
static

Declaration at line 58 of file explain_mtc_task_failure.hpp, definition at line 85 of file explain_mtc_task_failure.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.15.0.