ExplainMTCTaskFailure Class
Fails with the reason a planned MTC Task found no solution: the first failing stage and what it recorded. More...
Declaration
Included Headers
Base class
| class | SharedResourcesNode<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::NodeStatus | tick () override |
Public Static Functions Index
| static BT::PortsList | providedPorts () |
| static BT::KeyValueVector | metadata () |
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 Name | Port Type | Object Type |
|---|---|---|
| task | input | std::shared_ptr<moveit_pro::task_constructor::Task> |
Definition at line 47 of file explain_mtc_task_failure.hpp.
Public Constructors
ExplainMTCTaskFailure()
|
- 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()
|
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()
| static |
Declaration at line 60 of file explain_mtc_task_failure.hpp, definition at line 91 of file explain_mtc_task_failure.cpp.
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.