10 #ifndef __SOT_GAIN_HYPERBOLIC_HH__ 11 #define __SOT_GAIN_HYPERBOLIC_HH__ 22 #include <dynamic-graph/entity.h> 29 #if defined(gain_hyperbolic_EXPORTS) 30 #define SOTGAINHYPERBOLIC_EXPORT __declspec(dllexport) 32 #define SOTGAINHYPERBOLIC_EXPORT __declspec(dllimport) 35 #define SOTGAINHYPERBOLIC_EXPORT 62 virtual void display(std::ostream &os)
const;
63 virtual const std::string &
getClassName(
void)
const {
return CLASS_NAME; }
77 const double &valueAtInfty,
const double &tanAt0,
78 const double &decal0);
81 inline void init(
void) {
init(ZERO_DEFAULT, INFTY_DEFAULT, TAN_DEFAULT, 0); }
82 inline void init(
const double &lambda) {
init(lambda, lambda, 1., 0); }
89 void init(
const double &valueAt0,
const double &valueAtInfty,
90 const double &tanAt0,
const double &decal0);
91 void forceConstant(
void);
98 double &computeGain(
double &res,
int t);
104 #endif // #ifndef __SOT_GAIN_HYPERBOLIC_HH__
static const std::string CLASS_NAME
void init(const double &lambda)
static const double ZERO_DEFAULT
static const double TAN_DEFAULT
virtual const std::string & getClassName(void) const
dynamicgraph::SignalTimeDependent< double, int > gainSOUT
#define SOTGAINHYPERBOLIC_EXPORT
Hyperbolic gain. It follows the law The default coefficients are:
static const double INFTY_DEFAULT
void init(bool compute_local_aabb=true)
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > errorSIN