SMACC2
|
#include <cb_move_end_effector_relative.hpp>
Public Member Functions | |
CbMoveEndEffectorRelative () | |
CbMoveEndEffectorRelative (geometry_msgs::msg::Transform transform) | |
virtual void | onEntry () override |
virtual void | onExit () 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::Transform | transform_ |
std::optional< std::string > | group_ |
Protected Member Functions | |
void | moveRelative (moveit::planning_interface::MoveGroupInterface &moveGroupinterface, geometry_msgs::msg::Transform &transformOffset) |
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_relative.hpp.
cl_move_group_interface::CbMoveEndEffectorRelative::CbMoveEndEffectorRelative | ( | ) |
Definition at line 34 of file cb_move_end_effector_relative.cpp.
References transform_.
cl_move_group_interface::CbMoveEndEffectorRelative::CbMoveEndEffectorRelative | ( | geometry_msgs::msg::Transform | transform | ) |
Definition at line 36 of file cb_move_end_effector_relative.cpp.
|
protected |
Definition at line 63 of file cb_move_end_effector_relative.cpp.
References smacc2::ISmaccClientBehavior::getLogger(), movegroupClient_, cl_move_group_interface::ClMoveGroup::postEventMotionExecutionFailed(), cl_move_group_interface::ClMoveGroup::postEventMotionExecutionSucceded(), smacc2::SmaccAsyncClientBehavior::postFailureEvent(), and smacc2::SmaccAsyncClientBehavior::postSuccessEvent().
Referenced by onEntry().
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 41 of file cb_move_end_effector_relative.cpp.
References smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getNode(), group_, movegroupClient_, cl_move_group_interface::ClMoveGroup::moveGroupClientInterface, moveRelative(), smacc2::ISmaccClientBehavior::requiresClient(), and transform_.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 61 of file cb_move_end_effector_relative.cpp.
std::optional<std::string> cl_move_group_interface::CbMoveEndEffectorRelative::group_ |
Definition at line 33 of file cb_move_end_effector_relative.hpp.
Referenced by onEntry().
|
protected |
Definition at line 48 of file cb_move_end_effector_relative.hpp.
Referenced by moveRelative(), and onEntry().
geometry_msgs::msg::Transform cl_move_group_interface::CbMoveEndEffectorRelative::transform_ |
Definition at line 31 of file cb_move_end_effector_relative.hpp.
Referenced by CbMoveEndEffectorRelative(), and onEntry().