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

Public Member Functions | |
| suDecompInteg (const rdManager *aManager, const suContact *aContact, const suActuation *aActuation, rdModel *aModelTwin, double aDT=0.0, double aDF=0.0) | |
| Construct an object for performing a reaction force decomposition analysis. | |
| virtual | ~suDecompInteg () |
| Destructor. | |
| void | setIntegrationWindow (double aDT) |
| Set the size of the integration window used to approximate the changes in the ground reaction force. | |
| double | getIntegrationWindow () const |
| Get the size of the integration window used to approximate the changes in the ground reaction force. | |
| void | setPerturbation (suActuatorPerturbation::PertType aPerturbationType, double aDF) |
| Set the force perturbation. | |
| double | getPerturbation () const |
| Get the force perturbation. | |
| suActuatorPerturbation::PertType | getPerturbationType () const |
| Get the force perturbation type. | |
| void | setPrintWindow (bool aTrueFalse) |
| Set wheter to print detailed information concerning the integration window. | |
| bool | getPrintWindow () const |
| Get wheter to print detailed information concerning the integration window. | |
| virtual void | compute (double *aXPrev, double *aYPrev, int aStep, double aDT, double aT, double *aX, double *aY) |
| Compute the reaction force decomposition based on perturbed integrations. | |
Protected Attributes | |
| const rdManager * | _managerNom |
| Nominal manager. | |
| const suContact * | _contactNom |
| Nominal contact analysis. | |
| const suActuation * | _actuationNom |
| Nominal actuation analysis. | |
| double | _dt |
| Size of the integration time window. | |
| rdManager * | _manager |
| Perturbed simulation manager. | |
| suContact * | _contact |
| Perturbed contact analysis. | |
| int | _iLast |
| Last index at which the perturbed integration was computed. | |
| double * | _y |
| Local states array. | |
| double * | _fAct |
| Actuator forces. | |
| double * | _pctx |
| Local contact points array. | |
| double * | _fctx |
| Local contact forces array. | |
| suActuatorPerturbation * | _perturbCallback |
| Actuator perturbation callback instance. | |
| bool | _printWindow |
| Flag to indicate whether to print detailed integration window information. | |
Private Member Functions | |
| void | setNull () |
| Set member variables to approprate NULL values. | |
| void | constructManager () |
| Construct a perturbed simulation manager. | |
| void | constructContactAnalysis () |
| Construct a perturbed contact analysis. | |
| void | constructDescription () |
| Construct a description. | |
| void | updateStorageDescriptions () |
| Update storage descriptions. | |
| void | allocate () |
| Allocate memory. | |
|
||||||||||||||||||||||||||||
|
Construct an object for performing a reaction force decomposition analysis. The decomposition is performed using the perturbed integration method. It is critical that a twin or copy of the model used to conduct the nominal simulation be used to construct this decomposition analysis. If the nominal simulation model is used, this analysis may change the trajectory of the simulation because model states and contact setpoints are altered during the analysis.
|
|
|
Get the size of the integration window used to approximate the changes in the ground reaction force.
|
|
|
Get the force perturbation.
|
|
|
Get the force perturbation type.
|
|
|
Get wheter to print detailed information concerning the integration window.
|
|
|
Set the size of the integration window used to approximate the changes in the ground reaction force. The integration window must be greater than or equal to zero. If a negative value is sent in, the window is set to 0.0.
|
|
||||||||||||
|
Set the force perturbation.
|
|
|
Set wheter to print detailed information concerning the integration window.
|
1.3