Biorbd Release_1.13.0
Loading...
Searching...
No Matches
HillThelenTypeFatigable.h
1#ifndef BIORBD_MUSCLES_HILL_THELEN_TYPE_FATIGABLE_H
2#define BIORBD_MUSCLES_HILL_THELEN_TYPE_FATIGABLE_H
3
4#include "biorbdConfig.h"
5
6#include "InternalForces/Muscles/FatigueModel.h"
7#include "InternalForces/Muscles/HillThelenType.h"
8
9namespace BIORBD_NAMESPACE {
10namespace utils {
11class String;
12}
13
14namespace internal_forces {
15namespace muscles {
16class MuscleGeometry;
23class BIORBD_API HillThelenTypeFatigable : public HillThelenType,
24 public FatigueModel {
25 public:
30
39 const utils::String& name,
40 const MuscleGeometry& geometry,
42 STATE_FATIGUE_TYPE dynamicFatigueType =
43 STATE_FATIGUE_TYPE::SIMPLE_STATE_FATIGUE);
44
54 const utils::String& name,
55 const MuscleGeometry& geometry,
57 const State& emg,
58 STATE_FATIGUE_TYPE dynamicFatigueType =
59 STATE_FATIGUE_TYPE::SIMPLE_STATE_FATIGUE);
60
70 const utils::String& name,
71 const MuscleGeometry& geometry,
73 const internal_forces::PathModifiers& pathModifiers,
74 STATE_FATIGUE_TYPE dynamicFatigueType =
75 STATE_FATIGUE_TYPE::SIMPLE_STATE_FATIGUE);
76
87 const utils::String& name,
88 const MuscleGeometry& geometry,
90 const internal_forces::PathModifiers& pathModifiers,
91 const State& emg,
92 STATE_FATIGUE_TYPE dynamicFatigueType =
93 STATE_FATIGUE_TYPE::SIMPLE_STATE_FATIGUE);
94
99 HillThelenTypeFatigable(const Muscle& other);
100
105 HillThelenTypeFatigable(const std::shared_ptr<Muscle> other);
106
112
118 void DeepCopy(const HillThelenTypeFatigable& other);
119
124 virtual void computeFlCE(const State& emg);
125
126 protected:
130 virtual void setType();
131};
132
133} // namespace muscles
134} // namespace internal_forces
135} // namespace BIORBD_NAMESPACE
136
137#endif // BIORBD_MUSCLES_HILL_THELEN_TYPE_FATIGABLE_H
const utils::String & name() const
Return the name of the muscle.
Definition Compound.cpp:48
Holder of all the path modifiers of a muscle.
FatigueModel(STATE_FATIGUE_TYPE dynamicFatigueType)
Contruct a fatigable muscle model.
virtual void computeFlCE(const State &emg)
Compute the Force-Length of the contractile element.
HillThelenTypeFatigable()
Contruct a Hill-Thelen-type fatigable muscle.
HillThelenTypeFatigable DeepCopy() const
Deep copy of a Hill-Thelen-type fatigable muscle.
Characteristics & characteristics() const
Return the muscle characteristics.
Definition Muscle.cpp:254
EMG holder to interact with the muscle.
Definition State.h:17
Wrapper around the std::string class with augmented functionality.
Definition String.h:18