SMACC2
|
#include <cb_end_effector_rotate.hpp>
Public Member Functions | |
CbEndEffectorRotate (double deltaRadians, std::optional< std::string > tipLink=std::nullopt) | |
virtual | ~CbEndEffectorRotate () |
virtual void | onEntry () override |
Public Member Functions inherited from cl_moveit2z::CbCircularPivotMotion | |
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 | onExit () override |
virtual void | update () override |
Public Member Functions inherited from smacc2::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) |
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=false) |
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< std::string > | tipLink |
Public Attributes inherited from cl_moveit2z::CbCircularPivotMotion | |
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_ |
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) |
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 inherited from cl_moveit2z::CbCircularPivotMotion | |
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_ |
Definition at line 26 of file cb_end_effector_rotate.hpp.
cl_moveit2z::CbEndEffectorRotate::CbEndEffectorRotate | ( | double | deltaRadians, |
std::optional< std::string > | tipLink = std::nullopt |
||
) |
Definition at line 34 of file cb_end_effector_rotate.cpp.
References cl_moveit2z::CbCircularPivotMotion::deltaRadians_.
|
virtual |
Definition at line 40 of file cb_end_effector_rotate.cpp.
|
overridevirtual |
Reimplemented from cl_moveit2z::CbMoveEndEffectorTrajectory.
Definition at line 42 of file cb_end_effector_rotate.cpp.
References smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), smacc2::ISmaccClientBehavior::getNode(), cl_moveit2z::CbMoveEndEffectorTrajectory::movegroupClient_, cl_moveit2z::ClMoveit2z::moveGroupClientInterface, smacc2::ISmaccClientBehavior::onEntry(), cl_moveit2z::CbCircularPivotMotion::planePivotPose_, smacc2::ISmaccClientBehavior::requiresClient(), and cl_moveit2z::CbMoveEndEffectorTrajectory::tipLink_.
std::optional<std::string> cl_moveit2z::CbEndEffectorRotate::tipLink |
Definition at line 35 of file cb_end_effector_rotate.hpp.