Skip to main content

SetupMTCPathIK Class

Given an existing MTC Task object, append a stage to perform a cartesian motion along a given path. More...

Declaration

class moveit_pro::behaviors::SetupMTCPathIK { ... }

Included Headers

#include <setup_mtc_path_ik.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

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

Public Constructors Index

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

Public Member Functions Index

BT::NodeStatustick () override

Public Static Functions Index

static BT::PortsListprovidedPorts ()
static BT::KeyValueVectormetadata ()

Public Static Attributes Index

static constexpr autokDefaultStageName = "Path IK"
static constexpr autokPortIdTask = "task"
static constexpr autokPortIdIgnoreEnvironmentCollisions = "ignore_environment_collisions"

Description

Given an existing MTC Task object, append a stage to perform a cartesian motion along a given path.

This Behavior sets up a MoveIt Task Constructor (MTC) Path IK stage, which computes a joint-space trajectory to follow the specified path in Cartesian space. The path is defined as a vector of PoseStamped messages, which can be in any frame known to the robot's URDF. The stage is configured with the specified planning group, IK frame, and other parameters.

Data Port NamePort TypeObject Type
taskBidirectionalstd::shared_ptr<moveit_pro::task_constructor::Task>
pathInputstd::vector<geometry_msgs::msg::PoseStamped>
planning_group_nameInputstd::string
cartesian_constraintInputmoveit_studio_msgs::msg::CartesianConstraint
ik_frameInputstd::string
velocity_scaleInputdouble
acceleration_scaleInputdouble
ignore_environment_collisionsInputbool
max_optimizer_iterationsInputint
tip_offsetInputstd::vector<double>

Definition at line 39 of file setup_mtc_path_ik.hpp.

Public Constructors

SetupMTCPathIK()

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

Declaration at line 49 of file setup_mtc_path_ik.hpp, definition at line 34 of file setup_mtc_path_ik.cpp.

Public Member Functions

tick()

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

Declaration at line 56 of file setup_mtc_path_ik.hpp, definition at line 62 of file setup_mtc_path_ik.cpp.

Public Static Functions

metadata()

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

Declaration at line 54 of file setup_mtc_path_ik.hpp, definition at line 56 of file setup_mtc_path_ik.cpp.

providedPorts()

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

Declaration at line 52 of file setup_mtc_path_ik.hpp, definition at line 40 of file setup_mtc_path_ik.cpp.

Public Static Attributes

kDefaultStageName

constexpr auto moveit_pro::behaviors::SetupMTCPathIK::kDefaultStageName = "Path IK"
constexpr static

Definition at line 43 of file setup_mtc_path_ik.hpp.

kPortIdIgnoreEnvironmentCollisions

constexpr auto moveit_pro::behaviors::SetupMTCPathIK::kPortIdIgnoreEnvironmentCollisions = "ignore_environment_collisions"
constexpr static

Definition at line 47 of file setup_mtc_path_ik.hpp.

kPortIdTask

constexpr auto moveit_pro::behaviors::SetupMTCPathIK::kPortIdTask = "task"
constexpr static

Definition at line 46 of file setup_mtc_path_ik.hpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.