|
SMACC2
|
#include <cb_moveit2z_client_behavior_base.hpp>


Public Member Functions | |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onStateOrthogonalAllocation () |
| virtual | ~CbMoveit2zClientBehaviorBase () |
Public Member Functions inherited from smacc2::SmaccAsyncClientBehavior | |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onStateOrthogonalAllocation () |
| virtual | ~SmaccAsyncClientBehavior () |
| template<typename TCallback , typename T > | |
| smacc2::SmaccSignalConnection | onSuccess (TCallback callback, T *object) |
| template<typename TCallback , typename T > | |
| smacc2::SmaccSignalConnection | onFinished (TCallback callback, T *object) |
| template<typename TCallback , typename T > | |
| smacc2::SmaccSignalConnection | onFailure (TCallback callback, T *object) |
| void | requestForceFinish () |
| void | executeOnEntry () override |
| void | executeOnExit () override |
| void | waitOnEntryThread (bool requestFinish) |
| template<typename TCallbackMethod , typename T > | |
| smacc2::SmaccSignalConnection | onSuccess (TCallbackMethod callback, T *object) |
| template<typename TCallbackMethod , typename T > | |
| smacc2::SmaccSignalConnection | onFinished (TCallbackMethod callback, T *object) |
| template<typename TCallbackMethod , typename T > | |
| smacc2::SmaccSignalConnection | 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, ComponentRequirement requirementType=ComponentRequirement::SOFT) |
| template<typename SmaccComponentType > | |
| void | requiresComponent (std::string name, SmaccComponentType *&storage, ComponentRequirement requirementType=ComponentRequirement::SOFT) |
| virtual void | onEntry () |
| virtual void | onExit () |
Protected Member Functions | |
| void | postMotionSuccess () |
| void | postMotionFailure () |
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 | |
| CpMoveGroupInterface * | cpMoveGroup_ = nullptr |
| CpMotionPlanner * | cpMotionPlanner_ = nullptr |
| CpTrajectoryExecutor * | cpTrajectoryExecutor_ = nullptr |
| CpTrajectoryHistory * | cpTrajectoryHistory_ = nullptr |
Definition at line 43 of file cb_moveit2z_client_behavior_base.hpp.
|
inlinevirtual |
Definition at line 60 of file cb_moveit2z_client_behavior_base.hpp.
|
inline |
Definition at line 47 of file cb_moveit2z_client_behavior_base.hpp.
References cpMotionPlanner_, cpMoveGroup_, cpTrajectoryExecutor_, cpTrajectoryHistory_, smacc2::HARD, smacc2::SmaccAsyncClientBehavior::onStateOrthogonalAllocation(), smacc2::ISmaccClientBehavior::requiresComponent(), and smacc2::SOFT.
Referenced by cl_moveit2z::CbAttachObject::onStateOrthogonalAllocation(), cl_moveit2z::CbDetachObject::onStateOrthogonalAllocation(), and cl_moveit2z::CbMoveEndEffectorTrajectory::onStateOrthogonalAllocation().


|
inlineprotected |
Definition at line 74 of file cb_moveit2z_client_behavior_base.hpp.
References cpMoveGroup_, smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), cl_moveit2z::CpMoveGroupInterface::postEventMotionExecutionFailed(), and smacc2::SmaccAsyncClientBehavior::postFailureEvent().
Referenced by cl_moveit2z::CbMoveJoints::moveJoints(), cl_moveit2z::CbMoveEndEffector::moveToAbsolutePose(), and cl_moveit2z::CbUndoLastTrajectory::onEntry().


|
inlineprotected |
Definition at line 63 of file cb_moveit2z_client_behavior_base.hpp.
References cpMoveGroup_, smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), cl_moveit2z::CpMoveGroupInterface::postEventMotionExecutionSucceeded(), and smacc2::SmaccAsyncClientBehavior::postSuccessEvent().
Referenced by cl_moveit2z::CbMoveEndEffectorTrajectory::executeJointSpaceTrajectory(), cl_moveit2z::CbMoveJoints::moveJoints(), and cl_moveit2z::CbMoveEndEffector::moveToAbsolutePose().


|
protected |
Definition at line 86 of file cb_moveit2z_client_behavior_base.hpp.
Referenced by cl_moveit2z::CbMoveJoints::moveJoints(), cl_moveit2z::CbMoveEndEffector::moveToAbsolutePose(), and onStateOrthogonalAllocation().
|
protected |
Definition at line 85 of file cb_moveit2z_client_behavior_base.hpp.
Referenced by cl_moveit2z::CbCircularPivotMotion::computeCurrentEndEffectorPoseRelativeToPivot(), cl_moveit2z::CbMoveEndEffectorTrajectory::computeJointSpaceTrajectory(), cl_moveit2z::CbMoveEndEffectorTrajectory::executeJointSpaceTrajectory(), cl_moveit2z::CbMoveEndEffectorTrajectory::getCurrentEndEffectorPose(), cl_moveit2z::CbAttachObject::onEntry(), cl_moveit2z::CbDetachObject::onEntry(), cl_moveit2z::CbEndEffectorRotate::onEntry(), cl_moveit2z::CbMoveEndEffector::onEntry(), cl_moveit2z::CbMoveEndEffectorTrajectory::onEntry(), cl_moveit2z::CbMoveJoints::onEntry(), cl_moveit2z::CbMoveEndEffectorTrajectory::onStateOrthogonalAllocation(), onStateOrthogonalAllocation(), postMotionFailure(), and postMotionSuccess().
|
protected |
|
protected |
Definition at line 88 of file cb_moveit2z_client_behavior_base.hpp.
Referenced by cl_moveit2z::CbMoveEndEffectorTrajectory::onEntry(), cl_moveit2z::CbUndoLastTrajectory::onEntry(), and onStateOrthogonalAllocation().