Skip to main content

CreatePoseStamped Class

Create a geometry_msgs::msg::PoseStamped and writes it to the Blackboard. More...

Declaration

class moveit_pro::behaviors::CreatePoseStamped { ... }

Included Headers

#include <create_pose_stamped.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

The SharedResourcesNode class provides a BehaviorContext object when constructing a BehaviorTree.Cpp node. More...

Public Constructors Index

CreatePoseStamped (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_pro::behaviors::BehaviorContext > &shared_resources)

Construct a new CreatePoseStamped behavior. More...

Public Member Functions Index

BT::NodeStatustick () override

Contains the logic to create a valid geometry_msgs::msg::PoseStamped message. More...

Public Static Functions Index

static BT::PortsListprovidedPorts ()

Returns list of ports for this behavior. More...

static BT::KeyValueVectormetadata ()

Description

Create a geometry_msgs::msg::PoseStamped and writes it to the Blackboard.

Data Port NamePort TypeObject Type
reference_frameinputstd::string
position_xyzinputgeometry_msgs::msg::Vector3
orientation_xyzwinputgeometry_msgs::msg::Quaternion
pose_stampedoutputgeometry_msgs::msg::PoseStamped

Ports accept the x;y;z / x;y;z;w semicolon literal form or a blackboard reference. The Behavior normalizes the quaternion before writing the pose.

Definition at line 29 of file create_pose_stamped.hpp.

Public Constructors

CreatePoseStamped()

moveit_pro::behaviors::CreatePoseStamped::CreatePoseStamped (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< moveit_pro::behaviors::BehaviorContext > & shared_resources)

Construct a new CreatePoseStamped behavior.

Parameters
name

See SharedResourcesNode

config

See SharedResourcesNode

shared_resources

See SharedResourcesNode

Declaration at line 39 of file create_pose_stamped.hpp, definition at line 31 of file create_pose_stamped.cpp.

Public Member Functions

tick()

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

Contains the logic to create a valid geometry_msgs::msg::PoseStamped message.

Returns

BT::NodeStatus Returns success if successful, else failure.

Declaration at line 54 of file create_pose_stamped.hpp, definition at line 57 of file create_pose_stamped.cpp.

Public Static Functions

metadata()

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

Declaration at line 48 of file create_pose_stamped.hpp, definition at line 52 of file create_pose_stamped.cpp.

providedPorts()

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

Returns list of ports for this behavior.

Returns

BT::PortsList

Declaration at line 46 of file create_pose_stamped.hpp, definition at line 37 of file create_pose_stamped.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.