Hyperbolic gain. It follows the law. More...
#include <gain-hyperbolic.hh>
Public Member Functions | |
virtual void | display (std::ostream &os) const |
void | forceConstant (void) |
GainHyperbolic (const std::string &name) | |
GainHyperbolic (const std::string &name, const double &lambda) | |
GainHyperbolic (const std::string &name, const double &valueAt0, const double &valueAtInfty, const double &tanAt0, const double &decal0) | |
virtual const std::string & | getClassName (void) const |
void | init (const double &lambda) |
void | init (const double &valueAt0, const double &valueAtInfty, const double &tanAt0, const double &decal0) |
void | init (void) |
Public Member Functions inherited from dynamicgraph::Entity | |
std::ostream & | displaySignalList (std::ostream &os) const |
Entity (const std::string &name) | |
const std::string & | getCommandList () const |
virtual std::string | getDocString () const |
LoggerVerbosity | getLoggerVerbosityLevel () |
LoggerVerbosity | getLoggerVerbosityLevel () |
const std::string & | getName () const |
command::Command * | getNewStyleCommand (const std::string &cmdName) |
CommandMap_t | getNewStyleCommandMap () |
SignalBase< sigtime_t > & | getSignal (const std::string &signalName) |
const SignalBase< sigtime_t > & | getSignal (const std::string &signalName) const |
SignalMap | getSignalMap () const |
double | getStreamPrintPeriod () |
double | getStreamPrintPeriod () |
double | getTimeSample () |
double | getTimeSample () |
bool | hasSignal (const std::string &signame) const |
Logger & | logger () |
Logger & | logger () |
const Logger & | logger () const |
const Logger & | logger () const |
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") |
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") |
void | setLoggerVerbosityLevel (LoggerVerbosity lv) |
void | setLoggerVerbosityLevel (LoggerVerbosity lv) |
bool | setStreamPrintPeriod (double t) |
bool | setStreamPrintPeriod (double t) |
bool | setTimeSample (double t) |
bool | setTimeSample (double t) |
virtual SignalBase< sigtime_t > * | test () |
virtual void | test2 (SignalBase< sigtime_t > *) |
virtual std::ostream & | writeCompletionList (std::ostream &os) const |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual | ~Entity () |
Public Attributes | |
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > | errorSIN |
dynamicgraph::SignalTimeDependent< double, sigtime_t > | gainSOUT |
Static Public Attributes | |
static const std::string | CLASS_NAME |
static const double | INFTY_DEFAULT = .1 |
static const double | TAN_DEFAULT = 1 |
static const double | ZERO_DEFAULT = .1 |
Protected Member Functions | |
double & | computeGain (double &res, sigtime_t t) |
Protected Member Functions inherited from dynamicgraph::Entity | |
void | addCommand (const std::string &name, command::Command *command) |
void | entityDeregistration () |
void | entityRegistration () |
void | signalDeregistration (const std::string &name) |
void | signalRegistration (const SignalArray< sigtime_t > &signals) |
Protected Attributes | |
double | coeff_a |
double | coeff_b |
double | coeff_c |
double | coeff_d |
Protected Attributes inherited from dynamicgraph::Entity | |
CommandMap_t | commandMap |
Logger | logger_ |
std::string | name |
SignalMap | signalMap |
Additional Inherited Members | |
Public Types inherited from dynamicgraph::Entity | |
typedef std::map< const std::string, command::Command * > | CommandMap_t |
typedef std::map< std::string, SignalBase< sigtime_t > * > | SignalMap |
Hyperbolic gain. It follows the law.
The default coefficients are:
Definition at line 53 of file gain-hyperbolic.hh.
GainHyperbolic::GainHyperbolic | ( | const std::string & | name | ) |
Definition at line 41 of file gain-hyperbolic.cpp.
dynamicgraph::sot::GainHyperbolic::GainHyperbolic | ( | const std::string & | name, |
const double & | lambda | ||
) |
dynamicgraph::sot::GainHyperbolic::GainHyperbolic | ( | const std::string & | name, |
const double & | valueAt0, | ||
const double & | valueAtInfty, | ||
const double & | tanAt0, | ||
const double & | decal0 | ||
) |
Definition at line 96 of file gain-hyperbolic.cpp.
|
virtual |
Reimplemented from dynamicgraph::Entity.
Definition at line 82 of file gain-hyperbolic.cpp.
void GainHyperbolic::forceConstant | ( | void | ) |
Definition at line 76 of file gain-hyperbolic.cpp.
|
inlinevirtual |
Reimplemented from dynamicgraph::Entity.
Definition at line 63 of file gain-hyperbolic.hh.
|
inline |
Definition at line 82 of file gain-hyperbolic.hh.
void dynamicgraph::sot::GainHyperbolic::init | ( | const double & | valueAt0, |
const double & | valueAtInfty, | ||
const double & | tanAt0, | ||
const double & | decal0 | ||
) |
Set the coefficients.
|
inline |
Definition at line 81 of file gain-hyperbolic.hh.
|
static |
Definition at line 61 of file gain-hyperbolic.hh.
|
protected |
Definition at line 68 of file gain-hyperbolic.hh.
|
protected |
Definition at line 69 of file gain-hyperbolic.hh.
|
protected |
Definition at line 70 of file gain-hyperbolic.hh.
|
protected |
Definition at line 71 of file gain-hyperbolic.hh.
dynamicgraph::SignalPtr<dynamicgraph::Vector, sigtime_t> dynamicgraph::sot::GainHyperbolic::errorSIN |
Definition at line 94 of file gain-hyperbolic.hh.
dynamicgraph::SignalTimeDependent<double, sigtime_t> dynamicgraph::sot::GainHyperbolic::gainSOUT |
Definition at line 95 of file gain-hyperbolic.hh.
|
static |
Definition at line 57 of file gain-hyperbolic.hh.
|
static |
Definition at line 58 of file gain-hyperbolic.hh.
|
static |
Definition at line 56 of file gain-hyperbolic.hh.