SMACC
|
#include <cb_move_cartesian_relative.h>
Public Member Functions | |
CbMoveCartesianRelative () | |
CbMoveCartesianRelative (geometry_msgs::Vector3 offset) | |
virtual void | onEntry () override |
virtual void | onExit () override |
void | moveRelativeCartesian (moveit::planning_interface::MoveGroupInterface *movegroupClient, geometry_msgs::Vector3 &offset) |
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::Vector3 | offset_ |
boost::optional< double > | scalingFactor_ |
boost::optional< std::string > | group_ |
ClMoveGroup * | moveGroupSmaccClient_ |
Additional Inherited Members | |
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 () |
Definition at line 14 of file cb_move_cartesian_relative.h.
cl_move_group_interface::CbMoveCartesianRelative::CbMoveCartesianRelative | ( | ) |
Definition at line 11 of file cb_move_cartesian_relative.cpp.
cl_move_group_interface::CbMoveCartesianRelative::CbMoveCartesianRelative | ( | geometry_msgs::Vector3 | offset | ) |
Definition at line 15 of file cb_move_cartesian_relative.cpp.
void cl_move_group_interface::CbMoveCartesianRelative::moveRelativeCartesian | ( | moveit::planning_interface::MoveGroupInterface * | movegroupClient, |
geometry_msgs::Vector3 & | offset | ||
) |
Definition at line 40 of file cb_move_cartesian_relative.cpp.
References moveGroupSmaccClient_, cl_move_group_interface::ClMoveGroup::postEventMotionExecutionFailed(), cl_move_group_interface::ClMoveGroup::postEventMotionExecutionSucceded(), smacc::SmaccAsyncClientBehavior::postFailureEvent(), smacc::SmaccAsyncClientBehavior::postSuccessEvent(), and scalingFactor_.
Referenced by onEntry().
|
overridevirtual |
Reimplemented from smacc::ISmaccClientBehavior.
Definition at line 19 of file cb_move_cartesian_relative.cpp.
References group_, cl_move_group_interface::ClMoveGroup::moveGroupClientInterface, moveGroupSmaccClient_, moveRelativeCartesian(), offset_, and smacc::ISmaccClientBehavior::requiresClient().
|
overridevirtual |
Reimplemented from smacc::ISmaccClientBehavior.
Definition at line 34 of file cb_move_cartesian_relative.cpp.
boost::optional<std::string> cl_move_group_interface::CbMoveCartesianRelative::group_ |
Definition at line 21 of file cb_move_cartesian_relative.h.
Referenced by onEntry().
ClMoveGroup* cl_move_group_interface::CbMoveCartesianRelative::moveGroupSmaccClient_ |
Definition at line 35 of file cb_move_cartesian_relative.h.
Referenced by moveRelativeCartesian(), and onEntry().
geometry_msgs::Vector3 cl_move_group_interface::CbMoveCartesianRelative::offset_ |
Definition at line 17 of file cb_move_cartesian_relative.h.
Referenced by onEntry().
boost::optional<double> cl_move_group_interface::CbMoveCartesianRelative::scalingFactor_ |
Definition at line 19 of file cb_move_cartesian_relative.h.
Referenced by moveRelativeCartesian().