Aikido
|
Static properties from the DART MetaSkeleton
.
More...
#include <aikido/statespace/dart/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. More... | |
std::size_t | getNumJoints () const |
Return the number of joints in the MetaSkeleton. More... | |
std::size_t | getNumDofs () const |
Return the number of DOFs in the MetaSkeleton. More... | |
const std::vector< std::string > & | getDofNames () const |
Return the names of DOFs in the MetaSkeleton. More... | |
std::size_t | getDofIndex (std::size_t ijoint, std::size_t ijointdof) const |
Return the MetaSkeleton DOF index. More... | |
std::size_t | getDofIndex (const std::string &dofName) const |
Return the MetaSkeleton DOF index. More... | |
const Eigen::VectorXd & | getPositionLowerLimits () const |
Return the vector of position lower limits. More... | |
const Eigen::VectorXd & | getPositionUpperLimits () const |
Return the vector of position upper limits. More... | |
const Eigen::VectorXd & | getVelocityLowerLimits () const |
Return the vector of velocity lower limits. More... | |
const Eigen::VectorXd & | getVelocityUpperLimits () const |
Return the vector of velocity upper limits. More... | |
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. More... | |
std::size_t | mNumJoints |
Number of joints in the MetaSkeleton. More... | |
std::vector< std::string > | mDofNames |
Names of DOFs in the MetaSkeleton. More... | |
std::unordered_map< std::pair< std::size_t, std::size_t >, std::size_t, aikido::common::PairHash > | mIndexMap |
Mapping from Joint index and Joint DOF index to MetaSkeleton DOF index. More... | |
Eigen::VectorXd | mPositionLowerLimits |
The metaskeleton's position lower limits. More... | |
Eigen::VectorXd | mPositionUpperLimits |
The metaskeleton's position upper limits. More... | |
Eigen::VectorXd | mVelocityLowerLimits |
The metaskeleton's velocity lower limits. More... | |
Eigen::VectorXd | mVelocityUpperLimits |
The metaskeleton's velocity upper limits. More... | |
Static properties from the DART MetaSkeleton
.
These will not update if the MetaSkeleton
is updated.
|
explicit |
Constructs the MetaSkeleton properties for _metaskeleton
.
metaskeleton | MetaSkeleton to create properties for |
std::size_t aikido::statespace::dart::MetaSkeletonStateSpace::Properties::getDofIndex | ( | const std::string & | dofName | ) | const |
Return the MetaSkeleton DOF index.
std::size_t aikido::statespace::dart::MetaSkeletonStateSpace::Properties::getDofIndex | ( | std::size_t | ijoint, |
std::size_t | ijointdof | ||
) | const |
Return the MetaSkeleton DOF index.
const std::vector<std::string>& aikido::statespace::dart::MetaSkeletonStateSpace::Properties::getDofNames | ( | ) | const |
Return the names of DOFs in the MetaSkeleton.
const std::string& aikido::statespace::dart::MetaSkeletonStateSpace::Properties::getName | ( | ) | const |
Return the name of the MetaSkeleton.
std::size_t aikido::statespace::dart::MetaSkeletonStateSpace::Properties::getNumDofs | ( | ) | const |
Return the number of DOFs in the MetaSkeleton.
std::size_t aikido::statespace::dart::MetaSkeletonStateSpace::Properties::getNumJoints | ( | ) | const |
Return the number of joints in the MetaSkeleton.
const Eigen::VectorXd& aikido::statespace::dart::MetaSkeletonStateSpace::Properties::getPositionLowerLimits | ( | ) | const |
Return the vector of position lower limits.
const Eigen::VectorXd& aikido::statespace::dart::MetaSkeletonStateSpace::Properties::getPositionUpperLimits | ( | ) | const |
Return the vector of position upper limits.
const Eigen::VectorXd& aikido::statespace::dart::MetaSkeletonStateSpace::Properties::getVelocityLowerLimits | ( | ) | const |
Return the vector of velocity lower limits.
const Eigen::VectorXd& aikido::statespace::dart::MetaSkeletonStateSpace::Properties::getVelocityUpperLimits | ( | ) | const |
Return the vector of velocity upper limits.
bool aikido::statespace::dart::MetaSkeletonStateSpace::Properties::operator!= | ( | const Properties & | otherProperties | ) | const |
Return whether two MetaSkeletonStateSpace::Properties are different.
otherProperties | Other Properties to compare against |
bool aikido::statespace::dart::MetaSkeletonStateSpace::Properties::operator== | ( | const Properties & | otherProperties | ) | const |
Return whether two MetaSkeletonStateSpace::Properties are identical.
otherProperties | Other Properties to compare against |
|
protected |
Names of DOFs in the MetaSkeleton.
|
protected |
Mapping from Joint index and Joint DOF index to MetaSkeleton DOF index.
|
protected |
Name of the MetaSkeleton.
|
protected |
Number of joints in the MetaSkeleton.
|
protected |
The metaskeleton's position lower limits.
|
protected |
The metaskeleton's position upper limits.
|
protected |
The metaskeleton's velocity lower limits.
|
protected |
The metaskeleton's velocity upper limits.