Skip to main content

AddPointCloudToVector Class

Appends a point cloud to a vector of point clouds. More...

Declaration

class moveit_pro::behaviors::AddPointCloudToVector { ... }

Included Headers

#include <add_pointcloud_to_vector.hpp>

Base class

classBT::SyncActionNode

Public Constructors Index

AddPointCloudToVector (const std::string &name, const BT::NodeConfiguration &config)

Public Member Functions Index

BT::NodeStatustick () override

Contains the logic of this behavior. More...

Public Static Functions Index

static BT::PortsListprovidedPorts ()

Custom tree nodes that have input and/or output ports must define them in this static function. More...

static BT::KeyValueVectormetadata ()

Description

Appends a point cloud to a vector of point clouds.

If the vector does not exist, it is created the first time the Behavior is run.

Data Port NamePort TypeObject Type
point_cloudinputsensor_msgs::msg::PointCloud2
point_cloud_vectorbidirectionalstd::vector<sensor_msgs::msg::PointCloud2>

Definition at line 24 of file add_pointcloud_to_vector.hpp.

Public Constructors

AddPointCloudToVector()

moveit_pro::behaviors::AddPointCloudToVector::AddPointCloudToVector (const std::string & name, const BT::NodeConfiguration & config)

Declaration at line 27 of file add_pointcloud_to_vector.hpp, definition at line 30 of file add_pointcloud_to_vector.cpp.

Public Member Functions

tick()

BT::NodeStatus moveit_pro::behaviors::AddPointCloudToVector::tick ()

Contains the logic of this behavior.

Returns

Returns SUCCESS if successful, else FAILURE.

Declaration at line 45 of file add_pointcloud_to_vector.hpp, definition at line 52 of file add_pointcloud_to_vector.cpp.

Public Static Functions

metadata()

BT::KeyValueVector moveit_pro::behaviors::AddPointCloudToVector::metadata ()
static

Declaration at line 39 of file add_pointcloud_to_vector.hpp, definition at line 44 of file add_pointcloud_to_vector.cpp.

providedPorts()

BT::PortsList moveit_pro::behaviors::AddPointCloudToVector::providedPorts ()
static

Custom tree nodes that have input and/or output ports must define them in this static function.

This function must be static. It is a requirement set by the BehaviorTree.CPP library.

Returns

List of ports with the names and port info. The return value is for the internal use of the behavior tree.

Declaration at line 37 of file add_pointcloud_to_vector.hpp, definition at line 35 of file add_pointcloud_to_vector.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.