| 
    Aikido
    
   | 
 
Transforms a SE3-Sampleable into a MetaSkeleton-Sampleable that samples a configuration of a metaskeleton. More...
#include <aikido/constraint/dart/InverseKinematicsSampleable.hpp>
  
Public Member Functions | |
| InverseKinematicsSampleable (statespace::dart::ConstMetaSkeletonStateSpacePtr _metaSkeletonStateSpace, ::dart::dynamics::MetaSkeletonPtr _metaskeleton, SampleablePtr _poseConstraint, SampleablePtr _seedConstraint, ::dart::dynamics::InverseKinematicsPtr _inverseKinematics, int _maxSamplingTries) | |
| Constructor.  More... | |
| virtual | ~InverseKinematicsSampleable ()=default | 
| statespace::ConstStateSpacePtr | getStateSpace () const override | 
| Gets the StateSpace that this constraint operates on.  More... | |
| std::unique_ptr< SampleGenerator > | createSampleGenerator () const override | 
| Creates a SampleGenerator for sampling from this constraint.  More... | |
  Public Member Functions inherited from aikido::constraint::Sampleable | |
| virtual | ~Sampleable ()=default | 
Private Attributes | |
| statespace::dart::ConstMetaSkeletonStateSpacePtr | mMetaSkeletonStateSpace | 
| ::dart::dynamics::MetaSkeletonPtr | mMetaSkeleton | 
| SampleablePtr | mPoseConstraint | 
| SampleablePtr | mSeedConstraint | 
| ::dart::dynamics::InverseKinematicsPtr | mInverseKinematics | 
| int | mMaxSamplingTries | 
Transforms a SE3-Sampleable into a MetaSkeleton-Sampleable that samples a configuration of a metaskeleton.
This samples a pose from a sampleable constraint and uses an inverse kinematics solver to "lift" that pose into the metaskeleton's configuration space. This class will retry a configurable number of times if sampling from the provided sampleable pose constraint or finding an inverse kinematic solution fails.
| aikido::constraint::dart::InverseKinematicsSampleable::InverseKinematicsSampleable | ( | statespace::dart::ConstMetaSkeletonStateSpacePtr | _metaSkeletonStateSpace, | 
| ::dart::dynamics::MetaSkeletonPtr | _metaskeleton, | ||
| SampleablePtr | _poseConstraint, | ||
| SampleablePtr | _seedConstraint, | ||
| ::dart::dynamics::InverseKinematicsPtr | _inverseKinematics, | ||
| int | _maxSamplingTries | ||
| ) | 
Constructor.
| _metaSkeletonStateSpace | StateSpace of a skeleton one of whose frame is being constrained by _poseConstraint. | 
| _metaskeleton | MetaSkeleton to test with | 
| _poseConstraint | This samples poses for a frame in the skeleton. | 
| _seedConstraint | This samples configurations for the skeleton. These samples are used as seeds when solving inverse kinematics. | 
| _inverseKinematics | InverseKinematics solver for the pose being sampled by _poseConstaint. | 
| _maxSamplingTries | Max number of trials for its sample generator to retry sampling and finding an inverse kinematics solution. | 
      
  | 
  virtualdefault | 
      
  | 
  overridevirtual | 
Creates a SampleGenerator for sampling from this constraint.
Implements aikido::constraint::Sampleable.
      
  | 
  overridevirtual | 
Gets the StateSpace that this constraint operates on.
Implements aikido::constraint::Sampleable.
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |