|
SMACC2
|
#include <cb_circular_pivot_motion.hpp>


Public Member Functions | |
| CbCircularPivotMotion (std::optional< std::string > tipLink=std::nullopt) | |
| CbCircularPivotMotion (const geometry_msgs::msg::PoseStamped &planePivotPose, double deltaRadians, std::optional< std::string > tipLink=std::nullopt) | |
| CbCircularPivotMotion (const geometry_msgs::msg::PoseStamped &planePivotPose, const geometry_msgs::msg::Pose &relativeInitialPose, double deltaRadians, std::optional< std::string > tipLink=std::nullopt) | |
| virtual void | generateTrajectory () override |
| virtual void | createMarkers () override |
| CbCircularPivotMotion (std::optional< std::string > tipLink=std::nullopt) | |
| CbCircularPivotMotion (const geometry_msgs::msg::PoseStamped &planePivotPose, double deltaRadians, std::optional< std::string > tipLink=std::nullopt) | |
| CbCircularPivotMotion (const geometry_msgs::msg::PoseStamped &planePivotPose, const geometry_msgs::msg::Pose &relativeInitialPose, double deltaRadians, std::optional< std::string > tipLink=std::nullopt) | |
| virtual void | generateTrajectory () override |
| virtual void | createMarkers () override |
Public Member Functions inherited from cl_moveit2z::CbMoveEndEffectorTrajectory | |
| CbMoveEndEffectorTrajectory (std::optional< std::string > tipLink=std::nullopt) | |
| CbMoveEndEffectorTrajectory (const std::vector< geometry_msgs::msg::PoseStamped > &endEffectorTrajectory, std::optional< std::string > tipLink=std::nullopt) | |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onOrthogonalAllocation () |
| virtual void | onEntry () override |
| virtual void | onExit () override |
| CbMoveEndEffectorTrajectory (std::optional< std::string > tipLink=std::nullopt) | |
| CbMoveEndEffectorTrajectory (const std::vector< geometry_msgs::msg::PoseStamped > &endEffectorTrajectory, std::optional< std::string > tipLink=std::nullopt) | |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onOrthogonalAllocation () |
| virtual void | onEntry () override |
| virtual void | onExit () override |
| virtual void | update () 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 Member Functions inherited from smacc2::ISmaccUpdatable | |
| ISmaccUpdatable () | |
| ISmaccUpdatable (rclcpp::Duration duration) | |
| void | executeUpdate (rclcpp::Node::SharedPtr node) |
| void | setUpdatePeriod (rclcpp::Duration duration) |
Public Attributes | |
| std::optional< double > | angularSpeed_rad_s_ |
| std::optional< double > | linearSpeed_m_s_ |
| std::optional< geometry_msgs::msg::Pose > | relativeInitialPose_ |
Public Attributes inherited from cl_moveit2z::CbMoveEndEffectorTrajectory | |
| std::optional< std::string > | group_ |
| std::optional< std::string > | tipLink_ |
| std::optional< bool > | allowInitialTrajectoryStateJointDiscontinuity_ |
Protected Attributes | |
| geometry_msgs::msg::PoseStamped | planePivotPose_ |
| double | deltaRadians_ |
Protected Attributes inherited from cl_moveit2z::CbMoveEndEffectorTrajectory | |
| std::vector< geometry_msgs::msg::PoseStamped > | endEffectorTrajectory_ |
| ClMoveit2z * | movegroupClient_ = nullptr |
| visualization_msgs::msg::MarkerArray | beahiorMarkers_ |
Private Member Functions | |
| void | computeCurrentEndEffectorPoseRelativeToPivot () |
| void | computeCurrentEndEffectorPoseRelativeToPivot () |
Additional Inherited Members | |
Protected Member Functions inherited from cl_moveit2z::CbMoveEndEffectorTrajectory | |
| ComputeJointTrajectoryErrorCode | computeJointSpaceTrajectory (moveit_msgs::msg::RobotTrajectory &computedJointTrajectory) |
| void | executeJointSpaceTrajectory (const moveit_msgs::msg::RobotTrajectory &computedJointTrajectory) |
| void | getCurrentEndEffectorPose (std::string globalFrame, tf2::Stamped< tf2::Transform > ¤tEndEffectorTransform) |
| ComputeJointTrajectoryErrorCode | computeJointSpaceTrajectory (moveit_msgs::msg::RobotTrajectory &computedJointTrajectory) |
| void | executeJointSpaceTrajectory (const moveit_msgs::msg::RobotTrajectory &computedJointTrajectory) |
| void | getCurrentEndEffectorPose (std::string globalFrame, tf2::Stamped< tf2::Transform > ¤tEndEffectorTransform) |
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 Member Functions inherited from smacc2::ISmaccUpdatable | |
Definition at line 29 of file cb_circular_pivot_motion.hpp.
|
inline |
Definition at line 43 of file cb_circular_pivot_motion.hpp.
|
inline |
Definition at line 48 of file cb_circular_pivot_motion.hpp.
References planePivotPose_, and cl_moveit2z::CbMoveEndEffectorTrajectory::tipLink_.
|
inline |
Definition at line 58 of file cb_circular_pivot_motion.hpp.
| cl_moveit2z::CbCircularPivotMotion::CbCircularPivotMotion | ( | std::optional< std::string > | tipLink = std::nullopt | ) |
| cl_moveit2z::CbCircularPivotMotion::CbCircularPivotMotion | ( | const geometry_msgs::msg::PoseStamped & | planePivotPose, |
| double | deltaRadians, | ||
| std::optional< std::string > | tipLink = std::nullopt ) |
| cl_moveit2z::CbCircularPivotMotion::CbCircularPivotMotion | ( | const geometry_msgs::msg::PoseStamped & | planePivotPose, |
| const geometry_msgs::msg::Pose & | relativeInitialPose, | ||
| double | deltaRadians, | ||
| std::optional< std::string > | tipLink = std::nullopt ) |
|
inlineprivate |
Definition at line 227 of file cb_circular_pivot_motion.hpp.
References smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), smacc2::ISmaccClientBehavior::getNode(), cl_moveit2z::CpTfListener::lookupTransform(), cl_moveit2z::CbMoveEndEffectorTrajectory::movegroupClient_, cl_moveit2z::ClMoveit2z::moveGroupClientInterface, planePivotPose_, relativeInitialPose_, smacc2::ISmaccClientBehavior::requiresComponent(), and cl_moveit2z::CbMoveEndEffectorTrajectory::tipLink_.
Referenced by generateTrajectory().


