Class for the robot's posture processing. More...
#include <postures.hpp>
Public Member Functions | |
void | initHandPose (const double &value, const int &pose) |
initialize the hand pose | |
bool | poseHand (const std::string &end_eff, const std::string &group, const int &pose_id) |
define the hand pose | |
bool | poseHandClose (const std::string &end_eff) |
define the hand close pose | |
bool | poseHandOpen (const std::string &end_eff) |
define the hand open pose | |
bool | poseHeadDown () |
define the head down pose | |
bool | poseHeadZero () |
define the head zero pose | |
Posture (const std::string robot_name, const std::string eef_name, const std::string group_name) | |
constructor | |
Private Member Functions | |
bool | goToPose (const std::string group_name, std::vector< double > *pose) |
go to the pose | |
Private Attributes | |
std::vector< std::vector < double > > | pose_arm_ |
std::vector< std::vector < double > > | pose_hand_ |
std::vector< double > | pose_head_down_ |
std::vector< double > | pose_head_zero_ |
Class for the robot's posture processing.
Definition at line 27 of file postures.hpp.
moveit_simple_actions::Posture::Posture | ( | const std::string | robot_name, |
const std::string | eef_name, | ||
const std::string | group_name | ||
) |
constructor
Definition at line 24 of file postures.cpp.
bool moveit_simple_actions::Posture::goToPose | ( | const std::string | group_name, |
std::vector< double > * | pose | ||
) | [private] |
go to the pose
Definition at line 176 of file postures.cpp.
void moveit_simple_actions::Posture::initHandPose | ( | const double & | value, |
const int & | pose | ||
) |
initialize the hand pose
Definition at line 134 of file postures.cpp.
bool moveit_simple_actions::Posture::poseHand | ( | const std::string & | end_eff, |
const std::string & | group, | ||
const int & | pose_id | ||
) |
define the hand pose
Definition at line 154 of file postures.cpp.
bool moveit_simple_actions::Posture::poseHandClose | ( | const std::string & | end_eff | ) |
define the hand close pose
Definition at line 171 of file postures.cpp.
bool moveit_simple_actions::Posture::poseHandOpen | ( | const std::string & | end_eff | ) |
define the hand open pose
Definition at line 166 of file postures.cpp.
define the head down pose
Definition at line 149 of file postures.cpp.
define the head zero pose
Definition at line 144 of file postures.cpp.
std::vector< std::vector<double> > moveit_simple_actions::Posture::pose_arm_ [private] |
pre-defined arm pose
Definition at line 70 of file postures.hpp.
std::vector< std::vector<double> > moveit_simple_actions::Posture::pose_hand_ [private] |
pre-defined hand pose
Definition at line 67 of file postures.hpp.
std::vector<double> moveit_simple_actions::Posture::pose_head_down_ [private] |
pre-defined head down pose
Definition at line 61 of file postures.hpp.
std::vector<double> moveit_simple_actions::Posture::pose_head_zero_ [private] |
pre-defined hand zero pose
Definition at line 64 of file postures.hpp.