|
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 () |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onStateOrthogonalAllocation () |
| 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) |
| template<typename SmaccComponentType > | |
| void | requiresComponent (SmaccComponentType *&storage, ComponentRequirement requirementType=ComponentRequirement::SOFT) |
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 () |
| 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_relative.hpp.
| cl_moveit2z::CbMoveEndEffectorRelative::CbMoveEndEffectorRelative | ( | ) |
Definition at line 34 of file cb_move_end_effector_relative.cpp.
References transform_.
| cl_moveit2z::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_moveit2z::ClMoveit2z::postEventMotionExecutionFailed(), cl_moveit2z::ClMoveit2z::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_moveit2z::ClMoveit2z::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_moveit2z::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_moveit2z::CbMoveEndEffectorRelative::transform_ |
Definition at line 31 of file cb_move_end_effector_relative.hpp.
Referenced by CbMoveEndEffectorRelative(), and onEntry().