|
SMACC2
|
#include <cl_moveit2z.hpp>


Public Member Functions | |
| ClMoveit2z (std::string groupName) | |
| ClMoveit2z (const moveit::planning_interface::MoveGroupInterface::Options &options) | |
| virtual | ~ClMoveit2z () |
| void | onInitialize () override |
| void | postEventMotionExecutionSucceded () |
| void | postEventMotionExecutionFailed () |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onOrthogonalAllocation () |
| template<typename TCallback , typename T > | |
| boost::signals2::connection | onMotionExecutionSuccedded (TCallback callback, T *object) |
| template<typename TCallback , typename T > | |
| boost::signals2::connection | onMotionExecutionFailed (TCallback callback, T *object) |
| const moveit::planning_interface::MoveGroupInterface::Options & | getOptions () const |
| ClMoveit2z (std::string groupName) | |
| ClMoveit2z (const moveit::planning_interface::MoveGroupInterface::Options &options) | |
| virtual | ~ClMoveit2z () |
| void | onInitialize () override |
| void | postEventMotionExecutionSucceded () |
| void | postEventMotionExecutionFailed () |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onOrthogonalAllocation () |
| template<typename TCallback , typename T > | |
| boost::signals2::connection | onMotionExecutionSuccedded (TCallback callback, T *object) |
| template<typename TCallback , typename T > | |
| boost::signals2::connection | onMotionExecutionFailed (TCallback callback, T *object) |
| const moveit::planning_interface::MoveGroupInterface::Options & | getOptions () const |
Public Member Functions inherited from smacc2::ISmaccClient | |
| ISmaccClient () | |
| virtual | ~ISmaccClient () |
| virtual std::string | getName () const |
| template<typename TComponent > | |
| TComponent * | getComponent () |
| template<typename TComponent > | |
| TComponent * | getComponent (std::string name) |
| template<typename TComponent > | |
| TComponent * | getComponent (int index) |
| virtual smacc2::introspection::TypeInfo::Ptr | getType () |
| ISmaccStateMachine * | getStateMachine () |
| template<typename TSmaccSignal , typename T > | |
| void | connectSignal (TSmaccSignal &signal, void(T::*callback)(), T *object) |
| template<typename SmaccClientType > | |
| void | requiresClient (SmaccClientType *&storage) |
| void | getComponents (std::vector< std::shared_ptr< ISmaccComponent > > &components) |
| const std::vector< std::shared_ptr< ISmaccComponent > > & | iterateComponents () const |
| template<typename EventType > | |
| void | postEvent (const EventType &ev) |
| template<typename EventType > | |
| void | postEvent () |
Public Attributes | |
| std::shared_ptr< moveit::planning_interface::MoveGroupInterface > | moveGroupClientInterface |
| std::shared_ptr< moveit::planning_interface::PlanningSceneInterface > | planningSceneInterface |
Private Attributes | |
| std::function< void()> | postEventMotionExecutionSucceded_ |
| std::function< void()> | postEventMotionExecutionFailed_ |
| smacc2::SmaccSignal< void()> | onSucceded_ |
| smacc2::SmaccSignal< void()> | onFailed_ |
| moveit::planning_interface::MoveGroupInterface::Options | options_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::ISmaccClient | |
| template<typename TOrthogonal , typename TClient > | |
| void | onComponentInitialization () |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onOrthogonalAllocation () |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onStateOrthogonalAllocation () |
| template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
| SmaccComponentType * | createComponent (TArgs... targs) |
| template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
| SmaccComponentType * | createNamedComponent (std::string name, TArgs... targs) |
| rclcpp::Node::SharedPtr | getNode () |
| rclcpp::Logger | getLogger () |
Protected Attributes inherited from smacc2::ISmaccClient | |
| std::map< ComponentKey, std::shared_ptr< smacc2::ISmaccComponent > > | components_ |
Definition at line 78 of file cl_moveit2z.hpp.
| cl_moveit2z::ClMoveit2z::ClMoveit2z | ( | std::string | groupName | ) |
Definition at line 26 of file cl_moveit2z.cpp.
| cl_moveit2z::ClMoveit2z::ClMoveit2z | ( | const moveit::planning_interface::MoveGroupInterface::Options & | options | ) |
Definition at line 28 of file cl_moveit2z.cpp.
|
virtual |
Definition at line 34 of file cl_moveit2z.cpp.
| cl_moveit2z::ClMoveit2z::ClMoveit2z | ( | std::string | groupName | ) |
| cl_moveit2z::ClMoveit2z::ClMoveit2z | ( | const moveit::planning_interface::MoveGroupInterface::Options & | options | ) |
|
virtual |
|
inline |
Definition at line 142 of file cl_moveit2z.hpp.
References options_.
| const moveit::planning_interface::MoveGroupInterface::Options & cl_moveit2z::ClMoveit2z::getOptions | ( | ) | const |
|
inlineoverridevirtual |
Reimplemented from smacc2::ISmaccClient.
Definition at line 94 of file cl_moveit2z.hpp.
References smacc2::ISmaccClient::getNode(), moveGroupClientInterface, options_, and planningSceneInterface.

|
overridevirtual |
Reimplemented from smacc2::ISmaccClient.
|
inline |
Definition at line 137 of file cl_moveit2z.hpp.
References smacc2::ISmaccStateMachine::createSignalConnection(), smacc2::ISmaccClient::getStateMachine(), and onFailed_.

