|
SMACC2
|
#include <cb_move_cartesian_relative.hpp>


Public Member Functions | |
| CbMoveCartesianRelative () | |
| CbMoveCartesianRelative (geometry_msgs::msg::Vector3 offset) | |
| virtual void | onEntry () override |
| virtual void | onExit () override |
| void | moveRelativeCartesian (moveit::planning_interface::MoveGroupInterface *movegroupClient, geometry_msgs::msg::Vector3 &offset) |
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::Vector3 | offset_ |
| std::optional< double > | scalingFactor_ |
| std::optional< std::string > | group_ |
| ClMoveit2z * | moveGroupSmaccClient_ |
Additional Inherited Members | |
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 |
Definition at line 30 of file cb_move_cartesian_relative.hpp.
| cl_moveit2z::CbMoveCartesianRelative::CbMoveCartesianRelative | ( | ) |
Definition at line 27 of file cb_move_cartesian_relative.cpp.
| cl_moveit2z::CbMoveCartesianRelative::CbMoveCartesianRelative | ( | geometry_msgs::msg::Vector3 | offset | ) |
Definition at line 29 of file cb_move_cartesian_relative.cpp.
| void cl_moveit2z::CbMoveCartesianRelative::moveRelativeCartesian | ( | moveit::planning_interface::MoveGroupInterface * | movegroupClient, |
| geometry_msgs::msg::Vector3 & | offset ) |
Definition at line 53 of file cb_move_cartesian_relative.cpp.
References smacc2::ISmaccClientBehavior::getLogger(), moveGroupSmaccClient_, cl_moveit2z::ClMoveit2z::postEventMotionExecutionFailed(), cl_moveit2z::ClMoveit2z::postEventMotionExecutionSucceded(), smacc2::SmaccAsyncClientBehavior::postFailureEvent(), smacc2::SmaccAsyncClientBehavior::postSuccessEvent(), and scalingFactor_.
Referenced by onEntry().


|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 34 of file cb_move_cartesian_relative.cpp.
References smacc2::ISmaccClientBehavior::getNode(), group_, cl_moveit2z::ClMoveit2z::moveGroupClientInterface, moveGroupSmaccClient_, moveRelativeCartesian(), offset_, and smacc2::ISmaccClientBehavior::requiresClient().

|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 50 of file cb_move_cartesian_relative.cpp.
| std::optional<std::string> cl_moveit2z::CbMoveCartesianRelative::group_ |
Definition at line 37 of file cb_move_cartesian_relative.hpp.
Referenced by onEntry().
| ClMoveit2z* cl_moveit2z::CbMoveCartesianRelative::moveGroupSmaccClient_ |
Definition at line 52 of file cb_move_cartesian_relative.hpp.
Referenced by moveRelativeCartesian(), and onEntry().
| geometry_msgs::msg::Vector3 cl_moveit2z::CbMoveCartesianRelative::offset_ |
Definition at line 33 of file cb_move_cartesian_relative.hpp.
Referenced by onEntry().
| std::optional<double> cl_moveit2z::CbMoveCartesianRelative::scalingFactor_ |
Definition at line 35 of file cb_move_cartesian_relative.hpp.
Referenced by moveRelativeCartesian().