![]() |
MoveIt Pro API
Core Behaviors for MoveIt Pro
|
Configures MTC stages to perform a motion that can be parameterized as a grasp followed by a pulling motion in a screw-trajectory (a circular arc). Examples in practice include opening pull doors and drawers. More...
#include <setup_mtc_grasp_then_move_along_arc_pull.hpp>
Public Member Functions | |
SetupMTCGraspThenMoveAlongArcPull (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) | |
BT::NodeStatus | tick () override |
![]() | |
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 | |
![]() | |
std::shared_ptr< BehaviorContext > | shared_resources_ |
Configures MTC stages to perform a motion that can be parameterized as a grasp followed by a pulling motion in a screw-trajectory (a circular arc). Examples in practice include opening pull doors and drawers.
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> |
graspable_object | Input | moveit_studio_vision_msgs::msg::GraspableObject |
translation_distance | Input | double |
rotation_distance | Input | double |
use_circular_arc | Input | bool |
moveit_studio::behaviors::SetupMTCGraspThenMoveAlongArcPull::SetupMTCGraspThenMoveAlongArcPull | ( | const std::string & | name, |
const BT::NodeConfiguration & | config, | ||
const std::shared_ptr< BehaviorContext > & | shared_resources | ||
) |
|
static |
|
static |
|
override |
Close Hand
Perform the affordance motion (move along arc)
Open Hand
Retreat from Grasp
Forbid Collision