MoveIt Pro API
Core Behaviors for MoveIt Pro
Loading...
Searching...
No Matches
moveit_pro::behaviors::ResetVector< InputT > Class Template Reference

Create an empty vector and set it to the blackboard. More...

#include <reset_vector.hpp>

Inheritance diagram for moveit_pro::behaviors::ResetVector< InputT >:
Collaboration diagram for moveit_pro::behaviors::ResetVector< InputT >:

Public Member Functions

 ResetVector (const std::string &name, const BT::NodeConfiguration &config)
 
BT::KeyValueVector metadata ()
 
BT::PortsList providedPorts ()
 
BT::KeyValueVector metadata ()
 
BT::PortsList providedPorts ()
 

Static Public Member Functions

static BT::PortsList providedPorts ()
 
static BT::KeyValueVector metadata ()
 

Static Public Attributes

static constexpr auto kPortIDVector = "vector"
 

Detailed Description

template<typename InputT>
class moveit_pro::behaviors::ResetVector< InputT >

Create an empty vector and set it to the blackboard.

Template Parameters
InputTThe type of object stored in the vector.

If the vector does not exist, calling this behavior will create a new empty vector. If it exists, it will be reset.

Data Port Name Port Type Object Type
vector output std::vector<T>

Constructor & Destructor Documentation

◆ ResetVector()

template<typename InputT >
moveit_pro::behaviors::ResetVector< InputT >::ResetVector ( const std::string &  name,
const BT::NodeConfiguration &  config 
)

Member Function Documentation

◆ metadata() [1/3]

BT::KeyValueVector moveit_pro::behaviors::ResetVector< geometry_msgs::msg::PoseStamped >::metadata ( )

◆ metadata() [2/3]

BT::KeyValueVector moveit_pro::behaviors::ResetVector< BT::Any >::metadata ( )

◆ metadata() [3/3]

template<typename InputT >
static BT::KeyValueVector moveit_pro::behaviors::ResetVector< InputT >::metadata ( )
static

◆ providedPorts() [1/3]

BT::PortsList moveit_pro::behaviors::ResetVector< geometry_msgs::msg::PoseStamped >::providedPorts ( )

◆ providedPorts() [2/3]

BT::PortsList moveit_pro::behaviors::ResetVector< BT::Any >::providedPorts ( )

◆ providedPorts() [3/3]

template<typename InputT >
static BT::PortsList moveit_pro::behaviors::ResetVector< InputT >::providedPorts ( )
static

Member Data Documentation

◆ kPortIDVector

template<typename InputT >
constexpr auto moveit_pro::behaviors::ResetVector< InputT >::kPortIDVector = "vector"
staticconstexpr

The documentation for this class was generated from the following files: