Simox
2.3.74.0
|
An interface class for grasp quality algorithms that offer a force closure test. More...
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | GraspQualityMeasure (VirtualRobot::SceneObjectPtr object, float unitForce=1.0f, float frictionConeCoeff=0.35f, int frictionConeSamples=8) |
Constructor. More... | |
virtual | ~GraspQualityMeasure () override |
Destructor. More... | |
virtual bool | isGraspForceClosure ()=0 |
Indicate whether the grasp is in force closure. More... | |
virtual bool | calculateObjectProperties ()=0 |
This method is used to compute a reference value that describes a perfect grasp. More... | |
virtual VirtualRobot::MathTools::ContactPoint | getSampledObjectPointsCenter () |
std::string | getName () override |
Returns description of this object. More... | |
bool | isValid () override |
virtual ContactConeGeneratorPtr | getConeGenerator () |
Public Member Functions inherited from VirtualRobot::BasicGraspQualityMeasure | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | BasicGraspQualityMeasure (VirtualRobot::SceneObjectPtr object) |
virtual | ~BasicGraspQualityMeasure () |
Destructor. More... | |
virtual void | setContactPoints (const VirtualRobot::EndEffector::ContactInfoVector &contactPoints) |
virtual void | setContactPoints (const std::vector< VirtualRobot::MathTools::ContactPoint > &contactPoints6d) |
virtual float | getGraspQuality () |
Returns calculated grasp quality. More... | |
virtual bool | calculateGraspQuality () |
Compute the grasp quality for the given contact points. More... | |
virtual Eigen::Vector3f | getCoM () |
virtual VirtualRobot::MathTools::ContactPoint | getContactPointsCenter () |
virtual void | setVerbose (bool enable) |
VirtualRobot::SceneObjectPtr | getObject () |
Protected Member Functions | |
bool | sampleObjectPoints (int nMaxFaces=400) |
Protected Attributes | |
float | unitForce |
float | frictionCoeff |
int | frictionConeSamples |
ContactConeGeneratorPtr | coneGenerator |
std::vector< VirtualRobot::MathTools::ContactPoint > | sampledObjectPoints |
std::vector< VirtualRobot::MathTools::ContactPoint > | sampledObjectPointsM |
Protected Attributes inherited from VirtualRobot::BasicGraspQualityMeasure | |
Eigen::Vector3f | centerOfModel |
float | objectLength |
float | graspQuality |
int | maxContacts |
VirtualRobot::SceneObjectPtr | object |
std::vector< VirtualRobot::MathTools::ContactPoint > | contactPoints |
std::vector< VirtualRobot::MathTools::ContactPoint > | contactPointsM |
bool | verbose |
An interface class for grasp quality algorithms that offer a force closure test.
GraspStudio::GraspQualityMeasure::GraspQualityMeasure | ( | VirtualRobot::SceneObjectPtr | object, |
float | unitForce = 1.0f , |
||
float | frictionConeCoeff = 0.35f , |
||
int | frictionConeSamples = 8 |
||
) |
Constructor.
|
overridevirtualdefault |
Destructor.
|
pure virtual |
This method is used to compute a reference value that describes a perfect grasp.
Implemented in GraspStudio::GraspQualityMeasureWrenchSpace, and GraspStudio::GraspQualityMeasureWrenchSpaceNotNormalized.
|
virtual |
|
overridevirtual |
Returns description of this object.
Reimplemented from VirtualRobot::BasicGraspQualityMeasure.
Reimplemented in GraspStudio::GraspQualityMeasureWrenchSpace, and GraspStudio::GraspQualityMeasureWrenchSpaceNotNormalized.
|
virtual |
|
pure virtual |
Indicate whether the grasp is in force closure.
Implemented in GraspStudio::GraspQualityMeasureWrenchSpace, and GraspStudio::GraspQualityMeasureWrenchSpaceNotNormalized.
|
overridevirtual |
Reimplemented from VirtualRobot::BasicGraspQualityMeasure.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |