Skip to main content

PushToSolutionQueue Class

Push a new MTC solution to the solution queue. More...

Declaration

class moveit_pro::behaviors::PushToSolutionQueue { ... }

Included Headers

#include <push_to_solution_queue.hpp>

Base class

classBT::SyncActionNode

Public Constructors Index

PushToSolutionQueue (const std::string &name, const BT::NodeConfiguration &config)

Public Member Functions Index

BT::NodeStatustick () override

Modifies the solution queue in-place by pushing a solution onto it. More...

Public Static Functions Index

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

Description

Push a new MTC solution to the solution queue.

Data Port NamePort TypeObject Type
solutionInputmoveit_task_constructor_msgs::msg::Solution
solution queueInput/Outputstd::queue<moveit_task_constructor_msgs::msg::Solution>

Definition at line 23 of file push_to_solution_queue.hpp.

Public Constructors

PushToSolutionQueue()

moveit_pro::behaviors::PushToSolutionQueue::PushToSolutionQueue (const std::string & name, const BT::NodeConfiguration & config)

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()

BT::NodeStatus moveit_pro::behaviors::PushToSolutionQueue::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()

BT::KeyValueVector moveit_pro::behaviors::PushToSolutionQueue::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()

BT::PortsList moveit_pro::behaviors::PushToSolutionQueue::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.