MoveIt Pro API
Core Behaviors for MoveIt Pro
Loading...
Searching...
No Matches
moveit_studio::behaviors::SetupMTCUpdateObjectCollisionRule Class Referencefinal

Add an MTC Stage to an MTC Task that makes following stages either allow or prohibit collision between a GraspableObject and another entity. The other entity can be either a named collision object in the planning scene or the links of a named robot planning group. More...

#include <setup_mtc_update_object_collision_rule.hpp>

Inheritance diagram for moveit_studio::behaviors::SetupMTCUpdateObjectCollisionRule:
Collaboration diagram for moveit_studio::behaviors::SetupMTCUpdateObjectCollisionRule:

Public Member Functions

 SetupMTCUpdateObjectCollisionRule (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)
 
BT::NodeStatus tick () override
 
- Public Member Functions inherited from moveit_studio::behaviors::SharedResourcesNode< BT::SyncActionNode >
 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.
 

Static Public Member Functions

static BT::PortsList providedPorts ()
 
static BT::KeyValueVector metadata ()
 

Additional Inherited Members

- Protected Attributes inherited from moveit_studio::behaviors::SharedResourcesNode< BT::SyncActionNode >
std::shared_ptr< BehaviorContextshared_resources_
 

Detailed Description

Add an MTC Stage to an MTC Task that makes following stages either allow or prohibit collision between a GraspableObject and another entity. The other entity can be either a named collision object in the planning scene or the links of a named robot planning group.

Data Port Name Port Type Object Type
task Bidirectional std::shared_ptr<moveit::task_constructor::Task>
object Input moveit_studio_vision_msgs::msg::GraspableObject
object_or_group_name Input std::string
allow_collision Input bool

Constructor & Destructor Documentation

◆ SetupMTCUpdateObjectCollisionRule()

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

Member Function Documentation

◆ metadata()

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

◆ providedPorts()

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

◆ tick()

BT::NodeStatus moveit_studio::behaviors::SetupMTCUpdateObjectCollisionRule::tick ( )
override

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