SMACC2
|
#include <cb_move_end_effector.hpp>
Public Member Functions | |
CbMoveEndEffector () | |
CbMoveEndEffector (geometry_msgs::msg::PoseStamped target_pose, std::string tip_link="") | |
virtual void | onEntry () override |
Public Member Functions inherited from smacc2::SmaccAsyncClientBehavior | |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
virtual | ~SmaccAsyncClientBehavior () |
template<typename TCallback , typename T > | |
boost::signals2::connection | onSuccess (TCallback callback, T *object) |
template<typename TCallback , typename T > | |
boost::signals2::connection | onFinished (TCallback callback, T *object) |
template<typename TCallback , typename T > | |
boost::signals2::connection | onFailure (TCallback callback, T *object) |
void | requestForceFinish () |
void | executeOnEntry () override |
void | executeOnExit () override |
void | waitOnEntryThread (bool requestFinish) |
template<typename TCallbackMethod , typename T > | |
boost::signals2::connection | onSuccess (TCallbackMethod callback, T *object) |
template<typename TCallbackMethod , typename T > | |
boost::signals2::connection | onFinished (TCallbackMethod callback, T *object) |
template<typename TCallbackMethod , typename T > | |
boost::signals2::connection | onFailure (TCallbackMethod callback, T *object) |
Public Member Functions inherited from smacc2::ISmaccClientBehavior | |
ISmaccClientBehavior () | |
virtual | ~ISmaccClientBehavior () |
ISmaccStateMachine * | getStateMachine () |
std::string | getName () const |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage, bool throwExceptionIfNotExist=false) |
virtual void | onEntry () |
virtual void | onExit () |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
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 () |
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 void | dispose () |
virtual rclcpp::Node::SharedPtr | getNode () const |
virtual rclcpp::Logger | getLogger () const |
Protected Attributes | |
ClMoveGroup * | movegroupClient_ |
Definition at line 28 of file cb_move_end_effector.hpp.
cl_move_group_interface::CbMoveEndEffector::CbMoveEndEffector | ( | ) |
Definition at line 33 of file cb_move_end_effector.cpp.
cl_move_group_interface::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_move_group_interface::ClMoveGroup::postEventMotionExecutionFailed(), cl_move_group_interface::ClMoveGroup::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_move_group_interface::ClMoveGroup::moveGroupClientInterface, moveToAbsolutePose(), smacc2::ISmaccClientBehavior::requiresClient(), and targetPose.
std::optional<std::string> cl_move_group_interface::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_move_group_interface::CbMoveEndEffector::targetPose |
Definition at line 31 of file cb_move_end_effector.hpp.
Referenced by onEntry().
std::string cl_move_group_interface::CbMoveEndEffector::tip_link_ |
Definition at line 32 of file cb_move_end_effector.hpp.
Referenced by CbMoveEndEffector(), and moveToAbsolutePose().