10 #ifndef __SOT_GAIN_ADAPTATIVE_HH__ 11 #define __SOT_GAIN_ADAPTATIVE_HH__ 22 #include <dynamic-graph/entity.h> 29 #if defined(gain_adaptive_EXPORTS) 30 #define SOTGAINADAPTATIVE_EXPORT __declspec(dllexport) 32 #define SOTGAINADAPTATIVE_EXPORT __declspec(dllimport) 35 #define SOTGAINADAPTATIVE_EXPORT 62 virtual void display(std::ostream &os)
const;
63 virtual const std::string &
getClassName(
void)
const {
return CLASS_NAME; }
76 const double &valueAtInfty,
const double &tanAt0);
79 inline void init(
void) {
init(ZERO_DEFAULT, INFTY_DEFAULT, TAN_DEFAULT); }
80 inline void init(
const double &lambda) {
init(lambda, lambda, 1.); }
81 void init(
const double &valueAt0,
const double &valueAtInfty,
82 const double &tanAt0);
113 void initFromPassingPoint(
const double &valueAt0,
const double &valueAtInfty,
114 const double &errorReference,
115 const double &percentage);
116 void forceConstant(
void);
123 double &computeGain(
double &res,
int t);
132 #endif // #ifndef __SOT_GAIN_ADAPTATIVE_HH__ #define SOTGAINADAPTATIVE_EXPORT
void init(const double &lambda)
static const double TAN_DEFAULT
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > errorSIN
dynamicgraph::SignalTimeDependent< double, int > gainSOUT
static const double INFTY_DEFAULT
virtual const std::string & getClassName(void) const
static const double ZERO_DEFAULT
void init(bool compute_local_aabb=true)
static const std::string CLASS_NAME
void addCommands(boost::python::object obj)