Biorbd
Release_1.13.0
Toggle main menu visibility
Loading...
Searching...
No Matches
IdealizedActuator.h
1
#ifndef BIORBD_MUSCLES_IDEALIZED_ACTUATOR_H
2
#define BIORBD_MUSCLES_IDEALIZED_ACTUATOR_H
3
4
#include "biorbdConfig.h"
5
6
#include "InternalForces/Muscles/Muscle.h"
7
8
namespace
BIORBD_NAMESPACE {
9
namespace
internal_forces {
10
namespace
muscles {
11
15
class
BIORBD_API
IdealizedActuator
:
public
Muscle
{
16
public
:
20
IdealizedActuator
();
21
28
IdealizedActuator
(
29
const
utils::String
&
name
,
30
const
MuscleGeometry
& geometry,
31
const
Characteristics
&
characteristics
);
32
40
IdealizedActuator
(
41
const
utils::String
&
name
,
42
const
MuscleGeometry
& geometry,
43
const
Characteristics
&
characteristics
,
44
const
State
& emg);
45
53
IdealizedActuator
(
54
const
utils::String
&
name
,
55
const
MuscleGeometry
& geometry,
56
const
Characteristics
&
characteristics
,
57
const
internal_forces::PathModifiers
& pathModifiers);
58
67
IdealizedActuator
(
68
const
utils::String
&
name
,
69
const
MuscleGeometry
& geometry,
70
const
Characteristics
&
characteristics
,
71
const
internal_forces::PathModifiers
& pathModifiers,
72
const
State
& emg);
73
78
IdealizedActuator
(
const
Muscle
& other);
79
84
IdealizedActuator
(
const
std::shared_ptr<Muscle> other);
85
90
IdealizedActuator
DeepCopy
()
const
;
91
96
void
DeepCopy
(
const
IdealizedActuator
& other);
97
103
virtual
const
utils::Scalar&
force
(
const
State
& emg);
104
115
virtual
const
utils::Scalar&
force
(
116
rigidbody::Joints
& model,
117
const
rigidbody::GeneralizedCoordinates
& Q,
118
const
rigidbody::GeneralizedVelocity
& Qdot,
119
const
State
& emg,
120
bool
updateMuscleParameters =
true
);
121
131
virtual
const
utils::Scalar&
force
(
132
rigidbody::Joints
& model,
133
const
rigidbody::GeneralizedCoordinates
& Q,
134
const
State
& emg,
135
bool
updateMuscleParameters =
true
);
136
137
protected
:
143
virtual
utils::Scalar
getForceFromActivation
(
const
State
& emg);
144
148
virtual
void
setType
();
149
};
150
151
}
// namespace muscles
152
}
// namespace internal_forces
153
}
// namespace BIORBD_NAMESPACE
154
155
#endif
// BIORBD_MUSCLES_IDEALIZED_ACTUATOR_H
BIORBD_NAMESPACE::internal_forces::Compound::name
const utils::String & name() const
Return the name of the muscle.
Definition
Compound.cpp:48
BIORBD_NAMESPACE::internal_forces::PathModifiers
Holder of all the path modifiers of a muscle.
Definition
PathModifiers.h:18
BIORBD_NAMESPACE::internal_forces::muscles::Characteristics
Class Holds that muscle characteristics.
Definition
Characteristics.h:19
BIORBD_NAMESPACE::internal_forces::muscles::IdealizedActuator::DeepCopy
IdealizedActuator DeepCopy() const
Deep copy of an idealized actuator.
Definition
IdealizedActuator.cpp:69
BIORBD_NAMESPACE::internal_forces::muscles::IdealizedActuator::getForceFromActivation
virtual utils::Scalar getForceFromActivation(const State &emg)
Function allowing modification of the way the multiplication is done in computeForce(EMG).
Definition
IdealizedActuator.cpp:106
BIORBD_NAMESPACE::internal_forces::muscles::IdealizedActuator::IdealizedActuator
IdealizedActuator()
Contruct an idealized actuator.
Definition
IdealizedActuator.cpp:10
BIORBD_NAMESPACE::internal_forces::muscles::IdealizedActuator::setType
virtual void setType()
Set the type to Idealized_actuator.
Definition
IdealizedActuator.cpp:111
BIORBD_NAMESPACE::internal_forces::muscles::IdealizedActuator::force
virtual const utils::Scalar & force(const State &emg)
Return the force.
Definition
IdealizedActuator.cpp:80
BIORBD_NAMESPACE::internal_forces::muscles::MuscleGeometry
Class muscle geometry of the muscle.
Definition
MuscleGeometry.h:34
BIORBD_NAMESPACE::internal_forces::muscles::Muscle::characteristics
Characteristics & characteristics() const
Return the muscle characteristics.
Definition
Muscle.cpp:254
BIORBD_NAMESPACE::internal_forces::muscles::Muscle::Muscle
Muscle()
Construct a muscle.
Definition
Muscle.cpp:19
BIORBD_NAMESPACE::internal_forces::muscles::State
EMG holder to interact with the muscle.
Definition
State.h:17
BIORBD_NAMESPACE::rigidbody::GeneralizedCoordinates
Class GeneralizedCoordinates.
Definition
GeneralizedCoordinates.h:15
BIORBD_NAMESPACE::rigidbody::GeneralizedVelocity
Class GeneralizedVelocity.
Definition
GeneralizedVelocity.h:15
BIORBD_NAMESPACE::rigidbody::Joints
This is the core of the musculoskeletal model in biorbd.
Definition
Joints.h:48
BIORBD_NAMESPACE::utils::String
Wrapper around the std::string class with augmented functionality.
Definition
String.h:18
include
InternalForces
Muscles
IdealizedActuator.h
Generated by
1.18.0