|
MoveIt Pro API
Core Behaviors for MoveIt Pro
|
Template for a behavior that 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, const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > &shared_resources) | |
| BT::KeyValueVector | metadata () |
| BT::PortsList | providedPorts () |
Public Member Functions inherited from moveit_studio::behaviors::SharedResourcesNode< BT::SyncActionNode > | |
| SharedResourcesNode (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) | |
| Constructor for SharedResourcesNode. Called by BT::BehaviorTreeFactory when creating a new behavior tree containing this node. | |
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" |
Additional Inherited Members | |
Protected Attributes inherited from moveit_studio::behaviors::SharedResourcesNode< BT::SyncActionNode > | |
| std::shared_ptr< BehaviorContext > | shared_resources_ |
Template for a behavior that 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, | ||
| const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > & | shared_resources | ||
| ) |
| 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 |