|
Simox
2.3.74.0
|
An interface class for grasp quality algorithms. A basic quality score, relying on the number of contacts, is served by this implementation. More...
Public Member Functions | |
| 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) |
| virtual std::string | getName () |
| Returns description of this object. More... | |
| VirtualRobot::SceneObjectPtr | getObject () |
| virtual bool | isValid () |
Protected Attributes | |
| 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. A basic quality score, relying on the number of contacts, is served by this implementation.
| VirtualRobot::BasicGraspQualityMeasure::BasicGraspQualityMeasure | ( | VirtualRobot::SceneObjectPtr | object | ) |
|
virtualdefault |
Destructor.
|
virtual |
Compute the grasp quality for the given contact points.
Reimplemented in GraspStudio::GraspQualityMeasureWrenchSpace, and GraspStudio::GraspQualityMeasureWrenchSpaceNotNormalized.
|
virtual |
|
virtual |
|
virtual |
Returns calculated grasp quality.
Reimplemented in GraspStudio::GraspQualityMeasureWrenchSpace, and GraspStudio::GraspQualityMeasureWrenchSpaceNotNormalized.
|
virtual |
Returns description of this object.
Reimplemented in GraspStudio::GraspQualityMeasureWrenchSpace, GraspStudio::GraspQualityMeasureWrenchSpaceNotNormalized, and GraspStudio::GraspQualityMeasure.
| VirtualRobot::SceneObjectPtr VirtualRobot::BasicGraspQualityMeasure::getObject | ( | ) |
|
virtual |
Reimplemented in GraspStudio::GraspQualityMeasure.
|
virtual |
setup contact information the contact points are normalized by subtracting the COM the contact normals are normalize to unit length
Reimplemented in GraspStudio::GraspQualityMeasureWrenchSpace, and GraspStudio::GraspQualityMeasureWrenchSpaceNotNormalized.
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |