Skip to main content

GetDetectionPose Class

Gets the stamped pose of an object detection given a label or ID, if one exists. More...

Declaration

class moveit_pro::behaviors::GetDetectionPose { ... }

Included Headers

#include <get_detection_pose.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

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

Public Constructors Index

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

Public Member Functions Index

BT::NodeStatustick () override

Public Static Functions Index

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

Description

Gets the stamped pose of an object detection given a label or ID, if one exists.

The target_id and target_label ports define the match criteria for the detection. A target_id of -1 denotes any ID is allowed. Similarly, a target_label that is an empty string denotes any label is allowed.

If multiple detections that match the criteria exist in the list, return the first one.

Data Port NamePort TypeObject Type
detectionsinputmoveit_studio_vision_msgs::msg::ObjectDetectionArray
target_idinputint
target_labelinputstd::string
detection_poseoutputgeometry_msgs::msg::PoseStamped

Definition at line 31 of file get_detection_pose.hpp.

Public Constructors

GetDetectionPose()

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

Declaration at line 34 of file get_detection_pose.hpp, definition at line 33 of file get_detection_pose.cpp.

Public Member Functions

tick()

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

Declaration at line 41 of file get_detection_pose.hpp, definition at line 55 of file get_detection_pose.cpp.

Public Static Functions

metadata()

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

Declaration at line 39 of file get_detection_pose.hpp, definition at line 50 of file get_detection_pose.cpp.

providedPorts()

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

Declaration at line 37 of file get_detection_pose.hpp, definition at line 39 of file get_detection_pose.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.