Go to the documentation of this file.
34 #define __SOT_GAIN_HYPERBOLIC_INIT \
35 Entity(name), coeff_a(0), coeff_b(0), coeff_c(0), coeff_d(0), \
36 errorSIN(NULL, "sotGainHyperbolic(" + name + ")::input(vector)::error"), \
37 gainSOUT(boost::bind(&GainHyperbolic::computeGain, this, _1, _2), \
39 "sotGainHyperbolic(" + name + ")::output(double)::gain")
43 sotDEBUG(15) <<
"New gain <" <<
name <<
">" << std::endl;
55 const double &valueAtInfty,
const double &tanAt0,
58 init(valueAt0, valueAtInfty, tanAt0, decal0);
63 const double &tanAt0,
const double &decal0) {
64 coeff_a = valueAt0 - valueAtInfty;
83 os <<
"Gain Hyperbolic " <<
getName();
99 const double norm = error.norm();
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > errorSIN
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(FeaturePosture, "FeaturePosture")
const std::string & getName() const
static const double ZERO_DEFAULT
static const double TAN_DEFAULT
#define sotDEBUGOUT(level)
#define sotDEBUGIN(level)
virtual void display(std::ostream &os) const
double & computeGain(double &res, sigtime_t t)
dynamicgraph::SignalTimeDependent< double, sigtime_t > gainSOUT
#define __SOT_GAIN_HYPERBOLIC_INIT
Hyperbolic gain. It follows the law.
void signalRegistration(const SignalArray< sigtime_t > &signals)
GainHyperbolic(const std::string &name)
static const double INFTY_DEFAULT
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31