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

Public Member Functions | |
| rdGeneralizedForceAtv (int aQID=-1, int aNX=1, int aNY=1, int aNYP=0) | |
| Default constructor. | |
| rdGeneralizedForceAtv (IDOM_Element *aElement, int aNX=1, int aNY=1, int aNYP=0) | |
| Construct the actuator from an XML Element. | |
| rdGeneralizedForceAtv (const rdGeneralizedForceAtv &aActuator) | |
| Copy constructor. | |
| virtual | ~rdGeneralizedForceAtv () |
| Destructor. | |
| virtual rdActuator * | copy () const |
| Copy this actuator and return a pointer to the copy. | |
| virtual rdActuator * | copy (IDOM_Element *aElement) const |
| Copy this actuator and modify the copy so that it is consistent with a specified XML element node. | |
| rdGeneralizedForceAtv & | operator= (const rdGeneralizedForceAtv &aActuator) |
| Assignment operator. | |
| virtual void | setControls (const double aX[]) |
| Set the controls. | |
| virtual void | getControls (double rX[]) const |
| Get the controls. | |
| virtual void | setStates (const double aY[]) |
| Set the states. | |
| virtual void | getStates (double rY[]) const |
| Get the states. | |
| void | setOptimalForce (double aOptimalForce) |
| Set the optimal force of the actuator. | |
| double | getOptimalForce () const |
| Get the optimal force of the actuator. | |
| void | setRiseTime (double aRiseTime) |
| Set the rise time of the actuator. | |
| double | getRiseTime () const |
| Get the rise time of the actuator. | |
| void | setFallTime (double aFallTime) |
| Set the fall time of the actuator. | |
| double | getFallTime () const |
| Get the fall time of the actuator. | |
| virtual void | promoteControlsToStates (const double aX[], double aDT) |
| Set the activation level of this actuator equal to the neural excitation. | |
| virtual void | computeActuation () |
| Compute all quantities necessary for applying the actuator force to the model. | |
| virtual void | computeStateDerivatives (double rDYDT[]) |
| Compute the time derivatives of the states for this actuator. | |
| virtual void | updateObject (bool aDeep=true) |
| Update this object based on its XML node. | |
| virtual void | updateNode (bool aDeep=true) |
| Update the XML node representing this object. | |
| virtual void | generateNode (IDOM_Element *aParent) |
| Generate an XML node representing this object. | |
| void | updateData () |
| Update the member data of this object based on its XML node. | |
Protected Attributes | |
| double | _x |
| Excitation (control 0). | |
| double | _a |
| Activation level (state 0). | |
| double | _optimalForce |
| Optimal force. | |
| double | _riseTime |
| Rise time of activation. | |
| double | _fallTime |
| Fall time of activation. | |
Private Member Functions | |
| void | setNull () |
| Set the data members of this actuator to their null values. | |
| void | copyData (const rdGeneralizedForceAtv &aActuator) |
| Copy the member data of the specified actuator. | |
Static Private Attributes | |
| const char | PROP_OPTIMAL_FORCE [] = "optimal_force" |
| const char | PROP_RISE_TIME [] = "rise_time" |
| const char | PROP_FALL_TIME [] = "fall_time" |
It has 1 control (excitation) and 1 state (activation level).
Controls: 1) excitation
States: 1) activation level
|
||||||||||||||||||||
|
Construct the actuator from an XML Element.
|
|
|
Copy constructor.
|
|
|
Compute the time derivatives of the states for this actuator.
Reimplemented from rdActuator. |
|
|
Copy this actuator and modify the copy so that it is consistent with a specified XML element node. The copy is constructed by first using the contructor for the IDOM_Element in order to establish the relationship of the rdForce object with the XML node. Then, the assignment operator is used to set all data members of the copy to the values of this object. Finally, the data members of the copy are updated from the IDOM_Elment using updateObject().
Reimplemented from rdGeneralizedForce. |
|
|
Copy this actuator and return a pointer to the copy. The copy constructor for this class is used.
Reimplemented from rdGeneralizedForce. |
|
|
Generate an XML node representing this object.
Reimplemented from rdGeneralizedForce. |
|
|
Get the controls. This actuator has 1 control: excitation.
Reimplemented from rdGeneralizedForce. |
|
|
Get the fall time of the actuator.
|
|
|
Get the optimal force of the actuator.
|
|
|
Get the rise time of the actuator.
|
|
|
Get the states. This actuator has 1 state: activation.
Reimplemented from rdActuator. |
|
|
Assignment operator.
|
|
|
Set the controls. This actuator has 1 control: excitation.
Reimplemented from rdGeneralizedForce. |
|
|
Set the fall time of the actuator.
|
|
|
Set the optimal force of the actuator.
|
|
|
Set the rise time of the actuator.
|
|
|
Set the states. This actuator has 1 state: activation.
Reimplemented from rdActuator. |
|
|
Update the member data of this object based on its XML node. Member objects (children) are not updated. Reimplemented from rdGeneralizedForce. |
|
|
Update the XML node representing this object.
Reimplemented from rdGeneralizedForce. |
|
|
Update this object based on its XML node.
Reimplemented from rdGeneralizedForce. |
1.3