Skip to main content

GetClosestObjectToPose Class

Given a collection of GraspableObjects, find the one that's closest to the provided pose. More...

Declaration

class moveit_pro::behaviors::GetClosestObjectToPose { ... }

Included Headers

#include <get_closest_object_to_pose.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

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

Public Constructors Index

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

Construct a new GetClosestObjectToPose behavior. More...

Public Member Functions Index

BT::NodeStatustick () override

Contains the logic to evaluate object distance. More...

Public Static Functions Index

static BT::PortsListprovidedPorts ()

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

static BT::KeyValueVectormetadata ()

Description

Given a collection of GraspableObjects, find the one that's closest to the provided pose.

Definition at line 44 of file get_closest_object_to_pose.hpp.

Public Constructors

GetClosestObjectToPose()

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

Construct a new GetClosestObjectToPose behavior.

Parameters
name

See SharedResourcesNode

config

See SharedResourcesNode

shared_resources

See SharedResourcesNode

Declaration at line 54 of file get_closest_object_to_pose.hpp, definition at line 115 of file get_closest_object_to_pose.cpp.

Public Member Functions

tick()

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

Contains the logic to evaluate object distance.

Returns

BT::NodeStatus Returns success if the call was successful.

Declaration at line 69 of file get_closest_object_to_pose.hpp, definition at line 139 of file get_closest_object_to_pose.cpp.

Public Static Functions

metadata()

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

Declaration at line 63 of file get_closest_object_to_pose.hpp, definition at line 133 of file get_closest_object_to_pose.cpp.

providedPorts()

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

Returns list of ports for this behavior.

Returns

BT::PortsList

Declaration at line 61 of file get_closest_object_to_pose.hpp, definition at line 121 of file get_closest_object_to_pose.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.