SMACC2
|
#include <cb_move_cartesian_relative2.hpp>
Public Member Functions | |
CbMoveCartesianRelative2 (std::string referenceFrame, std::string tipLink) | |
CbMoveCartesianRelative2 (std::string referenceFrame, std::string tipLink, geometry_msgs::msg::Vector3 offset) | |
virtual | ~CbMoveCartesianRelative2 () |
void | generateTrajectory () override |
Public Member Functions inherited from cl_move_group_interface::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 |
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) |
virtual void | onEntry () |
virtual void | onExit () |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
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 | |
geometry_msgs::msg::Vector3 | offset_ |
std::optional< double > | linearSpeed_m_s_ |
Public Attributes inherited from cl_move_group_interface::CbMoveEndEffectorTrajectory | |
std::optional< std::string > | group_ |
std::optional< std::string > | tipLink_ |
std::optional< bool > | allowInitialTrajectoryStateJointDiscontinuity_ |
Private Attributes | |
std::string | globalFrame_ |
Additional Inherited Members | |
Protected Member Functions inherited from cl_move_group_interface::CbMoveEndEffectorTrajectory | |
ComputeJointTrajectoryErrorCode | computeJointSpaceTrajectory (moveit_msgs::msg::RobotTrajectory &computedJointTrajectory) |
void | executeJointSpaceTrajectory (const moveit_msgs::msg::RobotTrajectory &computedJointTrajectory) |
virtual void | generateTrajectory ()=0 |
virtual void | createMarkers () |
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 () |
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 void | dispose () |
virtual rclcpp::Node::SharedPtr | getNode () const |
virtual rclcpp::Logger | getLogger () const |
virtual void | update ()=0 |
Protected Attributes inherited from cl_move_group_interface::CbMoveEndEffectorTrajectory | |
std::vector< geometry_msgs::msg::PoseStamped > | endEffectorTrajectory_ |
ClMoveGroup * | movegroupClient_ = nullptr |
visualization_msgs::msg::MarkerArray | beahiorMarkers_ |
Definition at line 31 of file cb_move_cartesian_relative2.hpp.
cl_move_group_interface::CbMoveCartesianRelative2::CbMoveCartesianRelative2 | ( | std::string | referenceFrame, |
std::string | tipLink | ||
) |
Definition at line 28 of file cb_move_cartesian_relative2.cpp.
References globalFrame_.
cl_move_group_interface::CbMoveCartesianRelative2::CbMoveCartesianRelative2 | ( | std::string | referenceFrame, |
std::string | tipLink, | ||
geometry_msgs::msg::Vector3 | offset | ||
) |
Definition at line 34 of file cb_move_cartesian_relative2.cpp.
References globalFrame_, and offset_.
|
virtual |
Definition at line 42 of file cb_move_cartesian_relative2.cpp.
|
overridevirtual |
Implements cl_move_group_interface::CbMoveEndEffectorTrajectory.
Definition at line 44 of file cb_move_cartesian_relative2.cpp.
References cl_move_group_interface::CbMoveEndEffectorTrajectory::endEffectorTrajectory_, cl_move_group_interface::CbMoveEndEffectorTrajectory::getCurrentEndEffectorPose(), smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), smacc2::ISmaccClientBehavior::getNode(), globalFrame_, linearSpeed_m_s_, and offset_.
|
private |
Definition at line 48 of file cb_move_cartesian_relative2.hpp.
Referenced by CbMoveCartesianRelative2(), and generateTrajectory().
std::optional<double> cl_move_group_interface::CbMoveCartesianRelative2::linearSpeed_m_s_ |
Definition at line 36 of file cb_move_cartesian_relative2.hpp.
Referenced by generateTrajectory().
geometry_msgs::msg::Vector3 cl_move_group_interface::CbMoveCartesianRelative2::offset_ |
Definition at line 34 of file cb_move_cartesian_relative2.hpp.
Referenced by CbMoveCartesianRelative2(), and generateTrajectory().