Simox
2.3.74.0
|
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | ApproachMovementGenerator (VirtualRobot::SceneObjectPtr object, VirtualRobot::EndEffectorPtr eef, const std::string &graspPreshape="") |
virtual | ~ApproachMovementGenerator () |
destructor More... | |
virtual Eigen::Matrix4f | createNewApproachPose ()=0 |
Creates a new pose for approaching. More... | |
virtual bool | setEEFToRandomApproachPose () |
Applies a random grasp hypothesis to the cloned EEF. More... | |
VirtualRobot::RobotPtr | getEEFRobotClone () |
This robot is moved around. More... | |
bool | setEEFPose (const Eigen::Matrix4f &pose) |
move EEF to pose (uses coord system of GCP) More... | |
bool | updateEEFPose (const Eigen::Matrix4f &deltaPose) |
update pose of EEF (GCP) More... | |
bool | updateEEFPose (const Eigen::Vector3f &deltaPosition) |
Eigen::Matrix4f | getEEFPose () |
get pose of EEF (coord system of GCP) More... | |
std::string | getGCPJoint () |
VirtualRobot::SceneObjectPtr | getObject () |
VirtualRobot::EndEffectorPtr | getEEF () |
VirtualRobot::EndEffectorPtr | getEEFOriginal () |
Eigen::Vector3f | getApproachDirGlobal () |
std::string | getName () |
virtual void | openHand () |
void | setVerbose (bool v) |
Protected Attributes | |
VirtualRobot::SceneObjectPtr | object |
VirtualRobot::TriMeshModelPtr | objectModel |
VirtualRobot::EndEffectorPtr | eef |
Eigen::Vector3f | approachDirGlobal |
VirtualRobot::RobotPtr | eefRobot |
This robot is moved around. More... | |
VirtualRobot::EndEffectorPtr | eef_cloned |
std::string | name |
std::string | graspPreshape |
bool | verbose = false |
An interface for generating approach movements of an end-effector toward an object resulting in grasp hypothesis.
GraspStudio::ApproachMovementGenerator::ApproachMovementGenerator | ( | VirtualRobot::SceneObjectPtr | object, |
VirtualRobot::EndEffectorPtr | eef, | ||
const std::string & | graspPreshape = "" |
||
) |
To generate approach movements an object and an end effector has to be specified. Internally a clone of the EEF is used.
object | The object. |
eef | The eef. |
graspPreshape | An optional preshape that can be used in order to "open" the eef. |
|
virtualdefault |
destructor
|
pure virtual |
Creates a new pose for approaching.
Implemented in GraspStudio::ApproachMovementSurfaceNormal.
Eigen::Vector3f GraspStudio::ApproachMovementGenerator::getApproachDirGlobal | ( | ) |
VirtualRobot::EndEffectorPtr GraspStudio::ApproachMovementGenerator::getEEF | ( | ) |
This is the cloned eef!
VirtualRobot::EndEffectorPtr GraspStudio::ApproachMovementGenerator::getEEFOriginal | ( | ) |
Eigen::Matrix4f GraspStudio::ApproachMovementGenerator::getEEFPose | ( | ) |
get pose of EEF (coord system of GCP)
VirtualRobot::RobotPtr GraspStudio::ApproachMovementGenerator::getEEFRobotClone | ( | ) |
This robot is moved around.
std::string GraspStudio::ApproachMovementGenerator::getGCPJoint | ( | ) |
std::string GraspStudio::ApproachMovementGenerator::getName | ( | ) |
VirtualRobot::SceneObjectPtr GraspStudio::ApproachMovementGenerator::getObject | ( | ) |
|
virtual |
bool GraspStudio::ApproachMovementGenerator::setEEFPose | ( | const Eigen::Matrix4f & | pose | ) |
move EEF to pose (uses coord system of GCP)
|
virtual |
Applies a random grasp hypothesis to the cloned EEF.
void GraspStudio::ApproachMovementGenerator::setVerbose | ( | bool | v | ) |
bool GraspStudio::ApproachMovementGenerator::updateEEFPose | ( | const Eigen::Matrix4f & | deltaPose | ) |
update pose of EEF (GCP)
bool GraspStudio::ApproachMovementGenerator::updateEEFPose | ( | const Eigen::Vector3f & | deltaPosition | ) |
|
protected |
|
protected |
|
protected |
|
protected |
This robot is moved around.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |