SMACC
|
#include <cb_circular_pivot_motion.h>
Public Member Functions | |
CbCircularPivotMotion (std::string tipLink="") | |
CbCircularPivotMotion (const geometry_msgs::PoseStamped &planePivotPose, double deltaRadians, std::string tipLink="") | |
CbCircularPivotMotion (const geometry_msgs::PoseStamped &planePivotPose, const geometry_msgs::Pose &relativeInitialPose, double deltaRadians, std::string tipLink="") | |
virtual void | generateTrajectory () override |
virtual void | createMarkers () override |
Public Member Functions inherited from cl_move_group_interface::CbMoveEndEffectorTrajectory | |
CbMoveEndEffectorTrajectory (std::string tipLink="") | |
CbMoveEndEffectorTrajectory (const std::vector< geometry_msgs::PoseStamped > &endEffectorTrajectory, std::string tipLink="") | |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
virtual void | onEntry () override |
virtual void | onExit () override |
virtual void | update () override |
Public Member Functions inherited from smacc::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) |
Public Member Functions inherited from smacc::ISmaccClientBehavior | |
ISmaccClientBehavior () | |
virtual | ~ISmaccClientBehavior () |
ISmaccStateMachine * | getStateMachine () |
std::string | getName () const |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage) |
ros::NodeHandle | getNode () |
Public Member Functions inherited from smacc::ISmaccUpdatable | |
ISmaccUpdatable () | |
ISmaccUpdatable (ros::Duration duration) | |
void | executeUpdate () |
void | setUpdatePeriod (ros::Duration duration) |
Public Attributes | |
boost::optional< double > | angularSpeed_rad_s_ |
boost::optional< double > | linearSpeed_m_s_ |
boost::optional< geometry_msgs::Pose > | relativeInitialPose_ |
Public Attributes inherited from cl_move_group_interface::CbMoveEndEffectorTrajectory | |
boost::optional< std::string > | group_ |
boost::optional< std::string > | tipLink_ |
boost::optional< bool > | allowInitialTrajectoryStateJointDiscontinuity_ |
Protected Attributes | |
geometry_msgs::PoseStamped | planePivotPose_ |
double | deltaRadians_ |
Protected Attributes inherited from cl_move_group_interface::CbMoveEndEffectorTrajectory | |
std::vector< geometry_msgs::PoseStamped > | endEffectorTrajectory_ |
ClMoveGroup * | movegroupClient_ = nullptr |
visualization_msgs::MarkerArray | beahiorMarkers_ |
Private Member Functions | |
void | computeCurrentEndEffectorPoseRelativeToPivot () |
Additional Inherited Members | |
Protected Member Functions inherited from cl_move_group_interface::CbMoveEndEffectorTrajectory | |
ComputeJointTrajectoryErrorCode | computeJointSpaceTrajectory (moveit_msgs::RobotTrajectory &computedJointTrajectory) |
void | executeJointSpaceTrajectory (const moveit_msgs::RobotTrajectory &computedJointTrajectory) |
virtual void | generateTrajectory () |
virtual void | createMarkers () |
void | getCurrentEndEffectorPose (std::string globalFrame, tf::StampedTransform ¤tEndEffectorTransform) |
Protected Member Functions inherited from smacc::SmaccAsyncClientBehavior | |
virtual void | executeOnEntry () override |
virtual void | executeOnExit () override |
void | postSuccessEvent () |
void | postFailureEvent () |
virtual void | dispose () override |
Protected Member Functions inherited from smacc::ISmaccClientBehavior | |
virtual void | runtimeConfigure () |
virtual void | onEntry () |
virtual void | onExit () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
ISmaccState * | getCurrentState () |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
virtual void | dispose () |
virtual void | update ()=0 |
Definition at line 14 of file cb_circular_pivot_motion.h.
cl_move_group_interface::CbCircularPivotMotion::CbCircularPivotMotion | ( | std::string | tipLink = "" | ) |
Definition at line 11 of file cb_circular_pivot_motion.cpp.
cl_move_group_interface::CbCircularPivotMotion::CbCircularPivotMotion | ( | const geometry_msgs::PoseStamped & | planePivotPose, |
double | deltaRadians, | ||
std::string | tipLink = "" |
||
) |
Definition at line 16 of file cb_circular_pivot_motion.cpp.
cl_move_group_interface::CbCircularPivotMotion::CbCircularPivotMotion | ( | const geometry_msgs::PoseStamped & | planePivotPose, |
const geometry_msgs::Pose & | relativeInitialPose, | ||
double | deltaRadians, | ||
std::string | tipLink = "" |
||
) |
Definition at line 21 of file cb_circular_pivot_motion.cpp.
|
private |
Definition at line 121 of file cb_circular_pivot_motion.cpp.
References cl_move_group_interface::CbMoveEndEffectorTrajectory::movegroupClient_, cl_move_group_interface::ClMoveGroup::moveGroupClientInterface, planePivotPose_, relativeInitialPose_, and cl_move_group_interface::CbMoveEndEffectorTrajectory::tipLink_.
Referenced by generateTrajectory().
|
overridevirtual |
Reimplemented from cl_move_group_interface::CbMoveEndEffectorTrajectory.
Definition at line 166 of file cb_circular_pivot_motion.cpp.
References cl_move_group_interface::CbMoveEndEffectorTrajectory::beahiorMarkers_, cl_move_group_interface::CbMoveEndEffectorTrajectory::createMarkers(), and planePivotPose_.
|
overridevirtual |
Reimplemented from cl_move_group_interface::CbMoveEndEffectorTrajectory.
Definition at line 26 of file cb_circular_pivot_motion.cpp.
References angularSpeed_rad_s_, computeCurrentEndEffectorPoseRelativeToPivot(), deltaRadians_, cl_move_group_interface::CbMoveEndEffectorTrajectory::endEffectorTrajectory_, linearSpeed_m_s_, planePivotPose_, and relativeInitialPose_.
boost::optional<double> cl_move_group_interface::CbCircularPivotMotion::angularSpeed_rad_s_ |
Definition at line 17 of file cb_circular_pivot_motion.h.
Referenced by generateTrajectory().
|
protected |
Definition at line 36 of file cb_circular_pivot_motion.h.
Referenced by cl_move_group_interface::CbEndEffectorRotate::CbEndEffectorRotate(), and generateTrajectory().
boost::optional<double> cl_move_group_interface::CbCircularPivotMotion::linearSpeed_m_s_ |
Definition at line 18 of file cb_circular_pivot_motion.h.
Referenced by generateTrajectory().
|
protected |
Definition at line 34 of file cb_circular_pivot_motion.h.
Referenced by computeCurrentEndEffectorPoseRelativeToPivot(), createMarkers(), generateTrajectory(), and cl_move_group_interface::CbEndEffectorRotate::onEntry().
boost::optional<geometry_msgs::Pose> cl_move_group_interface::CbCircularPivotMotion::relativeInitialPose_ |
Definition at line 21 of file cb_circular_pivot_motion.h.
Referenced by computeCurrentEndEffectorPoseRelativeToPivot(), and generateTrajectory().