MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
moveit_studio::behaviors::CheckCuboidSimilarity Class Referencefinal

Check if two GraspableObjects are similar within some tolerance. More...

#include <check_cuboid_similarity.hpp>

Inheritance diagram for moveit_studio::behaviors::CheckCuboidSimilarity:
Collaboration diagram for moveit_studio::behaviors::CheckCuboidSimilarity:

Public Member Functions

 CheckCuboidSimilarity (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)
 Construct a new CheckCuboidSimilarity behavior. More...
 
- Public Member Functions inherited from moveit_studio::behaviors::AsyncBehaviorBase
 AsyncBehaviorBase (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)
 
virtual ~AsyncBehaviorBase ()=default
 
BT::NodeStatus onStart () override
 Required implementation of BT::StatefulActionNode::onStart(). More...
 
BT::NodeStatus onRunning () override
 Required implementation of BT::StatefulActionNode::onRunning(). More...
 
void onHalted () override
 Required implementation of BT::StatefulActionNode::onHalted(). More...
 
void resetStatus ()
 Resets the internal status of this node. More...
 
- Public Member Functions inherited from moveit_studio::behaviors::SharedResourcesNode< BT::StatefulActionNode >
 SharedResourcesNode (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)
 Constructor for SharedResourcesNode. Called by BT::BehaviorTreeFactory when creating a new behavior tree containing this node. More...
 

Static Public Member Functions

static BT::PortsList providedPorts ()
 Returns list of ports for this behavior. More...
 
static BT::KeyValueVector metadata ()
 

Additional Inherited Members

- Protected Member Functions inherited from moveit_studio::behaviors::AsyncBehaviorBase
virtual tl::expected< void, std::string > doHalt ()
 Optionally implement additional work needed to cleanly interrupt the async process. More...
 
void notifyCanHalt ()
 Called when runAsync() finishes to notify onHalted() that the async process has finished. More...
 
- Protected Attributes inherited from moveit_studio::behaviors::SharedResourcesNode< BT::StatefulActionNode >
std::shared_ptr< BehaviorContextshared_resources_
 

Detailed Description

Check if two GraspableObjects are similar within some tolerance.

Constructor & Destructor Documentation

◆ CheckCuboidSimilarity()

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

Construct a new CheckCuboidSimilarity behavior.

Parameters
nameSee SharedResourcesNode
configSee SharedResourcesNode
shared_resourcesSee SharedResourcesNode

Member Function Documentation

◆ metadata()

BT::KeyValueVector moveit_studio::behaviors::CheckCuboidSimilarity::metadata ( )
static

◆ providedPorts()

BT::PortsList moveit_studio::behaviors::CheckCuboidSimilarity::providedPorts ( )
static

Returns list of ports for this behavior.

Returns
BT::PortsList

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