Hyperbolic gain. It follows the law
The default coefficients are: 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 (void) |
void | init (const double &lambda) |
void | init (const double &valueAt0, const double &valueAtInfty, const double &tanAt0, const double &decal0) |
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< int > & | getSignal (const std::string &signalName) |
const SignalBase< int > & | 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 const & | logger () const |
Logger & | logger () |
Logger const & | 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< int > * | test () |
virtual void | test2 (SignalBase< int > *) |
virtual std::ostream & | writeCompletionList (std::ostream &os) const |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual | ~Entity () |
Public Attributes | |
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > | errorSIN |
dynamicgraph::SignalTimeDependent< double, int > | 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, int 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< int > &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< int > *> | 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 81 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.
|
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, int> dynamicgraph::sot::GainHyperbolic::errorSIN |
Definition at line 94 of file gain-hyperbolic.hh.
dynamicgraph::SignalTimeDependent<double, int> 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.