DART
6.7.3
|
Joint Coulomb friction constraint. More...
#include <JointCoulombFrictionConstraint.hpp>
Public Member Functions | |
JointCoulombFrictionConstraint (dynamics::Joint *_joint) | |
Constructor. More... | |
virtual | ~JointCoulombFrictionConstraint () |
Destructor. More... | |
std::size_t | getDimension () const |
Return dimesion of this constranit. More... | |
virtual void | uniteSkeletons () |
Static Public Member Functions | |
static void | setConstraintForceMixing (double _cfm) |
Set global constraint force mixing parameter. More... | |
static double | getConstraintForceMixing () |
Get global constraint force mixing parameter. More... | |
static dynamics::SkeletonPtr | getRootSkeleton (dynamics::SkeletonPtr skeleton) |
static dynamics::SkeletonPtr | compressPath (dynamics::SkeletonPtr skeleton) |
Protected Member Functions | |
void | update () override |
Update constraint using updated Skeleton's states. More... | |
void | getInformation (ConstraintInfo *_lcp) override |
Fill LCP variables. More... | |
void | applyUnitImpulse (std::size_t _index) override |
Apply unit impulse to constraint space. More... | |
void | getVelocityChange (double *_delVel, bool _withCfm) override |
Get velocity change due to the uint impulse. More... | |
void | excite () override |
Excite the constraint. More... | |
void | unexcite () override |
Unexcite the constraint. More... | |
void | applyImpulse (double *_lambda) override |
Apply computed constraint impulse to constrained skeletons. More... | |
dynamics::SkeletonPtr | getRootSkeleton () const override |
bool | isActive () const override |
Return true if this constraint is active. More... | |
Protected Attributes | |
std::size_t | mDim |
Dimension of constraint. More... | |
Private Attributes | |
dynamics::Joint * | mJoint |
dynamics::BodyNode * | mBodyNode |
std::size_t | mAppliedImpulseIndex |
Index of applied impulse. More... | |
std::size_t | mLifeTime [6] |
bool | mActive [6] |
double | mNegativeVel [6] |
double | mOldX [6] |
double | mUpperBound [6] |
double | mLowerBound [6] |
Static Private Attributes | |
static double | mConstraintForceMixing = 1e-9 |
Global constraint force mixing parameter in the range of [1e-9, 1]. More... | |
Friends | |
class | ConstraintSolver |
class | ConstrainedGroup |
Joint Coulomb friction constraint.
|
explicit |
Constructor.
|
virtual |
Destructor.
|
overrideprotectedvirtual |
Apply computed constraint impulse to constrained skeletons.
Implements dart::constraint::ConstraintBase.
|
overrideprotectedvirtual |
Apply unit impulse to constraint space.
Implements dart::constraint::ConstraintBase.
|
staticinherited |
|
overrideprotectedvirtual |
Excite the constraint.
Implements dart::constraint::ConstraintBase.
|
static |
Get global constraint force mixing parameter.
|
inherited |
Return dimesion of this constranit.
|
overrideprotectedvirtual |
Fill LCP variables.
Implements dart::constraint::ConstraintBase.
|
overrideprotectedvirtual |
Implements dart::constraint::ConstraintBase.
|
staticinherited |
|
overrideprotectedvirtual |
Get velocity change due to the uint impulse.
Implements dart::constraint::ConstraintBase.
|
overrideprotectedvirtual |
Return true if this constraint is active.
Implements dart::constraint::ConstraintBase.
|
static |
Set global constraint force mixing parameter.
|
overrideprotectedvirtual |
Unexcite the constraint.
Implements dart::constraint::ConstraintBase.
|
virtualinherited |
|
overrideprotectedvirtual |
Update constraint using updated Skeleton's states.
Implements dart::constraint::ConstraintBase.
|
friend |
|
friend |
|
private |
|
private |
Index of applied impulse.
|
private |
|
staticprivate |
Global constraint force mixing parameter in the range of [1e-9, 1].
The default is 1e-5
|
protectedinherited |
Dimension of constraint.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |