MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
moveit_studio::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_studio::behaviors::ResetVector< InputT >:
Collaboration diagram for moveit_studio::behaviors::ResetVector< InputT >:

Public Member Functions

 ResetVector (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 kPortIDVector = "vector"
 

Detailed Description

template<typename InputT>
class moveit_studio::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_studio::behaviors::ResetVector< InputT >::ResetVector ( const std::string &  name,
const BT::NodeConfiguration &  config 
)

Member Function Documentation

◆ metadata() [1/2]

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

◆ metadata() [2/2]

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

◆ providedPorts() [1/2]

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

◆ providedPorts() [2/2]

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

Member Data Documentation

◆ kPortIDVector

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

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