Compute the value of a link forces.
- Parameters
-
[in] | Z | The distance (>0) between the extremities of the link force. |
[in] | Zd | The relative velocity between the extremities of the link force. A negative value means that the points get closer. |
[in] | s | The MbsData structure of the model on which the driven joint are computed. |
[in] | tsim | the current time of the simulation. |
[in] | ilnk | the ID identifying the computed link force. |
- Returns
- The value of the link force. A positive value is a repelling force. A negative force value is an attractive effect.