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

Public Member Functions | |
| suUTWalkGenFrc () | |
| Default constructor. | |
| virtual | ~suUTWalkGenFrc () |
| Destructor. | |
| virtual void | computeActuation () |
| Bring all quantities associate with actuting the model to a valid internal state. | |
| virtual void | applyActuatorForce (int aI) |
| Apply a particular actuator force to the model. | |
| virtual void | applyActuatorForces () |
| Apply all actuator forces to the model. | |
| virtual void | setActuatorForce (int aID, double aForce) |
| Set the magnitude of force experted by a particular actuator. | |
| virtual double | getActuatorForce (int aID) const |
| Get the magnitude of force experted by a particular actuator. | |
| virtual double | getActuatorSpeed (int aID) const |
| Get the speed at which a particular actuator force is applied. | |
| virtual double | getActuatorPower (int aID) const |
| Get the power delivered or absorbed by a particular actuator. | |
| virtual int | deriv (double t, double *xt, double *y, double *dy) |
| Compute the derivatives of the states. | |
| virtual int | deriv (double t, double *xt, double *y, double *dqdt, double *dudt) |
| Compute the derivatives of the states. | |
| virtual void | integBeginCallback (int i, double dt, double t, double *x, double *y, void *cd=NULL) |
| Take care of any initializations needed before an integration. | |
| virtual void | integStepCallback (double *xPrev, double *yPrev, int i, double dt, double t, double *x, double *y, void *cd=NULL) |
| After each integration step, update the horizontal spring zeros and draw the model. | |
Static Public Attributes | |
| const int | NX = suUTWalkGenFrc_NX |
| const int | NA = suUTWalkGenFrc_NA |
| const int | NY = suUTWalkGenFrc_NY |
| const int | NS = suUTWalkGenFrc_NS |
Protected Member Functions | |
| void | setNull () |
| Set NULL values for all member variables. | |
| void | constructNames () |
| Construct the names of the various components of the model. | |
Private Attributes | |
| double * | _f |
walking model altered so that it is driven by generalized forces: 3 forces and 3 torques on the pelvis and moments at all the joints. The foot-ground contact model is the same.
|
|
Apply a particular actuator force to the model.
Reimplemented from rdUTWalking8. |
|
|
Apply all actuator forces to the model. Actuator forces include muscle forces and ligament torques. Reimplemented from rdUTWalking8. |
|
|
Bring all quantities associate with actuting the model to a valid internal state. This method simply sets the actuator forces to the values of the controls. Reimplemented from rdUTWalking8. |
|
||||||||||||||||||||||||
|
Compute the derivatives of the states. Note that the derivatives are returned with respect to real time not normalized time. Reimplemented from rdUTWalking8. |
|
|
Get the magnitude of force experted by a particular actuator. For the returned information to be valid, computeActuation() must be called prior to calling this method.
Reimplemented from rdUTWalking8. |
|
|
Get the power delivered or absorbed by a particular actuator. A positive power means the actuator is doing work on the model; negative power means that the actuator is absorbing energy from the model. For the returned information to be valid, computeActuation() must be called prior to calling this method.
Reimplemented from rdUTWalking8. |
|
|
Get the speed at which a particular actuator force is applied. For the returned information to be valid, computeActuation() must be called prior to calling this method.
Reimplemented from rdUTWalking8. |
|
||||||||||||
|
Set the magnitude of force experted by a particular actuator.
Reimplemented from rdUTWalking8. |
1.3