![]() |
MoveIt Pro API
Core Behaviors for MoveIt Pro
|
Reverses the order of elements in a vector and sets the reversed vector to the blackboard. More...
#include <reverse_vector.hpp>
Public Types | |
using | VectorT = std::vector< InputT > |
Public Member Functions | |
ReverseVector (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > &shared_resources) | |
BT::KeyValueVector | metadata () |
BT::PortsList | providedPorts () |
![]() | |
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 | kPortIDInputVector = "input_vector" |
static constexpr auto | kPortIDOutputVector = "output_vector" |
Additional Inherited Members | |
![]() | |
std::shared_ptr< BehaviorContext > | shared_resources_ |
Reverses the order of elements in a vector and sets the reversed vector to the blackboard.
InputT | The type of the input objects in the vector. |
If the input vector does not exist, calling this behavior will fail. If it exists but is empty, the output will be an empty vector.
Data Port Name | Port Type | Object Type |
---|---|---|
input_vector | input | std::vector<T> |
output_vector | output | std::vector<T> |
using moveit_studio::behaviors::ReverseVector< InputT >::VectorT = std::vector<InputT> |
moveit_studio::behaviors::ReverseVector< InputT >::ReverseVector | ( | const std::string & | name, |
const BT::NodeConfiguration & | config, | ||
const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > & | shared_resources | ||
) |
BT::KeyValueVector moveit_studio::behaviors::ReverseVector< geometry_msgs::msg::PoseStamped >::metadata | ( | ) |
|
static |
BT::PortsList moveit_studio::behaviors::ReverseVector< geometry_msgs::msg::PoseStamped >::providedPorts | ( | ) |
|
static |
|
staticconstexpr |
|
staticconstexpr |