Biorbd Release_1.13.0
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
8namespace BIORBD_NAMESPACE {
9namespace rigidbody {
12} // namespace rigidbody
13
14namespace internal_forces {
15namespace actuator {
16
22class BIORBD_API ActuatorGauss3p : public Actuator {
23 public:
28
33 ActuatorGauss3p(const ActuatorGauss3p& other);
34
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
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
103
108 void DeepCopy(const ActuatorGauss3p& other);
109
115 virtual utils::Scalar torqueMax();
116
123 virtual utils::Scalar torqueMax(
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>
137 std::shared_ptr<utils::Scalar>
139 std::shared_ptr<utils::Scalar> m_T0;
140 std::shared_ptr<utils::Scalar> m_wmax;
142 std::shared_ptr<utils::Scalar>
145
146 // Activation/velocity relationship
147 std::shared_ptr<utils::Scalar>
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
std::shared_ptr< utils::Scalar > m_w1
Mid point plateau.
std::shared_ptr< utils::Scalar > m_amax
Maximum activation level (set to 1).
virtual utils::Scalar torqueMax()
Return the maximal torque (invalid).
ActuatorGauss3p DeepCopy() const
Deep copy of the Gauss3p actuator.
std::shared_ptr< utils::Scalar > m_Tmax
Maximum torque in the eccentric phase.
std::shared_ptr< utils::Scalar > m_k
Ratio of slope of the eccentric and concentric phases.
std::shared_ptr< utils::Scalar > m_wr
1/10 de la distance amax/amin
std::shared_ptr< utils::Scalar > m_r
Width of the gaussian curve.
std::shared_ptr< utils::Scalar > m_amin
Low plateau level.
std::shared_ptr< utils::Scalar > m_T0
Maximum torque isometric.
std::shared_ptr< utils::Scalar > m_qopt
Optimal position.
int direction() const
Return the direction of the actuator.
Definition Actuator.cpp:58
Wrapper around the std::string class with augmented functionality.
Definition String.h:18