MoveIt Studio Behavior
2.1.1
Core Behaviors for the MoveIt Studio Application
|
A MTC-based behavior to execute motion based on an affordance template (AT). More...
#include <setup_mtc_affordance_template.hpp>
Public Member Functions | |
SetupMTCAffordanceTemplate (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) | |
BT::NodeStatus | tick () override |
Static Public Member Functions | |
static BT::PortsList | providedPorts () |
A MTC-based behavior to execute motion based on an affordance template (AT).
The following parameters are used to configure MTC stages added by this Behavior:
High-level sequence of steps: 1) Get the current state 2) Move to the approach pose 3) Allow collisions 4) Move to the grasp pose 5) Close Gripper 6) Perform affordance move 7) Open Gripper 8) Withdraw/retreat from the grasp 9) Forbid collisions
Data Port Name | Port Type | Object Type |
---|---|---|
task | Bidirectional | std::shared_ptr<moveit::task_constructor::Task> |
grasp_pose | Input | geometry_msgs::msg::PoseStamped |
screw_origin_pose | Input | geometry_msgs::msg::PoseStamped |
screw_axis_pose | Input | geometry_msgs::msg::PoseStamped |
translation_distance | Input | double |
rotation_distance | Input | double |
use_circular_arc | Input | bool |
moveit_studio::behaviors::SetupMTCAffordanceTemplate::SetupMTCAffordanceTemplate | ( | const std::string & | name, |
const BT::NodeConfiguration & | config, | ||
const std::shared_ptr< BehaviorContext > & | shared_resources | ||
) |
|
static |
|
override |
Move To Selected Point
Open Hand
Allow Collision
Approach Grasp
Generate Pose at Grasp Point
Close Hand
Perform the affordance motion
Open Hand
Retreat from Grasp
Forbid Collision