#include <suDecompHardUTWalk.h>
Inheritance diagram for suDecompHardUTWalk:

Public Member Functions | |
| suDecompHardUTWalk (rdUTWalking8 *aModel) | |
| Construct a hard-constraint decomposition analysis based on an rdUTWalking8 model. | |
| virtual | ~suDecompHardUTWalk () |
| Destructor. | |
| virtual void | compute (double *aXPrev, double *aYPrev, int aStep, double aDT, double aT, double *aX, double *aY) |
| Decompose the ground reaction force by assuming hard constraints. | |
| int | suComputePerformance (double *x, double *p) |
| Compute performance given x. | |
| int | suComputePerformanceGradient (double *x, double *dpdx) |
| Compute performance given x. | |
| int | suComputeConstraint (double *x, int ic, double *c) |
| Compute a constraint given x. | |
| int | suComputeContactPointAccelerations (double *x, int c, double cpa[][3]) |
| Compute contact point accelerations. | |
Protected Member Functions | |
| int | getNumberConstraints () |
| Set spring force array based on decomposition controls. | |
| void | clearBodyConstraints () |
| Clear all body constraints. | |
| void | clearBodyConstraintValues () |
| Clear all constraint values--- set them to 0.0. | |
| void | setBodyConstraintValues (int aN, int aID[], double aAcc[][3]) |
| Set the relavent constraint values. | |
| void | decompose (int step, double dt, double t, double *xt, double *y, void *cd) |
| void | determineControls (double sfrc[][3]) |
| Determine the controls for the decomposition. | |
| void | determineConstraints () |
| Determine the constraints for the decomposition. | |
| void | setSpringForces (double *aXS, double aFS[][3]) |
| Set spring force array based on decomposition controls. | |
| void | applyComponentForce (int aC) |
| Apply appropriate component force. | |
Protected Attributes | |
| int | _c |
| Force component index. | |
| int | _nxs |
| Number of spring points in contact. | |
| int * | _xsSprMap |
| Map from spring points in contact to springs in the model. | |
| int * | _xsXYZMap |
| Map from degrees of freedom (XYZ) of springs in contact to degrees of freedom of springs in the model. | |
| rdBodyConstraint | _bc [4] |
| Constraints on the bodies: rhindfoot, rtoes, lhindfoot, ltoes. | |
| double | _wXS |
| Performance criterion weight for the spring forces. | |
| double | _wAcc |
| Performance criterion weight for the spring accelerations. | |
Private Member Functions | |
| void | setNull () |
| Set NULL values for all member variables. | |
| double * | getContactPoint (int aIndex) |
| Get the contact point for a specified contact element. | |
Private Attributes | |
| double | _point [3] |
| Point used for temporary storage of model spring point locations. | |
| double * | _yCopy |
| Untouched copy of the states. | |
| double * | _yTmp |
| Manipulated copy of the states. | |
| double * | _x |
| Untouched copy of the model controls. | |
|
|
Apply appropriate component force.
|
|
|
Get the contact point for a specified contact element.
|
|
|
Point used for temporary storage of model spring point locations. See getContactPoint(). |
1.3