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) |
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) |
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 () |
virtual void | onEntry () |
virtual void | onExit () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
ISmaccState * | getCurrentState () |
virtual void | dispose () |
virtual rclcpp::Node::SharedPtr | getNode () |
virtual rclcpp::Logger | getLogger () |
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().