Servo motor constraint.
More...
#include <MimicMotorConstraint.hpp>
◆ MimicMotorConstraint()
dart::constraint::MimicMotorConstraint::MimicMotorConstraint |
( |
dynamics::Joint * |
joint, |
|
|
const dynamics::Joint * |
mimicJoint, |
|
|
double |
multiplier = 1.0 , |
|
|
double |
offset = 0.0 |
|
) |
| |
|
explicit |
◆ ~MimicMotorConstraint()
dart::constraint::MimicMotorConstraint::~MimicMotorConstraint |
( |
| ) |
|
|
override |
◆ applyImpulse()
void dart::constraint::MimicMotorConstraint::applyImpulse |
( |
double * |
lambda | ) |
|
|
overrideprotectedvirtual |
◆ applyUnitImpulse()
void dart::constraint::MimicMotorConstraint::applyUnitImpulse |
( |
std::size_t |
index | ) |
|
|
overrideprotectedvirtual |
◆ compressPath()
◆ excite()
void dart::constraint::MimicMotorConstraint::excite |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ getConstraintForceMixing()
double dart::constraint::MimicMotorConstraint::getConstraintForceMixing |
( |
| ) |
|
|
static |
Get global constraint force mixing parameter.
◆ getDimension()
std::size_t dart::constraint::ConstraintBase::getDimension |
( |
| ) |
const |
|
inherited |
Return dimesion of this constranit.
◆ getInformation()
void dart::constraint::MimicMotorConstraint::getInformation |
( |
ConstraintInfo * |
info | ) |
|
|
overrideprotectedvirtual |
◆ getRootSkeleton() [1/2]
◆ getRootSkeleton() [2/2]
◆ getVelocityChange()
void dart::constraint::MimicMotorConstraint::getVelocityChange |
( |
double * |
vel, |
|
|
bool |
withCfm |
|
) |
| |
|
overrideprotectedvirtual |
◆ isActive()
bool dart::constraint::MimicMotorConstraint::isActive |
( |
| ) |
const |
|
overrideprotectedvirtual |
◆ setConstraintForceMixing()
void dart::constraint::MimicMotorConstraint::setConstraintForceMixing |
( |
double |
cfm | ) |
|
|
static |
Set global constraint force mixing parameter.
◆ unexcite()
void dart::constraint::MimicMotorConstraint::unexcite |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ uniteSkeletons()
void dart::constraint::ConstraintBase::uniteSkeletons |
( |
| ) |
|
|
virtualinherited |
◆ update()
void dart::constraint::MimicMotorConstraint::update |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ ConstrainedGroup
◆ ConstraintSolver
◆ mActive
bool dart::constraint::MimicMotorConstraint::mActive[6] |
|
private |
◆ mAppliedImpulseIndex
std::size_t dart::constraint::MimicMotorConstraint::mAppliedImpulseIndex |
|
private |
Index of applied impulse.
◆ mBodyNode
◆ mConstraintForceMixing
double dart::constraint::MimicMotorConstraint::mConstraintForceMixing = 1e-9 |
|
staticprivate |
◆ mDim
std::size_t dart::constraint::ConstraintBase::mDim |
|
protectedinherited |
◆ mJoint
◆ mLifeTime
std::size_t dart::constraint::MimicMotorConstraint::mLifeTime[6] |
|
private |
◆ mLowerBound
double dart::constraint::MimicMotorConstraint::mLowerBound[6] |
|
private |
◆ mMimicJoint
◆ mMultiplier
double dart::constraint::MimicMotorConstraint::mMultiplier |
|
private |
◆ mNegativeVelocityError
double dart::constraint::MimicMotorConstraint::mNegativeVelocityError[6] |
|
private |
◆ mOffset
double dart::constraint::MimicMotorConstraint::mOffset |
|
private |
◆ mOldX
double dart::constraint::MimicMotorConstraint::mOldX[6] |
|
private |
◆ mUpperBound
double dart::constraint::MimicMotorConstraint::mUpperBound[6] |
|
private |