|
inline |
Definition at line 123 of file cl_moveit2z.hpp.
References smacc2::ISmaccStateMachine::createSignalConnection(), smacc2::ISmaccClient::getStateMachine(), and onFailed_.

|
inline |
Definition at line 131 of file cl_moveit2z.hpp.
References smacc2::ISmaccStateMachine::createSignalConnection(), smacc2::ISmaccClient::getStateMachine(), and onSucceded_.

|
inline |
Definition at line 117 of file cl_moveit2z.hpp.
References smacc2::ISmaccStateMachine::createSignalConnection(), smacc2::ISmaccClient::getStateMachine(), and onSucceded_.

|
inline |
Definition at line 115 of file cl_moveit2z.hpp.
References onFailed_, onSucceded_, smacc2::ISmaccClient::postEvent(), postEventMotionExecutionFailed_, and postEventMotionExecutionSucceded_.

|
inline |
Definition at line 101 of file cl_moveit2z.hpp.
References onFailed_, onSucceded_, smacc2::ISmaccClient::postEvent(), postEventMotionExecutionFailed_, and postEventMotionExecutionSucceded_.

|
inline |
Definition at line 108 of file cl_moveit2z.hpp.
References smacc2::ISmaccClient::getLogger(), and postEventMotionExecutionFailed_.
Referenced by cl_moveit2z::CbMoveJoints::moveJoints(), cl_moveit2z::CbMoveEndEffectorRelative::moveRelative(), cl_moveit2z::CbMoveCartesianRelative::moveRelativeCartesian(), cl_moveit2z::CbMoveEndEffector::moveToAbsolutePose(), cl_moveit2z::CbMoveEndEffectorTrajectory::onEntry(), and cl_moveit2z::CbMoveEndEffectorTrajectory::onOrthogonalAllocation().


| void cl_moveit2z::ClMoveit2z::postEventMotionExecutionFailed | ( | ) |
|
inline |
Definition at line 102 of file cl_moveit2z.hpp.
References smacc2::ISmaccClient::getLogger(), and postEventMotionExecutionSucceded_.
Referenced by cl_moveit2z::CbMoveEndEffectorTrajectory::executeJointSpaceTrajectory(), cl_moveit2z::CbMoveJoints::moveJoints(), cl_moveit2z::CbMoveEndEffectorRelative::moveRelative(), cl_moveit2z::CbMoveCartesianRelative::moveRelativeCartesian(), and cl_moveit2z::CbMoveEndEffector::moveToAbsolutePose().


| void cl_moveit2z::ClMoveit2z::postEventMotionExecutionSucceded | ( | ) |
| std::shared_ptr< moveit::planning_interface::MoveGroupInterface > cl_moveit2z::ClMoveit2z::moveGroupClientInterface |
Definition at line 84 of file cl_moveit2z.hpp.
Referenced by cl_moveit2z::CpTrajectoryExecutor::cancel(), cl_moveit2z::CbCircularPivotMotion::computeCurrentEndEffectorPoseRelativeToPivot(), cl_moveit2z::CbMoveEndEffectorTrajectory::computeJointSpaceTrajectory(), cl_moveit2z::CbMoveEndEffectorTrajectory::executeJointSpaceTrajectory(), cl_moveit2z::CbMoveEndEffectorTrajectory::getCurrentEndEffectorPose(), cl_moveit2z::CpMotionPlanner::getCurrentState(), cl_moveit2z::CbMoveNamedTarget::getNamedTargetValues(), cl_moveit2z::CbAttachObject::onEntry(), cl_moveit2z::CbDetachObject::onEntry(), cl_moveit2z::CbEndEffectorRotate::onEntry(), cl_moveit2z::CbMoveCartesianRelative::onEntry(), cl_moveit2z::CbMoveEndEffector::onEntry(), cl_moveit2z::CbMoveEndEffectorRelative::onEntry(), cl_moveit2z::CbMoveJoints::onEntry(), cl_moveit2z::CbMoveNamedTarget::onEntry(), onInitialize(), and cl_moveit2z::CpMotionPlanner::planCartesianPath().
|
private |
Definition at line 152 of file cl_moveit2z.hpp.
Referenced by onMotionExecutionFailed(), and onOrthogonalAllocation().
|
private |
Definition at line 151 of file cl_moveit2z.hpp.
Referenced by onMotionExecutionSuccedded(), and onOrthogonalAllocation().
|
private |
Definition at line 155 of file cl_moveit2z.hpp.
Referenced by getOptions(), and onInitialize().
| std::shared_ptr< moveit::planning_interface::PlanningSceneInterface > cl_moveit2z::ClMoveit2z::planningSceneInterface |
Definition at line 86 of file cl_moveit2z.hpp.
Referenced by cl_moveit2z::CbAttachObject::onEntry(), cl_moveit2z::CbDetachObject::onEntry(), and onInitialize().
|
private |
Definition at line 149 of file cl_moveit2z.hpp.
Referenced by onOrthogonalAllocation(), and postEventMotionExecutionFailed().
|
private |
Definition at line 148 of file cl_moveit2z.hpp.
Referenced by onOrthogonalAllocation(), and postEventMotionExecutionSucceded().