MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
|
Pushes an object into a vector and sets the updated vector to the blackboard. More...
#include <add_to_vector.hpp>
Public Types | |
using | VectorT = std::vector< InputT > |
Public Member Functions | |
AddToVector (const std::string &name, const BT::NodeConfiguration &config) | |
BT::KeyValueVector | metadata () |
BT::PortsList | providedPorts () |
Static Public Member Functions | |
static BT::PortsList | providedPorts () |
static BT::KeyValueVector | metadata () |
Static Public Attributes | |
static constexpr auto | kPortIDInput = "input" |
static constexpr auto | kPortIDVector = "vector" |
Pushes an object into a vector and sets the updated vector to the blackboard.
InputT | The type of the input object. Also determines the type of the vector. |
If the vector does not exist, calling this behavior will create a new sequence with the given input
as first element.
Data Port Name | Port Type | Object Type |
---|---|---|
input | input | T |
vector | bidirectional | std::vector<T> |
using moveit_studio::behaviors::AddToVector< InputT >::VectorT = std::vector<InputT> |
moveit_studio::behaviors::AddToVector< InputT >::AddToVector | ( | const std::string & | name, |
const BT::NodeConfiguration & | config | ||
) |
BT::KeyValueVector moveit_studio::behaviors::AddToVector< geometry_msgs::msg::PoseStamped >::metadata | ( | ) |
|
static |
BT::PortsList moveit_studio::behaviors::AddToVector< geometry_msgs::msg::PoseStamped >::providedPorts | ( | ) |
|
static |
|
staticconstexpr |
|
staticconstexpr |