Go to the documentation of this file. 1 #ifndef AIKIDO_DISTANCE_JOINTAVOIDANCECONFIGURATIONRANKER_HPP_
2 #define AIKIDO_DISTANCE_JOINTAVOIDANCECONFIGURATIONRANKER_HPP_
23 ::dart::dynamics::ConstMetaSkeletonPtr metaSkeleton,
24 std::vector<double> weights = std::vector<double>());
57 #endif // AIKIDO_DISTANCE_JOINTAVOIDANCECONFIGURATIONRANKER_HPP_
std::shared_ptr< const MetaSkeletonStateSpace > ConstMetaSkeletonStateSpacePtr
Definition: MetaSkeletonStateSpace.hpp:17
void setupJointLimits()
Set limits appropriately to account for infinite limits.
statespace::dart::MetaSkeletonStateSpace::ScopedState mLowerLimitsState
(Modified) State corresponding to the lower position limits.
Definition: JointAvoidanceConfigurationRanker.hpp:45
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
std::vector< std::size_t > mUnboundedUpperLimitsIndices
Vector of indices corresponding to unbounded upper position limits.
Definition: JointAvoidanceConfigurationRanker.hpp:39
Ranks configurations by their distance from joint limits.
Definition: JointAvoidanceConfigurationRanker.hpp:12
ConfigurationRanker is a base class for ranking configurations.
Definition: ConfigurationRanker.hpp:18
JointAvoidanceConfigurationRanker(statespace::dart::ConstMetaSkeletonStateSpacePtr metaSkeletonStateSpace, ::dart::dynamics::ConstMetaSkeletonPtr metaSkeleton, std::vector< double > weights=std::vector< double >())
Constructor.
statespace::dart::MetaSkeletonStateSpace::ScopedState mUpperLimitsState
(Modified) State corresponding to the upper position limits.
Definition: JointAvoidanceConfigurationRanker.hpp:51
double evaluateConfiguration(const statespace::dart::MetaSkeletonStateSpace::State *solution) const override
Returns cost as negative of distance from position limits.
A tuple of states where the i-th state is from the i-th subspace.
Definition: CartesianProduct.hpp:162
std::vector< std::size_t > mUnboundedLowerLimitsIndices
Vector of indices corresponding to unbounded lower position limits.
Definition: JointAvoidanceConfigurationRanker.hpp:36