nuklei::GraspDescriptor Class Reference
Inheritance diagram for nuklei::GraspDescriptor:
nuklei::Descriptor nuklei::TwoFingerDescriptor

Public Types

enum  TrialOutcome {
  PHYSICAL_SUCCESS = 0, PHYSICAL_FAILURE, PHYSICAL_UNSTABLE, VIRTUAL_SUCCESS,
  VIRTUAL_FAILURE, PE_ERROR, KINEMATIC_ERROR, UNKNOWN
}
 
typedef NUKLEI_UNIQUE_PTR< GraspDescriptorptr
 
typedef TrialOutcome Type
 
- Public Types inherited from nuklei::Descriptor
typedef NUKLEI_UNIQUE_PTR< Descriptorptr
 

Public Member Functions

TrialOutcome getTrialOutcome () const
 
void setTrialOutcome (const TrialOutcome trialOutcome)
 
std::vector< weight_tgetQuality () const
 
void setQuality (const std::vector< weight_t > q)
 
- Public Member Functions inherited from nuklei::Descriptor
virtual void assertConsistency () const =0
 
virtual NUKLEI_UNIQUE_PTR< Descriptorclone () const =0
 
virtual NUKLEI_UNIQUE_PTR< Descriptorcreate () const =0
 
virtual double distanceTo (const Descriptor &d) const
 

Static Public Attributes

static const Type defaultType = UNKNOWN
 
static const std::string TypeNames []
 

Friends

class NUKLEI_SERIALIZATION_FRIEND_CLASSNAME
 

Detailed Description

Definition at line 172 of file Descriptor.h.

Member Data Documentation

◆ TypeNames

const std::string nuklei::GraspDescriptor::TypeNames
static
Initial value:
= {
"physical_success", "physical_failure", "physical_unstable",
"virtual_success", "virtual_failure", "pe_error", "kinematic_error",
"unknown" }

Definition at line 187 of file Descriptor.h.


The documentation for this class was generated from the following files:
© Copyright 2007-2013 Renaud Detry.
Distributed under the terms of the GNU General Public License (GPL).
(See accompanying file LICENSE.txt or copy at http://www.gnu.org/copyleft/gpl.html.)
Revised Sun Sep 13 2020 19:10:09.