|
DART 6.12.2
|
class UniversalJoint More...
#include <UniversalJoint.hpp>
Public Types | |
| using | UniqueProperties = detail::UniversalJointUniqueProperties |
| using | Properties = detail::UniversalJointProperties |
| using | Base = detail::UniversalJointBase |
| using | Impl = EmbedProperties< DerivedT, PropertiesDataT > |
| using | Derived = typename Impl::Derived |
| using | AspectPropertiesData = typename Impl::AspectPropertiesData |
| using | AspectProperties = typename Impl::AspectProperties |
| using | Aspect = typename Impl::Aspect |
Public Member Functions | |
| bool | hasUniversalJointAspect () const |
| Check if this Composite currently has UniversalJointAspect . | |
| Aspect * | getUniversalJointAspect () |
| Get a(an) UniversalJointAspect from this Composite. | |
| const Aspect * | getUniversalJointAspect () const |
| Get a(an) UniversalJointAspect from this Composite. | |
| Aspect * | getUniversalJointAspect (const bool createIfNull) |
| Get a(an) UniversalJointAspect from this Composite. | |
| void | setUniversalJointAspect (const Aspect *aspect) |
| Make a clone of UniversalJointAspect and place the clone into this Composite. | |
| void | setUniversalJointAspect (std::unique_ptr< Aspect > &&aspect) |
| Use move semantics to place UniversalJointAspect into this Composite. | |
| template<typename... Args> | |
| Aspect * | createUniversalJointAspect (Args &&... args) |
| Construct a(an) UniversalJointAspect inside of this Composite. | |
| void | removeUniversalJointAspect () |
| Remove a(an) UniversalJointAspect from this Composite. | |
| std::unique_ptr< Aspect > | releaseUniversalJointAspect () |
| Remove a(an) UniversalJointAspect from this Composite, but return its unique_ptr instead of letting it be deleted. | |
| UniversalJoint (const UniversalJoint &)=delete | |
| virtual | ~UniversalJoint () |
| Destructor. | |
| void | setProperties (const Properties &_properties) |
| Set the Properties of this UniversalJoint. | |
| void | setProperties (const UniqueProperties &_properties) |
| Set the Properties of this UniversalJoint. | |
| void | setAspectProperties (const AspectProperties &properties) |
| Set the AspectProperties of this UniversalJoint. | |
| Properties | getUniversalJointProperties () const |
| Get the Properties of this UniversalJoint. | |
| void | copy (const UniversalJoint &_otherJoint) |
| Copy the Properties of another UniversalJoint. | |
| void | copy (const UniversalJoint *_otherJoint) |
| Copy the Properties of another UniversalJoint. | |
| UniversalJoint & | operator= (const UniversalJoint &_otherJoint) |
| Copy the Properties of another UniversalJoint. | |
| const std::string & | getType () const override |
| bool | isCyclic (std::size_t _index) const override |
| void | setAxis1 (const Eigen::Vector3d &_axis) |
| void | setAxis2 (const Eigen::Vector3d &_axis) |
| const Eigen::Vector3d & | getAxis1 () const |
| const Eigen::Vector3d & | getAxis2 () const |
| Eigen::Matrix< double, 6, 2 > | getRelativeJacobianStatic (const Eigen::Vector2d &_positions) const override |
| const AspectProperties & | getAspectProperties () const |
Static Public Member Functions | |
| static const std::string & | getStaticType () |
| Get joint type for this class. | |
Protected Member Functions | |
| UniversalJoint (const Properties &properties) | |
| Constructor called by Skeleton class. | |
| Joint * | clone () const override |
| void | updateDegreeOfFreedomNames () override |
| void | updateRelativeTransform () const override |
| void | updateRelativeJacobian (bool=true) const override |
| void | updateRelativeJacobianTimeDeriv () const override |
Protected Attributes | |
| AspectProperties | mAspectProperties |
| Aspect::Properties data, directly accessible to your derived class. | |
Friends | |
| class | Skeleton |
class UniversalJoint
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
delete |
|
virtual |
Destructor.
|
protected |
Constructor called by Skeleton class.
|
overrideprotected |
| void dart::dynamics::UniversalJoint::copy | ( | const UniversalJoint & | _otherJoint | ) |
Copy the Properties of another UniversalJoint.
| void dart::dynamics::UniversalJoint::copy | ( | const UniversalJoint * | _otherJoint | ) |
Copy the Properties of another UniversalJoint.
|
inline |
Construct a(an) UniversalJointAspect inside of this Composite.
|
inlineinherited |
| const Eigen::Vector3d & dart::dynamics::UniversalJoint::getAxis1 | ( | ) | const |
| const Eigen::Vector3d & dart::dynamics::UniversalJoint::getAxis2 | ( | ) | const |
|
override |
|
static |
Get joint type for this class.
|
override |
|
inline |
Get a(an) UniversalJointAspect from this Composite.
|
inline |
Get a(an) UniversalJointAspect from this Composite.
|
inline |
Get a(an) UniversalJointAspect from this Composite.
If _createIfNull is true, then a(an) UniversalJointAspect will be generated if one does not already exist.
| UniversalJoint::Properties dart::dynamics::UniversalJoint::getUniversalJointProperties | ( | ) | const |
Get the Properties of this UniversalJoint.
|
inline |
Check if this Composite currently has UniversalJointAspect .
|
override |
| UniversalJoint & dart::dynamics::UniversalJoint::operator= | ( | const UniversalJoint & | _otherJoint | ) |
Copy the Properties of another UniversalJoint.
|
inline |
Remove a(an) UniversalJointAspect from this Composite, but return its unique_ptr instead of letting it be deleted.
This allows you to safely use move semantics to transfer a(an) UniversalJointAspect between two Composites.
|
inline |
Remove a(an) UniversalJointAspect from this Composite.
| void dart::dynamics::UniversalJoint::setAspectProperties | ( | const AspectProperties & | properties | ) |
Set the AspectProperties of this UniversalJoint.
| void dart::dynamics::UniversalJoint::setAxis1 | ( | const Eigen::Vector3d & | _axis | ) |
| void dart::dynamics::UniversalJoint::setAxis2 | ( | const Eigen::Vector3d & | _axis | ) |
| void dart::dynamics::UniversalJoint::setProperties | ( | const Properties & | _properties | ) |
Set the Properties of this UniversalJoint.
| void dart::dynamics::UniversalJoint::setProperties | ( | const UniqueProperties & | _properties | ) |
Set the Properties of this UniversalJoint.
|
inline |
Make a clone of UniversalJointAspect and place the clone into this Composite.
If a(an) UniversalJointAspect already exists in this Composite, the existing UniversalJointAspect will be destroyed.
|
inline |
Use move semantics to place UniversalJointAspect into this Composite.
If a(an) UniversalJointAspect already exists in this Composite, the existing UniversalJointAspect will be destroyed.
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
friend |
|
protectedinherited |
Aspect::Properties data, directly accessible to your derived class.