SMACC
|
#include <cb_move_end_effector.h>
Public Member Functions | |
CbMoveEndEffector () | |
CbMoveEndEffector (geometry_msgs::PoseStamped target_pose, std::string tip_link="") | |
virtual void | onEntry () override |
Public Member Functions inherited from smacc::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) |
Public Member Functions inherited from smacc::ISmaccClientBehavior | |
ISmaccClientBehavior () | |
virtual | ~ISmaccClientBehavior () |
ISmaccStateMachine * | getStateMachine () |
std::string | getName () const |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage) |
ros::NodeHandle | getNode () |
Public Attributes | |
geometry_msgs::PoseStamped | targetPose |
std::string | tip_link_ |
boost::optional< std::string > | group_ |
Protected Member Functions | |
bool | moveToAbsolutePose (moveit::planning_interface::MoveGroupInterface &moveGroupInterface, geometry_msgs::PoseStamped &targetObjectPose) |
Protected Member Functions inherited from smacc::SmaccAsyncClientBehavior | |
virtual void | executeOnEntry () override |
virtual void | executeOnExit () override |
void | postSuccessEvent () |
void | postFailureEvent () |
virtual void | dispose () override |
Protected Member Functions inherited from smacc::ISmaccClientBehavior | |
virtual void | runtimeConfigure () |
virtual void | onEntry () |
virtual void | onExit () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
ISmaccState * | getCurrentState () |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
virtual void | dispose () |
Protected Attributes | |
ClMoveGroup * | movegroupClient_ |
Definition at line 14 of file cb_move_end_effector.h.
cl_move_group_interface::CbMoveEndEffector::CbMoveEndEffector | ( | ) |
Definition at line 14 of file cb_move_end_effector.cpp.
cl_move_group_interface::CbMoveEndEffector::CbMoveEndEffector | ( | geometry_msgs::PoseStamped | target_pose, |
std::string | tip_link = "" |
||
) |
Definition at line 18 of file cb_move_end_effector.cpp.
References tip_link_.
|
protected |
Definition at line 43 of file cb_move_end_effector.cpp.
References movegroupClient_, cl_move_group_interface::ClMoveGroup::planningSceneInterface, cl_move_group_interface::ClMoveGroup::postEventMotionExecutionFailed(), cl_move_group_interface::ClMoveGroup::postEventMotionExecutionSucceded(), smacc::SmaccAsyncClientBehavior::postFailureEvent(), smacc::SmaccAsyncClientBehavior::postSuccessEvent(), and tip_link_.
Referenced by onEntry().
|
overridevirtual |
Reimplemented from smacc::ISmaccClientBehavior.
Definition at line 24 of file cb_move_end_effector.cpp.
References group_, movegroupClient_, cl_move_group_interface::ClMoveGroup::moveGroupClientInterface, moveToAbsolutePose(), smacc::ISmaccClientBehavior::requiresClient(), and targetPose.
boost::optional<std::string> cl_move_group_interface::CbMoveEndEffector::group_ |
Definition at line 19 of file cb_move_end_effector.h.
Referenced by onEntry().
|
protected |
Definition at line 30 of file cb_move_end_effector.h.
Referenced by moveToAbsolutePose(), and onEntry().
geometry_msgs::PoseStamped cl_move_group_interface::CbMoveEndEffector::targetPose |
Definition at line 17 of file cb_move_end_effector.h.
Referenced by onEntry().
std::string cl_move_group_interface::CbMoveEndEffector::tip_link_ |
Definition at line 18 of file cb_move_end_effector.h.
Referenced by CbMoveEndEffector(), and moveToAbsolutePose().