SMACC2
|
#include <cb_move_end_effector.hpp>
Public Attributes | |
geometry_msgs::msg::PoseStamped | targetPose |
std::string | tip_link_ |
std::optional< std::string > | group_ |
Protected Member Functions | |
bool | moveToAbsolutePose (moveit::planning_interface::MoveGroupInterface &moveGroupInterface, geometry_msgs::msg::PoseStamped &targetObjectPose) |
Protected Member Functions inherited from smacc2::SmaccAsyncClientBehavior | |
void | postSuccessEvent () |
void | postFailureEvent () |
virtual void | dispose () override |
bool | isShutdownRequested () |
onEntry is executed in a new thread. However the current state cannot be left until the onEntry thread finishes. This flag can be checked from the onEntry thread to force finishing the thread. | |
Protected Member Functions inherited from smacc2::ISmaccClientBehavior | |
virtual void | runtimeConfigure () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
ISmaccState * | getCurrentState () |
virtual rclcpp::Node::SharedPtr | getNode () const |
virtual rclcpp::Logger | getLogger () const |
Protected Attributes | |
ClMoveit2z * | movegroupClient_ |
Definition at line 28 of file cb_move_end_effector.hpp.
cl_moveit2z::CbMoveEndEffector::CbMoveEndEffector | ( | ) |
Definition at line 33 of file cb_move_end_effector.cpp.
cl_moveit2z::CbMoveEndEffector::CbMoveEndEffector | ( | geometry_msgs::msg::PoseStamped | target_pose, |
std::string | tip_link = "" |
||
) |
Definition at line 35 of file cb_move_end_effector.cpp.
References tip_link_.
|
protected |
Definition at line 63 of file cb_move_end_effector.cpp.
References smacc2::ISmaccClientBehavior::getLogger(), movegroupClient_, cl_moveit2z::ClMoveit2z::postEventMotionExecutionFailed(), cl_moveit2z::ClMoveit2z::postEventMotionExecutionSucceded(), smacc2::SmaccAsyncClientBehavior::postFailureEvent(), smacc2::SmaccAsyncClientBehavior::postSuccessEvent(), and tip_link_.
Referenced by onEntry().
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 42 of file cb_move_end_effector.cpp.
References smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getNode(), group_, movegroupClient_, cl_moveit2z::ClMoveit2z::moveGroupClientInterface, moveToAbsolutePose(), smacc2::ISmaccClientBehavior::requiresClient(), and targetPose.
std::optional<std::string> cl_moveit2z::CbMoveEndEffector::group_ |
Definition at line 33 of file cb_move_end_effector.hpp.
Referenced by onEntry().
|
protected |
Definition at line 45 of file cb_move_end_effector.hpp.
Referenced by moveToAbsolutePose(), and onEntry().
geometry_msgs::msg::PoseStamped cl_moveit2z::CbMoveEndEffector::targetPose |
Definition at line 31 of file cb_move_end_effector.hpp.
Referenced by onEntry().
std::string cl_moveit2z::CbMoveEndEffector::tip_link_ |
Definition at line 32 of file cb_move_end_effector.hpp.
Referenced by CbMoveEndEffector(), and moveToAbsolutePose().