|
private |
|
inlineoverridevirtual |
Reimplemented from cl_moveit2z::CbMoveEndEffectorTrajectory.
Definition at line 176 of file cb_circular_pivot_motion.hpp.
References cl_moveit2z::CbMoveEndEffectorTrajectory::beahiorMarkers_, cl_moveit2z::CbMoveEndEffectorTrajectory::createMarkers(), smacc2::ISmaccClientBehavior::getNode(), and planePivotPose_.

|
overridevirtual |
Reimplemented from cl_moveit2z::CbMoveEndEffectorTrajectory.
|
inlineoverridevirtual |
Reimplemented from cl_moveit2z::CbMoveEndEffectorTrajectory.
Definition at line 69 of file cb_circular_pivot_motion.hpp.
References angularSpeed_rad_s_, computeCurrentEndEffectorPoseRelativeToPivot(), deltaRadians_, cl_moveit2z::CbMoveEndEffectorTrajectory::endEffectorTrajectory_, smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), linearSpeed_m_s_, planePivotPose_, and relativeInitialPose_.

|
overridevirtual |
Reimplemented from cl_moveit2z::CbMoveEndEffectorTrajectory.
| std::optional< double > cl_moveit2z::CbCircularPivotMotion::angularSpeed_rad_s_ |
Definition at line 37 of file cb_circular_pivot_motion.hpp.
Referenced by generateTrajectory().
|
protected |
Definition at line 224 of file cb_circular_pivot_motion.hpp.
Referenced by cl_moveit2z::CbEndEffectorRotate::CbEndEffectorRotate(), and generateTrajectory().
| std::optional< double > cl_moveit2z::CbCircularPivotMotion::linearSpeed_m_s_ |
Definition at line 38 of file cb_circular_pivot_motion.hpp.
Referenced by generateTrajectory().
|
protected |
Definition at line 222 of file cb_circular_pivot_motion.hpp.
Referenced by CbCircularPivotMotion(), computeCurrentEndEffectorPoseRelativeToPivot(), createMarkers(), generateTrajectory(), and cl_moveit2z::CbEndEffectorRotate::onEntry().
| std::optional< geometry_msgs::msg::Pose > cl_moveit2z::CbCircularPivotMotion::relativeInitialPose_ |
Definition at line 41 of file cb_circular_pivot_motion.hpp.
Referenced by computeCurrentEndEffectorPoseRelativeToPivot(), and generateTrajectory().