|
DART 6.12.2
|
#include <Joint.hpp>
Public Member Functions | |
| Joint ()=default | |
| const std::string & | getName () const |
| JointType | getType () const |
| const Eigen::Vector3d & | getPos () const |
| const Eigen::Vector3d & | getAxis () const |
| bool | isLimited () const |
| const Eigen::Vector2d & | getRange () const |
| double | getDamping () const |
| double | getSpringRef () const |
Private Member Functions | |
| Errors | read (tinyxml2::XMLElement *element, const Defaults &defaults, const JointAttributes &defaultAttributes) |
| Errors | preprocess (const Compiler &compiler) |
| Updates attributes and elements that doesn't require any other elements. | |
| Errors | compile (const Compiler &compiler) |
| Updates attributes and elements that require the preprocessed child elements of this <joint>. | |
| Errors | postprocess (const Body *body, const Compiler &compiler) |
| Updates attributes and elements that require the compiled parent element. | |
Private Attributes | |
| JointAttributes | mAttributes |
| std::string | mName {""} |
| JointType | mType {JointType::HINGE} |
| int | mGroup {0} |
| Eigen::Vector3d | mPos {Eigen::Vector3d::Zero()} |
| Position of the joint, specified in local or global coordinates as determined by the coordinate attribute of compiler. | |
| Eigen::Vector3d | mAxis {Eigen::Vector3d::UnitZ()} |
| This attribute specifies the axis of rotation for hinge joints and the direction of translation for slide joints. | |
| Eigen::Vector2d | mSpringDamper {Eigen::Vector2d::Zero()} |
| bool | mLimited {false} |
| This attribute specifies if the joint has limits. | |
| double | mStiffness {0} |
| Eigen::Vector2d | mRange {Eigen::Vector2d::Zero()} |
| The joint limits. | |
| double | mMargin {0} |
| double | mRef {0} |
| double | mSpringRef {0} |
| double | mArmature {0} |
| double | mDamping {0} |
| double | mFrictionLoss {0} |
| Eigen::VectorXd | mUser |
Friends | |
| class | Body |
|
default |
Updates attributes and elements that require the preprocessed child elements of this <joint>.
| const Eigen::Vector3d & dart::utils::MjcfParser::detail::Joint::getAxis | ( | ) | const |
| double dart::utils::MjcfParser::detail::Joint::getDamping | ( | ) | const |
| const std::string & dart::utils::MjcfParser::detail::Joint::getName | ( | ) | const |
| const Eigen::Vector3d & dart::utils::MjcfParser::detail::Joint::getPos | ( | ) | const |
| const Eigen::Vector2d & dart::utils::MjcfParser::detail::Joint::getRange | ( | ) | const |
| double dart::utils::MjcfParser::detail::Joint::getSpringRef | ( | ) | const |
| JointType dart::utils::MjcfParser::detail::Joint::getType | ( | ) | const |
| bool dart::utils::MjcfParser::detail::Joint::isLimited | ( | ) | const |
|
private |
Updates attributes and elements that require the compiled parent element.
Updates attributes and elements that doesn't require any other elements.
|
private |
|
friend |
|
private |
|
private |
|
private |
This attribute specifies the axis of rotation for hinge joints and the direction of translation for slide joints.
It is ignored for free and ball joints.
|
private |
|
private |
|
private |
|
private |
This attribute specifies if the joint has limits.
|
private |
|
private |
|
private |
Position of the joint, specified in local or global coordinates as determined by the coordinate attribute of compiler.
For free joints this attribute is ignored.
|
private |
The joint limits.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |