aikido
Public Member Functions | Protected Attributes | List of all members
aikido::statespace::dart::MetaSkeletonStateSpace::Properties Class Reference

Static properties from the DART MetaSkeleton. More...

#include <MetaSkeletonStateSpace.hpp>

Public Member Functions

 Properties (const ::dart::dynamics::MetaSkeleton *metaskeleton)
 Constructs the MetaSkeleton properties for _metaskeleton. More...
 
const std::string & getName () const
 Return the name of the MetaSkeleton.
 
std::size_t getNumJoints () const
 Return the number of joints in the MetaSkeleton.
 
std::size_t getNumDofs () const
 Return the number of DOFs in the MetaSkeleton.
 
const std::vector< std::string > & getDofNames () const
 Return the names of DOFs in the MetaSkeleton.
 
std::size_t getDofIndex (std::size_t ijoint, std::size_t ijointdof) const
 Return the MetaSkeleton DOF index.
 
std::size_t getDofIndex (const std::string &dofName) const
 Return the MetaSkeleton DOF index.
 
const Eigen::VectorXd & getPositionLowerLimits () const
 Return the vector of position lower limits.
 
const Eigen::VectorXd & getPositionUpperLimits () const
 Return the vector of position upper limits.
 
const Eigen::VectorXd & getVelocityLowerLimits () const
 Return the vector of velocity lower limits.
 
const Eigen::VectorXd & getVelocityUpperLimits () const
 Return the vector of velocity upper limits.
 
bool operator== (const Properties &otherProperties) const
 Return whether two MetaSkeletonStateSpace::Properties are identical. More...
 
bool operator!= (const Properties &otherProperties) const
 Return whether two MetaSkeletonStateSpace::Properties are different. More...
 

Protected Attributes

std::string mName
 Name of the MetaSkeleton.
 
std::size_t mNumJoints
 Number of joints in the MetaSkeleton.
 
std::vector< std::string > mDofNames
 Names of DOFs in the MetaSkeleton.
 
std::unordered_map< std::pair< std::size_t, std::size_t >, std::size_t, aikido::common::PairHashmIndexMap
 Mapping from Joint index and Joint DOF index to MetaSkeleton DOF index.
 
Eigen::VectorXd mPositionLowerLimits
 The metaskeleton's position lower limits.
 
Eigen::VectorXd mPositionUpperLimits
 The metaskeleton's position upper limits.
 
Eigen::VectorXd mVelocityLowerLimits
 The metaskeleton's velocity lower limits.
 
Eigen::VectorXd mVelocityUpperLimits
 The metaskeleton's velocity upper limits.
 

Detailed Description

Static properties from the DART MetaSkeleton.

These will not update if the MetaSkeleton is updated.

Constructor & Destructor Documentation

§ Properties()

aikido::statespace::dart::MetaSkeletonStateSpace::Properties::Properties ( const ::dart::dynamics::MetaSkeleton *  metaskeleton)
explicit

Constructs the MetaSkeleton properties for _metaskeleton.

Parameters
metaskeletonMetaSkeleton to create properties for

Member Function Documentation

§ operator!=()

bool aikido::statespace::dart::MetaSkeletonStateSpace::Properties::operator!= ( const Properties otherProperties) const

Return whether two MetaSkeletonStateSpace::Properties are different.

Parameters
otherPropertiesOther Properties to compare against

§ operator==()

bool aikido::statespace::dart::MetaSkeletonStateSpace::Properties::operator== ( const Properties otherProperties) const

Return whether two MetaSkeletonStateSpace::Properties are identical.

Parameters
otherPropertiesOther Properties to compare against

The documentation for this class was generated from the following files: