Push a new MTC solution to the solution queue.
More...
#include <push_to_solution_queue.hpp>
|
| PushToSolutionQueue (const std::string &name, const BT::NodeConfiguration &config) |
|
BT::NodeStatus | tick () override |
| Modifies the solution queue in-place by pushing a solution onto it. More...
|
|
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> |
◆ PushToSolutionQueue()
moveit_studio::behaviors::PushToSolutionQueue::PushToSolutionQueue |
( |
const std::string & |
name, |
|
|
const BT::NodeConfiguration & |
config |
|
) |
| |
◆ metadata()
BT::KeyValueVector moveit_studio::behaviors::PushToSolutionQueue::metadata |
( |
| ) |
|
|
static |
◆ providedPorts()
BT::PortsList moveit_studio::behaviors::PushToSolutionQueue::providedPorts |
( |
| ) |
|
|
static |
◆ tick()
BT::NodeStatus moveit_studio::behaviors::PushToSolutionQueue::tick |
( |
| ) |
|
|
override |
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.
-
BT::NodeStatus::FAILURE if the solution could not be retrieved from an input data port.
-
BT::NodeStatus::FAILURE if the solution queue was not initialized and a new queue could not be set to the blackboard.
The documentation for this class was generated from the following files: