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

Given an existing MTC Task object, appends an MTC CurrentState Stage to the Task. More...

#include <setup_mtc_current_state.hpp>

Inheritance diagram for moveit_studio::behaviors::SetupMTCCurrentState:
Collaboration diagram for moveit_studio::behaviors::SetupMTCCurrentState:

Public Member Functions

 SetupMTCCurrentState (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 ()
 

Static Public Attributes

static constexpr auto kDefaultStageName = "current state"
 

Additional Inherited Members

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

Detailed Description

Given an existing MTC Task object, appends an MTC CurrentState Stage to the Task.

Data Port Name Port Type Object Type
task Bidirectional std::shared_ptr<moveit::task_constructor::Task>

Constructor & Destructor Documentation

◆ SetupMTCCurrentState()

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

Member Function Documentation

◆ metadata()

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

◆ providedPorts()

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

◆ tick()

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

Member Data Documentation

◆ kDefaultStageName

constexpr auto moveit_studio::behaviors::SetupMTCCurrentState::kDefaultStageName = "current state"
staticconstexpr

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