PushToSolutionQueue Class
Push a new MTC solution to the solution queue. More...
Declaration
Included Headers
Base class
| class | BT::SyncActionNode |
Public Constructors Index
| PushToSolutionQueue (const std::string &name, const BT::NodeConfiguration &config) | |
Public Member Functions Index
| BT::NodeStatus | tick () override |
|
Modifies the solution queue in-place by pushing a solution onto it. More... | |
Public Static Functions Index
| static BT::PortsList | providedPorts () |
| static BT::KeyValueVector | metadata () |
Description
Push a new MTC solution to the solution queue.
| Data Port Name | Port Type | Object Type |
|---|---|---|
| solution | Input | moveit_task_constructor_msgs::msg::Solution |
| solution queue | Input/Output | std::queue<moveit_task_constructor_msgs::msg::Solution> |
Definition at line 23 of file push_to_solution_queue.hpp.
Public Constructors
PushToSolutionQueue()
|
Declaration at line 26 of file push_to_solution_queue.hpp, definition at line 33 of file push_to_solution_queue.cpp.
Public Member Functions
tick()
|
Modifies the solution queue in-place by pushing a solution onto it.
If the solution queue has not been initialized on the BT blackboard before tick() is called, a new queue will be created and set to the blackboard.
- Returns
BT::NodeStatus::SUCCESS if successful.
- Returns
BT::NodeStatus::FAILURE if the solution could not be retrieved from an input data port.
- Returns
BT::NodeStatus::FAILURE if the solution queue was not initialized and a new queue could not be set to the blackboard.
Declaration at line 41 of file push_to_solution_queue.hpp, definition at line 52 of file push_to_solution_queue.cpp.
Public Static Functions
metadata()
| static |
Declaration at line 30 of file push_to_solution_queue.hpp, definition at line 46 of file push_to_solution_queue.cpp.
providedPorts()
| static |
Declaration at line 28 of file push_to_solution_queue.hpp, definition at line 38 of file push_to_solution_queue.cpp.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.