Aikido
|
Static properties from the DART Joint
.
More...
#include <aikido/statespace/dart/JointStateSpace.hpp>
Public Member Functions | |
Properties (const ::dart::dynamics::Joint *joint) | |
Constructs the joint properties for joint . More... | |
const std::string & | getName () const |
Return the name of the joint. More... | |
const std::string & | getType () const |
Return the type of the joint. More... | |
std::size_t | getNumDofs () const |
Return the number of DOFs in the joint. More... | |
const std::vector< std::string > & | getDofNames () const |
Return the names of DOFs in the joint. More... | |
bool | hasPositionLimit (std::size_t index) const |
Return whether the index DOF is position-limited. More... | |
bool | isPositionLimited () const |
Return whether any DOF is position-limited. 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 JointStateSpace::Properties are identical. More... | |
bool | operator!= (const Properties &otherProperties) const |
Return whether two JointStateSpace::Properties are different. More... | |
Protected Attributes | |
std::string | mName |
Name of the joint. More... | |
std::string | mType |
Name of the joint type. More... | |
std::vector< std::string > | mDofNames |
Names of DOFs in the Joint. More... | |
Eigen::VectorXd | mPositionLowerLimits |
The joint's position lower limits. More... | |
Eigen::VectorXd | mPositionUpperLimits |
The joint's position upper limits. More... | |
Eigen::Matrix< bool, Eigen::Dynamic, 1 > | mPositionHasLimits |
The joint's position limits. More... | |
Eigen::VectorXd | mVelocityLowerLimits |
The joint's velocity lower limits. More... | |
Eigen::VectorXd | mVelocityUpperLimits |
The joint's velocity upper limits. More... | |
Static properties from the DART Joint
.
These will not update if the Joint
is updated.
|
explicit |
Constructs the joint properties for joint
.
joint | Joint to create properties for |
const std::vector<std::string>& aikido::statespace::dart::JointStateSpace::Properties::getDofNames | ( | ) | const |
Return the names of DOFs in the joint.
const std::string& aikido::statespace::dart::JointStateSpace::Properties::getName | ( | ) | const |
Return the name of the joint.
std::size_t aikido::statespace::dart::JointStateSpace::Properties::getNumDofs | ( | ) | const |
Return the number of DOFs in the joint.
const Eigen::VectorXd& aikido::statespace::dart::JointStateSpace::Properties::getPositionLowerLimits | ( | ) | const |
Return the vector of position lower limits.
const Eigen::VectorXd& aikido::statespace::dart::JointStateSpace::Properties::getPositionUpperLimits | ( | ) | const |
Return the vector of position upper limits.
const std::string& aikido::statespace::dart::JointStateSpace::Properties::getType | ( | ) | const |
Return the type of the joint.
const Eigen::VectorXd& aikido::statespace::dart::JointStateSpace::Properties::getVelocityLowerLimits | ( | ) | const |
Return the vector of velocity lower limits.
const Eigen::VectorXd& aikido::statespace::dart::JointStateSpace::Properties::getVelocityUpperLimits | ( | ) | const |
Return the vector of velocity upper limits.
bool aikido::statespace::dart::JointStateSpace::Properties::hasPositionLimit | ( | std::size_t | index | ) | const |
Return whether the index DOF is position-limited.
bool aikido::statespace::dart::JointStateSpace::Properties::isPositionLimited | ( | ) | const |
Return whether any DOF is position-limited.
bool aikido::statespace::dart::JointStateSpace::Properties::operator!= | ( | const Properties & | otherProperties | ) | const |
Return whether two JointStateSpace::Properties are different.
otherProperties | Other Properties to compare against |
bool aikido::statespace::dart::JointStateSpace::Properties::operator== | ( | const Properties & | otherProperties | ) | const |
Return whether two JointStateSpace::Properties are identical.
otherProperties | Other Properties to compare against |
|
protected |
Names of DOFs in the Joint.
|
protected |
Name of the joint.
|
protected |
The joint's position limits.
|
protected |
The joint's position lower limits.
|
protected |
The joint's position upper limits.
|
protected |
Name of the joint type.
|
protected |
The joint's velocity lower limits.
|
protected |
The joint's velocity upper limits.