JointLimitConstraint handles joint position or velocity limits.
More...
#include <JointLimitConstraint.hpp>
JointLimitConstraint handles joint position or velocity limits.
◆ JointLimitConstraint()
dart::constraint::JointLimitConstraint::JointLimitConstraint |
( |
dynamics::Joint * |
_joint | ) |
|
|
explicit |
◆ ~JointLimitConstraint()
dart::constraint::JointLimitConstraint::~JointLimitConstraint |
( |
| ) |
|
|
virtual |
◆ applyImpulse()
void dart::constraint::JointLimitConstraint::applyImpulse |
( |
double * |
lambda | ) |
|
|
overrideprotectedvirtual |
◆ applyUnitImpulse()
void dart::constraint::JointLimitConstraint::applyUnitImpulse |
( |
std::size_t |
index | ) |
|
|
overrideprotectedvirtual |
◆ compressPath()
◆ excite()
void dart::constraint::JointLimitConstraint::excite |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ getConstraintForceMixing()
double dart::constraint::JointLimitConstraint::getConstraintForceMixing |
( |
| ) |
|
|
static |
Get global constraint force mixing parameter.
◆ getDimension()
std::size_t dart::constraint::ConstraintBase::getDimension |
( |
| ) |
const |
|
inherited |
Return dimesion of this constranit.
◆ getErrorAllowance()
double dart::constraint::JointLimitConstraint::getErrorAllowance |
( |
| ) |
|
|
static |
Get global error reduction parameter.
◆ getErrorReductionParameter()
double dart::constraint::JointLimitConstraint::getErrorReductionParameter |
( |
| ) |
|
|
static |
Get global error reduction parameter.
◆ getInformation()
void dart::constraint::JointLimitConstraint::getInformation |
( |
ConstraintInfo * |
info | ) |
|
|
overrideprotectedvirtual |
◆ getMaxErrorReductionVelocity()
double dart::constraint::JointLimitConstraint::getMaxErrorReductionVelocity |
( |
| ) |
|
|
static |
Get global error reduction parameter.
◆ getRootSkeleton() [1/2]
◆ getRootSkeleton() [2/2]
◆ getVelocityChange()
void dart::constraint::JointLimitConstraint::getVelocityChange |
( |
double * |
vel, |
|
|
bool |
withCfm |
|
) |
| |
|
overrideprotectedvirtual |
◆ isActive()
bool dart::constraint::JointLimitConstraint::isActive |
( |
| ) |
const |
|
overrideprotectedvirtual |
◆ setConstraintForceMixing()
void dart::constraint::JointLimitConstraint::setConstraintForceMixing |
( |
double |
_cfm | ) |
|
|
static |
Set global constraint force mixing parameter.
◆ setErrorAllowance()
void dart::constraint::JointLimitConstraint::setErrorAllowance |
( |
double |
_allowance | ) |
|
|
static |
Set global error reduction parameter.
◆ setErrorReductionParameter()
void dart::constraint::JointLimitConstraint::setErrorReductionParameter |
( |
double |
_erp | ) |
|
|
static |
Set global error reduction parameter.
◆ setMaxErrorReductionVelocity()
void dart::constraint::JointLimitConstraint::setMaxErrorReductionVelocity |
( |
double |
_erv | ) |
|
|
static |
Set global error reduction parameter.
◆ unexcite()
void dart::constraint::JointLimitConstraint::unexcite |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ uniteSkeletons()
void dart::constraint::ConstraintBase::uniteSkeletons |
( |
| ) |
|
|
virtualinherited |
◆ update()
void dart::constraint::JointLimitConstraint::update |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ ConstrainedGroup
◆ ConstraintSolver
◆ mActive
bool dart::constraint::JointLimitConstraint::mActive[6] |
|
private |
◆ mAppliedImpulseIndex
std::size_t dart::constraint::JointLimitConstraint::mAppliedImpulseIndex |
|
private |
Index of applied impulse.
◆ mBodyNode
◆ mConstraintForceMixing
double dart::constraint::JointLimitConstraint::mConstraintForceMixing = 1e-9 |
|
staticprivate |
◆ mDim
std::size_t dart::constraint::ConstraintBase::mDim |
|
protectedinherited |
◆ mErrorAllowance
double dart::constraint::JointLimitConstraint::mErrorAllowance = 0.0 |
|
staticprivate |
Global constraint error allowance.
◆ mErrorReductionParameter
double dart::constraint::JointLimitConstraint::mErrorReductionParameter = 0.01 |
|
staticprivate |
Global constraint error redection parameter in the range of [0, 1].
The default is 0.01.
◆ mJoint
◆ mLifeTime
std::size_t dart::constraint::JointLimitConstraint::mLifeTime[6] |
|
private |
◆ mLowerBound
double dart::constraint::JointLimitConstraint::mLowerBound[6] |
|
private |
◆ mMaxErrorReductionVelocity
double dart::constraint::JointLimitConstraint::mMaxErrorReductionVelocity = 1e+1 |
|
staticprivate |
Maximum error reduction velocity.
◆ mNegativeVel
double dart::constraint::JointLimitConstraint::mNegativeVel[6] |
|
private |
◆ mOldX
double dart::constraint::JointLimitConstraint::mOldX[6] |
|
private |
◆ mUpperBound
double dart::constraint::JointLimitConstraint::mUpperBound[6] |
|
private |
◆ mViolation
double dart::constraint::JointLimitConstraint::mViolation[6] |
|
private |