|
Biorbd Release_1.13.0
|
Class Holds that muscle characteristics. More...
#include <Characteristics.h>
Public Member Functions | |
| Characteristics () | |
| Construct characteristics. | |
| Characteristics (const Characteristics &other) | |
| Construct characteristics from other characteristics. | |
| Characteristics (const utils::Scalar &optLength, const utils::Scalar &fmax, const utils::Scalar &PCSA, const utils::Scalar &tendonSlackLength, const utils::Scalar &pennAngle, const State &emgMax, const FatigueParameters &fatigueParameters, bool useDamping=false, const utils::Scalar &maxShorteningSpeed=10.0, const utils::Scalar &torqueAct=0.01, const utils::Scalar &torqueDeact=0.04, const utils::Scalar &minAct=0.01) | |
| Construct characteristics. | |
| virtual | ~Characteristics () |
| Destroy the class properly. | |
| Characteristics | DeepCopy () const |
| Deep copy of characteristics. | |
| void | DeepCopy (const Characteristics &other) |
| Deep copy of characteristics from another characteristics. | |
| void | setOptimalLength (const utils::Scalar &val) |
| Set the length without tension. | |
| virtual const utils::Scalar & | optimalLength () const |
| Return the optimal length at which maximal force occurs. | |
| virtual void | setForceIsoMax (const utils::Scalar &val) |
| Set the maximal isometric force. | |
| const utils::Scalar & | forceIsoMax () const |
| Return the maximal isometric force at optimal length. | |
| void | setTendonSlackLength (const utils::Scalar &val) |
| Set the tendon slack length. | |
| const utils::Scalar & | tendonSlackLength () const |
| Return the tendon slack length. | |
| void | setPennationAngle (const utils::Scalar &val) |
| Set the angle of pennation. | |
| const utils::Scalar & | pennationAngle () const |
| Return the angle of pennation. | |
| void | setPCSA (const utils::Scalar &val) |
| Set the physiological cross-sectional area of the muscle. | |
| const utils::Scalar & | PCSA () const |
| Return the physiological cross-sectional area of the muscle. | |
| void | setMinActivation (const utils::Scalar &val) |
| Set the minimal activation of the muscle. | |
| const utils::Scalar & | minActivation () const |
| Return the minimal activation of the muscle. | |
| void | setMaxShorteningSpeed (const utils::Scalar &val) |
| Set the maximal velocity of shortening. | |
| const utils::Scalar & | maxShorteningSpeed () const |
| Return the maximal velocity of shortening. | |
| void | setTorqueActivation (const utils::Scalar &val) |
| Set the time activation constant. | |
| const utils::Scalar & | torqueActivation () const |
| Return the time activation constant. | |
| void | setTorqueDeactivation (const utils::Scalar &val) |
| Set the time deactivation constant. | |
| const utils::Scalar & | torqueDeactivation () const |
| Return the time deactivation constant. | |
| void | setStateMax (const State &emgMax) |
| Set the maximal excitation and activation of the muscle. | |
| const State & | stateMax () const |
| Return the maximal excitation and activation of the muscle. | |
| void | setFatigueParameters (const FatigueParameters &fatigueParameters) |
| Set the fatigue parameters. | |
| const FatigueParameters & | fatigueParameters () const |
| Return the fatigue parameters. | |
| void | setUseDamping (bool val) |
| Choose if use damping for muscle force computation. | |
| bool | useDamping () const |
| Return 1 if use damping for muscle computation. | |
Protected Attributes | |
| std::shared_ptr< utils::Scalar > | m_optimalLength |
| Length without tension. | |
| std::shared_ptr< utils::Scalar > | m_fIsoMax |
| Maximal isometric force. | |
| std::shared_ptr< utils::Scalar > | m_PCSA |
| Physiological cross-sectional area of the muscle. | |
| std::shared_ptr< utils::Scalar > | m_tendonSlackLength |
| Tendon slack length. | |
| std::shared_ptr< utils::Scalar > | m_pennationAngle |
| Angle of pennation. | |
| std::shared_ptr< bool > | m_useDamping |
| Use damping for muscle force from activation. | |
| std::shared_ptr< State > | m_stateMax |
| Maximal excitation et activation of the muscle. | |
| std::shared_ptr< utils::Scalar > | m_maxShorteningSpeed |
| Maximal velocity of shortening. | |
| std::shared_ptr< utils::Scalar > | m_minActivation |
| Minimal activation. | |
| std::shared_ptr< utils::Scalar > | m_torqueActivation |
| Time activation constant. | |
| std::shared_ptr< utils::Scalar > | m_torqueDeactivation |
| Time deactivation constant. | |
| std::shared_ptr< FatigueParameters > | m_fatigueParameters |
| Fatigue parameters. | |
Class Holds that muscle characteristics.
Definition at line 19 of file Characteristics.h.
| internal_forces::muscles::Characteristics::Characteristics | ( | ) |
Construct characteristics.
Definition at line 9 of file Characteristics.cpp.
| internal_forces::muscles::Characteristics::Characteristics | ( | const Characteristics & | other | ) |
Construct characteristics from other characteristics.
| other | The other characteristics |
Definition at line 27 of file Characteristics.cpp.
| internal_forces::muscles::Characteristics::Characteristics | ( | const utils::Scalar & | optLength, |
| const utils::Scalar & | fmax, | ||
| const utils::Scalar & | PCSA, | ||
| const utils::Scalar & | tendonSlackLength, | ||
| const utils::Scalar & | pennAngle, | ||
| const State & | emgMax, | ||
| const FatigueParameters & | fatigueParameters, | ||
| bool | useDamping = false, | ||
| const utils::Scalar & | maxShorteningSpeed = 10.0, | ||
| const utils::Scalar & | torqueAct = 0.01, | ||
| const utils::Scalar & | torqueDeact = 0.04, | ||
| const utils::Scalar & | minAct = 0.01 ) |
Construct characteristics.
| optLength | Optimal length (where maximal force occurs) |
| fmax | The maximal isometric force at optimal length |
| PCSA | Physiological cross-sectional area of the muscle |
| tendonSlackLength | The tendon slack length |
| pennAngle | The angle of pennation |
| emgMax | Maximal excitation and activation of the muscle |
| fatigueParameters | The fatigue model |
| torqueAct | Time activation constant (default: 0.01) |
| torqueDeact | Time deactivation constant (default: 0.04) |
| minAct | Minimal activation (default: 0.01) |
| useDamping | Use damping (default: false) |
| maxShorteningSpeed | Maximal velocity of shortening (default: 10.0) |
Definition at line 42 of file Characteristics.cpp.
|
virtual |
Destroy the class properly.
Definition at line 71 of file Characteristics.cpp.
| internal_forces::muscles::Characteristics internal_forces::muscles::Characteristics::DeepCopy | ( | ) | const |
Deep copy of characteristics.
Definition at line 74 of file Characteristics.cpp.
| void internal_forces::muscles::Characteristics::DeepCopy | ( | const Characteristics & | other | ) |
Deep copy of characteristics from another characteristics.
| other | The characteristics to copy from |
Definition at line 80 of file Characteristics.cpp.
| const internal_forces::muscles::FatigueParameters & internal_forces::muscles::Characteristics::fatigueParameters | ( | ) | const |
Return the fatigue parameters.
Definition at line 192 of file Characteristics.cpp.
| const utils::Scalar & internal_forces::muscles::Characteristics::forceIsoMax | ( | ) | const |
Return the maximal isometric force at optimal length.
Definition at line 110 of file Characteristics.cpp.
| const utils::Scalar & internal_forces::muscles::Characteristics::maxShorteningSpeed | ( | ) | const |
Return the maximal velocity of shortening.
Definition at line 156 of file Characteristics.cpp.
| const utils::Scalar & internal_forces::muscles::Characteristics::minActivation | ( | ) | const |
Return the minimal activation of the muscle.
Definition at line 145 of file Characteristics.cpp.
|
virtual |
Return the optimal length at which maximal force occurs.
Definition at line 101 of file Characteristics.cpp.
| const utils::Scalar & internal_forces::muscles::Characteristics::PCSA | ( | ) | const |
Return the physiological cross-sectional area of the muscle.
Definition at line 137 of file Characteristics.cpp.
| const utils::Scalar & internal_forces::muscles::Characteristics::pennationAngle | ( | ) | const |
Return the angle of pennation.
Definition at line 128 of file Characteristics.cpp.
| void internal_forces::muscles::Characteristics::setFatigueParameters | ( | const FatigueParameters & | fatigueParameters | ) |
Set the fatigue parameters.
| fatigueParameters | The values of the fatigue parameters |
Definition at line 187 of file Characteristics.cpp.
|
virtual |
Set the maximal isometric force.
| val | Value of the maximal isometric force |
Definition at line 106 of file Characteristics.cpp.
| void internal_forces::muscles::Characteristics::setMaxShorteningSpeed | ( | const utils::Scalar & | val | ) |
Set the maximal velocity of shortening.
| val | The value of the maximal velocity of shortening |
Definition at line 150 of file Characteristics.cpp.
| void internal_forces::muscles::Characteristics::setMinActivation | ( | const utils::Scalar & | val | ) |
Set the minimal activation of the muscle.
| val | The value of the minimal activation of the muscle |
Definition at line 141 of file Characteristics.cpp.
| void internal_forces::muscles::Characteristics::setOptimalLength | ( | const utils::Scalar & | val | ) |
Set the length without tension.
| val | Value of the length without tension |
Definition at line 97 of file Characteristics.cpp.
| void internal_forces::muscles::Characteristics::setPCSA | ( | const utils::Scalar & | val | ) |
Set the physiological cross-sectional area of the muscle.
| val | Value of the physiological cross-sectional area of the muscle |
Definition at line 133 of file Characteristics.cpp.
| void internal_forces::muscles::Characteristics::setPennationAngle | ( | const utils::Scalar & | val | ) |
Set the angle of pennation.
| val | Value of the angle of pennation |
Definition at line 124 of file Characteristics.cpp.
| void internal_forces::muscles::Characteristics::setStateMax | ( | const State & | emgMax | ) |
Set the maximal excitation and activation of the muscle.
| emgMax | Value of the maximal excitation and activation of the muscle |
Definition at line 178 of file Characteristics.cpp.
| void internal_forces::muscles::Characteristics::setTendonSlackLength | ( | const utils::Scalar & | val | ) |
Set the tendon slack length.
| val | Value of the tendon slack length |
Definition at line 115 of file Characteristics.cpp.
| void internal_forces::muscles::Characteristics::setTorqueActivation | ( | const utils::Scalar & | val | ) |
Set the time activation constant.
| val | The value of the time activation constant |
Definition at line 160 of file Characteristics.cpp.
| void internal_forces::muscles::Characteristics::setTorqueDeactivation | ( | const utils::Scalar & | val | ) |
Set the time deactivation constant.
| val | The value of the time deactivation constant |
Definition at line 169 of file Characteristics.cpp.
| void internal_forces::muscles::Characteristics::setUseDamping | ( | bool | val | ) |
Choose if use damping for muscle force computation.
| val | 0 to not use damping |
Definition at line 196 of file Characteristics.cpp.
| const internal_forces::muscles::State & internal_forces::muscles::Characteristics::stateMax | ( | ) | const |
Return the maximal excitation and activation of the muscle.
Definition at line 183 of file Characteristics.cpp.
| const utils::Scalar & internal_forces::muscles::Characteristics::tendonSlackLength | ( | ) | const |
Return the tendon slack length.
Definition at line 120 of file Characteristics.cpp.
| const utils::Scalar & internal_forces::muscles::Characteristics::torqueActivation | ( | ) | const |
Return the time activation constant.
Definition at line 165 of file Characteristics.cpp.
| const utils::Scalar & internal_forces::muscles::Characteristics::torqueDeactivation | ( | ) | const |
Return the time deactivation constant.
Definition at line 174 of file Characteristics.cpp.
| bool internal_forces::muscles::Characteristics::useDamping | ( | ) | const |
Return 1 if use damping for muscle computation.
Definition at line 199 of file Characteristics.cpp.
|
protected |
Fatigue parameters.
Definition at line 243 of file Characteristics.h.
|
protected |
Maximal isometric force.
Definition at line 221 of file Characteristics.h.
|
protected |
Maximal velocity of shortening.
Definition at line 232 of file Characteristics.h.
|
protected |
Minimal activation.
Definition at line 235 of file Characteristics.h.
|
protected |
Length without tension.
Definition at line 220 of file Characteristics.h.
|
protected |
Physiological cross-sectional area of the muscle.
Definition at line 223 of file Characteristics.h.
|
protected |
Angle of pennation.
Definition at line 225 of file Characteristics.h.
|
protected |
Maximal excitation et activation of the muscle.
Definition at line 229 of file Characteristics.h.
|
protected |
Tendon slack length.
Definition at line 224 of file Characteristics.h.
|
protected |
Time activation constant.
Definition at line 237 of file Characteristics.h.
|
protected |
Time deactivation constant.
Definition at line 239 of file Characteristics.h.
|
protected |
Use damping for muscle force from activation.
Definition at line 227 of file Characteristics.h.