Skip to main content

SetupMTCPlanToPose Class

Given an existing MTC Task object and a target pose, appends MTC stages to describe a freespace motion plan to that target pose using the MoveIt Pro RRTConnect Planner. More...

Declaration​

class moveit_pro::behaviors::SetupMTCPlanToPose { ... }

Included Headers​

#include <setup_mtc_plan_to_pose.hpp>

Base class​

classSharedResourcesNode<BehaviorTreeNodeT>

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

Public Constructors Index​

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

Constructor for GetLatestTransform behavior. More...

Public Member Functions Index​

BT::NodeStatustick () override

Synchronous, blocking function that must return SUCCESS/FAILURE every time this action node is ticked by the behavior tree. More...

Private Member Attributes Index​

std::stringlast_link_padding_deprecation_warning_

Public Static Functions Index​

static BT::PortsListprovidedPorts ()

Custom tree nodes that have input and/or output ports must define them in this static function. More...

static BT::KeyValueVectormetadata ()

Description​

Given an existing MTC Task object and a target pose, appends MTC stages to describe a freespace motion plan to that target pose using the MoveIt Pro RRTConnect Planner.

Data Port NamePort TypeObject Type
ik_frameInputstd::string
target_poseInputgeometry_msgs::msg::PoseStamped
monitored_stageInputstd::string
max_ik_solutionsInputunsigned int
velocity_scale_factorInputdouble
acceleration_scale_factorInputdouble
max_iterationsInputunsigned int
trajectory_sampling_rateInputunsigned int
link_paddingInputdouble (deprecated)
seedInputint
planning_group_nameInputstd::string
orientation_constraintInputmoveit_studio_msgs::msg::OrientationConstraint
joint_range_constraintInputmoveit_studio_msgs::msg::JointRangeConstraint
optimization_paramsInputmoveit_studio_msgs::msg::ProRRTOptimizationParams
collision_check_paramsInputmoveit_studio_msgs::msg::CollisionCheckParams
joint_costsInputstd::vector<double>
taskBidirectionalstd::shared_ptr<moveit_pro::task_constructor::Task>

Definition at line 45 of file setup_mtc_plan_to_pose.hpp.

Public Constructors​

SetupMTCPlanToPose()​

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

Constructor for GetLatestTransform behavior.

Parameters
name

Name of the node. Must match the name used for this node in the behavior tree definition file (the .xml file).

config

Node configuration. Only used here because the BehaviorTree.CPP expects constructor signature with name and config first before custom constructor parameters.

shared_resources

Provides access to common resources such as the node handle and failure logger that are shared between all the behaviors that inherit from moveit_pro::behaviors::SharedResourcesNode.

Declaration at line 59 of file setup_mtc_plan_to_pose.hpp, definition at line 43 of file setup_mtc_plan_to_pose.cpp.

Public Member Functions​

tick()​

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

Synchronous, blocking function that must return SUCCESS/FAILURE every time this action node is ticked by the behavior tree.

Returns

Status of the node. Must be either SUCCESS/FAILURE (the node is "complete" for now). Cannot be RUNNING since this is a synchronous node.

Declaration at line 80 of file setup_mtc_plan_to_pose.hpp, definition at line 70 of file setup_mtc_plan_to_pose.cpp.

Private Member Attributes​

last_link_padding_deprecation_warning_​

std::string moveit_pro::behaviors::SetupMTCPlanToPose::last_link_padding_deprecation_warning_

Definition at line 86 of file setup_mtc_plan_to_pose.hpp.

Public Static Functions​

metadata()​

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

Declaration at line 72 of file setup_mtc_plan_to_pose.hpp, definition at line 64 of file setup_mtc_plan_to_pose.cpp.

providedPorts()​

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

Custom tree nodes that have input and/or output ports must define them in this static function.

This function must be static. It is a requirement set by the BehaviorTree.CPP library.

Returns

List of ports with the names and port info. The return value is for the internal use of the behavior tree.

Declaration at line 70 of file setup_mtc_plan_to_pose.hpp, definition at line 49 of file setup_mtc_plan_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.