Biorbd
Release_1.13.0
Toggle main menu visibility
Loading...
Searching...
No Matches
ActuatorGauss3p.h
1
#ifndef BIORBD_ACTUATORS_ACTUATOR_GAUSS_3P_H
2
#define BIORBD_ACTUATORS_ACTUATOR_GAUSS_3P_H
3
4
#include "biorbdConfig.h"
5
6
#include "InternalForces/Actuators/Actuator.h"
7
8
namespace
BIORBD_NAMESPACE {
9
namespace
rigidbody {
10
class
GeneralizedCoordinates
;
11
class
GeneralizedVelocity
;
12
}
// namespace rigidbody
13
14
namespace
internal_forces {
15
namespace
actuator {
16
22
class
BIORBD_API
ActuatorGauss3p
:
public
Actuator
{
23
public
:
27
ActuatorGauss3p
();
28
33
ActuatorGauss3p
(
const
ActuatorGauss3p
& other);
34
50
ActuatorGauss3p
(
51
int
direction
,
52
const
utils::Scalar& Tmax,
53
const
utils::Scalar& T0,
54
const
utils::Scalar& wmax,
55
const
utils::Scalar& wc,
56
const
utils::Scalar& amin,
57
const
utils::Scalar& wr,
58
const
utils::Scalar& w1,
59
const
utils::Scalar& r,
60
const
utils::Scalar& qopt,
61
size_t
dofIdx);
62
79
ActuatorGauss3p
(
80
int
direction
,
81
const
utils::Scalar& Tmax,
82
const
utils::Scalar& T0,
83
const
utils::Scalar& wmax,
84
const
utils::Scalar& wc,
85
const
utils::Scalar& amin,
86
const
utils::Scalar& wr,
87
const
utils::Scalar& w1,
88
const
utils::Scalar& r,
89
const
utils::Scalar& qopt,
90
size_t
dofIdx,
91
const
utils::String
& jointName);
92
96
virtual
~ActuatorGauss3p
();
97
102
ActuatorGauss3p
DeepCopy
()
const
;
103
108
void
DeepCopy
(
const
ActuatorGauss3p
& other);
109
115
virtual
utils::Scalar
torqueMax
();
116
123
virtual
utils::Scalar
torqueMax
(
124
const
rigidbody::GeneralizedCoordinates
& Q,
125
const
rigidbody::GeneralizedVelocity
& Qdot);
126
127
protected
:
131
virtual
void
setType
();
132
133
// For informations on these parameters, see Monique Iris Jackson's these from
134
// page 54 Angular/velocity relationship
135
std::shared_ptr<utils::Scalar>
136
m_k
;
137
std::shared_ptr<utils::Scalar>
138
m_Tmax
;
139
std::shared_ptr<utils::Scalar>
m_T0
;
140
std::shared_ptr<utils::Scalar>
m_wmax
;
142
std::shared_ptr<utils::Scalar>
143
m_wc
;
145
146
// Activation/velocity relationship
147
std::shared_ptr<utils::Scalar>
148
m_amax
;
149
std::shared_ptr<utils::Scalar>
m_amin
;
150
std::shared_ptr<utils::Scalar>
m_wr
;
151
std::shared_ptr<utils::Scalar>
m_w1
;
152
153
// Torque/angle relationship
154
std::shared_ptr<utils::Scalar>
m_r
;
155
std::shared_ptr<utils::Scalar>
m_qopt
;
156
};
157
158
}
// namespace actuator
159
}
// namespace internal_forces
160
}
// namespace BIORBD_NAMESPACE
161
162
#endif
// BIORBD_ACTUATORS_ACTUATOR_GAUSS_3P_H
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::m_w1
std::shared_ptr< utils::Scalar > m_w1
Mid point plateau.
Definition
ActuatorGauss3p.h:151
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::m_wmax
std::shared_ptr< utils::Scalar > m_wmax
Definition
ActuatorGauss3p.h:140
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::m_amax
std::shared_ptr< utils::Scalar > m_amax
Maximum activation level (set to 1).
Definition
ActuatorGauss3p.h:148
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::torqueMax
virtual utils::Scalar torqueMax()
Return the maximal torque (invalid).
Definition
ActuatorGauss3p.cpp:125
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::DeepCopy
ActuatorGauss3p DeepCopy() const
Deep copy of the Gauss3p actuator.
Definition
ActuatorGauss3p.cpp:103
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::setType
virtual void setType()
Set the type of actuator.
Definition
ActuatorGauss3p.cpp:170
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::m_Tmax
std::shared_ptr< utils::Scalar > m_Tmax
Maximum torque in the eccentric phase.
Definition
ActuatorGauss3p.h:138
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::m_wc
std::shared_ptr< utils::Scalar > m_wc
Definition
ActuatorGauss3p.h:143
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::m_k
std::shared_ptr< utils::Scalar > m_k
Ratio of slope of the eccentric and concentric phases.
Definition
ActuatorGauss3p.h:136
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::m_wr
std::shared_ptr< utils::Scalar > m_wr
1/10 de la distance amax/amin
Definition
ActuatorGauss3p.h:150
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::m_r
std::shared_ptr< utils::Scalar > m_r
Width of the gaussian curve.
Definition
ActuatorGauss3p.h:154
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::ActuatorGauss3p
ActuatorGauss3p()
Construct Gauss3p actuator.
Definition
ActuatorGauss3p.cpp:14
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::m_amin
std::shared_ptr< utils::Scalar > m_amin
Low plateau level.
Definition
ActuatorGauss3p.h:149
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::m_T0
std::shared_ptr< utils::Scalar > m_T0
Maximum torque isometric.
Definition
ActuatorGauss3p.h:139
BIORBD_NAMESPACE::internal_forces::actuator::ActuatorGauss3p::m_qopt
std::shared_ptr< utils::Scalar > m_qopt
Optimal position.
Definition
ActuatorGauss3p.h:155
BIORBD_NAMESPACE::internal_forces::actuator::Actuator::direction
int direction() const
Return the direction of the actuator.
Definition
Actuator.cpp:58
BIORBD_NAMESPACE::internal_forces::actuator::Actuator::Actuator
Actuator()
Construct actuator.
Definition
Actuator.cpp:9
BIORBD_NAMESPACE::rigidbody::GeneralizedCoordinates
Class GeneralizedCoordinates.
Definition
GeneralizedCoordinates.h:15
BIORBD_NAMESPACE::rigidbody::GeneralizedVelocity
Class GeneralizedVelocity.
Definition
GeneralizedVelocity.h:15
BIORBD_NAMESPACE::utils::String
Wrapper around the std::string class with augmented functionality.
Definition
String.h:18
include
InternalForces
Actuators
ActuatorGauss3p.h
Generated by
1.18.0