Skip to main content

OverridePoseOrientation Class

Replaces the orientation of a PoseStamped with a fixed quaternion. More...

Declaration

class moveit_pro::behaviors::OverridePoseOrientation { ... }

Included Headers

#include <override_pose_orientation.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

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

Public Constructors Index

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

Public Member Functions Index

BT::NodeStatustick () override

Public Static Functions Index

static BT::PortsListprovidedPorts ()
static BT::KeyValueVectormetadata ()

Description

Replaces the orientation of a PoseStamped with a fixed quaternion.

This decouples grasp orientation from detection noise — the source pose's position is preserved while the orientation is overridden. Useful when a detected pose (e.g. from an AprilTag) has accurate position but noisy orientation. Use TransformPose if you also need to apply a positional offset.

Data Port NamePort TypeObject Type
input_poseinputgeometry_msgs::msg::PoseStamped
orientation_xyzwinputgeometry_msgs::msg::Quaternion
output_poseoutputgeometry_msgs::msg::PoseStamped

Definition at line 28 of file override_pose_orientation.hpp.

Public Constructors

OverridePoseOrientation()

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

Declaration at line 31 of file override_pose_orientation.hpp, definition at line 32 of file override_pose_orientation.cpp.

Public Member Functions

tick()

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

Declaration at line 38 of file override_pose_orientation.hpp, definition at line 55 of file override_pose_orientation.cpp.

Public Static Functions

metadata()

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

Declaration at line 36 of file override_pose_orientation.hpp, definition at line 50 of file override_pose_orientation.cpp.

providedPorts()

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

Declaration at line 34 of file override_pose_orientation.hpp, definition at line 38 of file override_pose_orientation.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.