SMACC
|
#include <cb_pouring_motion.h>
Public Member Functions | |
CbCircularPouringMotion (const geometry_msgs::Point &pivotPoint, double deltaHeight, std::string tipLink, std::string globalFrame) | |
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_ |
geometry_msgs::Vector3 | directionVector_ |
geometry_msgs::Pose | pointerRelativePose_ |
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::Point | relativePivotPoint_ |
double | deltaHeight_ |
std::vector< geometry_msgs::PoseStamped > | pointerTrajectory_ |
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 () |
Private Attributes | |
std::string | globalFrame_ |
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_pouring_motion.h.
cl_move_group_interface::CbCircularPouringMotion::CbCircularPouringMotion | ( | const geometry_msgs::Point & | pivotPoint, |
double | deltaHeight, | ||
std::string | tipLink, | ||
std::string | globalFrame | ||
) |
Definition at line 13 of file cb_pouring_motion.cpp.
|
private |
|
overridevirtual |
Reimplemented from cl_move_group_interface::CbMoveEndEffectorTrajectory.
Definition at line 118 of file cb_pouring_motion.cpp.
References cl_move_group_interface::CbMoveEndEffectorTrajectory::beahiorMarkers_, cl_move_group_interface::CbMoveEndEffectorTrajectory::createMarkers(), cl_move_group_interface::CbMoveEndEffectorTrajectory::getCurrentEndEffectorPose(), globalFrame_, pointerTrajectory_, and relativePivotPoint_.
|
overridevirtual |
Reimplemented from cl_move_group_interface::CbMoveEndEffectorTrajectory.
Definition at line 21 of file cb_pouring_motion.cpp.
References deltaHeight_, cl_move_group_interface::CbMoveEndEffectorTrajectory::endEffectorTrajectory_, cl_move_group_interface::CbMoveEndEffectorTrajectory::getCurrentEndEffectorPose(), globalFrame_, linearSpeed_m_s_, pointerRelativePose_, pointerTrajectory_, and relativePivotPoint_.
boost::optional<double> cl_move_group_interface::CbCircularPouringMotion::angularSpeed_rad_s_ |
Definition at line 17 of file cb_pouring_motion.h.
|
protected |
Definition at line 36 of file cb_pouring_motion.h.
Referenced by generateTrajectory().
geometry_msgs::Vector3 cl_move_group_interface::CbCircularPouringMotion::directionVector_ |
Definition at line 27 of file cb_pouring_motion.h.
|
private |
Definition at line 43 of file cb_pouring_motion.h.
Referenced by createMarkers(), and generateTrajectory().
boost::optional<double> cl_move_group_interface::CbCircularPouringMotion::linearSpeed_m_s_ |
Definition at line 19 of file cb_pouring_motion.h.
Referenced by generateTrajectory().
geometry_msgs::Pose cl_move_group_interface::CbCircularPouringMotion::pointerRelativePose_ |
Definition at line 31 of file cb_pouring_motion.h.
Referenced by generateTrajectory().
|
protected |
Definition at line 38 of file cb_pouring_motion.h.
Referenced by createMarkers(), and generateTrajectory().
|
protected |
Definition at line 33 of file cb_pouring_motion.h.
Referenced by createMarkers(), and generateTrajectory().